Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
2nd February 2012, 10:57 | #1 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
How to do good deinterlacing with mencoder ?
Just wondering is there a side somewhere that has some recommendations or can someone here recommend which and how to use mencoders deinterlacers for what content?
i.e.: - for normal interlaced material - for telecine material - for bobbing - for progressive-interlaced hybrid material - for progressive-telecine hybrid material - for interlaced-telecine hybrid material for normal interlacing I know of: - yadif=0 - kerndeint - yadif=1|3,mcdeint=0|1|2|3 - tfields=1,mcdeint=0|1|2|3 - pp=lb|fd|li|md for telecine I know of: - pullup,softskip - filmdint - decimate=2:1000:1600:.001 -ofps 24000/1001 - yadif=3:1,mcdeint=0:1:10,framestep=2,filmdint=dint_thres=256 - yadif=3:1,mcdeint=1:1:10,framestep=2,filmdint=dint_thres=256 - yadif=3:1,mcdeint=2:1:10,framestep=2,filmdint=dint_thres=256 as bobber I know of: - yadif=1 - yadif=3 but I'm unsure what of these choices would be a good recommendation and what to do with hybrid material? Since I'm definitely no pro when it comes to deinterlacing and deinterlacing&mencoder I was wondering if some of the users here could share their experience and recommend something. I know avisynth can be used through wine, but I really don't want to use wine and avisynth or other tools. My question is: What are good/recommend ways to handle interlacing with mencoder ? Cu Selur Ps.: yes, I know of http://guru.multimedia.cx/deinterlacing-filters/ (from 2006) Last edited by Selur; 2nd February 2012 at 11:06. |
2nd February 2012, 17:00 | #2 | Link |
Registered User
Join Date: Mar 2005
Location: Finland
Posts: 2,641
|
Same-framerate deinterlacing (25i->25p, 30i->30p):
Very fast: -vf pp=fd
Fast: -vf yadif=0
Slow: -vf yadif=1:0,mcdeint=0:0:10,framestep=2
Double-framerate deinterlacing, aka bobbing (25i->50p, 30i->60p): Very fast: -vf tfields
Medium: -vf yadif=1
Slow: -vf yadif=1:0,mcdeint=0:0:10
I don't have much practical experience of using inverse telecine filters. Last edited by nm; 2nd February 2012 at 17:05. |
9th February 2012, 15:12 | #4 | Link |
Registered User
Join Date: Mar 2005
Location: Finland
Posts: 2,641
|
Here's a comparison of how yadif, mcdeint and QTGMC handle detailed moving textures: parkjoy_deint_comparison.mkv
Pay attention to foliage, grass and the background. Yadif causes a lot of damage in those areas. Surprisingly the fence is also much better with mcdeint. Notes
Original video: parkjoy_pal_original.mkv (some of these SVT sources seem to be very hard to find these days). |
11th February 2012, 13:51 | #6 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
QTGMC is a Avisynth (= mainly windows) plugin, it's not available in mencoder, it's just there as some sort of reference.
(you could use avisynth through wine, but no clue if it's possible to get avisynth+gtgmc+wine to run stable on linux) |
11th February 2012, 18:23 | #7 | Link | |
Registered User
Join Date: Mar 2005
Location: Finland
Posts: 2,641
|
Quote:
Some source filters are difficult because they rely on missing external systems, such as DirectShow or NVCUVID (and GPU drivers). FFMS2 works. |
|
11th February 2012, 19:26 | #8 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
Good to know. Do you have to use avs2yuv or can you use mencoder instead? (assumed it is compiled with avisynth support)
(I would if I try it probably want to use it through mencoder an then pipe to vpxenc/x264) Last edited by Selur; 11th February 2012 at 19:28. |
12th February 2012, 01:55 | #9 | Link | |
Registered User
Join Date: Mar 2005
Location: Finland
Posts: 2,641
|
Quote:
What would be the advantage of using MEncoder instead of avs2yuv when piping to a separate encoder? |
|
12th February 2012, 06:49 | #10 | Link | |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
No, I wanted to use a linux build, iirc it should be possible to compile mencoder with avs support on linux,...
Quote:
|
|
3rd March 2012, 00:09 | #14 | Link | |
Registered User
Join Date: Feb 2012
Posts: 1
|
Quote:
I'm trying to use avisynth on linux (dual boot debian / arch) in order to deinterlace *.MTS file but I don't understand how to install FFMS2. Thanks in advance |
|
14th August 2012, 17:48 | #15 | Link |
Registered User
Join Date: Aug 2012
Location: Berlin, Germany
Posts: 2
|
There are vast differences in quality among deinterlacers. Better deinterlacers employ some version of optical flow. They fill in the missing lines in a field by reference to information in that field plus fields before and after. Software implementations generally run slowly.
At least as great quality differences should be expected from double framerate deinterlacers as from same framerate deinterlacers since the former may be achieved by two applications of the latter. I explained this recently in another forum. (Note that we say 50i and 60i, not 25i and 30i, in that other forum.) At the end of that post are links to an interlaced original (from DV-PAL) and its high quality double framerate deinterlace. People might wish to test if their methods achieve similar quality. |
15th August 2012, 21:35 | #16 | Link |
Registered User
Join Date: Feb 2002
Location: San Jose, California
Posts: 4,407
|
@dcouzin
Since you are new here and your link is a somewhat tricky way to get better 50p from 50i I wonder if you have tried QTGMC? Avisynth based so Windows only of course but I have never found a better quality method. |
Thread Tools | Search this Thread |
Display Modes | |
|
|