Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (77)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

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

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