[MEncoder-users] [BUG] mencoder fails to encode VOB file

Guillaume POIRIER poirierg at gmail.com
Sat Dec 31 15:46:18 CET 2005


Hi,

On 12/31/05, Oded Shimon <ods15 at ods15.dyndns.org> wrote:
> On Sat, Dec 31, 2005 at 03:30:04PM +0100, Guillaume POIRIER wrote:
> > Hi,
> >
> > On 12/30/05, Jeff Clagg <snacky at ikaruga.co.uk> wrote:
> > > On Fri, Dec 30, 2005 at 08:26:38AM -0800, jay sig wrote:
> > > > Hello,
> > > >
> > > > When mencoder is invoked as follows it fails to encode
> > > > the VOB file.
> > > >
> > > >   for VPASS in 1 2; do
> > > >     mencoder -ss 0:05:27.3 -endpos 0:0:0.53 \
> > > >     -oac lavc -ovc lavc -vf crop=720:416:0:80 \
> > > >     -lavcopts \
> > > >     vpass=$VPASS:vmax_b_frames=2:vb_strategy=1\
> > > >     /cdrom/VIDEO_TS/VTS_01_1.VOB -o out.avi; \
> > > >   done
> > >
> > > Before anyone complains that he didn't use official CVS (which I agree
> > > he should have tried first), I can confirm that this fails using
> > > yesterday's cvs with the same error.
> > >
> > > [mpeg4 @ 0x874d0d0]warning, too many b frames in a row  A-V:0.005 [0:0]
> > > mencoder: ratecontrol.c:672: ff_rate_estimate_qscale: Assertion
> > > `pict_type == rce->new_pict_type' failed.
> > > Aborted
> >
> > That's because vb_strategy is not to be used in any other pass than
> > the first one.
> > The man page says it already. :)
>
> We should really make it automatic, it's rather simple to check, don't you
> think?
>
> Give a warning when it is set and we unset it though.

Not a bad idea. Would you care to write that patch? I'm away from my
dev computer right now...

Guillaume

--
Life is pleasant. Death is peaceful. It's the transition that's troublesome.
    Isaac Asimov (1920 - 1992)

MPlayer's doc is offline. Find some fresh one here:
http://tuxrip.free.fr//MPlayer-DOCS-HTML/en/
http://tuxrip.free.fr//MPlayer-DOCS-HTML/fr/




More information about the MEncoder-users mailing list