Recherche avancée

Médias (91)

Autres articles (60)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

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

  • 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 : (...)

Sur d’autres sites (6882)

  • Increase resolution of captured image using avconv

    26 novembre 2014, par user3723711

    I am setting two virtual devices using gst-launch-0.10 :

    gst-launch-0.10 v4l2src device=/dev/video1 ! video/x-raw-rgb,framerate=30/1,width=640,height=480 ! ffmpegcolorspace ! tee name=t ! v4l2sink device=/dev/video2 t. ! queue ! v4l2sink device=/dev/video3

    then for /dev/video2 I am using ffmpeg to stream video and then I send this stream to browser :

    ffmpeg -s 640x480 -f video4linux2 -i /dev/video2 -f mpeg1video -b 800k -r 30 http://localhost:8082/pass/640/480/

    now on my browser when user clicks on "capture" button I am using this function to capture the frame from ffmpeg stream using avconv :

    function captureImage(res, path) {
       var ffmpeg_options = ['-s', '1280x720', '-f', 'video4linux2', '-i', '/dev/video3', '-ss', '0:0:0', '-frames', '1', path];
       avcov_capture = spawn('avconv', ffmpeg_options, null);
       var stream = false;
       avcov_capture.stdout.on('data', function(buf) {
           console.log('CAP OUT: ' + buf.toString());
       });
       avcov_capture.stderr.on('data', function(data) {
           if (data.toString().indexOf('frame') >= 0) {
               var ret = {
                   result : 'captured',
                   path : path
               };
               checkFile(res, ret, path);
           }
       });
    };

    My question is when I capture a frame using avconv (in captureImage function), how I can increase the resolution of that image and stop ffmpeg stream after I capture a frame ?

    Is it a better idea if I increase resolution of video stream sent to video2 in gst-launch pipeline ?If so how can I add that setting to my pipeline.

  • ffmpeg resize large image and high resolution

    19 juin 2019, par SZT

    I tried to resize a very big image (457 MB and 21600x21600) with the following command

    -i test.png -vf scale=320:-1 out.png

    but it throws exception saying "Picture size 21600x21600 is invalid". How can I find out the biggest supported resolution by ffmpeg ? Is there a way to resize this high resolution image with ffmpeg ?

  • Increase resolution of captured image using avconv

    26 novembre 2014, par user3723711

    I am trying to increase resolution of a frame.

    First I am setting two virtual devices using gst-launch-0.10 :

    gst-launch-0.10 v4l2src device=/dev/video1 ! video/x-raw-rgb,framerate=30/1,width=640,height=480 ! ffmpegcolorspace ! tee name=t ! v4l2sink device=/dev/video2 t. ! queue ! v4l2sink device=/dev/video3

    then for /dev/video2 I am using ffmpeg to stream video and then I send this stream to browser :

    ffmpeg -s 640x480 -f video4linux2 -i /dev/video2 -f mpeg1video -b 800k -r 30 http://localhost:8082/pass/640/480/

    now on my browser when user clicks on "capture" button I am using this function to capture the frame from ffmpeg stream using avconv :

    function captureImage(res, path) {
       var ffmpeg_options = ['-s', '1280x720', '-f', 'video4linux2', '-i', '/dev/video3', '-ss', '0:0:0', '-frames', '1', path];
       avcov_capture = spawn('avconv', ffmpeg_options, null);
       var stream = false;
       avcov_capture.stdout.on('data', function(buf) {
           console.log('CAP OUT: ' + buf.toString());
       });
       avcov_capture.stderr.on('data', function(data) {
           if (data.toString().indexOf('frame') >= 0) {
               var ret = {
                   result : 'captured',
                   path : path
               };
               checkFile(res, ret, path);
           }
       });
    };

    My question is when I capture a frame using avconv (in captureImage function), how I can increase the resolution of that image and stop ffmpeg stream after I capture a frame ?

    Is it a better idea if I increase resolution of video stream sent to video2 in gst-launch pipeline ?If so how can I add that setting to my pipeline.