Quantcast KDVD: to Denoise or Not to Denoise (Split) - Page 2 - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Video Encoding and Conversion

Reply
 
LinkBack Thread Tools
  #21  
09-09-2005, 03:08 PM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
It shouldn't be like that as Avisynth always assumes "last" at the beginning.

That is: a,b,c,d and e are not connected to each other, they get the video as it is directly after xxxSource().
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
  #22  
09-09-2005, 03:44 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Boulder
It shouldn't be like that as Avisynth always assumes "last" at the beginning.
Exactly.
Quote:
That is: a,b,c,d and e are not connected to each other, they get the video is it is directly after xxxSource().
That is not like I understand this.
last is the result of the last command that produced a clip.
So last = b after the first line, then last = c, then last = d.
If you want to force each LremoveDust to affect a, you have to use "a" as first parameter.

But what I read in the doc seems to say you are right :
Quote:
variable_name = expression

In this example expression is evaluated and the result is assigned to variable_name.

Very important is the common shortcut form:

expression

In this case, expression is evaluated and the result is assigned to the special clip variable last.
This is the same as

last = expression
last is set only if no other variable is used. I discovered something.
Reply With Quote
  #23  
09-09-2005, 04:05 PM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
You'll see the behaviour already from the overlayed subtitle. If "a was last" for b etc., all the subtitles would be overlayed over each other.

It's also fast to check
Code:
a=LeakKernelDeint(order=1).Greyscale()
b=LeakKernelDeint(order=1)
Interleave(a,b)
and see what that does: every other frame is b/w, every other coloured.
Reply With Quote
  #24  
09-09-2005, 04:23 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Boulder
You'll see the behaviour already from the overlayed subtitle. If "a was last" for b etc., all the subtitles would be overlayed over each other.
You're right, I never thought about that

I always use :
Code:
video=xxxsource(...)
a=video.filter()
b=video.otherfilter()
interleave(a,b)
Reply With Quote
  #25  
09-09-2005, 04:29 PM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
Your version is just as right as mine, it just takes longer to type. Just like in programming, many ways to do the same thing
Reply With Quote
  #26  
09-09-2005, 09:04 PM
supermule supermule is offline
Free Member
 
Join Date: Sep 2005
Location: Donkeyland
Posts: 210
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Boulder
The higher the limit, the closer the output gets to a regular RemoveGrain(mode=17), which is way too blurry for my taste.
What limit value (i.e. 4,5,6,7) makes it exactly like mode=17, if you are aware. Why I am asking is since I want to do a balance between Quality and size according to my preferences .

EDIT: In the tests that I made I realised that increasing the limit from 1 to 4 does not bring considerable difference in the compressions but do bring in noticable difference in the Quality of the encode. Probably since I am already using limitU=255 so no more compression can be achieved.
Code:
return LimitChange(rg, input, limit, limitU=255)
I guess limit=1 or limit=2 are the ones that will work for most of us.
Reply With Quote
  #27  
09-10-2005, 01:53 AM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by supermule
Quote:
Originally Posted by Boulder
The higher the limit, the closer the output gets to a regular RemoveGrain(mode=17), which is way too blurry for my taste.
What limit value (i.e. 4,5,6,7) makes it exactly like mode=17, if you are aware. Why I am asking is since I want to do a balance between Quality and size according to my preferences .
I don't know, and it's actually impossible to know as the process depends on the current frame.
Quote:
EDIT: In the tests that I made I realised that increasing the limit from 1 to 4 does not bring considerable difference in the compressions but do bring in noticable difference in the Quality of the encode. Probably since I am already using limitU=255 so no more compression can be achieved.
Code:
return LimitChange(rg, input, limit, limitU=255)
I guess limit=1 or limit=2 are the ones that will work for most of us.
You are using the limit for luma only, chroma smoothing is not limited, hence limitU=255. Chroma can be processed more aggressively before it comes noticable.
Reply With Quote
  #28  
09-17-2005, 10:41 AM
supermule supermule is offline
Free Member
 
Join Date: Sep 2005
Location: Donkeyland
Posts: 210
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Boulder
Quote:
Originally Posted by nicksteel
So, I should

Mpeg2Source("C:\capture\capture.d2v",idct=7)

Telecide/Decimate

LRemoveDust_YV12(17,1)

Resize
ConverttoRGB24()
Addborders()
Yes.
Hi Boulder,

