[MPlayer-users] Concatenating some MPEG files
Jan Engelhardt
jengelh at linux01.gwdg.de
Sun Aug 18 13:25:02 CEST 2002
Hi,
in some post
(http://www.MPlayerHQ.hu/pipermail/mplayer-users/2002-May/015309.html)
they wrote:
>>>>Or concatenate the *.vob files and let mencoder handle this as a stream?
>>>what about:
>>>d cat *.vob | mencoder [options] -
>>I'll try it, thanks.
>Works fine. Could this be added to the docs? Patch attached.
Well, doesnot work for MPEG files:
|MEncoder CVS-020809-06:00-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS!)
|
|CPU: Advanced Micro Devices K6-2 (Family: 5, Stepping: 12)
|CPUflags: Type: 5 MMX: 1 MMX2: 0 3DNow: 1 3DNow2: 0 SSE: 0 SSE2: 0
|Reading /root/.mplayer/codecs.conf: can't open '/root/.mplayer/codecs.conf':
|No such file or directory
|Reading /usr/local/share/mplayer/codecs.conf: 38 audio & 104 video codecs
|File not found: 'frameno.avi'
|font: can't open file: /root/.mplayer/font/font.desc
|font: can't open file: /usr/local/share/mplayer/font/font.desc
|Reading from stdin...
|success: format: 0 data: 0x0 - 0x0
|Detected MPEG-PS file format!
(reads STDIN a bit...)
|MPEG: FATAL: EOF while searching for sequence header
|Video: can't read properties
|Exiting...
But if I first copy it to an AVI, it seems to work:
mencoder cd1.mpg -o cd1.avi -oac copy -ovc copy
mencoder cd2.mpg -o cd2.avi -oac copy -ovc copy
cat cd1.avi cd2.avi | mencoder - -oac mp3lame -ovc divx4
So this is the way I would concatenate two MPEG files (into Divx), that is ok,
but why doesnot cat'ing MPEG files doesnot work?
- Jan Engelhardt
More information about the MPlayer-users
mailing list