Recherche avancée

Médias (91)

Autres articles (14)

  • Librairies et logiciels spécifiques aux médias

    10 décembre 2010, par

    Pour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
    Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

Sur d’autres sites (4144)

  • How to create ffmpeg mosaic with empty cells ?

    7 septembre 2020, par DenVebber

    I try to create video mosaic with ffmpeg.

    


    Two videos with horizontal stack :

    


    ffmpeg -i vid1.mp4 -i vid2.mp4 -filter_complex "[0]scale=-1:1080[v0];[1]scale=-1:1080[v1];[v0][v1]hstack=inputs=2[vmap]" -map "[vmap]" output.mp4

    


    How can I replace vid1.mp4 with black background and save the stack with 2 elements ?
I can add blackvideo.mp4, but it should be easier, right ?

    


  • How to write v4l2 application with vivid (virtual video driver) for capturing video ?

    8 janvier 2016, par ransh

    I am trying to understand how to write v4l2 application.
    There is very well example in http://linuxtv.org/downloads/v4l-dvb-apis/capture-example.html , so I wanted to try to use it for capturing video with vivid (virtual device driver).

    I tried several resolution, pixelformat, different inputs,
    but on trying to display the captured file, it always has a sync problems ( the test bars of the video are keep moving in the horizontal axis).
    I tried to change resolution, pixelformat, in both capture application or player , but nothing helps.

    I compiled the v4l2 API example AS-IS from :
    http://linuxtv.org/downloads/v4l-dvb-apis/capture-example.html
    with minor modification in the —force part of the example (I also tried the example as is without modifications but it did not help), so that I choose hd input , and 1920x1080 resolution, V4L2_PIX_FMT_YUV420 (also tried V4L2_PIX_FMT_YUV422P) , progressive.

     if (force_format) {
               input = 3;  // <<-- HD input device
               if (-1==xioctl(fd,VIDIOC_S_INPUT,&input))
               {
                errno_exit("VIDIOC_S_INPUT");
               }
               fmt.fmt.pix.width       = 1920;
               fmt.fmt.pix.height      = 1080;
               fmt.fmt.pix.pixelformat = V4L2_PIX_FMT_YUV420; // <<- tried also V4L2_PIX_FMT_YUV422P
               fmt.fmt.pix.field       = V4L2_FIELD_NONE; // <- trying to capture progressive

               if (-1 == xioctl(fd, VIDIOC_S_FMT, &fmt))
                       errno_exit("VIDIOC_S_FMT");

       } else {

    I run the application with (the compiled code using pixelformat = V4L2_PIX_FMT_YUV420 trial ) :

    ./v4l2_example -f -o -c 10  > cap_yuv420p.yuv

    And (the compiled code using pixelformat = V4L2_PIX_FMT_YUV422P trial )

    ./v4l2_example -f -o -c 10  > cap_yuv422p.yuv

    I’ve tried to play them with :

    ffplay -f rawvideo -pixel_format yuv420p -video_size 1920x1080 -i cap_yuv420p.yuv

    And

    ffplay -f rawvideo -pixel_format yuv422p -video_size 1920x1080 -i cap_yuv422p.yuv

    These are the captured video files from my above trials :

    https://drive.google.com/folderview?id=0B22GsWueReZTUS1tSHBraTAyZ00&usp=sharing

    I probably am doing something wrong.
    Is there any idea what’s wrong in my configurations or how I can debug it better ?

  • Running list of cmd.exe commands from maya in Python

    17 décembre 2015, par user3541686

    I am writing a maya python script to batch render a scene into jpgs then use ffmpeg to turn them into a mov. Currently the script saves a string of commands as a bat file which works fine but I’d prefer to just run cmd.exe from maya and execute the list of commands without creating that bat first.

    I’ve been reading about "subprocess.popen()" but I can’t figure out how to get it to iterate through each line, run that command, then move onto the next one when done ie :

    1) Run maya render.exe & save scene as jpegs

    2) ffmpeg jpgs to mov

    I’ve shortened the directories but its essentially this :

    `C:\PROGRA~1\Autodesk\Maya2015\bin\Render.exe -r hw2 -s 100 -e 200 -of jpg -fnc 7 -x 1920 -y 1080 -rd
    "C:\RENDER"
    "C:\SCENE.ma" ffmpeg -y -r 25 -start_number 0100 -i C:\SCENE_%%04d.jpg C:\SCENE.mov

    How would I be able to do this ?

    Thanks !