Quantcast Avisynth: Dgbob Settings? - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Avisynth Scripting

Reply
 
LinkBack Thread Tools
  #1  
06-19-2003, 05:14 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
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))

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

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

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

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

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

Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
06-20-2003, 03:42 AM
vico1 vico1 is offline
Free Member
 
Join Date: Sep 2002
Location: USA
Posts: 103
Thanks: 0
Thanked 0 Times in 0 Posts
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!
Reply With Quote
  #3  
06-20-2003, 04:36 AM
sh0dan sh0dan is offline
Free Member
 
Join Date: Mar 2003
Posts: 89
Thanks: 0
Thanked 0 Times in 0 Posts
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.
__________________
Regards, sh0dan // VoxPod
Reply With Quote
  #4  
06-20-2003, 07:33 AM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
@ vico1
thanks man,
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.

@ sh0dan,
thank you,
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

Reply With Quote
  #5  
06-21-2003, 01:29 AM
vico1 vico1 is offline
Free Member
 
Join Date: Sep 2002
Location: USA
Posts: 103
Thanks: 0
Thanked 0 Times in 0 Posts
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!
Reply With Quote
  #6  
06-21-2003, 03:12 AM
sh0dan sh0dan is offline
Free Member
 
Join Date: Mar 2003
Posts: 89
Thanks: 0
Thanked 0 Times in 0 Posts
@vico1: Selecteven doesn't touch the frames, so it is quite unlikely.

Could you post the colorspace and script you are using?
__________________
Regards, sh0dan // VoxPod
Reply With Quote
  #7  
06-21-2003, 08:22 AM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
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) (in vdub shows the same)
Total Frames: 56418
Total Time : 00:15:41

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

thanks(again)in advance.
Reply With Quote
  #8  
06-21-2003, 10:30 AM
vico1 vico1 is offline
Free Member
 
Join Date: Sep 2002
Location: USA
Posts: 103
Thanks: 0
Thanked 0 Times in 0 Posts
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!
Reply With Quote
  #9  
06-22-2003, 07:24 AM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
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)



edited:
no need to use selecteven()
Reply With Quote
  #10  
06-22-2003, 07:35 AM
vico1 vico1 is offline
Free Member
 
Join Date: Sep 2002
Location: USA
Posts: 103
Thanks: 0
Thanked 0 Times in 0 Posts
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()

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!
Reply With Quote
  #11  
06-22-2003, 07:42 AM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
no you can remove it vico1.
working ok without "selecteven().

Reply With Quote
  #12  
06-22-2003, 07:47 AM
vico1 vico1 is offline
Free Member
 
Join Date: Sep 2002
Location: USA
Posts: 103
Thanks: 0
Thanked 0 Times in 0 Posts
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!
Reply With Quote
  #13  
06-22-2003, 07:53 AM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
hi vico1

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

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!
Reply With Quote
  #14  
06-22-2003, 08:10 AM
vico1 vico1 is offline
Free Member
 
Join Date: Sep 2002
Location: USA
Posts: 103
Thanks: 0
Thanked 0 Times in 0 Posts
Glad it`s all working good for you now!..

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!
Reply With Quote
  #15  
06-22-2003, 04:43 PM
sh0dan sh0dan is offline
Free Member
 
Join Date: Mar 2003
Posts: 89
Thanks: 0
Thanked 0 Times in 0 Posts
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.
__________________
Regards, sh0dan // VoxPod
Reply With Quote
  #16  
07-26-2003, 11:27 AM
audioslave audioslave is offline
Free Member
 
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
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?
__________________
AudioSlave
Reply With Quote
  #17  
07-27-2003, 07:23 AM
Wilbert Wilbert is offline
Invalid Email / Banned / Spammer
 
Join Date: Jun 2003
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
http://neuron2.net/mine.html
Reply With Quote
  #18  
07-27-2003, 09:47 AM
audioslave audioslave is offline
Free Member
 
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks, Wilbert!
__________________
AudioSlave
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
KVCD AviSynth GripCrop() settings? Brenth Avisynth Scripting 4 08-08-2008 11:42 AM
Avisynth: CCE settings? khusru Avisynth Scripting 4 06-05-2005 09:22 PM
Best avisynth settings for avi to svcd? pixeldotz Avisynth Scripting 0 07-27-2003 12:58 PM
Avisynth: Any great new settings for Animation? LadyMiles Avisynth Scripting 20 12-23-2002 09:00 PM
Avisynth: Script Settings for VRO files? Bud Avisynth Scripting 1 06-01-2002 09:07 PM




 
All times are GMT -5. The time now is 11:39 AM  —  vBulletin © Jelsoft Enterprises Ltd