Recherche avancée

Médias (91)

Autres articles (109)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (11888)

  • How can I merge intro.mp4, image.png, music.mp3 in one command ?

    10 décembre 2020, par Dtomper

    Hi I want to make a simple music video where an intro plays then an image shows up while the song is playing in the background.

    


    I have this command that mixes the song and the image, all I need now is the intro playing at the beginning :

    


    ffmpeg -r 1 -loop 1 -y -i image.png -i music.mp3 -c:a copy -r 1 -vcodec libx264 -shortest mix.mp4


    


  • Including ffmpeg library in AWS Lambda

    30 décembre 2016, par Alex Konetchy

    I’m trying to include the ffmpeg library with AWS.

    drwxrwxrwx 2 root root        0 Dec 22 13:04 bin
       -rwxrwxrwx 1 root root 40166912 Dec 22 11:50 ffmpeg.exe
       -rwxrwxrwx 1 root root       30 Dec 22 13:04 version.sh

    drwxrwxrwx 2 root root        0 Dec 22 16:35 node_modules
    -rwxrwxrwx 1 root root      594 Dec 22 13:03 package.json
    -rwxrwxrwx 1 root root      818 Dec 30 11:04 SplitFrames.js

    Below is what’s in the main js file, SplitFrames.js

    var execute = require('lambduh-execute');
    var validate = require('lambduh-validate');

    process.env['PATH'] = process.env['PATH'] + ':/tmp/:' + process.env['LAMBDA_TASK_ROOT']

    exports.handler = function(event, context, callback) {
       var exec = require('child_process').exec;
       var cmd = 'ffmpeg -version';

       exec(cmd, function(error, stdout, stderr) {
           console.log(stdout);
           callback(null, stdout);
       });
    }

    I test the function in lambda and it outputs nothing. Wondering how to include the ffmpeg library with AWS and node js. Any help is greatly appreciated.

  • How to make FFmpeg download only the required segments [closed]

    25 juillet, par daniil_

    I'm developing a tool, that create timelapse. For this purpose I use ffmpeg 7.1.1 verion.
I have a playlist file called index.m3u8 (inside it there are URLs to TS segments—typically around 5,000 of them). Here’s a small excerpt :

    


    #EXTM3U
#EXT-X-TARGETDURATION:12
#EXT-X-VERSION:6
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-PLAYLIST-TYPE:EVENT
#EXT-X-START:TIME-OFFSET=8,PRECISE=YES
#EXT-X-PROGRAM-DATE-TIME:2025-07-22T07:59:51.173Z
#EXTINF:10.080,
https://my-storage.io/receiver/archives/3a1b162d-392d-d45a-089a-dc93fb842a35/files/2025-07-22/07/59/1753171191173_aa_00000_00000_10080.ts?exp=1753543086&signature=MEYCIQCx_hDnFVwk7WJyQG5QujV5ZGhLoBqkD5uoQFebha1knQIhAMJm1KA5DLEuqD4_5zS5QlzTGIuj5q9TCUcML7MEPMl7
#EXT-X-PROGRAM-DATE-TIME:2025-07-22T08:00:01.253Z
#EXTINF:10.080,
https://my-storage.io/receiver/archives/3a1b162d-392d-d45a-089a-dc93fb842a35/files/2025-07-22/08/00/1753171201253_aa_00000_00000_10080.ts?exp=1753543086&signature=MEYCIQCx_hDnFVwk7WJyQG5QujV5ZGhLoBqkD5uoQFebha1knQIhAMJm1KA5DLEuqD4_5zS5QlzTGIuj5q9TCUcML7MEPMl7
#EXT-X-PROGRAM-DATE-TIME:2025-07-22T08:00:11.333Z
#EXTINF:10.021,
https://my-storage.io/receiver/archives/3a1b162d-392d-d45a-089a-dc93fb842a35/files/2025-07-22/08/00/1753171211333_aa_00000_00000_10021.ts?exp=1753543086&signature=MEYCIQCx_hDnFVwk7WJyQG5QujV5ZGhLoBqkD5uoQFebha1knQIhAMJm1KA5DLEuqD4_5zS5QlzTGIuj5q9TCUcML7MEPMl7
#EXT-X-PROGRAM-DATE-TIME:2025-07-22T08:00:21.354Z
#EXTINF:10.079,
https://my-storage.io/receiver/archives/3a1b162d-392d-d45a-089a-dc93fb842a35/files/2025-07-22/08/00/1753171221354_aa_00000_00000_10079.ts?exp=1753543086&signature=MEYCIQCx_hDnFVwk7WJyQG5QujV5ZGhLoBqkD5uoQFebha1knQIhAMJm1KA5DLEuqD4_5zS5QlzTGIuj5q9TCUcML7MEPMl7
#EXT-X-PROGRAM-DATE-TIME:2025-07-22T08:00:31.433Z
...


    


    I’m trying to extract still images from the stream at specific moments.

    


    When I run a command like :

    


    ffmpeg \
  -analyzeduration 5000000 \
  -probesize 5000000 \
  -err_detect ignore_err \
  -protocol_whitelist file,http,https,tcp,tls \
  -allowed_extensions ALL \
  -f hls \
  -y \
  -ss 11316.719 \
  -i /Users/daniil/Desktop/test/exports/.../index.m3u8 \
  -frames:v 1 \
  -q:v 2 \
  /Users/daniil/Desktop/test/exports/.../frames/frame_00100.png


    


    ffmpeg downloads segments 1 and 2 (presumably to probe the format), and then it downloads two more TS files around the target timestamp.

    


    But as soon as I push the -ss value beyond a certain point—in my case -ss 8487.54—it starts downloading every TS segment from the very start of the playlist up to the one I need. That can easily be 1,000 TS files or more. In other words, when -ss is between 0 and 8374.372, everything works fine, but beyond that it exhibits this strange behavior.