(2015-12-01, 23:32)ZwartePiet Wrote: Most DVDs in Region 1 are either progressive or telecined. Only the handful of DVDs containing TV-shows filmed on video-tape require de-interlacing.
MMAL-advanced does a good job getting rid of the jaggies, but it's not perfect and the 3:2 cadence is still obvious to a trained eye. All the information is there to reconstruct a fully progressive video.
Open-source software like VLC have had IVTC for awhile. The processor-load should also be low. It would be a major plus for owners of Region 1 media (particularly TV-shows on DVD) if the Pi could playback their video perfectly.
I guess what you are asking for is a deinterlaced from 60i to 24p progressive rather than from 60i to 60p progressive, with a change of refresh rate output happening when the 3:2 cadence is detected and removed. That would work for a fixed-cadence source (say a movie DVD that respects 3:2 properly), but would be a nightmare for 60i Live TV sources, shows where 3:2 telecine content has been edited 60i, ignoring 3:2 cadence, or where 24p content is mixed with 60i native - often on screen at the same time. Imagine a 3:2 TV show with a 60i 1:1 crawl graphic over it?
I think there is an argument for 3:2 detection and conversion to 24p - but only if forced manually? There is no guarantee a cadence will be constant or continuous - so you do have to allow for that - and having your TV re-sync as a 60i studio show cut to a 24p 3:2-ed clip during an interview would be painful.
That said, I've never seen VLC change refresh rate (can it?) - so you'd still have to manually switch to 24p to get 3:2 removed if VLC was playing a 60i source that contained 24p with 3:2?
However IVTC doesn't have to mean 3:2 cadence removal. It's often used to describe converting 60i with 3:2 to 60p with 3:2 but with recognition of the 60i frames containing source fields from two different 24p frames, and the reconstruction of a 60p sequence with clean 24p frames, albeit still with a 3:2 cadence. Effectively converting 60i to 60p but avoiding mixed frames.
There are three real ways of deinterlacing 60i content with 3:2 24p within it :
1. deinterlace to 24p - detect the 3:2, remove the repeated field, create a 48i sequence and weave it to 24p. 60i in, 24p out. (This will fall apart if the source contains mixed 60i native and 24p content)
2. deinterlace to 60p - detect the 3:2, remove the repeated field, create a 48i sequence, weave to 24p and then 3:2 frame repeat to 60p. 60i in, 60p out. (This will also cope with mixed 60i native and 24p content - but not when it is on-screen at the same time)
3. deinterlace to 60p - deinterlace using whatever algorithm you like that copes with 1:1, 2:2 and 3:2, and output 60p. This is what broadcast de-interlacers and up-converters usually have to do - 480/60i in, 720/60p or 1080/60i out. Some will detect areas of the picture with 3:2, and follow the processes of 2. (but not over the whole picture). They therefore cope best with content which constantly changes cadence OR content where you have 24p and 60i sources on-screen at the same time - say with a split screen, or a 60i camera pointed at a presenter or actor in front of a projector showing 24p content, or where you have split-screens with 60i on one side of the screen and 24p sourced content on the other.
(And of course it's not a problem in PAL-land where we are 2:2)