Quantcast Sansgrip Filters: Sampler - Page 3 - digitalFAQ.com Forums [Archives]
  #41  
12-29-2002, 11:04 PM
deltaboy deltaboy is offline
Free Member
 
Join Date: Apr 2002
Location: BC, Canada
Posts: 108
Thanks: 0
Thanked 0 Times in 0 Posts
will do... thanks guys!
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
  #42  
12-30-2002, 01:04 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
Quote:
On a 25fps 105-minute movie, Sampler will produce 105 samples each 25 frames long
Thanks SansGrip,
Now I know why my predictions have not been accurate the old trying to fit 25 frames into a 24 frame Gop trick.
Reply With Quote
  #43  
01-01-2003, 09:53 PM
deltaboy deltaboy is offline
Free Member
 
Join Date: Apr 2002
Location: BC, Canada
Posts: 108
Thanks: 0
Thanked 0 Times in 0 Posts
well... my predictions are off!

with my scale factor at 0.85 and using Sampler(length=24), i am producing a file just a bit larger than expected.

final file size was 820MB... very close, but still no cigar. i might go back to the other way:

###------------------- Start Of File Size Prediction -------------------###
#
IL = Framecount / 100 # interval length in frames.
SL = round(Framerate) # sample length in frames.
SelectRangeEvery(IL,SL)
### Predicted MPEG size = (( Total frames/MovieTimeInMinutes)/24) * MPEG sample file size ###
#
###-----------------------End File Size Prediction----------------------###


any thoughts on this?
Reply With Quote
  #44  
01-01-2003, 10:16 PM
SansGrip SansGrip is offline
Free Member
 
Join Date: Nov 2002
Location: Ontario, Canada
Posts: 1,135
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by deltaboy
with my scale factor at 0.85 and using Sampler(length=24), i am producing a file just a bit larger than expected.
I believe the latest scale factor is 1.0, i.e. no adjustment necessary. kwag'll correct me if I'm wrong .
Reply With Quote
  #45  
01-01-2003, 10:32 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 SansGrip

I believe the latest scale factor is 1.0, i.e. no adjustment necessary. kwag'll correct me if I'm wrong .
You are correct

-kwag
Reply With Quote
  #46  
01-02-2003, 07:47 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
Is there any need to change the sample points value in KVCDP?

Jeez, I just got back home yesterday from a two-week holiday and you've already making me feel like I've been away for two years!
Reply With Quote
  #47  
01-02-2003, 07:49 AM
SansGrip SansGrip is offline
Free Member
 
Join Date: Nov 2002
Location: Ontario, Canada
Posts: 1,135
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Boulder
Is there any need to change the sample points value in KVCDP?
Yep. It now needs to equal minutes-in-movie. It'll do this by default in the next release.

Quote:
Jeez, I just got back home yesterday from a two-week holiday and you've already making me feel like I've been away for two years!
Ah, you mustn't go on holiday! I assume you've read all about the new GOP, experimental Q matrix, CQ mode for 528x480 and above...
Reply With Quote
  #48  
01-02-2003, 07:52 AM
SansGrip SansGrip is offline
Free Member
 
Join Date: Nov 2002
Location: Ontario, Canada
Posts: 1,135
Thanks: 0
Thanked 0 Times in 0 Posts
...and don't forget to set the error margin to 0%. We don't seem to need it any more .
Reply With Quote
  #49  
01-02-2003, 07:57 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 SansGrip
Ah, you mustn't go on holiday! I assume you've read all about the new GOP, experimental Q matrix, CQ mode for 528x480 and above...
Well, if one gets free food and drink for the two weeks, one must do what's right

I've read most of the new posts, this all seems to be going somewhere again. Luckily(?) , I use the larger resolutions rarely so I haven't had to experiment with CQ yet. I'm currently trying out the BETA-1 notch matrix - stuffing a 2-hour PAL movie on one CD at 352x576. The prediction sample looked almost as good as the source, the original itself is quite soft as it's an old movie.
Reply With Quote
  #50  
