Recherche avancée

Médias (1)

Mot : - Tags -/book

Autres articles (37)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (5211)

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