
Recherche avancée
Autres articles (42)
-
Qu’est ce qu’un éditorial
21 juin 2013, parEcrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
Vous pouvez personnaliser le formulaire de création d’un éditorial.
Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...) -
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications 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 (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains 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 ;
Sur d’autres sites (4000)
-
Issue regarding concatenate videos ffmpeg
8 février 2021, par Mayank ThapliyalI want to concatenate 3 videos using ffmpeg. So I did a research on the net and got the required code. But later on I realized that it will not work as the attributes of the video are different and hence I will have to re-encode the videos


So I got this on the internet :-


ffmpeg -i 1.mp4-i 2.mp4 -i 3.mp4 -filter_complex "[0:v] [0:a] [1:v] [1:a] [2:v] [2:a] concat=n=3:v=1:a=1 [v] [a]" -map "[v]" -map "[a]" output.mp4


But when I ran it,it was SUPER slow. And ffmpeg recommended to add
vsync 2
in the code. I added it in the following manner :-

ffmpeg -i 1.mp4-i 2.mp4 -i 3.mp4 -vsync 2 -filter_complex "[0:v] [0:a] [1:v] [1:a] [2:v] [2:a] concat=n=3:v=1:a=1 [v] [a]" -map "[v]" -map "[a]" output.mp4


Now the video was processed on time and the result was also fine. But I don't know the meaning of the code. Will someone be kind enough to explain what exactly is happening ? (in this way I would be sure that the code will always work for me for all videos)


-
How can I concatenate multiple videos while maintaining the original aspect ratio of each
25 décembre 2019, par AntonyHow can I concatenate multiple videos while maintaining the original aspect ratio ? I think there are 2 approaches to do this. Either scale videos one by one or concatenate them all with one command. Currently, I’m using the following command
ffmpeg -i 1.mp4 -i 2.mp4 -filter_complex "[0]scale=iw*sar:ih,setsar=1[ref];[1][ref]scale2ref=w=oh*mdar:h=ih[s][v0];[s]pad=1024:576:(ow-iw)/2:(oh-ih)/2,setsar=1[v1];[v0][0:a:0][v1][1:a:0]concat=n=2:v=1:a=1[v][a]" -map "[v]" -map "[a]" out.mp4
In the above example the reference video(1.mp4) is 720x576[SAR 64:45 DAR 16:9]. This works great for concatenating 2 videos but I don’t know how to make it more dynamic.
So how could I make the command above work for 3 videos ? Either scaling & concatenating 1 by 1 or all together.
-
Comparing two similar videos of different run time length
5 décembre 2016, par Sachin BansalI have two videos of a single selenium automation script. One is a baseline video and I want to compare the second video with this baseline video. In comparison I want to capture the screenshots of the frames that are not matching.
The problem is that the videos might not be of same size and run time as the running of scripts depends on network.
I have tried ffmpeg for this, but that didn’t result in any fruitful result. Can anyone guide me in a right direction on how to get a head-start in this.
Thanks