[MPlayer-dev-eng] [PATCH] new mpeg muxer

D Richard Felker III dalias at aerifal.cx
Thu Feb 24 01:40:20 CET 2005


On Wed, Feb 23, 2005 at 03:55:11PM -0800, Trent Piepho wrote:
> On Wed, 23 Feb 2005, D Richard Felker III wrote:
> > ok, at some point someone should make a guide for how to encode
> > (compliant) vcd/svcd/dvd with mencoder's new mpeg muxer. a few
> > questions i have right away:
> > 
> > - is there any way to make the muxer handle soft telecine for you
> > 
> > - what encoder options do you use to make compliant mpeg1/2 video for
> >   vcd/svcd/dvd? so far i've had luck, but the players i've tested
> 
> I tried to use mencoder and lavc to create (X)SVCDs that I could play on my
> DVD player.  I normally use mpeg2enc from the mjpegtools package, which works,
> but lavc is faster.  I used the mplex program from mjegtools to work around
> mencoder's broken mpeg muxer.  There were still two problems that kept it from
> working.

well, the mpeg muxer is no longer broken -- that's the point.

> The first is that I couldn't figure out a way to get soft-telecin, and trying
> to encode 24fps on NTSC without soft-telecin is pointless.

for vcd it's fine to just use 23.976 fps mode. i know this isn't
allowed on dvd (very stupid!!!) but i'm not sure about svcd..?

if this is an issue, it seems like it should be easy to fix. either
add a hack in the mpeg muxer to do the telecine flags, or a hack in
ve_lavc to add them there...

> The second is that the rate control, specifically vrc_maxrate, doesn't appear
> to work.  No matter what rate control options I used, the encoding would have
> peak bitrates much too high for my DVD player to play from CD-RW media.

it works as long as you set the vbv buffer size (vrc_buf_size)
correctly. at least it worked for me making a vcd yesterday...

rich




More information about the MPlayer-dev-eng mailing list