Recherche avancée

Médias (0)

Mot : - Tags -/navigation

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (104)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • Formulaire personnalisable

    21 juin 2013, par

    Cette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
    Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire. (...)

Sur d’autres sites (7907)

  • Revision 58086 : si &$valeur_normalisee était null, il n’était pas passé et affichait une ...

    6 février 2012, par kent1@… — Log

    si &amp ;$valeur_normalisee était null, il n’était pas passé et affichait une erreur apparemment

  • NodeJS/ffmpeg : Can't create screenshot of stream file

    11 septembre 2017, par user3142695

    I need to create a screenshot via ffmpeg (node-fluent-ffmpeg : https://github.com/fluent-ffmpeg/node-fluent-ffmpeg) of a stream, as my data is stored in a gridFS.

    This is how I’m doing that with a local file - and it works so far

    ffmpeg('/Users/Anybody/Downloads/1test.mp4')
     .on('error', (error) => {
       console.error(error)
     })
     .on('end', () => {
       console.log('Screenshots taken')
     })
     .screenshots({
       folder: '/Users/Anybody/Downloads/',
       timestamps: ['00:01.000']
     })

    But if I change the code to use a stream (gridfs-stream), no file is created, although the output gives me a successful message :

    import Grid from 'gridfs-stream'

    const gfs = Grid(
     MongoInternals.defaultRemoteCollectionDriver().mongo.db,
     MongoInternals.NpmModule
    )

    ffmpeg(gfs.createReadStream({ _id: sourceId }))
     .on('filenames', (filenames) => {
       console.log('Will generate ' + filenames.join(', '))
     })
     .on('codecData', (data) => {
       console.log('Input is ' + data.audio + ' audio ' + 'with ' + data.video + ' video')
     })
     .on('error', (error) => {
       console.error(error)
     })
     .on('end', () => {
       console.log('Screenshots taken')
     })
     .screenshots({
       folder: '/Users/Anybody/Downloads/',
       timestamps: ['00:01.000']
     })

    Output

    Will generate tn.png
    Input is aac (mp4a / 0x6134706D) audio with h264 (avc1 / 0x31637661) video
    Screenshots taken
  • Evolution #4103 : Autoriser /local/cache-gd2/ et /local/cache-vignette/ dans robots.txt

    11 mai 2021, par b b