[MPlayer-users] [BUGREPORT] libavcodec bframes bug
Anders Rune Jensen
anders at gnulinux.dk
Mon Jan 6 04:42:16 CET 2003
I did some more testing:
After revision 1.48 of motion_est.c, qpel also seg faults on the
gladiator file. Changelog is:
qpel in mmx2/3dnow
qpel refinement quality parameter
Also I recompiled (make distclean) mencoder after revision 1.49 to see
if it fixed my problem with b frames but it didn't.
I crashes very quickly, after 1-2 seconds.
I've succesfully encoded the file (it's in upload) without qpel and b
frames but with trell.
I found this very wierd thing about my source file:
mplayer -identify gladiator-small.vob
Playing /stuff/dvd/gladiator-small.vob
AVI file format detected.
VIDEO: [a] 720x576 24bpp 25.00 fps 871.6 kbps (106.4 kbyte/s)
^^^
VIDEO: MPEG2 720x576 (aspect 3) 25.00 fps 12250.0 kbps (1531.2 kbyte/s)
The "a" looks like a gray cursor on my monitor. I don't think I've seen
a file with two video tracks (or what is it) before. The gladiator.vob
file was copyied directly from dvd using -oac copy -ovc copy to on big
avi file.
Anders Rune Jensen <anders at gnulinux.dk> writes:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> Hi
>
> Just testing the new cool features of libavcodec when I encountered
> this bug:
>
> When I enable b-frames mencoder crashes, I've tried without b-frames
> and it works ok. I fails after about 30 seconds of encoding.
>
> I get an error:
>
> mencoder: ratecontrol.c:584: ff_rate_estimate_qscale: Assertion
> `picture_number<rcc->num_entries' failed.
>
> The input file I'm trying to encode is quite big because I just copied
> the dvd into one single file, this may be the problem. ls -l
> gladiator.vob: 5.699.664.772 bytes
>
> Another thing is that I don't think that the reason changes caused the
> bug, it's been there for some months IIRC. I didn't report it
> before because I thought b-frames was experimental. Well now I've
> reported it :)
>
> If there is anything I can do to help fix this, please let me know.
>
> I use the following options to mencoder:
>
> mencoder ../gladiator.vob -oac copy -ovc lavc -vop
> scale=640:272,crop=720:420:0: 78 -lavcopts
> vcodec=mpeg4:vhq:vbitrate=1075:keyint=300:qpel:cmp=3:subcmp=3:vmax_
> b_frames=2:vpass=1 -o gladiator-rip.avi
>
> Settings:
>
> Gentoo Linux 1.2
> gcc version 2.95.3 20010315
> GNU ld version 2.11.92.0.12.3 20011121
> GNU assembler 2.11.92.0.12.3 20011121
> Linux 2.4.19aa1
--
Anders Rune Jensen
More information about the MPlayer-users
mailing list