Recherche avancée

Médias (33)

Mot : - Tags -/creative commons

Autres articles (77)

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

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (12423)

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

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

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