01-02-2003, 08:07 AM
SansGrip SansGrip is offline
Free Member
 
Join Date: Nov 2002
Location: Ontario, Canada
Posts: 1,135
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Boulder
Well, if one gets free food and drink for the two weeks, one must do what's right
Well, why didn't you say that in the first place??

Quote:
Luckily(?) , I use the larger resolutions rarely so I haven't had to experiment with CQ yet.
That threw me for a minute. By "larger" you mean 352x???, right?

Quote:
I'm currently trying out the BETA-1 notch matrix - stuffing a 2-hour PAL movie on one CD at 352x576. The prediction sample looked almost as good as the source, the original itself is quite soft as it's an old movie.
It's this kind of thing that makes me think my tests of the new matrix were somehow flawed. I think I'm going to run some more today .
Reply With Quote
  #51  
01-02-2003, 08:28 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 SansGrip
That threw me for a minute. By "larger" you mean 352x???, right?
352x288 is low, 352x576 is ..um.. 352x576 and anything above that - meaning KVCDx3 and 704x576 - is considered a larger resolution in my small mind. I mostly use 352x576 for TV capture encodes these days.

Which reminds me, they just started a Star Trek (the original series) rerun on a cable channel. It'll be a good test for the templates, 79 episodes of about 50 mins each, maybe 40 CDs?
Reply With Quote
  #52  
01-02-2003, 08:44 AM
SansGrip SansGrip is offline
Free Member
 
Join Date: Nov 2002
Location: Ontario, Canada
Posts: 1,135
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Boulder
352x288 is low, 352x576 is ..um.. 352x576 and anything above that - meaning KVCDx3 and 704x576 - is considered a larger resolution in my small mind.
I just reread your post and noticed the word "rarely". My mistake .

Quote:
It'll be a good test for the templates, 79 episodes of about 50 mins each, maybe 40 CDs?
Sounds about right. Since it's full-screen I wouldn't think you'd get more than 100 minutes on one disc at 352x576. Though you never know until you try...
Reply With Quote
  #53  
01-02-2003, 09:38 PM
deltaboy deltaboy is offline
Free Member
 
Join Date: Apr 2002
Location: BC, Canada
Posts: 108
Thanks: 0
Thanked 0 Times in 0 Posts
well, i used a scale factor of 0.90 and my total 750MB. im so confused because before, my scale factor of 0.85 came out to 820MB.

im freakin out man!!!
Reply With Quote
  #54  
01-03-2003, 10:47 AM
SansGrip SansGrip is offline
Free Member
 
Join Date: Nov 2002
Location: Ontario, Canada
Posts: 1,135
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by deltaboy
well, i used a scale factor of 0.90 and my total 750MB. im so confused because before, my scale factor of 0.85 came out to 820MB.
It's counterintuitive . As you approach 1.0 your total size will drop. I recommend just using 1.0 and forgetting about the mechanics of it .
Reply With Quote
  #55  
01-05-2003, 04:46 AM
syk2c11 syk2c11 is offline
Free Member
 
Join Date: Jun 2002
Posts: 290
Thanks: 0
Thanked 0 Times in 0 Posts
Hi there,
I believed I have seen somthing about adjustment in sampler when using in CQ mode, and I believed someone said the sampler is not that accurate when reach a high level of CQ (say 85). So, is there an update in using sampler?

