[MEncoder-users] How to join avi files with x264 streams?

Josef Wolf jw at raven.inka.de
Sat May 8 11:48:53 CEST 2010


On Fri, May 07, 2010 at 10:29:31AM -0500, Laine Lee wrote:
> On 5/7/10 1:00 AM, "Josef Wolf" <jw at raven.inka.de> wrote:
> > I have captured my old VHS recordings with mencoder and created x264 avi's
> > using two-pass with those options:
> > 
> >   -ovc x264 -x264encopts
> > bitrate=800:pass=2:subq=7:frameref=15:subq=6:frameref=15:me=umh:partitions=all
> > :8x8dct:direct_pred=auto:me_range=64:trellis=2:bframes=5:b_pyramid:weight_b:th
> > reads=auto:nr=1000
> > 
> > In the next step, I want to join some of those files. I tried:
> > 
> >   mencoder -ovc copy -oac copy -o outfile.avi file1.avi file2.avi
> > 
> > But the resulting file has some strange artefacts in the first ten seconds
> > after the join position (that is, in the first ten seconds of file2.avi)
> > which are _not_ present in the original file2.avi.
> > 
> > Why does "-ovc copy" do any manipulations on the stream?
> > 
> > Any ideas?
> 
> Can you use "MP4Box -cat"?
> 
> http://gpac.sourceforge.net/doc_mp4box.php

jw at ubuntu:MP4Box -cat 01.avi -cat 02.avi t.avi
H264/AVC Video format not supported in AVI - please extract to raw format
first
Error appending 01.avi: Feature Not Supported

Do I have to re-encode into another format first? But then I would loose
quality?


More information about the MEncoder-users mailing list