[MEncoder-users] mcdeint=2 segfault

Christian Ebert blacktrash at gmx.net
Sat Mar 28 23:22:30 CET 2009


* Reimar Döffinger on Saturday, March 28, 2009 at 19:50:21 +0100
> On Mon, Mar 09, 2009 at 04:19:32PM +0000, Christian Ebert wrote:
>> $ mencoder -msglevel all=9 -mc 0 -noskip -vfm ffmpeg -fps 25 -ofps 25 -field-dominance 1 \
>> -vf yadif=3,mcdeint=2:1:10,softskip,harddup \
>> -of lavf -lavfopts format=pal-dv -oac pcm -ovc lavc \
>> -lavcopts vcodec=dvvideo:vqscale=0 -o test.dv test.mov
> 
> Not that you'd win anything if it did work. mcdeint in general (as well
> as yadif=3) _only_ makes sense when you double the frame rate, i.e.
> -fps 25 -ofps 50. Since dv can not store that (I think)

A quick test of the above with -nosound -ofps 50 and mcdeint=1
seems to work, but I don't know yet whether I actually will be
able to mux with the audio changed to that speed with sox eg.,
let alone whether the result would be playable.

> yadif=1 is about
> the best you can get - which is still lower quality than storing the
> interlaced video in DV and doing proper deinterlacing on playback.

Could you elaborate, perhaps even with an example, on "proper
deinterlacing"?

At the moment I use the command (with mcdeint=1 of course) above
all as intermediate step before converting eg. to mp4. The
viewing experience of the deinterlacing result of
yadif=3,mcdeint=1:1:10,softskip,harddup
has been the best/smoothest compared to other methods I tried on
my source material -- pp=lb | pp=fd | yadif=0 | yuvfps of
mjpegtools (not bad though).

But I'm always interested in better ways to do this.

c
-- 
  Was heißt hier Dogma, ich bin Underdogma!
[ What the hell do you mean dogma, I am underdogma. ]
_F R E E_  _V I D E O S_  http://www.blacktrash.org/underdogma/
                          http://www.blacktrash.org/underdogma/index-en.html


More information about the MEncoder-users mailing list