PDA

View Full Version : decimate() new mode


Ranma-kun
27th August 2002, 18:05
I'm using the new Decomb 3.9 in Slayers anime and the new default mode doesnt't work very well in some scenes, causing jerkiness.

If mode=0 those scenes seems good, but I'd like to use the new mode because generally works better. I suppose that changing threshold2 value could help, but I don't know where to begin.

Sorry for my bad english again.

neuron2
27th August 2002, 18:18
Begin with the default threshold. Then start increasing it by 10 at a time and testing after each step. If things don't improve, start decreasing it by 10 at a time. If you don't find a good value, then make a clip available to me for troubleshooting.

Ranma-kun
27th August 2002, 18:26
wow, that was fast!

thx, I'm going to try it now.

Ranma-kun
27th August 2002, 20:27
Well, I haven't found any perfect value, at least from 0 to 250.
By the way, Is there a limit? I've tried even threshold2=5000 and threshold2=-1.

If you want I can email you a clip, I'm searching a good vob splitter already.

Thx again for your time.

neuron2
27th August 2002, 20:30
There is no "perfect" value. But jerkiness can arise from many things, not just failure of the decimation algorithm. You may be decimating something that shouldn't be decimated for example. Rtaher than mail me a VOB, please make it available for download and then post the URL here. Thank you.

BTW, you don't need a VOB splitter. Just serve it into VirtualDub using Avisynth and no filters. Then select a range to save, and save it out to an AVI as HUFYUV.

Ranma-kun
27th August 2002, 21:46
You are right, "perfect" wasn't the word to use here... I'd must have used something like "at least as good as with mode=0" :)

Well, I uploaded a 10 MB Huffyuv clip, a scene with some moving clouds.

http://rkwp.host.sk/Clip.rar

Thank you again.

neuron2
28th August 2002, 02:32
@Ranma-kun

I tried 3 times to download your clip. All three times, the server dumped me before the download could complete. Please find a reliable server if you want me to look at this clip. Thank you.

Ranma-kun
28th August 2002, 10:06
Sorry again, this time I have tried it first, and succesfully.

http://usuarios.lycos.es/gaudy/Clip.rar

neuron2
28th August 2002, 14:29
@Ranma-kun

I have your clip. Please standby.

neuron2
28th August 2002, 15:42
The problem is that due to blended fields, Telecide emits a stream of frames that does not contain any real duplicates. That is why Decimate(mode=2) does not find any to decimate and so chooses badly. You can make it work for this clip by setting threshold2 to 450 to make the duplicate detection a little sloppier. What effect that will have on the remainder of the movie I can't predict without seeing it.

But a better solution is for me to modify Decimate(mode=2) so that if it does not see any duplicates, it falls back to mode=0 behavior. I plan to do this.

Thank you, Ranma-kun, for bringing this interesting issue to my attention.

neuron2
28th August 2002, 18:49
@Ranma-kun

Please try this new version:

http://shelob.mordor.net/dgraft/decomb391.zip

You can leave threshold2 at its default.

Please let me know if this is OK for you. If so, I'll release the new version. Thank you.

Ranma-kun
28th August 2002, 21:31
@neuron2

First, sorry for the waiting.
I have tried the new version with a little clip and it seems much better, but to be sure I'm going to do a 1-pass test with the complete episode.

Hum, and I'm the one who has to thank you, I think. :)

neuron2
28th August 2002, 21:48
@Ranma-kun

>Hum, and I'm the one who has to thank you, I think.

Anyone who helps me to improve my software earns my gratitude. :)

Ranma-kun
29th August 2002, 00:03
@neuron2

Well, test has finished and jerkiness has disappeared with the new version, at least to my eyes. :)
I'll encode more episodes in the next few days, and if necessary (definitely not) I'll inform you.

That was fast, thanks again!

neuron2
29th August 2002, 01:45
@Ranma-kun

Thanks for the results. I'm going to go ahead and release it because it is a definite improvement and the old way could be considered defective. :)

OUTPinged_
29th August 2002, 10:51
Run into a "interlaced mouth" problem with my default decomb39 setup yesterday. Thought v39 is broken, but testing has revealed following:

A source is "cowboy bebop" dvd (a well known one).

following settings were tested:

3.8 with no guiding
..with guiding@ 25, 50, 100.

3.9 --||--
.. with mode2 no guiding.
.. with mode2 with guiding@ 25,50, 100.

(tmpeg doesnt have any problems)

Results: no guiding - failiure (surprise surprise)

With guiding (no mode2): 25 is not enough. 30 too. 50 and 100 were working fine.

It looks like enabling mode2 makes mouth interlaced on that source no matter what gthreshold is. Values of 10 and 100 for threshold2 were tested.

(Am I missing something here?)

Ranma-kun
29th August 2002, 13:04
@OUTPinged_

Have you tried Decomb 3.91? Works much better than previous version for me.

neuron2
29th August 2002, 14:23
@_OUTPinged

Yes, try 3.91. If that doesn't help, can you isolate the failing section and make it available to me?

ookzDVD
30th August 2002, 06:44
@neuron2,

Sorry for off topic, but I really want to ask about deinterlaced
use decomb.

As a fact that I'm a fan of adult DVD, so I really want to ask
about de-interlaced for 29.97 NTSC interlace material from adult DVD.

Most of adult movie is made not the same with common movie, they
use the camera used for the television station, so the movie is
shot in interlaced mode, so IVTC is not the solution.

Any idea ?

Thank you.

Bulletproof
30th August 2002, 08:37
Use smooth deinterlacer I guess, or just use decomb and dont use the decimate command, theres also a special blending mode too I think. U porn freak ;)

BTW im joking about u being a porn freak.

neuron2
30th August 2002, 13:31
Just use the function FieldDeinterlace() all by itself. Do not use Telecide() or Decimate().

Please create new threads for new topics.

OUTPinged_
2nd September 2002, 15:45
@DG

Oh well, i'm back with report.

v391 is not producing correct output on "interlacing mouth" clips with new "mode=2" selected. It is also slower for me for about 20-30% in that case.

I couldn't find any issues with mode=0 in v391.

P3-800,win2ksp2

I have a sample clip grabbed, can send it.

neuron2
2nd September 2002, 16:52
@_OUTPinged

What version of Avisynth are you using? Some versions can cause a slowdown. Please retest for speed using 2.05.

Yes, I want the mouth clip. Please post an URL.

OUTPinged_
2nd September 2002, 23:53
I used v106 for avs. I will check with more recent version but not now, I am in a middle of time critical encode and i dont want to screw it all up :-)

As for url, I cannot host stuff atm(a week or two). _Sending_ is an option.

neuron2
3rd September 2002, 00:21
How big?