[MEncoder-users] concatenate two avi files

Rossana Guerra guerra.rossana at gmail.com
Tue Jun 19 00:21:17 CEST 2012


Hi every one, I have 2 avi files (videos) I need to concatenate them, but
it isn't possible, because different audio codecs.

This is the comman line and its output.

Thanks and regards

Rossana


 mencoder -forceidx -oac copy -ovc copy -noodml -o outcom12.avi
outcom1.avi outcom2.avi
MEncoder svn r34540 (Ubuntu), built with gcc-4.6 (C) 2000-2012 MPlayer Team
success: format: 0  data: 0x0 - 0x1a87fa
libavformat version 53.21.0 (external)
Mismatching header version 53.19.0
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
Generating Index:  99 %
AVI: Generated index table for 715 chunks!
VIDEO:  [H264]  720x576  24bpp  30.000 fps  1053.2 kbps (128.6 kbyte/s)
[V] filefmt:3  fourcc:0x34363248  size:720x576  fps:30.000  ftime:=0.0333
videocodec: framecopy (720x576 24bpp fourcc=34363248)
audiocodec: framecopy (format=55 chans=2 rate=48000 bits=0 B/s=175000
sample-0)
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing
vprp header.
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing
vprp header.
Pos:   9.9s    299f (100%)  0.00fps Trem:   0min   1mb  A-V:0.000 [1056:320]
success: format: 0  data: 0x0 - 0x282260
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
Generating Index:  99 %
AVI: Generated index table for 1079 chunks!
VIDEO:  [H264]  720x576  24bpp  30.000 fps  993.1 kbps (121.2 kbyte/s)
[V] filefmt:3  fourcc:0x34363248  size:720x576  fps:30.000  ftime:=0.0333
videocodec: framecopy (720x576 24bpp fourcc=34363248)
audiocodec: framecopy (format=55 chans=2 rate=48000 bits=0 B/s=40000
sample-0)
audiocodec: framecopy (format=55 chans=2 rate=44100 bits=0 B/s=175000
sample-0)

All files must have identical audio codec and format for -oac copy.


More information about the MEncoder-users mailing list