View Full Version : New Decomb beta release
jarthel
17th August 2002, 01:57
I'm using Avisynth 2.04, latest dll plugins, latest vdub and winxp.
Here's the avisynth script
-------------
LoadPlugin("D:\downloads\windows\utilities\divx\GordianKnot\mpeg2dec.dll")
LoadPlugin("D:\downloads\windows\utilities\divx\GordianKnot\decomb.dll")
#LoadPlugin("D:\downloads\windows\utilities\divx\GordianKnot\InverseTelecine.dll")
#LoadPlugin("D:\downloads\windows\utilities\divx\GordianKnot\Avisynth_Spatial.dll")
#LoadPlugin("D:\downloads\windows\utilities\divx\GordianKnot\GreedyHMA.dll")
#LoadPlugin("D:\downloads\windows\utilities\divx\GordianKnot\vobsub.dll")
LoadPlugin("D:\downloads\windows\utilities\divx\GordianKnot\SimpleResize.dll")
LoadPlugin("D:\downloads\windows\utilities\divx\GordianKnot\SmoothHiQ.dll")
LoadPlugin("D:\downloads\windows\utilities\divx\GordianKnot\_2DCleanYUY2.dll")
#whole=mpeg2source("D:\dvdrips\dual10\dual10.d2v")
#body=mpeg2source("D:\dvdrips\dual10\dual10.d2v").trim(0,42437).Telecide(Guide=1,Gthresh=40,Threshold=20,Chroma=True,dthreshold=10,Post=true).Decimate(cycle=5).crop(8,0,704,480).temporalsmoother(1).SmoothHiQ(5,50,50,175,3).simpleresize(640,480)
credits=mpeg2source("D:\dvdrips\dual10\dual10.d2v").trim(42438,0).Telecide().Decimate(cycle=5).crop(8,0,704,480).TemporalSmoother(10).simpleresize(640,480)
#credits=mpeg2source("D:\dvdrips\dual10\dual10.d2v").trim(42438,0)
#return whole
#return body+credits
#return body
return credits
--------------------------------------------
When I run 1st pass of Divx502, it will just crashed suddenly with about 6 frames to go. As I wasn't sure what function is causing it to crash, I tested the script and removed it one by one.
Well the first test work as I removed the telecide/decimate function. And then put it back in and the error occured again. Any ideas?
Thanks
Jayel
Guest
17th August 2002, 06:16
Aren't Telecide and Decimate commented out in the script you posted? So is that the one that crashes or not? If not, well you commented out a lot of other stuff too.
Your information is ambiguous. Please clarify. Post a script that crashes and one that doesn't. Test them before posting. Don't guess!
jarthel
17th August 2002, 06:54
I made a mistake in posting the wrong script. Also I was not guessing. I tried it several times that if I removed the
telecide/decimate combo on the "credits" line, the thing works.
Also, I ran a script last night with the telecide/decimate combo replaced with greedyhma and the thing work.
I would prefer decomb so any ideas? Also, I ran vdub's "check video stream error" on this script:
----------
LoadPlugin("D:\downloads\windows\utilities\divx\GordianKnot\mpeg2dec.dll")
LoadPlugin("D:\downloads\windows\utilities\divx\GordianKnot\decomb.dll")
#LoadPlugin("D:\downloads\windows\utilities\divx\GordianKnot\InverseTelecine.dll")
#LoadPlugin("D:\downloads\windows\utilities\divx\GordianKnot\Avisynth_Spatial.dll")
#LoadPlugin("D:\downloads\windows\utilities\divx\GordianKnot\GreedyHMA.dll")
#LoadPlugin("D:\downloads\windows\utilities\divx\GordianKnot\vobsub.dll")
LoadPlugin("D:\downloads\windows\utilities\divx\GordianKnot\SimpleResize.dll")
LoadPlugin("D:\downloads\windows\utilities\divx\GordianKnot\SmoothHiQ.dll")
LoadPlugin("D:\downloads\windows\utilities\divx\GordianKnot\_2DCleanYUY2.dll")
body=mpeg2source("D:\dvdrips\dual10\dual10.d2v")
#body=mpeg2source("D:\dvdrips\dual10\dual10.d2v").trim(0,42437).Telecide(Guide=1,Gthresh=40,Threshold=20,Chroma=True,dthreshold=10,Post=true).Decimate(cycle=5).crop(8,0,704,480).temporalsmoother(1).SmoothHiQ(5,50,50,175,3).simpleresize(640,480)
#credits=mpeg2source("D:\dvdrips\dual10\dual10.d2v").trim(42438,0).Telecide().Decimate(cycle=5).crop(8,0,704,480).TemporalSmoother(10).simpleresize(640,480)
#return body+credits
return body
------------------
no filtering or other functions. just frameserving the d2v file. Well it didn't return any errors so the .vob file isn't corrupt.
Thanks Donald. :)
Jayel
ChAoS Overlord
17th August 2002, 08:13
OK, guys, now the one thing I would like to know is how to put a line in that decimates every second frame and reduces the framerate from 30fps to 15fps.
stickboy
17th August 2002, 10:01
From the Decomb manual:Decimate(parameter_list)
cycle (2-25, default 5) selects the decimation ratio, that is, decimate 1 frame in every cycle frames.Or you can use the SelectEven/SelectOdd (http://math.berkeley.edu/~benrg/avisynth-reference.html#SelectHalf) Avisynth functions.
So anyway, back to my suggestion... just a stupid idea or what?
manono
17th August 2002, 10:03
Hi-
Telecide()
Decimate(2)
Edit-Damn you stickboy-you beat me to an easy one;)
ChAoS Overlord
17th August 2002, 10:20
Originally posted by stickboy
From the Decomb manual:Or you can use the SelectEven/SelectOdd (http://math.berkeley.edu/~benrg/avisynth-reference.html#SelectHalf) Avisynth functions.
So anyway, back to my suggestion... just a stupid idea or what?
I tried the inserting weave() but it remains the same:
LoadPlugin("C:\PROGRA~1\GORDIA~1\mpeg2dec.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\decomb.dll")
mpeg2source("I:\Ripping Temp\DiaTrail.d2v")
weave()
crop(3,66,714,346)
BicubicResize(640,256,0,0.5)
Frames are still quite the same???
stickboy
17th August 2002, 10:56
Er, no, I meant my suggestion for adding a new mode to Decomb.
Guest
17th August 2002, 13:19
@stickboy
Did you miss my posting above where I said your idea was interesting and that I would try an experiment? Or are you just impatient? :)
Guest
17th August 2002, 13:21
@jarthel
You still have not posted a script with Telecide and Decimate enabled that you claim crashes. I don't want to play mind reading games. :)
jarthel
17th August 2002, 13:38
Well please looked at the edited script (my first message).
Thanks
Jayel
Guest
17th August 2002, 13:48
@jarthel
OK. You claim this fails:
mpeg2source("D:\dvdrips\dual10\dual10.d2v")
trim(42438,0)
Telecide()
Decimate(cycle=5)
crop(8,0,704,480)
TemporalSmoother(10)
simpleresize(640,480)
What I'd like you to do is test it with just this:
mpeg2source("D:\dvdrips\dual10\dual10.d2v")
Telecide()
Decimate(cycle=5)
Then test it with this:
mpeg2source("D:\dvdrips\dual10\dual10.d2v")
trim(42438,0)
Telecide()
Decimate(cycle=5)
Then add the filters after Decimate one-by-one and test in each case. Give me the results. Thank you.
jarthel
17th August 2002, 14:15
Thanks donald. The weird thing is that it fails on some vobs and not on others. :(
I'll try it. Thanks again.
Jayel
stickboy
17th August 2002, 20:08
Originally posted by neuron2
Did you miss my posting above where I said your idea was interesting and that I would try an experiment? Or are you just impatient? :) [/B]A little bit from column A and a little bit from column B. :D
(Nah, I somehow just missed it. Doh! I even did a in-page search for your handle and still missed it. You sure you didn't use some special moderator powers and insert that post afterward? ;) )
OUTPinged_
18th August 2002, 22:48
@DG
The problem with 30fps sequences decimated to 24fps is some ugly jerking.
Can you please test a following algo?
F1 - F5 is a sequence of original 30fps stream which will be decimated to 24 by decomb.
All frame are quite different one from another so it picks one and drops it.
F1,F2,(F3 dropped)F4,F5<--- like that.
The question is, will we have a more smoother output if F3 will be blended with _both_ F2 and F4 after drop?
F1,F2+F3,F4+F3,F5 <-- yikes.
There should be a thresh that defines an amount of difference for a dropped frame considered a "non-duplicated" and stuff :-)
jarthel
19th August 2002, 13:21
Hi Donald.
well I tried your suggestion with some mod. I only added trim as the the problem only occurs at the credits section so I only process the credits bit. Well the error still occurs. The error is avisynth access violation.
Any ideas?
Jayel
anymore info you need?
Guest
19th August 2002, 13:40
@jarthel
Please post the failing script!
Guest
19th August 2002, 13:45
@OUTPinged_
This is already on my to-do list. Thank you for the analysis and suggestions.
ookzDVD
21st August 2002, 04:56
I just try the Decomb v3.9 for doing my IVTC,
all script is generated by GKnot,
---
Telecide()
Decimate(cycle=5)
---
but it's very slow, only about ~10fps.
Compared with GreedyHMA,
---
GreedyHMA(1,0,4,0,0,0,0,0)
---
it's fast, about ~24fps.
Is that normal ??
Archiwa
21st August 2002, 05:33
Me too
My Decomb 3.9 was slower than 3.8 .
Now I'm back to 3.8 .......
Guest
21st August 2002, 08:22
It shouldn't be slower. Try setting Decimate(mode=0) and test that versus Decimate(mode=2). Also, make sure you have this line in your AVS script (with later versions of Avisynth):
SetMemoryMax(64)
...because Decomb fetches more frames and if you are frame-cache-limited things will be slower.
My testing shows this:
Decomb 3.8 Decimate(mode=0) -- 686 frames in 30 sec.
Decomb 3.9 Decimate(mode=0) -- 743
Decomb 3.9 Decimate(mode=2) -- 737
So Decomb 3.9 appears faster to me. Are you sure you applied the same test to both? Note that quoting fps figures is a bit meaningless if other processing has changed.
Please let me know the results. Thank you.
ookzDVD
22nd August 2002, 04:07
@neuron2,
Thank you, I just use the decimate(mode=0), everything is ok now :)
fast! ;)
Synth
23rd August 2002, 18:42
Try setting setmemmax to greater than 64 if you have 256MB or more.
I've noticed a big increase going from 64 to 128...could be even greater but I only have
256MB to test with at the moment, and 128 eats up just about all of that.
Course the degree of increase is all dependent on the mem bandwidth complexity of your filter chain as said before,
so your "sweet spot" maybe less than 96 or greater than 128Mb for that matter.
Note: These results were obtained using decimate(mode=2)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.