[MPlayer-dev-eng] Possible libavcodec encoding bug (keyframe thing)

Michael Niedermayer michaelni at gmx.at
Wed Aug 21 01:09:29 CEST 2002


Hi

On Tuesday 20 August 2002 17:56, Pásztor Szilárd wrote:
> Hi,
>
>   Possible bug in libavcodec mpeg4 encoder: series of keyframes on
> occasion. I've put up a sample of an encoded MPEG2 part and there are
> keyframe bursts for longer periods without obvious reason (it's almost a
> stand-still scene). Sample files: keyframe-orig.avi, keyframe-encoded.avi
> (in incoming), modified mplayer (to report keyframes) playback log in
> keyframe-report.txt.
>
[...]
>
> Command line used for encoding: mencoder -ovc lavc -oac copy -lavcopts \
> vcodec=mpeg4:keyint=350:vbitrate=1500:vqmin=2:vqmax=30:vqdiff=15:vhq:vqblur
>=0:vqcomp=0.6:v4mv:vpass=1..2 \ -vop [crop,scale etc] -sws 2 -o encoded.avi

i cant reproduce it :(
neither pass 1 or pass 2 files show such problems
i used:
mencoder -ovc lavc -oac copy -lavcopts 
vcodec=mpeg4:keyint=350:vbitrate=1500:vqmin=2:vqmax=30:vqdiff=15:vhq:vqblur=0\
:vqcomp=0.6:v4mv:vpass=1 ~/videos/keyframe-orig.avi -o encoded.avi

mencoder -ovc lavc -oac copy -lavcopts  
vcodec=mpeg4:keyint=350:vbitrate=1500:vqmin=2:vqmax=30:vqdiff=15:vhq:vqblur=0\
:vqcomp=0.6:v4mv:vpass=2 ~/videos/keyframe-orig.avi -o encoded2.avi

could u upload the lavc_stats.txt which is generated in pass 1?

>
> In the sample encoded avi, each frame is a keyframe beginning from 26
> seconds into the movie to 28.4 seconds (low-mo scene), from 70.4 seconds to
> 71.3, 74.6-75.4, 86.2-86.6, 122-122.5, then 135-145.
yes

[...]

Michael



More information about the MPlayer-dev-eng mailing list