Do you think adding STmedian() filter would further help along with Lremovedust for non-DVD sources.

Whats ur opinion
Reply With Quote
  #29  
09-17-2005, 11:25 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
We only can suggest if we know whats the kind of that source?
Its an avi? If yes what kind of AVI? A hollywoodmovie? If yes, a capture?
Reply With Quote
  #30  
09-17-2005, 11:42 AM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
Regardless of the source, I wouldn't add any filters in addition to LRemoveDust.
Reply With Quote
  #31  
09-17-2005, 12:51 PM
supermule supermule is offline
Free Member
 
Join Date: Sep 2005
Location: Donkeyland
Posts: 210
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Boulder
Regardless of the source, I wouldn't add any filters in addition to LRemoveDust.
Does that mean that in your opinion Lremovedust handles pretty well, what STmedian is supposed to do for the source ????
Reply With Quote
  #32  
09-17-2005, 01:31 PM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
How would it be the script using gripcrop?
Reply With Quote
  #33  
09-17-2005, 02:01 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by supermule
Do you think adding STmedian() filter would further help along with Lremovedust for non-DVD sources.
I hope when you mean "non-DVD sources" you are refering to captures, and not AVI (DivX/XviD) sources

-kwag
Reply With Quote
  #34  
09-17-2005, 03:10 PM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Prodater64
How would it be the script using gripcrop?
Uhm, just place the three thingies, GripCrop, GripSize and GripBorders where they belong and remove all other items that crop, resize and add borders. SansGrip's functions are just different ways of doing the same thing.
Reply With Quote
  #35  
09-17-2005, 09:26 PM
supermule supermule is offline
Free Member
 
Join Date: Sep 2005
Location: Donkeyland
Posts: 210
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by kwag
Quote:
Originally Posted by supermule
Do you think adding STmedian() filter would further help along with Lremovedust for non-DVD sources.
I hope when you mean "non-DVD sources" you are refering to captures, and not AVI (DivX/XviD) sources

-kwag
Yes, how can I forget the forum rules!!!!!! ,
Reply With Quote
  #36  
09-17-2005, 09:32 PM
supermule supermule is offline
Free Member
 
Join Date: Sep 2005
Location: Donkeyland
Posts: 210
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Boulder
Quote:
Originally Posted by Prodater64
How would it be the script using gripcrop?
Uhm, just place the three thingies, GripCrop, GripSize and GripBorders where they belong and remove all other items that crop, resize and add borders. SansGrip's functions are just different ways of doing the same thing.
Hi,

Can you post a sample script using the three, I cant find no help in the filter.
Reply With Quote
  #37  
09-18-2005, 01:18 AM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
GripCrop equals Crop, GripSize equals xxxResize, GripBorders equals AddBorders. The parameters have been explained a thousand times so I'm not going to do that now, the search will help you. The official GripFit thread started by SansGrip contains all the necessary information.
Reply With Quote
  #38  
09-18-2005, 05:44 AM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Boulder
GripCrop equals Crop, GripSize equals xxxResize, GripBorders equals AddBorders. The parameters have been explained a thousand times so I'm not going to do that now, the search will help you. The official GripFit thread started by SansGrip contains all the necessary information.
I think he asked for filter position in the script.
Reply With Quote
  #39  
09-18-2005, 05:48 AM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
The positions are exactly the same as with normal cropping, resizing and adding borders, no reason for any other order. One crops, one resizes and one adds the borders, the only difference is that the calculations are done internally and the user doesn't need to figure the values out.
Reply With Quote
  #40  
10-09-2005, 04:07 PM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
When to use lremovedust_yv12(17,1) and when ...(17,2)?

Could somebody post a latest optimal script in that section please?
(Also Im wondering why Dialhot scripts are not in that section)
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
How Do You Split A KVCD? aryia Video Encoding and Conversion 8 07-21-2004 04:42 PM
DVD2SVCD: how to split one mpeg file onto two cds ? keigan1888 Video Encoding and Conversion 5 09-07-2003 05:45 AM
Vob to divx split for better bitrate? Adder Video Encoding and Conversion 2 02-12-2003 08:31 AM
Best way to split a KVCD? Gaudi Video Encoding and Conversion 3 02-01-2003 07:53 PM
Software to Split and Cut MPEGs? Jellygoose Video Encoding and Conversion 1 07-16-2002 08:33 PM




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