Deinterlace is not working

Discuss about generic usage of MediaCoder.

Moderator: HuggiL

halfbakedj14
Beginner
Beginner
Posts: 3
Joined: Tue Jul 11, 2006 8:17 am

Deinterlace is not working

Post by halfbakedj14 » Tue Jul 11, 2006 8:20 am

I am trying to convert a .vob file to a .avi with xvid as the codec. Under Post Processing I have "deinterlace" checked, but my final converted video still has the interlaced lines, it isnt smooth like it should be. I have selected every deinterlace mode that is available in the drop down menu in the Video Filter settings and still get an interlaced video. Any idea on how to solve this?

stanley
Site Admin
Site Admin
Posts: 4135
Joined: Mon May 15, 2006 7:43 pm
Location: Sydney

Post by stanley » Tue Jul 11, 2006 12:07 pm

First you need to set post-processing to enabled.

SpankyRabinowitz
Amateur
Amateur
Posts: 10
Joined: Sat Jun 17, 2006 11:37 am

I agree

Post by SpankyRabinowitz » Tue Jul 11, 2006 4:17 pm

I just did a test conversion from VOB/MPEG2 to H.264 with deinterlace enabled and it did not deinterlace. This used to work in older version. I suspect a bug has crept in.

My conclusion is based on visual inspection rather than analyzing the movie but I'm pretty good at spotting interlacing. In fact, I came to the forum to check and see if anyone else had this problem.

So I'm voting there's a problem here.

stanley
Site Admin
Site Admin
Posts: 4135
Joined: Mon May 15, 2006 7:43 pm
Location: Sydney

Post by stanley » Tue Jul 11, 2006 4:34 pm

Can you help do this:
Switch to expert mode, and paste me the text in video command.

halfbakedj14
Beginner
Beginner
Posts: 3
Joined: Tue Jul 11, 2006 8:17 am

Post by halfbakedj14 » Tue Jul 11, 2006 9:36 pm

stanley wrote:First you need to set post-processing to enabled.
That is what I was doing. I went to "Picture" then clicked "Post Processing" then clicked "Deinterlace", and still got an interlaced file. I switched to expert mode and click on the Video Options tab at the bottom and here is the text it display's:
".\mplayer\mencoder.exe" "$(SourceFile)" -vf scale=496:400:0:0::,pp=ha:cva:cal:c/lb,harddup -ovc xvid -xvidencopts threads=1:trellis:chroma_me:chroma_opt:hq_ac:quant_type=h263:max_bframes=2:me_quality=6:bitrate=$(VideoBitrate) -oac mp3lame -lameopts vbr=2:q=6:highpassfreq=-1:lowpassfreq=-1 -o "$(DestFile)"

Robot
Amateur
Amateur
Posts: 28
Joined: Mon Jun 26, 2006 6:36 pm

Post by Robot » Tue Jul 11, 2006 9:56 pm

I even select "Video Filter" -> "Postprocessing" -> "Deinterlace" -> "FFmpeg filter" or other deinterlace option(Sure also had the postprocessing option enabled at the "Picture" tab). It seem no deinterlace process were performed. The output video(Xvid .avi) still seeing horizontal lines around image.

halfbakedj14
Beginner
Beginner
Posts: 3
Joined: Tue Jul 11, 2006 8:17 am

Post by halfbakedj14 » Wed Jul 12, 2006 2:53 am

Robot wrote:I even select "Video Filter" -> "Postprocessing" -> "Deinterlace" -> "FFmpeg filter" or other deinterlace option(Sure also had the postprocessing option enabled at the "Picture" tab). It seem no deinterlace process were performed. The output video(Xvid .avi) still seeing horizontal lines around image.
I have done exactly everything you have aas well and still end up with horizontal lines too. Glad to see I am not the only one who has this problem.

Any ideas on how to fix this problem?

Robot
Amateur
Amateur
Posts: 28
Joined: Mon Jun 26, 2006 6:36 pm

Post by Robot » Wed Jul 12, 2006 6:00 am

I don't know, just leave MediaCoder alone until someone can answer this question. This app is much like for testing only, currently can't be relied on for serious purpose.

SpankyRabinowitz
Amateur
Amateur
Posts: 10
Joined: Sat Jun 17, 2006 11:37 am

command line

