Recherche avancée

Médias (91)

Autres articles (27)

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

  • 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 (3863)

  • How To Make Make A Video File From Images Using FFMPEG If Your Images Start At A Random Number [duplicate]

    13 mai 2019, par teot 59

    So I am making a program on my raspberry pi and I am constantly saving pictures in the background and deleting them. So for instance in the images folder I have images from 123.png to 234.png

    for now I have been using this command :

    os.system("ffmpeg -f image2 -r 15 -pattern_type glob -i 'videos/*.png' -vcodec mpeg4 -y movie.avi")

    But it’s unreliable, because it mixes image numbers up

    (sorry for bad English)

  • FFMPEG command works in shell ! but not in my node.js

    29 juillet 2021, par Kuno Kim

    When my ffmpeg command is built by my node.js application it does not run.

    



    error

    



    Unrecognized option 'ss 3.2 -t 1.9 -i videoplayback.mp4 -vf  fps=15,scale=240:-1:flags=lanczos,palettegen palette.png'.


    



    command

    



    ffmpeg -ss 3.2 -t 1.9 -i videoplayback.mp4 -vf \ fps=15,scale=240:-1:flags=lanczos,palettegen palette.png


    



    this is my code

    



    var child_process = require('child_process')

function recordVideo() {

var spawn = child_process.spawn;

var args = [
    '-y', 
    '-ss', '3.2',
    '-t', '1.9', 
    '-i', '../getback/bin/videos/videoplayback.mp4', 
    '-vf', ' \\ ', 
    'fps=', '15', 
    'scale=', '320:-1', 
    'flags=','lanczos,palettegen palette.png', 
];



var ffmpeg = spawn('ffmpeg', args);

ffmpeg.stdout.on('data', function (data) {
    console.log(data);
});

ffmpeg.stderr.on('data', function (data) {
    console.log('grep stderr: ' + data);
});

ffmpeg.on('close', (code) => {
    console.log('child process exited with code ' + code);
}); 
};
recordVideo();


    



    what is this error ?
I think.. 'fps=', '15', In the following code 
 '=' options a problem.

    



    I am still learning English.
I'm sorry if it was hard to understand.

    


  • FFmpeg (sharpFFmpeg) decoding - Protected memory error

    25 août 2011, par mazharenko.a

    I'm trying to use C# binding of FFmpeg library calling SharpFFmpeg to decode H264 video stream that I receive by RTP. I think I correctly decapsulate NALUs from RTP-packets, but I can't decode complete frames. Function avcodec_decode_video calling throws an AccessViolationException (Attempted to read or write protected memory).
    Here are some code lines :

       //buf is a byte array containing encoded frame
       int success;
       FFmpeg.avcodec_init();
       FFmpeg.avcodec_register_all();
       IntPtr codec = FFmpeg.avcodec_find_decoder(FFmpeg.CodecID.CODEC_ID_H264);
       IntPtr codecCont = FFmpeg.avcodec_alloc_context(); //AVCodecContext
       FFmpeg.avcodec_open(codecCont, codec);
       IntPtr frame = FFmpeg.avcodec_alloc_frame();  //AVFrame
       FFmpeg.avcodec_decode_video(codecCont, frame, ref success, (IntPtr)buf[0], buf.Length); //exception

    Function has been imported as follows :

       [DllImport("avcodec.dll", CallingConvention = CallingConvention.Cdecl), SuppressUnmanagedCodeSecurity]
       public unsafe static extern int avcodec_decode_video(IntPtr pAVCodecContext, IntPtr pAVFrame, ref int got_picture_ptr, IntPtr buf, int buf_size);

    Unfortunately, I don't know what do I have to do with the codecCont. Somebody wrote that it is needed to fill this structure by AVCDCR using session description received by RTSP. But I don't know which field(s) store this record.
    I'll be glad for any help.
    P.S. Excuse me for my English