[MPlayer-users] Creating mpeg1 with Mencoder (0.90pre10)

Christophe Saout christophe at saout.de
Tue Dec 3 15:56:03 CET 2002


Am Die, 2002-12-03 um 15.06 schrieb Ulrich Petri:

> i'm trying to create a mpeg1 file from a mpeg2pes (recorded from a dvb
> card).
> 
> I'm using the following command:
> # mencoder -vop scale=352:288 -oac copy -ovc lavc \
> -lavcopts vcodec=mpeg1video:vbitrate=1152 \
> 001.vdr -o 001.vdr.mpg

Save it as an avi file and use a program to extract the streams (e.g.
gstreamer: gst-launch filesrc location=blubb.avi ! avidemux video_%02d!
{ queue ! filesink location=blubb.m1v } avidemux0.audio_%02d! { queue !
filesink location=blubb.mp3 } or something.

After that you can remultiplex it as an mpeg file. tcmplex (from
transcode tools) is working fine.

I would also suggest to reencode the sound as mp2 (try mp2enc from
mjpegtools)





More information about the MPlayer-users mailing list