
Recherche avancée
Médias (1)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
Autres articles (69)
-
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 -
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 -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (9511)
-
ffmpeg - converting pngs with white background to movie give black background
14 octobre 2015, par Population XplosiveI have a list of files with their names in the form [1-1000].00.png.
All these are flattened images (graphs) with white background color.
I am trying to make a movie out of these files using ffmpeg. However, when I use ffmpeg, everything white in the images become black in the movie. And everything black remains the same. The command I used is :The command I use is :
ffmpeg -pix_fmt yuv420p -r 8 -f image2 -pattern_type glob -i
’*.00.png’ movie.mp4 -
How to concatenate .mp4 files into one 4x4 movie using -ffmpeg- ?
7 août 2021, par Clive NicholasHow should I best concatenate 16 separate .mp4 files into one 4x4 movie using -ffmpeg- ?


I have workable code to create 2x2 movies (with changeable optional flag calls), with four equally-sized files, thus :


ffmpeg -i foo1.mp4 -i foo2.mp4 -i foo3.mp4 -i foo4.mp4 \ 
 -filter_complex \
 "[0:v][1:v]hstack[t]; \
 [2:v][3:v]hstack[b]; \
 [t][b]vstack,format=yuv420p[v]; \
 [0:a][1:a][2:a][3:a]amerge=inputs=4[a]" \
-map "[v]" \ 
-map "[a]" \
-ac 2 -c:v libx264 \
foo.mp4



and with four unequally-sized files, thus :


ffmpeg -i foo1.mp4 -i foo2.mp4 -i foo3.mp4 -i foo4.mp4 \
 -filter_complex \
 "[0:v]scale=640:360[v0]; \
 [1:v]scale=640:360[v1]; \
 [2:v]scale=640:360[v2]; \
 [3:v]scale=640:360[v3]; \
 [v0][v1]hstack[t]; \
 [v2][v3]hstack[b]; \
 [t][b]vstack,format=yuv420p[v]; \
 [0:a][1:a][2:a][3:a]amerge=inputs=4[a]" \
-map "[v]" \
-map "[a]" \
-c:v libx264 -crf 23 \
-c:a aac -b:a 192k \
foo.mp4



There is a solution posted here for splitting a single movie file into 16 4x4 pieces, but naturally I want to do the opposite ! I can't quite work out in my own mind how I can knit together the necessary elements from my 2x2 code routines and the 4x4 split code into a satisfactory 4x4 solution. It may well be that the 16 individual movie files each have to be re-scaled downwards.


Any ideas would be gratefully received, especially coding solutions which are readily tweakable to any matrix combination (e.g., 3x3, 5x5, etc).


Thanks very much, Clive


-
Revision 407940243f : Changing initialization order of mb_to_top_edge & mb_to_bottom_edge Making cons
21 mars 2013, par Dmitry KovalevChanged Paths : Modify /vp9/decoder/vp9_decodemv.c Changing initialization order of mb_to_top_edge & mb_to_bottom_edge Making consistent initialization of mb_to_top,botton,left,right_edge variables after set_mb_row & set_mb_col calls. A little bit of code cleanup additionally. Change-Id : (...)