[MPlayer-users] Question on "trans-coding" with mencoder...
D Richard Felker III
dalias at aerifal.cx
Tue Aug 19 02:25:56 CEST 2003
On Mon, Aug 18, 2003 at 09:08:09AM +0200, Rainer Hantsch wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> A friend of me gave me some "svcd" files. These are unscaled mpeg-1 files with
> a black bar on top and bottom, but mixed with mp3 audio. Both, XINE and
> MPLAYER are perfectly able to play these files.
> Well, my problem is that I would like to make one big film out of the existing
> two parts and store it in my prefered format, DivX4.
> After playing around for some hours and reading the documentation of how to
> use mencoder (I got this doc from mplayer website), I was able to rescale
> every particular file, remove hereby the "Eggheads" and black bars, and store
> it as DivX4 file. (I did so by extracting the audio track without any change
> and only recoding the video-track, following the general instructions of the
> The result are, as I said, two *.AVI files, playing fine, with only a very
> little data transfer from CD-ROM, and perfectly synchronized.
You should instead cat the mpeg files together before encoding. mpeg
files splice much more cleanly than avi, and you don't need to do any
hacks with removing and re-adding the audio. Just
cat file1.mpg file2.mpg > out.mpg
and then run mencoder on out.mpg.
More information about the MPlayer-users