Film mode deinterlacing
Posted: 13 Dec 2010 03:40
Hi everyone,
I was wondering if there are any plans for including an inverse telecine (IVTC; a.k.a. film mode or 3:2 pulldown removal) deinterlacer in VLC? In other respects VLC has become the cross-platform swiss-army knife of video playback, and for playing video files it's great, but considering NTSC DVDs this particular feature is oddly missing. Searching this forum shows* some similar threads over the years, but always with very few posts and no conclusive reply.
* "Telecine" was the most successful search term: search.php?keywords=telecine&terms=all& ... mit=Search
I'm interested in this, because NTSC anime DVDs are practically always hard-telecined. For such material, inverse telecine is necessary to avoid comb artifacts on a progressive display. From what I've heard, the DVDs are often also badly mastered, so the flags cannot be trusted, and a simple cadence-based weave will not work to undo the telecine. Instead, the video stream itself must be analyzed on the fly.
Of the open source video players that support DVDs, Kaffeine and Xine (both aimed for Linux) have a working IVTC implementation. Xine uses the deinterlacer from the open-source TVTime project as a plugin; it provides both video (interpolating) and film (IVTC) modes. I'm not sure of the internals of Kaffeine's deinterlacer, but it switches between video and film automatically.
A third project that implements IVTC is MPlayer, with their "ivtc" and "pullup" filters, but my impression is that they have never been seriously interested in DVD playback (with menus and all). In the other threads on this forum, it was said that on the Windows side, DScaler, AviSynth and ffdshow implement IVTC.
The platform I'm most interested in is Mac OS X, because there no (at least open-source) player currently exists that does IVTC. But regardless of that, I think VLC is in any case the best candidate for this, because the DVD playback is great, and it's cross-platform.
So, what I'd like to ask is, are there any plans toward this direction?
P.S. If not, how complicated is VLC's deinterlacer API, and specifically which files would I want to look at? I don't have much free time, but I'm a programmer, and if it's fairly simple to glue in one of the working IVTC implementations (i.e. if both sides are modular enough), I might be interested in doing that myself. (That is, assuming you guys are accepting patches.)
I was wondering if there are any plans for including an inverse telecine (IVTC; a.k.a. film mode or 3:2 pulldown removal) deinterlacer in VLC? In other respects VLC has become the cross-platform swiss-army knife of video playback, and for playing video files it's great, but considering NTSC DVDs this particular feature is oddly missing. Searching this forum shows* some similar threads over the years, but always with very few posts and no conclusive reply.
* "Telecine" was the most successful search term: search.php?keywords=telecine&terms=all& ... mit=Search
I'm interested in this, because NTSC anime DVDs are practically always hard-telecined. For such material, inverse telecine is necessary to avoid comb artifacts on a progressive display. From what I've heard, the DVDs are often also badly mastered, so the flags cannot be trusted, and a simple cadence-based weave will not work to undo the telecine. Instead, the video stream itself must be analyzed on the fly.
Of the open source video players that support DVDs, Kaffeine and Xine (both aimed for Linux) have a working IVTC implementation. Xine uses the deinterlacer from the open-source TVTime project as a plugin; it provides both video (interpolating) and film (IVTC) modes. I'm not sure of the internals of Kaffeine's deinterlacer, but it switches between video and film automatically.
A third project that implements IVTC is MPlayer, with their "ivtc" and "pullup" filters, but my impression is that they have never been seriously interested in DVD playback (with menus and all). In the other threads on this forum, it was said that on the Windows side, DScaler, AviSynth and ffdshow implement IVTC.
The platform I'm most interested in is Mac OS X, because there no (at least open-source) player currently exists that does IVTC. But regardless of that, I think VLC is in any case the best candidate for this, because the DVD playback is great, and it's cross-platform.
So, what I'd like to ask is, are there any plans toward this direction?
P.S. If not, how complicated is VLC's deinterlacer API, and specifically which files would I want to look at? I don't have much free time, but I'm a programmer, and if it's fairly simple to glue in one of the working IVTC implementations (i.e. if both sides are modular enough), I might be interested in doing that myself. (That is, assuming you guys are accepting patches.)