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. |
|
![]() |
|
Thread Tools | Search this Thread | Display Modes |
![]() |
#1 | Link |
Registered User
Join Date: Oct 2001
Location: Gainesville FL USA
Posts: 2,092
|
New motion compensated deinterlace filter (TomsMoComp)
I've just released my new TomsMoComp.dll deinterlace filter.
This is a first cut at doing motion compensated deinterlace of video source material, but still doing it at a reasonable speed. There are actually 2 versions in the zip file; one each for Avisynth and DScaler 4.0. See the ReadMe file at www.trbarry.com/Readme_TomsMoComp.txt or get the source and DLL at www.trbarry.com/TomsMoComp.zip. The Avisynth filter also offers a fancy new line doubling option to verically double the size of a (progressive) clip in a way that I think offers a bit more apparent detail than regular scaling. I'll post some samples and some more about that later. Note this is NOT for film source, only video (ATSC, PAL, or NTSC). Use ForceFilm, DeComb, or GreedyHMA for telecined film material. This is brand new so any feedback appreciated. - Tom Last edited by trbarry; 8th July 2002 at 23:11. |
![]() |
![]() |
![]() |
#4 | Link |
slacker - lurker
Join Date: Jun 2002
Location: at the corner of procrastination and indecision
Posts: 80
|
Too sweet!
I'm with avih also about the MC-temporal filter (as previously begged for here http://forum.doom9.org/showthread.php?s=&threadid=28138 ![]() I did some simulations in photoshop, and the really noisy source I referred to in the post above went from about 40% pixels being 'locked' with a threshold of 20, to about 90% of the pixels being locked when the previous frame was moved to compensate for motion in the new frame. |
![]() |
![]() |
![]() |
#6 | Link | |
Registered User
Join Date: Oct 2001
Location: Gainesville FL USA
Posts: 2,092
|
Quote:
![]() I'll look for it. But be aware it can also come from BiCubicResize in some versions of Avisynth. - Tom |
|
![]() |
![]() |
![]() |
#7 | Link |
Registered User
Join Date: Oct 2001
Location: Gainesville FL USA
Posts: 2,092
|
(dashing back, panting and sweating)
Milkman Dan -
I can't find an exit from the program that has this error. (of course I'm as blind as the next guy) Could you verify that it happens with all other filters removed? - Tom |
![]() |
![]() |
![]() |
#9 | Link |
Registered User
Join Date: Oct 2001
Location: Brussels
Posts: 358
|
Just tested your filter. Quality seems very good.
However, I had some access violations too. It only occurs with some combinations of parameters and clip properties, but I didn't find a pattern. For example, with res of 720x480 it only works with TopFirst=0 and SearchEffort<6. If I resize it to 704x480 it works for other parameters, but if I crop it to the same resolution it doesn't. Maybe pitch related? Also it sometimes cause a line of gargabe pixel at the bottom, particularly in "double height" mode (SearchEffort=-1) but not only.
__________________
dividee Last edited by dividee; 9th July 2002 at 06:09. |
![]() |
![]() |
![]() |
#10 | Link |
Registered User
Join Date: Oct 2001
Location: Gainesville FL USA
Posts: 2,092
|
Grrrrrrrrr......
I have not been able to reproduce the error yet, much less fix it. Could someone post a script that causes the error? And say what kind of machine and input file it is? I certainly believe that it happens, it just does not yet happen here. - Tom |
![]() |
![]() |
![]() |
#11 | Link |
Registered User
Join Date: Oct 2001
Location: Brussels
Posts: 358
|
Code:
LoadPlugin("TomsMoComp.dll") BlankClip(width=720,height=480,pixel_type="YUY2") TomsMoComp(1,0,1) #TomsMoComp(0,6,1) #TomsMoComp(0,5,1) #BilinearResize(720,240).TomsMoComp(0,-1,1) I have an Athlon XP.
__________________
dividee |
![]() |
![]() |
![]() |
#13 | Link |
Registered User
Join Date: Oct 2001
Location: Brussels
Posts: 358
|
I was using the CVS code from about 24h ago.
Will try with older versions and report back. [EDIT:] Same behavior with 1.0b7, 1.0b6, 1.0b5 and latest CVS
__________________
dividee Last edited by dividee; 9th July 2002 at 18:59. |
![]() |
![]() |
![]() |
#15 | Link | |
Registered User
Join Date: Nov 2001
Location: United Kingdom
Posts: 104
|
Quote:
![]()
__________________
tenebrenz |
|
![]() |
![]() |
![]() |
#16 | Link |
Moderator
![]() Join Date: Nov 2001
Location: Netherlands
Posts: 6,352
|
There is a VirtualDub filter who does exactly this (I think):
Use Freese website: Time Based Deinterlacer |
![]() |
![]() |
![]() |
#17 | Link |
Moderator
![]() Join Date: Oct 2001
Location: Germany
Posts: 4,454
|
Ah, too bad, that's a deinterlacer too. I thought you'd come up with a motion compensated temporal smoother
![]() trbarry, can you adopt the code from avisynth's temp smoother (or was it dividee's code?) to work with the found motion? ![]() *hide* Regards, Koepi
__________________
Koepi's new media development site |
![]() |
![]() |
![]() |
#20 | Link |
Asker of Questions
Join Date: Oct 2001
Location: Florida
Posts: 433
|
Just checking in here re: 60fps output (from the CPU Optimization thread.)
Wanted to get on e-mail notify for this thread. trbarry: Occasionally when I use Force FILM on a DVD that shows 99% film in DVD2AVI, I still get choppy pans. What do you think about leaving such a thing at 29.97fps and using TomsMoComp on it? Stupid idea? |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|