Recherche avancée

Médias (1)

Mot : - Tags -/biomaping

Autres articles (61)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

Sur d’autres sites (8515)

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