[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Joining Two Videos



On Wed, 2009-01-28 at 13:58 +0100, Raj Kiran Grandhi wrote:
> 
> Hal Vaughan wrote:
> > I have to join two videos, in different versions, one in .mpg for
> DVDs
> > and one in .mp4. What's the best program that can do this without
> > glitches or a high learning curve on Etch? No editing, no dissolves,
> > just stick one after the other.
> 
> For the mpeg files,
> mencoder -oac copy -ovc copy -of mpeg -mpegopts \
>   format=dvd:tsaf file1.mpg file2.mpg -o output.mpg
> 
> Not so sure about mp4. Try this,
> mencoder -oac copy -ovc copy -of lavf -lavfopts \
> format=mp4 file1.mp4 file2.mp4 -o output.mp4

Do not forget proper time indexing.
$ mencoder -forceidx -ovc copy -oac copy -o out.avi f1.avi f2.avi f3.avi

Rob



Reply to: