
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (63)
-
MediaSPIP Core : La Configuration
9 novembre 2010, parMediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...) -
Publier sur MédiaSpip
13 juin 2013Puis-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 -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs
Sur d’autres sites (10204)
-
How to create ffmpeg mosaic with empty cells ?
7 septembre 2020, par DenVebberI 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 ranshI 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 user3541686I 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.movHow would I be able to do this ?
Thanks !