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. |
21st June 2003, 03:06 | #1 | Link |
Registered User
Join Date: Oct 2001
Location: Gainesville FL USA
Posts: 2,092
|
New FrameDbl.dll makes movies at 48 FPS
I was re-reading a paper today that I had recently linked from my site and it convinced me that 24 frames / second is really not very good for movies. The flicker is easily handled by faster refresh rates but there is still a problem with dynamic resolution having to do with our eyes automatically tracking motion.
It occurred to me I could probably make a very simple motion compensated frame doubler out of my STMedianFilter code. So I did. I made a filter, FrameDbl.dll, that will double the frame rate of any clip. I generates extra frames using a motion compensated interpolation I first used in TomsMoComp. This is still very experimental, but you can try it at: www.trbarry.com/Readme_FrameDbl.txt (the readme file) and www.trbarry.com/FrameDbl.zip I usually tend to detest blended frames. And if you look at the output one frame at a time in Vdub it really doesn't look all that good since it has alternating crisp frames and blended softer frames. But it actually looks pretty smooth if you play it real time since each blended frame appears for only 1/48 second and is between 2 crisp frames. The best way to try this out is put FrameDbl.dll in your plugins folder and the run the following script to play any AVI file. Code:
AviFileSource("c:\whatever\somefile.avi") FrameDbl(255,3) <-- edit, should have 2 parms I confess I haven't thought this through at all and it was not something I was planning to write. I just stumbled into it this morning. So I'd really appreciate some feedback here. - Tom
__________________
My video filters (still) at www.trbarry.com. Last edited by trbarry; 6th July 2003 at 18:35. |
21st June 2003, 04:46 | #3 | Link |
Registered User
Join Date: Oct 2001
Location: Gainesville FL USA
Posts: 2,092
|
jorel -
How is it corrupt? Do you get a message? It is a Win/Me compressed folder like all my others. I just downloaded it from the above link to a different machine and the zip seems okay, though I didn't try to run the DLL. How far did you get? - Tom
__________________
My video filters (still) at www.trbarry.com. |
21st June 2003, 04:58 | #4 | Link |
Registered User
Join Date: Oct 2001
Location: Gainesville FL USA
Posts: 2,092
|
jorel -
Okay, I see what I did. I had an empty zip in the folder I copied into the zip. It should have been harmles but I just updated the web page anyway. Thanks for the alert. - Tom
__________________
My video filters (still) at www.trbarry.com. |
21st June 2003, 08:51 | #6 | Link |
Registered User
Join Date: Feb 2002
Posts: 1,195
|
hi,
i will try to test this filter but i think it will kill my CPU for reading or encoding. Bye.
__________________
AutoDub v1.8 : Divx3/4/5 & Xvid Video codec and .OGG/.MP3/.AC3/.WMA audio codec. AutoRV10 v1.0 : Use RealVideo 10 Codec and support 2 Audio Streams and Subtitles. |
21st June 2003, 11:01 | #7 | Link |
! - User - !
Join Date: Nov 2001
Posts: 1,081
|
whew thanks for this filter!
and now the complaints 1. I tried it with the warcraft iii trailer available from divx.com and it showed some visible artifacts. (a) flickering horizontal lines (b) some flickering and jerking during the scenes with the writing. It is hard to describe. I suggest you try it yourself. If the clip is nolonger available, you can get it from me. 2. it does not work inside ffdshow. yet, I suppose this more due to ffdshow than the filter. Cheers! Fedor
__________________
Keep your tone warm and your sigs decent! |
21st June 2003, 14:38 | #8 | Link |
Registered User
Join Date: Oct 2001
Location: Gainesville FL USA
Posts: 2,092
|
kilg0r3 -
I'll try it with that trailer. It is still very possible there are bugs or even major design errors in the filter since at this time yesterday I didn't even know I was going to write it. And I haven't tried it with any text overlays or sharp graphics yet. But I will. Sorry, I don't know at all what the requirements are to run under ffdshow. - Tom
__________________
My video filters (still) at www.trbarry.com. |
21st June 2003, 15:28 | #9 | Link | |
! - User - !
Join Date: Nov 2001
Posts: 1,081
|
The problem with the text is less due to the sharp edges than it is due to the shadow and reflection moving over it.
Quote:
__________________
Keep your tone warm and your sigs decent! |
|
21st June 2003, 18:07 | #10 | Link |
Registered User
Join Date: Oct 2001
Location: Gainesville FL USA
Posts: 2,092
|
kilg0r3 -
I tried with the file WoWMarchGameplay.avi from the Divx site and could not understand which problem you are referring to. Was that the right file? And sorry, I don't have any idea how to do OGM programming. In any event, I should release v 0.9.1 shortly that might help some folks, though probably not your specific problem. - Tom
__________________
My video filters (still) at www.trbarry.com. |
21st June 2003, 20:18 | #12 | Link |
Registered User
Join Date: Oct 2001
Location: Gainesville FL USA
Posts: 2,092
|
New v 0.0.9.1
I just posted a new version that implements a Search effort parm like TomsMoComp to determine how hard it searches to find the best match. My own opion is to just use SE=3 for everything so far, like:
FrameDbl(255,3) The smaller search improves performance and doesn't really seem to hurt the output. Plus there are fewer stray pixel artifacts with SE=3. See the readme file: - Tom @kilg0r3 - I just downloaded the other file, but not in time to have any effect on this release.
__________________
My video filters (still) at www.trbarry.com. |
5th July 2003, 23:38 | #13 | Link |
Registered User
Join Date: May 2003
Location: Germany
Posts: 502
|
Simply doubling the frame rate by interpolating doesnīt make much sense for me: Most of the time Iīm watching movies on my notebook and its TFT display is so slow that doubling the frame rate would only turn on the cpu fan. However, I think doubling the frame rate and deinterlacing simultaneously makes a lot of sense especially for clips with a lot of action. Because unlike normal deinterlacing this kind of deinterlacing would be lossless and the original interlaced video could even be reconstructed.
|
6th July 2003, 04:17 | #14 | Link |
Registered User
Join Date: Oct 2001
Location: Gainesville FL USA
Posts: 2,092
|
Both TomsMoComp (using a script function) or I think Neuron2's new DGBob can deinterlace and output 50-60 fps.
But I'm not aware of any deinterlace that could be considered lossless so I'm not sure what you mean there. I mostly wrote FrameDbl as an attempt to get around the slightly jerky look of 24 fps movies. Most of us are used to it but it still doesn't look very realistic. And increasingly new computers can display 48 fps or more without working up much of a sweat. I'm probably going to make a second attempt at this with some much more elaborate motion compensation. - Tom
__________________
My video filters (still) at www.trbarry.com. |
6th July 2003, 06:37 | #15 | Link |
Registered User
Join Date: May 2003
Location: Germany
Posts: 502
|
What I understand under lossless is the following. For an interlaced video you have essentially 50 half frames with PAL and 60 half frames with NTSC. Thus if you want a clip with 50 fps or 60 fps you have to generate the other half of the frame from the previous full frame and from the current and the subsequent half frame we already have. Thatīs why one can easily reconstruct the old interlaced clip. If that can be done, it is justified to call it a lossless transformation. Now, if you a have a lot of a action and a fast display (even the TFT displays are reported to get much faster now), you have definitly a lot more detail and consequently better output quality.
Last edited by kassandro; 6th July 2003 at 06:51. |
6th July 2003, 10:41 | #17 | Link |
Registered User
Join Date: May 2003
Location: Germany
Posts: 502
|
I agree, such a smart slomo would be another nice application. That is probably the only time in history, where an interlaced has an advantage over a progressive source. Such a smart slomo from interlaced source should be much sharper than the ugly slomo, which we are used to from tv and which simply blends adjacent frames.
|
6th July 2003, 14:21 | #18 | Link | |
Guest
Join Date: Jan 2002
Posts: 21,901
|
Quote:
Come to think of it, DGBob() should have an option to do that. EDIT: See below! Last edited by Guest; 6th July 2003 at 14:45. |
|
6th July 2003, 14:23 | #19 | Link | |
Guest
Join Date: Jan 2002
Posts: 21,901
|
Quote:
|
|
6th July 2003, 14:44 | #20 | Link | |
Guest
Join Date: Jan 2002
Posts: 21,901
|
Quote:
http://shelob.mordor.net/dgraft/dgbob/dgbob.html Last edited by Guest; 6th July 2003 at 14:55. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|