Recherche avancée

Médias (1)

Mot : - Tags -/copyleft

Autres articles (90)

  • 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.

  • Configuration spécifique pour PHP5

    4 février 2011, par

    PHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
    Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
    Modules spécifiques
    Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

Sur d’autres sites (5647)

  • How to print the video meta output by the browser version of ffmpeg.wasm to the console of Google Chrome ?

    17 janvier 2021, par helloAl

    I would like to ask about how to use the browser version of ffmpeg.wasm.

    


    Through my investigation, I know that the following command can be used to output the video metadata to a file in the terminal of windows or mac.

    


    ffmpeg -i testvideo.mp4 -f ffmetadata testoutput.txt


    


    and then I can get this matadata like this :
enter image description here

    


    I want to parse the metadata of the video through the browser, and then print the metadata to the Google console (or output to a file). At present, I know that the browser version of ffmpeg.wasm can achieve this function, but I have looked at its examples, which does not involve this part of the content. (https://github.com/ffmpegwasm/ffmpeg.wasm/blob/master/examples/browser/image2video.html)

    


    But I want to print it to the console of Google Chrome through the browser version(usage:brower) of ffmpeg.wasm (https://github.com/ffmpegwasm/ffmpeg.wasm).
So I want to ask you how to achieve this, thank you.

    


  • Create hls stream in Google Cloud Functions (ffmpeg)

    3 novembre 2018, par Markus

    I tried for several hours with no good outcome.

    I want to create an hls stream (from a mp4 video) with the help of google cloud functions.

    This is what i have come up with so far :

     const remoteReadStream = myBucket.file(vidPath).createReadStream();
     const remoteWriteStream = myBucket.file(vidPath.replace('.mp4', '.m3u8')).createWriteStream();


     var proc = ffmpeg()
       .input(remoteReadStream)
     // Base url
     // include all the segments in the list
     .addOption('-hls_time',4)
     .addOption('-c:a aac')
     .addOption('-ar 48000')
     .addOption('-c:v h264')
     .addOption('-profile:v main')
     .addOption('-crf 20')
     .addOption('-sc_threshold 0')
     .addOption('-g 48')
     .addOption('-keyint_min 48')
     .addOption('-hls_playlist_type vod')
     .addOption('-b:v 800k')
     .addOption('-maxrate 856k')
     .addOption('-bufsize 1200k')  
     .addOption('-b:a 96k')
     .addOption('-hls_segment_filename', 'this_is_not_working_%03d.ts')
                 *tried gs://.../videos/$03d.ts' as well as other paths...
     .outputOptions('-f hls')
     .on('progress', function(progress) {

       var processing_str = 'Processing:' + progress.percent + '% done';
       console.log(processing_str);
     })
     .on('end', function() {
       console.log('file has been ffmpeg succesfully');
     })
     .on('error', (err, stdout, stderr) => {
         console.error('An error occured during encoding', err.message);
         console.error('stdout:', stdout);
         console.error('stderr:', stderr);
       })
     .pipe(remoteWriteStream, { end: true });

    This will give me the m3u8 file but the header files (ts files) will not be created, cause of the failure of saving them. The m3u8 file is saved, because it is a stream.

    Opening ’xxx.ts’ for writing Could not write header for output file #0 (incorrect codec parameters ?)

    I want to save them in the same folder, but I cannot access it by the bucket.
    Does anyone know, how to ’create’ multiple files (give the excact path of my bucket) in the ffmpeg configuration ?

    Maybe saving them as a stream would be the answer, but i have no clue how to pass that stream (.createWriteStream() ;) as an argument.

    Thanks in advance

  • How to create Animation video from Images like Google photos ?

    21 mars 2017, par Ahmed

    I am working on a mobile application to create a video/animation of multiple images.
    I have used server side tools like ffmpeg and whammy, what are other server side or mobile open source tools that i can use ?