Recherche avancée

Médias (91)

Autres articles (49)

  • Librairies et logiciels spécifiques aux médias

    10 décembre 2010, par

    Pour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
    Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (6436)

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

  • avcodec/internal : move packet related functions to their own header

    2 juin 2020, par James Almer
    avcodec/internal : move packet related functions to their own header
    

    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] libavcodec/avpacket.c
    • [DH] libavcodec/dnxhdenc.c
    • [DH] libavcodec/internal.h
    • [DH] libavcodec/libaomenc.c
    • [DH] libavcodec/libvpxenc.c
    • [DH] libavcodec/libx264.c
    • [DH] libavcodec/libx265.c
    • [DH] libavcodec/libxavs.c
    • [DH] libavcodec/libxvid.c
    • [DH] libavcodec/mpegvideo_enc.c
    • [DH] libavcodec/nvenc.c
    • [DH] libavcodec/packet_internal.h
    • [DH] libavcodec/qsvenc.c
    • [DH] libavcodec/snowenc.c
    • [DH] libavcodec/svq1enc.c