Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
Double/customizable Interpolate Filter?, More steps, less blur
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
Dowlphin
  Posted: Oct 4 2014, 05:27 PM


Member


Group: Members
Posts: 23
Member No.: 37864
Joined: 9-April 14



The internal interpolate filter is the simplest one. It converts a full frame into two blended frames (as far as I can see). But are there better interpolation filters? I have seen a video on Youtube
http://www.youtube.com/watch?v=ZPqrXC5hpSQ
that features gaming console footage which looks better than the interpolation I can do. From examining freeze frames, it looks like the interpolation used there works by keeping the main frame and then generates one ghost picture for the previous frame and one for the following frame. Something like that. I'd really love to utilize that effect, because it's closer to true 60 fps without introducing so much visible blur.
I hope I'm not imagining things here, haha. Maybe one of you has a better eyes for this.
 
    Top
phaeron
Posted: Oct 5 2014, 10:56 PM


Virtualdub Developer


Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02



Yes, it is possible, by shifting the interpolation phase. Basically, just picking frames a quarter of a frame off from where the filter currently does.

What's less obvious is that doing this causes a slight desync in the output. This is because each frame occupies a certain amount of time relative to the audio, and shifting the interpolation phase also causes the frames to shift relative to the audio. The error is not necessarily a big deal, though.

The effect you're seeing is probably not an intentional effect but rather the result of recording interlaced footage and not deinterlacing it properly. If you look closely, you can see that each recorded frame is the average of two rendered frames. This happens when the game is rendering at 30 fps and is recorded interlaced with an offset of one field (1/60th of a second). Proper deinterlacing will avoid this. Problem is, there is nothing that locks a game to a particular field polarity, so every once in a while it will glitch and flip polarity. An adaptive deinterlacer is thus required to ensure that clean frames are extracted.
 
    Top
Dowlphin
Posted: Oct 5 2014, 11:07 PM


Member


Group: Members
Posts: 23
Member No.: 37864
Joined: 9-April 14



Hm, so is there a solution that enables me to make video look as fluid as in the linked example? I'm not that much into the technical details and don't understand everything.
Even should this not be an available means with VirtualDub, maybe other software?

I made a comparison video

https://www.youtube.com/watch?v=qXYtWxuaoio

using the standard interpolation filter in VirtualDub, but the amount of blur it introduces seems unusually high. I'm not sure whether that has to do with the video material, too. I also tried rendering it using a complicated way of interlacing the video first and then applying a blend-deinterlace, but the result is the same.
The PAL DV video footage I used to record and blend-deinterlace never looked that blurry in moving scenes. ... Then again, maybe it's just a bitrate issue combined with the extremely fast motion in that video. I don't have enough experience with this to know what's what. All I know is that the footage from that Devil May Cry game looks better than anything I have seen so far. Maybe there's a psychovisual aspect involved, because I can see the several 'ghost' pictures, but they don't look blurry/mushy at all.
 
    Top
raffriff42
Posted: Oct 6 2014, 02:41 AM


Advanced Member


Group: Members
Posts: 384
Member No.: 35081
Joined: 25-June 12



You can emulate it somewhat with the built in Motion Blur filter - preferably Blended at 50% or so. (it's not a true motion blur; it's really a frame blender)
 
     Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
3 replies since Oct 4 2014, 05:27 PM Track this topic | Email this topic | Print this topic

<< Back to VirtualDub Filters and Filter Development