[FFmpeg-user] Cat 2 mp4 files?

PyProg PyProg pyprog05 at gmail.com
Fri Dec 7 06:45:52 CET 2012


Hello,

If you want to cancat files (video and audio), use filter_complex with
concat argument.

Here an example:

ffmpeg -i "/home/toto/.ekd_tmp/ekd_toto/video_extension_resol/file_001.mp4"
 -i "/home/toto/.ekd_tmp/ekd_toto/video_extension_resol/file_002.mp4"
-filter_complex concat=n=2:v=1:a=1 -codec:v mjpeg -b:v 5000k -an
-threads 4 -y "/home/toto/.ekd_tmp/ekd_toto/video.avi"

--> n=2 for two vidéos
--> v=1 for enable video
--> a=1 for enable audio

a+

-- 
http://ekd.tuxfamily.org
http://ekdm.wordpress.com
http://glouk.legtux.org/guiescputil
http://lcs.dunois.clg14.ac-caen.fr/~alama/blog
http://www.youtube.com/user/EnKoDeurMixeur
http://lprod.org/wiki/doku.php/video:encodage:avchd_converter


More information about the ffmpeg-user mailing list