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

Oded Shimon ods15 at ods15.dyndns.org
Sat Dec 31 15:35:49 CET 2005


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.

- ods15




More information about the MEncoder-users mailing list