digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: Dgbob settings? (http://www.digitalfaq.com/archives/avisynth/4087-avisynth-dgbob-settings.html)

jorel 06-19-2003 05:14 PM

Avisynth: Dgbob settings?
 
new dgbob filter:

http://forum.doom9.org/showthread.ph...0&pagenumber=1

problems using the new script with DGBob:
undot()
Limiter()
asharp(2,4)
DGBob()
GripCrop(480,480,overscan=1,source_anamorphic=fals e)
GripSize(resizer="BicubicResize")
STMedianFilter(8,32,0,0)
MergeChroma(blur(MaxTreshold))
MergeChroma(blur(0.2))

:arrow: ToK give this warning message:
"i can't understand the frame hate of your video"

:arrow: see the log:
ToK Log: C:\Convert\DGBob.avs
================================================== ===========

Resolution (fps):480x480 (59,940 fps)
Total Frames: 56418
Total Time : 00:15:41

:arrow: and without dgbob:
ToK Log: C:\Convert\withoutDGBob.avs
================================================== ===========

Resolution (fps):480x480 (29,970 fps)
Total Frames: 56419
Total Time : 00:31:23

:? :? :? :?:

vico1 06-20-2003 03:42 AM

Jorel,
Does your script play in TMPGEnc???
I think you have to add specified parameters with DGBob...ie: DGBob(1) or DGBob(0)
for top or bottom fields.

From the "DGBobHelp":
Code:

Function Syntax
DGBob() takes two named parameter:

order (0-1, default none!) This parameter defines the field order of the clip. It is very important to set this correctly. Use order=0 for bottom field first (bff). Use order=1 for top field first (tff). You must specify order; DGBob throws an exception if you omit this parameter.

If you select the wrong field order, smooth motion will jump backward and forward and you may see some combing. If this occurs, you need to reverse the field order.

thresh (integer, default 7) This parameter controls a tradeoff between amount of flickering and amount of residual combing and artifacting. Lowering the threshold removes more combing and reduces artifacts, but it increases flickering. Raising the threshold reduces flickering, but it increases residual combing and artifacts. Set it as low as possible without making the flickering intolerable.



************************************
The Devil.....is always.....in the Details!

sh0dan 06-20-2003 04:36 AM

DGBob also doubles the framerate of the video.

Use selecteven() after dgbob (or maybe even better after temporal filters).

Bobbed material is usually harder to compress, which should also be the case here - but on the other hand you get very clear and "unghosted" material.

jorel 06-20-2003 07:33 AM

@ vico1
thanks man, :wink:
i did like you post but got the same result in ToK.
the script play in tmpgenc and in virtualdub too
but the information is the same in all:
59,940 fps with 00:15:41. 8O

@ sh0dan,
thank you, :D
working very good using
selecteven() after DGBob(0),
no more errors.

some more hints to use dgbob in the last script?
i read the DGBob read-me but your hints are better.
thanks in advance again :!:

:)

vico1 06-21-2003 01:29 AM

Is it just me, or does the "selecteven()" after DGBob, now throw a distort
on vertical rez, using "dgbob v1.3.0"???


************************************
The Devil.....is always.....in the Details!

sh0dan 06-21-2003 03:12 AM

@vico1: Selecteven doesn't touch the frames, so it is quite unlikely.

Could you post the colorspace and script you are using?

jorel 06-21-2003 08:22 AM

sh0dan,

help again please.
after download the DGBob1.4.0 the "old" problem is back
(and using "selecteven()" after DGBob)

from the same source and script,
ToK give this warning message again:
"i can't understand the frame hate of your video"

Resolution (fps):480x480 (59,940 fps) :arrow: (in vdub shows the same)
Total Frames: 56418
Total Time : 00:15:41

:arrow: without "selecteven()":
Resolution (fps):480x480 (119,880 fps) :arrow: (in vdub shows the same)

thanks(again)in advance.
:)

vico1 06-21-2003 10:30 AM

