
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (30)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
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 ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (5701)
-
ffmpeg : Transcoding multiple input files to multiple output files with single command
18 mai 2017, par Abubakari want to convert three files with single command. i used following command.
-i "C:\fil1.mp4" -i "C:\file2.mp4" -i "C:\file3.mp4" -acodec libmp3lame -ab 32k -ar 22050 -ac 2 -b:v 128k -r 20 -s 176x144 -y file1.mp4 -acodec libmp3lame -ab 32k -ar 22050 -ac 2 -b:v 128k -r 20 -s 176x144 -y file2.mp4 -acodec libmp3lame -ab 32k -ar 22050 -ac 2 -b:v 128k -r 20 -s 176x144 -y file3.mp4
but it convert first file with named fil1.mp4, fil2.mp4, fil3.mp4 but i want all files should be convert with its output file names.
-
How give information about file with binary path /usr/bin/ffmpeg ? [closed]
19 septembre 2012, par John SmithHow give information about file with binary path /usr/bin/ffmpeg ?
Peoples its not answer - its code for help all peoples-)
Long time i search the correct code, now i write here. Washes it be useful to someone.
1) get duration file
ob_start();
passthru("ffmpeg-9260.exe -i \"". $videofile . "\" 2>&1");
$duration = ob_get_contents();
ob_end_clean();
preg_match('/Duration: (.*?),/', $duration, $matches);
$duration = $matches[1];
$duration_array = split(':', $duration);
$duration = $duration_array[0] * 3600 + $duration_array[1] * 60 + $duration_array[2];
$time = $duration * $percent / 100;
$time = intval($time/3600) . ":" . intval(($time-(intval($time/3600)*3600))/60) . ":" . sprintf("%01.3f", ($time-(intval($time/60)*60)));2) get a picture of a particular frame of the video (flv or avi or another)
ffmpeg -i video.avi -an -ss 00:01:30 -r 1 -vframes 1 -s 320×240 -y -f mjpeg screenshot.jpg
3) how to convert video file to format .ogg
a) ffmpeg -an -deinterlace -s 400×300 -r 20.00 -i CapeCodMarsh.avi -vcodec rawvideo -pix_fmt yuv420p -f rawvideo – | ffmpeg -an -f rawvideo -s 400×300 -r 20.00 -i – -f yuv4mpegpipe – | libtheora-1.0/lt-encoder_example –video-rate-target 512k – -o tmp.ogv
b)ffmpeg -y -i CapeCodMarsh.avi -vn -acodec libvorbis -ac 2 -ab 128k -ar 44100 audio.ogg4) How I can get this value for the buffer ?
var v = document.getElementById('file_id');
var r = v.buffered.end(0);Enjoy=)
-
Concat video with different sizes and config with ffmpeg
31 juillet 2022, par AbrarI am building a mobile app where I am using ffmpeg to process videos.


Users can choose multiple videos and they need to be merged together creating a final video.


The problem is their selected videos can have different dimensions and configurations.


So, when I tried concat demuxer, it produces weird results with impossible length and no data.


concat protocol with intermediate ts file, seems to work but the resolution and size is stretched.


So, what I want to do is this -


- 

-
Re encode every video to a specific resolution, 1080:1920 or 9/16. The video should not be stretched, instead black borders will be added on sides to make it that size.


-
Once every video is re encoded and have the same config, concat them.








How can I do this ?


-