Post by SpankyRabinowitz » Wed Jul 12, 2006 3:21 pm

With deinterlace enabled:

".\mplayer\mencoder.exe" "$(SourceFile)" -af volnorm=2 -vf pp=ha:cva:cal:c/lb,harddup -passlogfile "$(TempDir)mcpass2652.log" -ovc x264 -x264encopts qcomp=0.60:dct_decimate:bframes=3:keyint=250:keyint_min=25:frameref=1:qp_min=10:qp_max=51:qp_step=2:qp_constant=26:cabac:direct_pred=1:weight_b:i4x4:i8x8:b8x8mv:8x8mv:no4x4mv:8x8dct:mixed_refs:nobrdo:trellis=1:bime:fast_pskip:threads=1:pass=1:turbo=2 -nosound -o NUL

".\mplayer\mencoder.exe" "$(SourceFile)" -af volnorm=2 -vf pp=ha:cva:cal:c/lb,harddup -passlogfile "$(TempDir)mcpass2652.log" -ovc x264 -x264encopts qcomp=0.60:dct_decimate:bframes=3:keyint=250:keyint_min=25:frameref=1:qp_min=10:qp_max=51:qp_step=2:qp_constant=26:cabac:direct_pred=1:weight_b:i4x4:i8x8:b8x8mv:8x8mv:no4x4mv:8x8dct:mixed_refs:nobrdo:trellis=1:bime:fast_pskip:threads=1:bitrate=$(VideoBitrate):pass=2:me=2:me_range=16:subq=6 -oac mp3lame -lameopts vbr=2:q=6:highpassfreq=-1:lowpassfreq=-1 -af volnorm=2 -o "$(DestFile)"


With deinterlace disable (but post-processing still turned on)

".\mplayer\mencoder.exe" "$(SourceFile)" -af volnorm=2 -vf pp=ha:cva:cal:c,harddup -passlogfile "$(TempDir)mcpass2652.log" -ovc x264 -x264encopts qcomp=0.60:dct_decimate:bframes=3:keyint=250:keyint_min=25:frameref=1:qp_min=10:qp_max=51:qp_step=2:qp_constant=26:cabac:direct_pred=1:weight_b:i4x4:i8x8:b8x8mv:8x8mv:no4x4mv:8x8dct:mixed_refs:nobrdo:trellis=1:bime:fast_pskip:threads=1:pass=1:turbo=2 -nosound -o NUL

".\mplayer\mencoder.exe" "$(SourceFile)" -af volnorm=2 -vf pp=ha:cva:cal:c,harddup -passlogfile "$(TempDir)mcpass2652.log" -ovc x264 -x264encopts qcomp=0.60:dct_decimate:bframes=3:keyint=250:keyint_min=25:frameref=1:qp_min=10:qp_max=51:qp_step=2:qp_constant=26:cabac:direct_pred=1:weight_b:i4x4:i8x8:b8x8mv:8x8mv:no4x4mv:8x8dct:mixed_refs:nobrdo:trellis=1:bime:fast_pskip:threads=1:bitrate=$(VideoBitrate):pass=2:me=2:me_range=16:subq=6 -oac mp3lame -lameopts vbr=2:q=6:highpassfreq=-1:lowpassfreq=-1 -af volnorm=2 -o "$(DestFile)"

The "/lb" is the only change I see but I haven't done a thorough analysis. Thanks for taking a look Stanley!

glostah
Beginner
Beginner
Posts: 4
Joined: Thu Jul 13, 2006 1:02 am

My video command

Post by glostah » Thu Jul 13, 2006 7:23 am

I have deinterlacing on in this configuration but it is clearly not deinterlacing.

I'm converting these to FLVs so I'l deinterlace on that step.

Code: Select all

".\mplayer\mencoder.exe" "$(SourceFile)" -af lavcresample=44100 -vf pp=ha:cva:cal:c/fd,harddup -ofps 30000/1001 -of mpeg -mpegopts format=mpeg2 -ovc lavc -lavcopts vcodec=mpeg2video:aspect=16/9:mbd=1:subq=8:trell:keyint=15:vrc_maxrate=9800:vrc_buf_size=1835:vbitrate=$(VideoBitrate) -oac lavc -lavcopts acodec=mp3:abitrate=128 -af lavcresample=44100 -o "$(DestFile)"

Post Reply