[MPlayer-users] mencoder: "duplicate 1 frame(s)!!!"?

D Richard Felker III dalias at aerifal.cx
Tue Jan 14 06:32:38 CET 2003


On Tue, Jan 14, 2003 at 01:52:45AM +0100, ras2 wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> I have a file I captured from TV with this commandline:
> 
> mencoder -tv on:driver=v4l:device=/dev/video0:width=384:height=288:\
> chanlist=europe-west:outfmt=rgb24:channel=66 -ovc divx4 -divx4opts \
> br=2600:q=4:crispness=100 -oac copy -o buffy_1_6.avi
> (I didn't get any warnings or other messages while capturing it).
> 
> And I'm trying to encode/convert it with this commandline (and variations
> of it):
> 
> mencoder buffy_1_6.avi -ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=1000:\
> v4mv:keyint=350:vqmin=2:vlelim=4:vcelim=9:lumi_mask=0.05:dark_mask=0.01 \
> -oac copy -o buffy_s1_e6.avi
> 
> I get this from mencoder:
> 
> duplicate 1 frame(s)!!!    
> Pos:  45.2s   1132f ( 1%)  64fps Trem:  16min 467mb  A-V:0.040 [799:705]
> duplicate 1 frame(s)!!!    
> Pos:  45.3s   1134f ( 1%)  65fps Trem:  16min 468mb  A-V:0.040 [799:705]
> [etc.]
> 
> And when playing the file, it appears to skip some frames at times
> (video mainly, audio seems fairly okay; no really audible skips).
> 
> Any ideas what is going wrong? I have used the same options for quite
> a few captures before (although none as long as this one) and encoded
> them with the same options too with no problems. The only difference
> is that I tried outfmt=rgb24 for the capture which I don't think I've
> used before.

Capturing rgb24 is totally useless and will just waste lots of cpu
time. The video has to be converted to yv12 for encoding anyway. BTW
divx4 is very low quality and should not be used; use lavc instead.

Rich



More information about the MPlayer-users mailing list