I did the movie "Signs", I used sampler (length=1 because it was a KDVD, the acutally file size is 1.3104 larger than predicted (predicted=1807MB, actual=2368MB). I used sampler-0.2a, any idea please?
Reply With Quote
  #56  
01-05-2003, 08:04 AM
SansGrip SansGrip is offline
Free Member
 
Join Date: Nov 2002
Location: Ontario, Canada
Posts: 1,135
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by syk2c11
I believed someone said the sampler is not that accurate when reach a high level of CQ (say 85). So, is there an update in using sampler?
It's not really Sampler that's inaccurate with a high CQ, it's apparently the method itself.

Quote:
I did the movie "Signs", I used sampler (length=18 ) because it was a KDVD
This might be having some impact. I saw similarly inaccurate results with some values when trying to determine the best sample length with the new KVCD GOP.

One thing you could try is using a length of 24 (even though your GOP size is 18 ). I'd be interested to know if this is more accurate.

Quote:
file size is 1.3104 larger than predicted (predicted=1807MB, actual=2368MB).
Because I've never used the KDVD template I'm not really sure what to suggest. You could perhaps switch to CQ_VBR mode and see if that's more accurate, or use 1.3 as your scale modifier with CQ mode.

I'm afraid more testing needs to be done with high CQ levels. On the other hand, think of the glory that will be poured upon you when you figure out a solution .
Reply With Quote
  #57  
01-16-2003, 06:44 AM
uffowich6 uffowich6 is offline
Free Member
 
Join Date: Jan 2003
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Hi there Sansgrip!

I finally managed to register on this board! I think this is the 5:th time or so... I never got the mail sent to me that allowed me to activate the account... But now it - for some reason - finally worked!

I have been enjoying the information on this board for weeks though, and I'm also using some of your filters.

I was messing round with CQ long before you guys figured out that it produced better results (in my opinion). I'm also working on my own prediction system which seems to be different from yours.
For this I've been using your Sampler() filter, but I would like to get a more accurate testresult.
I was thinking about doubling the sample, but it seems I can only do that by doubling the length of the clip. I would prefere to double the number of clips, but I can't seem to get it right... Is there anyway to do this?

Other things I would like to share now that I'm finally "visible".

I removed blockbuster since it made the background blocky (walls and such)

I removed nomosmooth since it took too much time for little result when converting.

I also removed fluxsmooth, but I'm thinking of adding this again if I find that the time to convert isn't doubled. (that's why I removed it in the first place)
Yes, I know I should have checked this out before, but right now I'm struggling to convert both Gangs of New York and The Two Towers, and they have got to be ready by tomorrow.

If I only could get the prediction more accurate I would allready be done with them, but I had to change the factor this morning, and start over... It was too big, not much, but enough to not fit on a CD.

Anyways, thanks for reading, and thanks for your great filters.


/Uffowich
Reply With Quote
  #58  
01-16-2003, 09:24 AM
SansGrip SansGrip is offline
Free Member
 
Join Date: Nov 2002
Location: Ontario, Canada
Posts: 1,135
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by uffowich6
I was thinking about doubling the sample, but it seems I can only do that by doubling the length of the clip. I would prefere to double the number of clips, but I can't seem to get it right... Is there anyway to do this?
Yep. By default Sampler takes minutes-in-movie samples, so you could simply override that by saying:

Sampler(samples=minutes-in-movie-times-two)

Quote:
I removed blockbuster since it made the background blocky (walls and such)
Yes, Blockbuster doesn't seem to work as well with CQ mode.

Quote:
I also removed fluxsmooth, but I'm thinking of adding this again if I find that the time to convert isn't doubled.
It shouldn't, because Flux has been MMX-optimized for several versions now. Give it a try.

Quote:
If I only could get the prediction more accurate I would allready be done with them
I think that's what we're all struggling with right now -- finding the right "correction factor" for the file prediction formula. At the moment it looks like 0.98 or 0.97 might give good results.
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: Sampler with bob issue Fiz Avisynth Scripting 10 02-17-2003 06:13 AM
SansGrip Filters: Trying to find the GripFIt, GripCrop and GripSize filters Bud Avisynth Scripting 4 01-19-2003 06:40 PM
SansGrip Filters: Filters/settings for animation/anime akrein62 Avisynth Scripting 2 11-24-2002 01:39 AM

Thread Tools



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