
Recherche avancée
Autres articles (73)
-
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 ;
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)
Sur d’autres sites (7940)
-
Revision 62848d2a87 : Merge "Avoid calling vp9_is_scaled two times in a function."
25 septembre 2014, par hkuangMerge "Avoid calling vp9_is_scaled two times in a function."
-
FFMPEG - overlaying 4 videos not working, 2 videos is working perfectly
31 octobre 2019, par TaapoI’ve been trying to overlay videos using ffmpeg.
Pretty simple, using ProRes 4444 (with alpha channel).
When I overlay two videos, there is no problem.
When I try to overlay more than two, it only shows the first two entries. Is FFMPEG only capable of overlaying two videos ?
ffmpeg.exe -y \
-i test-transparent-03.mov \
-i test-transparent-04.mov \
-i test-transparent-02.mov \
-i test-transparent-01.mov \
-filter_complex overlay -c:v libx264 output.mp4This command is working perfectly :
ffmpeg.exe -y \
-i test-transparent-03.mov \
-i test-transparent-04.mov \
-filter_complex overlay -c:v libx264 output.mp4 -
How to concat two videos of different format with stretching the videos
25 juillet 2020, par XnoxI want to concat two videos together but in doing so, the second video is being stretched. Here is my code


$command = "ffmpeg -i ../unprocessed/{$temp_name} -vf \"[in]drawtext=fontsize=47:fontcolor=white:fontfile='../fonts/Nunito/nunito.ttf':text='{$name}':x=10:y=(h) - 120, drawtext=fontsize=35:fontcolor=white:fontfile='../fonts/Amiri/amiri.ttf':text='{$second}':x=10:y=(h) - 80, drawtext=fontsize=30:fontcolor=white:fontfile='../fonts/Amiri/amiri.ttf':text='{$hospital}':x=10:y=(h-40)[out]\" -y ../unprocessed/{$edited}";
 system($command);
 unlink("../unprocessed/{$temp_name}");

 $video_1 = $_POST["video1"];
 $video_2 = $edited;

 try{

 //generating intermediate files
 $intermediate1 = "intermediate".rand(100000, 1000000000).rand(100000, 1000000000).".mpg";
 $command = "ffmpeg -i ../unprocessed/{$edited} -qscale 0 -r 25 ../unprocessed/{$intermediate1}";
 system($command);
 unlink("../unprocessed/{$edited}");

 $intermediate2 = "intermediate".rand(100000, 1000000000).rand(100000, 1000000000).".mpg";
 $command = "ffmpeg -i ../admin/videos/{$video_1} -qscale 0 -r 25 ../unprocessed/{$intermediate2}";
 system($command);

 $outputfile_temp = "upload".rand(100000, 1000000000).rand(100000, 1000000000).rand(100000, 1000000000).".mp4";

 $command = "ffmpeg -i \"concat:../unprocessed/{$intermediate1}|../unprocessed/{$intermediate2}\" -c copy ../merged_videos/{$outputfile_temp}";
 system($command);
 unlink("../unprocessed/{$intermediate1}");
 unlink("../unprocessed/{$intermediate2}");

 $outputfile = "upload".rand(100000, 1000000000).rand(100000, 1000000000).rand(100000, 1000000000).".mp4";
 $command = "ffmpeg -i ../merged_videos/{$outputfile_temp} ../merged_videos/{$outputfile}";
 system($command);
 unlink("../merged_videos/{$outputfile_temp}");