[MEncoder-users] How to join avi files with x264 streams?
neutrino8 at gmail.com
Sat May 8 13:41:05 CEST 2010
On Sat, May 8, 2010 at 11:48 AM, Josef Wolf <jw at raven.inka.de> wrote:
> 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"?
> 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
> Error appending 01.avi: Feature Not Supported
> Do I have to re-encode into another format first? But then I would loose
No, you have to do exactly as it says above. Extract the video from
the avi container. Done like this
MP4Box -aviraw video yourfile.avi
Do this for each file you have
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
More information about the MEncoder-users