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. |
![]() |
#921 | Link |
Resize Abuser
Join Date: Apr 2005
Location: Seattle, WA
Posts: 623
|
One of the examples listed has a function group called MVDegrain2i, where the delta's are 2 and 4 instead of 1 and 2
Code:
function MVDegrain2i(clip "source", int "overlap", int "dct", int "idx") { overlap=default(overlap,0) # overlap value (0 to 4 for blksize=8) dct=default(dct,0) # use dct=1 for clip with light flicker idx=default(idx,1) # use various idx for different sources in same script fields=source.SeparateFields() # separate by fields backward_vec2 = fields.MVAnalyse(isb = true, delta = 2, pel = 2, overlap=overlap, idx = idx,dct=dct) forward_vec2 = fields.MVAnalyse(isb = false, delta = 2, pel = 2, overlap=overlap, idx = idx,dct=dct) backward_vec4 = fields.MVAnalyse(isb = true, delta = 4, pel = 2, overlap=overlap, idx = idx,dct=dct) forward_vec4 = fields.MVAnalyse(isb = false, delta = 4, pel = 2, overlap=overlap, idx = idx,dct=dct) fields.MVDegrain2(backward_vec2,forward_vec2,backward_vec4,forward_vec4,thSAD=400,idx=idx) Weave() } source=AVISource("video.avi") mvdegrain2i(source,4,0,1)
__________________
Mine: KenBurnsEffect/ZoomBox CutFrames Helped: DissolveAGG ColorBalance LQ Animation Fixer |
![]() |
![]() |
![]() |
#922 | Link |
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
I believe the correct procedure before was to do the following, as MVtools does not handle interlaced material at all.
Separatefields() MVProcessingHere() Weave() @Josey_wells, I like how you redesigned the function to only require one call for MVAnalyse, very handy! ![]() Also, any chance you can upload the files to mediafire since we have to wait for moderators to approve attachments? Last edited by Sagekilla; 6th August 2008 at 17:17. |
![]() |
![]() |
![]() |
#923 | Link | ||
Registered User
Join Date: Dec 2007
Location: VA, USA
Posts: 116
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#924 | Link |
Resize Abuser
Join Date: Apr 2005
Location: Seattle, WA
Posts: 623
|
If this is a quick and easy thing to do, then go ahead and add in deltastep (my recommendation for a name). If it's a pain in the rear to add; doing 2 MVDegrainMulti, one for SelectEven() & SelectOdd() would work.
__________________
Mine: KenBurnsEffect/ZoomBox CutFrames Helped: DissolveAGG ColorBalance LQ Animation Fixer |
![]() |
![]() |
![]() |
#925 | Link | |
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#926 | Link | |
Pig on the wing
Join Date: Mar 2002
Location: Hollola, Finland
Posts: 5,041
|
Quote:
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
|
![]() |
![]() |
![]() |
#927 | Link |
Registered User
Join Date: Dec 2007
Location: VA, USA
Posts: 116
|
I will add a deltamult option to MVAnalyseMulti where for refframes=3 for examlpe the following will occur:
deltamult=1 B delta=3, B delta=2, B delta=1, F delta=1, F delta=2, F delta=3 deltamult=2 B delta=6, B delta=4, B delta=2, F delta=2, F delta=4, F delta=6 etc. |
![]() |
![]() |
![]() |
#928 | Link | |
Registered User
Join Date: Aug 2007
Location: Italy
Posts: 286
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#929 | Link |
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
Indeed. It's a very simple matter of updating the scripts so they're properly coded that way. But then again, what I'm suggesting is you rename it to MVDegrain and MVAnalyse. Analyse in the old scripts would have to be updated, but the MVDegrain would just be a matter of dropping the number and updating the params. Either way, that's just my preference
![]() To answer your question though, yes you would have to update all old scripts regardless with this new patch, since the syntax has completely changed, as well as the function names. |
![]() |
![]() |
![]() |
#930 | Link |
Registered User
Join Date: Dec 2007
Location: VA, USA
Posts: 116
|
OK, here is the fixed version with deltamult option, default = 1, added to MVAnalyseMulti. For now I will keep the multinames for backward compatibility.
Obviously mediafire didn't work to well so here is rapidshare The outside link is http://rapidshare.com/files/13541734...6.0_9.rar.html This should be good to go for testing. Have fun! Last edited by josey_wells; 7th August 2008 at 01:39. Reason: updated link |
![]() |
![]() |
![]() |
#931 | Link |
Resize Abuser
Join Date: Apr 2005
Location: Seattle, WA
Posts: 623
|
@josey_wells Giving your latest dll a spin and it appears to work fairly well, no crashes so far! Using MCbob and MVDegrainMulti deltamult=2 in the same script. MVDegrainMulti by it's self uses a fair amount of my cpu (80%), haven't done a timed test yet.
![]()
__________________
Mine: KenBurnsEffect/ZoomBox CutFrames Helped: DissolveAGG ColorBalance LQ Animation Fixer |
![]() |
![]() |
![]() |
#932 | Link |
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
I've gotten close to 100% speedup with your new filter. Filtering a blu-ray movie @ 720p with blksize=8, overlap=4, pel=4 I got 0.24 fps with 1.9.5.7 and 0.44 fps with 1.9.6.8 (You should really use that fourth number to enumerate your mini builds you've been making
![]() Very nice, I never got anywhere near 100% speedup using MT() or SetMTMode(). SetMTMode() was a horror for using on blu-ray movies for that matter, since I had two instances of DirectShowSource decoding the 1080p video, which resulted in almost no speedup. Edit: By the way, which version will be faster, the IC10 or MSVC? |
![]() |
![]() |
![]() |
#933 | Link | ||||
Registered User
Join Date: Dec 2007
Location: VA, USA
Posts: 116
|
Quote:
Quote:
Quote:
Quote:
|
||||
![]() |
![]() |
![]() |
#934 | Link |
Registered User
Join Date: Oct 2003
Location: Germany
Posts: 377
|
I don't see a reason why you removed the isb and delta-parameter. There are several situations where one want only analyze the forward-movement or only the backward-movement or only the 5th Frame backward to the actual and so on.
|
![]() |
![]() |
![]() |
#935 | Link | |
Registered User
Join Date: Dec 2007
Location: VA, USA
Posts: 116
|
Quote:
Last edited by josey_wells; 7th August 2008 at 18:40. |
|
![]() |
![]() |
![]() |
#936 | Link |
Registered User
Join Date: Dec 2007
Location: VA, USA
Posts: 116
|
OK, here is the final post for MVTools V1.9.6.0.
I have finished cleaning up the code and fixed a memory leak in the destructor of MVMask and MVShow. Take it or leave it. MVTools V1.9.6.0_Final link http://rapidshare.com/files/13559228...Final.rar.html |
![]() |
![]() |
![]() |
#937 | Link |
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
Here goes the stress test then
![]() |
![]() |
![]() |
![]() |
#938 | Link | |
Pig on the wing
Join Date: Mar 2002
Location: Hollola, Finland
Posts: 5,041
|
Quote:
![]()
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
|
![]() |
![]() |
![]() |
#940 | Link |
Registered User
Join Date: Aug 2006
Posts: 77
|
I think it is basically his version 1.9.5.8. But MVDegrain works similar to the previous threaded version (only the threads are only created and destroyed once) and MVDegrainMulti and MVAnalyseMulti were added, that's the obvious changes there are a lot of minor changes in most files though.
__________________
GA-P35-DS3R, Core2Quad Q9300@3GHz, 4.0GB/800 MHz DDR2, 2x250GB SATA HD, Geforce 6800 |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|