[MEncoder-users] green noise using -vf yadif

Tobias Brockamp tobiasbrockamp at gmx.de
Thu Jul 24 16:38:22 CEST 2008


Hi all,

i found this previous thread about the same problem that i have using 
"yadif" for deinterlacing, but this thread
doesn't solve the problem at all, so i want to start it again.

Here is the previous thread:
http://thread.gmane.org/gmane.comp.video.mplayer.user/50772

My mencoder command line looks like this:

mencoder -vfm ffmpeg,dshow,vfw -cache 51200 -of avi -ovc x264 -ofps 25 
-aspect 4:3 -oac mp3lame -srate 44100 -mc 0 -vf 
yadif,scale=768:576,harddup -x264encopts 
"keyint=250:min-keyint=25:scenecut=40:bframes=0:b-bias=0:ref=5:deblock=-2,-2:crf=22:ratetol=1.0:vbv-bufsize=0:vbv-init=0.0:ipratio=1.4:pbratio=1.3:chroma-qp-offset=0:rceq=blurCplx^(1-qComp):qcomp=0.6:cplxblur=20.0:qblur=0.5:subq=4:partitions=all:direct-8x8=-1:direct=auto:me=hex:8x8dct:trellis=1:nodct_decimate:nr=0:sar=1/1:fps=25:threads=auto:nopsnr:nossim" 
-lameopts "cbr:preset=128:mode=0" -o 7_YADIF_01.avi 07.mpg

A screenshot of the resulting green line could be found here:

http://forum.doom9.org/showthread.php?t=139703

In the previous thread Carl Eugen Hoyos suggested this:

"Do you see them when you try:
mplayer capture.dv -vf yadif
mplayer capture.dv -vf yadif,scale=-10:-1
mplayer capture.dv -vf scale=-10:-1,yadif

or only if you try

mencoder capture.dv -vf yadif -ovc lavc -oac copy -o test.avi
mencoder capture.dv -vf yadif,scale=-10:-1 -ovc lavc -oac copy -o test.avi
mencoder capture.dv -vf scale=-10:-1,yadif -ovc lavc -oac copy -o test.avi
mencoder capture.dv -vf yadif -ovc x264 -oac copy -o test.avi
mencoder capture.dv -vf yadif=1 -fps 50 -ofps 50 -ovc x264 -oac copy -o t.avi
"

I tried this all out and using mplayer the green noise isn't there
but all mencoder lines results with green noise, so it seems to be a problem
with mencoder.?

I also tried encoding my MPG File with megui (x264) using an avisynth script including
yadif, the result has no green noise.


So it would be nice if someone could help out here cause this problem
seems not to be solved since last posting in 2007.

Kind regards,

T. Brockamp











More information about the MEncoder-users mailing list