Hi sh0dan,
Well, after a little testing, it apears (to me anyway)
that "dgbob v1.4" followed by "selecteven()" gets a distort
(I`m using full frame, gives a letterbox squashed look)
when using "GripFit_YV12.dll" in the script, at defalt settings.
ie:GripCrop(704,480) GripSize(resizer="BicubicResize") GripBorders()

Seems "Gripfit" doesn`t like it.

Script used:
Code:

## Defined Variables and Constants ##
#
MaxTreshold = 1.50
scd_trigger = 30 # Scene change trigger value.
nf =  0 # Current frame.
#
####

## Main section and static filters ###
#
Mpeg2Source("H:\DvD Rips\Pilates\Accelerated.d2v")
DGBob(1)
selecteven()
undot()
Limiter()
asharp(2, 4)
GripCrop(704,480)
GripSize(resizer="BicubicResize")
STMedianFilter(8, 32, 0, 0 )
MergeChroma(blur(MaxTreshold))
MergeLuma(blur(0.2))
####
ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf > 2.5 ? asharp( -(fmin((nf/30), 1)), 0 ) : \
TemporalSoften(2,7,7,3,2) ")
#
#
conditionalfilter( last, asharp(-2,0), last, "nf", ">", "scd_trigger" )
#
#
GripBorders() 
Limiter()
#
## Functions ###
function fmin(float f1, float f2) {
  return (f1<f2) ? f1 : f2
}
#
####

I`ve got to test DGBob in my scripts some more.




************************************
The Devil.....is always.....in the Details!

jorel 06-22-2003 07:24 AM

new DGBob version 1.50.

no more problems with double framerate.
the function sintax "single":
(true/false, default false) This parameter allows you to output
a clip with a frame rate identical to the input frame rate.
This allows you to use the filter as a simple deinterlacer.

using:
DGBob(x,true)

:wink:

edited:
no need to use selecteven()
:!:

vico1 06-22-2003 07:35 AM

Quote:

Originally Posted by jorel
new DGBob version 1.50.

no more problems with double framerate.
the function sintax "single":
(true/false, default false) This parameter allows you to output
a clip with a frame rate identical to the input frame rate.
This allows you to use the filter as a simple deinterlacer.

using:
DGBob(0,true)
selecteven()

:wink:

I just woke up, (morning here) so I`m still a little groggy, but do we still need the "selecteven()"
if we have the "True" argument with DGBob v1.50, in our scripts???


*******************************
The Devil`s always.....in the Details!

jorel 06-22-2003 07:42 AM

no you can remove it vico1.
working ok without "selecteven().

:wink:

vico1 06-22-2003 07:47 AM

Hi jorel,
That`s kind of what I was thinking.
But I still have to play with this plugin more.


*******************************
The Devil`s always.....in the Details!

jorel 06-22-2003 07:53 AM

hi vico1

after change my script ToK broken(don't know why)
and appear a strange line like:
framerate(255) in the script 8O 8O

i don't put it there....then ToK broke and i reboot the system
and remove the line
selecteven() and the"new" framerate(255)
and all is ok!
:wink:

vico1 06-22-2003 08:10 AM

Glad it`s all working good for you now!.. :D

I still have to test the parameters of this plugin some more.
I`m doing a copy of my wife`s exercise dvd "Winsor Pilates"
(it`s NTSC interlaced full screen) and I`m trying to use DGBob on it.

But as sh0dan noticed in an earlier version of DGBob, (I read in doom9)
I`m still seeing some interlace "jaggies"<---(???) on contrasting moving areas.
That`s why I`m testing different "thresh" settings.
It may be the material though...I`m just not that sure yet.


*******************************
The Devil`s always.....in the Details!

sh0dan 06-22-2003 04:43 PM

I guess the flickering edges are part of every bob-based algorithm - as I've seen none without them. DGBob still produces the best output so far. It is extremely useful for creating slowmotion material from interlaced material - and quite good as a deinterlacer.

If you have problems - after selecteven you should post in the d9 thread.

audioslave 07-26-2003 11:27 AM

Where can I download the latest version of DGBob? The following link doesn't work:

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

Can I get it somewhere else?

Wilbert 07-27-2003 07:23 AM

http://neuron2.net/mine.html

audioslave 07-27-2003 09:47 AM

Thanks, Wilbert! :D


All times are GMT -5. The time now is 09:40 PM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.