Log in

View Full Version : Setting up MEncoder to do deinterlacing


u212129
5th July 2013, 05:54
How do I set up this application to do the sort of deinterlacing spoken about in the following thread: How to do good deinterlacing with mencoder ? (http://forum.doom9.org/showthread.php?t=163989)

You download the binaries and then a frontend, right? What frontend should I download?


I assume I can't simply deinterlace a DVD, I have to combine it all into one MPEG-2 file?

u212129
5th July 2013, 15:56
For example, I downloaded SMPlayer, but I only see pre-made options. All the literature I've seen is talking about custom stuff, with different numbers to plug in...


http://i.imgur.com/m54hbdH.gif

u212129
6th July 2013, 01:47
Just tried this with MeWiG and once again, there's no option for custom inputs. Plus, the application doesn't seem to work.

Selur
6th July 2013, 18:17
I hope that you are aware, that deinterlacing with mencoder always means reencoding the content, here's an example:
mencoder -dvd-device "H:\TestClips&Co\DVDs\TestDVD" dvd://1 -noskip -vf scale,format=i420,yadif=0,scale,format=i420 -mc 0 -noskip -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=4800:keyint=15:aspect=16/9 -ofps 25 -oac copy -ovc lavc -of mpeg -mpegopts format=dvd:tsaf -o "h:\test.mpg"
which opens the first title of the 'dvd-device', deinterlaced it with yadif=0, reencodes the video using the settings specified through the lavcopts and then packs the existing audio stream and the reencoded (and deinterlaced) video stream into the output file (test.mpg)
This is just an example to show some basic usage of mencoder, you probably might want to change some of the settings,...

If you do not want to reencode, but simply use a specific deinterlacer with MPlayer during playback, that is another thing,...

u212129
7th July 2013, 01:46
Deinterlacing is visually poor, just like artifacting, so the trade off is worth it. Are you saying that re-encoding is generally poor, resulting in noticeable deficits in quality at least at certain points in the video? Isn't making the finalized product uncompressed an option? But then you'd be having a whopping 50 gigs merely to "contain" the original 2 GB file, right?

Selur
7th July 2013, 19:01
sure you can save you stuff uncompressed or use a lossless compression format, you just need to read up on the mencoder options,..