Quantcast Sansgrip Filters: Sampler with Bob Issue - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Avisynth Scripting

Reply
 
LinkBack Thread Tools
  #1  
02-13-2003, 03:48 AM
Fiz Fiz is offline
Free Member
 
Join Date: Jan 2003
Location: London, UK
Posts: 89
Thanks: 0
Thanked 0 Times in 0 Posts
Not sure if anyone else has had this. I have a pure interlaced 29.97 fps movie. I was trying different deinterlace filers to see which gave the best results for kvcd3 resolution 528x480.

I tried FieldDeInterlace, Bob and TomsMoComp filters to do comparisons. The sample was supposed to be 2m 20s for this movie but when I use Bob to deinterlace the sample becomes 1m 10s The movie does not seem to look sped up but Sampler is clearly taking half the frames for each segment of the movie.

The other deinterlace filters don't seem to have a problem. I am calling the deinterlace filter just after the Mpeg2Source line in my avs script and Sampler at the end. This also happens if there are no other filters in between.

I ended up using a res of 352x240 for this rip which deinterlaces naturally but was just curious to see if anyone else has had this problem.
__________________
Fizzy Wizzy Lets get Bizzy!
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  
02-13-2003, 07:20 AM
urban tec urban tec is offline
Free Member
 
Join Date: Nov 2002
Location: West Australia
Posts: 272
Thanks: 0
Thanked 0 Times in 0 Posts
Yep, I was wonder why I was getting such good compression with my samples until I did the final encode and the file was twice the size it should have been.
Reply With Quote
  #3  
02-13-2003, 06:04 PM
muaddib muaddib is offline
Free Member
 
Join Date: Jun 2002
Location: São Paulo - Brasil
Posts: 879
Thanks: 0
Thanked 0 Times in 0 Posts
That's from AviSynch docs:

Bob takes a clip and bob-deinterlaces it. This means that it enlarges each field into its own frame by interpolating between the lines. The top fields are nudged up a little bit compared with the bottom fields, so the picture will not actually appear to bob up and down. However, it will appear to "shimmer" in stationary scenes because the interpolation doesn't really reconstruct the other field very accurately.

This filter uses BicubicResize to do its dirty work. You can tweak the values of b and c (see BicubicResize). You can also take the opportunity to change the vertical resolution with the height parameter.
Reply With Quote
  #4  
02-14-2003, 03:39 AM
Fiz Fiz is offline
Free Member
 
Join Date: Jan 2003
Location: London, UK
Posts: 89
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks muaddib . Still curious though to why Bob would halve the number of total frames in Sampler
__________________
Fizzy Wizzy Lets get Bizzy!
Reply With Quote
  #5  
02-14-2003, 04:25 PM
rendalunit rendalunit is offline
Free Member
 
Join Date: Apr 2002
Location: san jose, Ca
Posts: 1,148
Thanks: 0
Thanked 0 Times in 0 Posts
it might have something to do with the fact that bob() doubles the framerate
Reply With Quote
  #6  
02-14-2003, 06:17 PM
muaddib muaddib is offline
Free Member
 
Join Date: Jun 2002
Location: São Paulo - Brasil
Posts: 879
Thanks: 0
Thanked 0 Times in 0 Posts
That's strange, cause it should double the frames...
Well, at least if you fixed the length like this: Sampler(length=24)
Is that the way you are using it?
Reply With Quote
  #7  
02-16-2003, 05:00 PM
Fiz Fiz is offline
Free Member
 
Join Date: Jan 2003
Location: London, UK
Posts: 89
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by muaddib
Well, at least if you fixed the length like this: Sampler(length=24)
Is that the way you are using it?
yup, sure is! And I agree, it should double the frames, but for some reason it seems to be halving them!

btw it's not such a big issue, was just being my curious self I like to know why things "happen" the way they do!
__________________
Fizzy Wizzy Lets get Bizzy!
Reply With Quote
  #8  
02-16-2003, 05:12 PM
rendalunit rendalunit is offline
Free Member
 
Join Date: Apr 2002
Location: san jose, Ca
Posts: 1,148
Thanks: 0
Thanked 0 Times in 0 Posts
I wonder if it would work right if you doubled the # samples

bob()
sampler(samples=movietimeinminutes*2, length=24)
Reply With Quote
  #9  
02-16-2003, 11:42 PM
muaddib muaddib is offline
Free Member
 
Join Date: Jun 2002
Location: São Paulo - Brasil
Posts: 879
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Fiz
I like to know why things "happen" the way they do!
I always keep saying that!

If you find the answer... please tell us!
Reply With Quote
  #10  
02-16-2003, 11:48 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 Fiz
I like to know why things "happen" the way they do!
Because Murphy is alive
Reply With Quote
  #11  
02-17-2003, 06:13 AM
Fiz Fiz is offline
Free Member
 
Join Date: Jan 2003
Location: London, UK
Posts: 89
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by kwag
Because Murphy is alive
lol!
__________________
Fizzy Wizzy Lets get Bizzy!
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Need a working link to sampler, SansGrip's filters Encoder Master Avisynth Scripting 4 12-06-2003 02:12 PM
SansGrip Filters: SansGrip Is Back Thread! Jellygoose Avisynth Scripting 8 02-28-2003 04:57 AM
SansGrip Filters: Small explanation needed about filters AgNa Avisynth Scripting 2 02-07-2003 12:25 PM
SansGrip Filters: Trying to find the GripFIt, GripCrop and GripSize filters Bud Avisynth Scripting 4 01-19-2003 06:40 PM
SansGrip Filters: Sampler SansGrip Avisynth Scripting 57 01-16-2003 09:24 AM




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