This is what I was trying, but it only encoded the first video (part1.avi) to the output video (finished.avi).
Im missing something, which I cannot figure out. I tried adding some MAPping, but Im pretty sure I messed that up too...Code:ffmpeg -i "part1.avi" -i "part3.avi" -i "part4.avi" -i "part5.avi" -b 12000k -s 1280x720 -r 30 -vcodec libxvid -vtag divx -aspect 16:9 -acodec libmp3lame -ar 44100 -ab 128k -y "finished.avi"
Any advice would be welcome,
thanks-
+ Reply to Thread
Results 1 to 4 of 4
-
-
Unfortunately FFmpeg cannot concatinate input clips. Multiple inputs are stacked in the output file. Mapping is used to select which streams from within a single input clip are used. You could use a small Avisynth script and feed that into FFmpeg.
AVISource("part1.avi", "part2.avi", "part3.avi", "part4.avi")
All clips must have the same specs. -
Ahh, I forgot about the mapping specs... how true.
I cant do the AVISynth, the AVIs are of varying FPS.
Id be happy using Mencoder, but I dont think I have the syntax right... It also complained it could not demux the input file because it didnt know what it was...
Code:mencoder mf://part1.avi,part3.avi,part4.avi,part5.avi -mf type=avi -oac mp3lame -lameopts cbr:mode=2:br=128 -af resample=44100 -srate 44100 -ofps 30 -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:cbp:trell:vbitrate=3500 -noskip -ffourcc XVID -o "final.avi"
Thank you for your time Chris,
Andrew
Similar Threads
-
Batch hard encode multiple language srt to multiple videos
By clonius in forum SubtitleReplies: 4Last Post: 15th Jul 2010, 14:06 -
FFMPEG with YUV4MPEGPIPE input problem
By Karnalta in forum Video ConversionReplies: 0Last Post: 26th Mar 2010, 04:30 -
AVI to iPhone, multiple files after encode, no audio?
By wcpfour in forum ffmpegX general discussionReplies: 2Last Post: 23rd Jul 2009, 16:24 -
Using ffmpeg to mux an arbitrary number of streams from multiple files
By punmaster in forum Video ConversionReplies: 5Last Post: 4th Aug 2008, 00:14 -
FFMPEG and input A/R
By nic2k4 in forum Video ConversionReplies: 1Last Post: 14th Nov 2007, 19:39