[MEncoder-users] duplicate frame(s) message ?

Ivo ivop at euronet.nl
Fri Dec 1 16:57:54 CET 2006


On Friday 01 December 2006 16:44, Pierre Catello wrote:
> The frames should not be duplicated as they should be different. There
> are very few doc on yadif, but in my understanding in mode 3 it is a
> "BOB" type deinterlacer which outputs one frame from each field
> ("guessing" half of the lines from either interpolation, or may be from
> the previous field if it can detect low motions I don't know how smart
> this filter is).

I see. I wasn't aware of the fact that yadif=3 outputs a frame for each 
field.

> Example (lavc pass 2):
>
> mencoder input.dv.avi -oac copy -vf yadif=3:1 -ovc lavc -lavcopts
> vcodec=mpeg4:mbd=2:vbitrate=2500:mv0:trell:v4mv:cbp:last_pred=3:predia=3:
>dia=3:vmax_b_frames=2:vb_strategy=1:precmp=3:cmp=3:subcmp=3:preme=2:qns=2:
>mpeg_quant:vpass=2 -o test-lavc.avi -fps 50 -ofps 50

IIRC -fps corresponds to the input framerate, so that should be 25 or left 
to the avi demuxer.

--Ivo



More information about the MEncoder-users mailing list