Quantcast New 10 % Prediction Method ? - digitalFAQ.com Forums [Archives]
  #1  
03-02-2003, 06:31 PM
hedix hedix is offline
Free Member
 
Join Date: Jan 2003
Posts: 155
Thanks: 0
Thanked 0 Times in 0 Posts
I think I have to put these lines at the end of my script
Code:
oldfps = framerate 
AssumeFps(oldfps * 10) 
Sampler(length=24) 
AssumeFps(oldfps)
Is this correct ?

Thank you in advance
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  
03-02-2003, 06:35 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
That will sure work

-kwag
Reply With Quote
  #3  
03-02-2003, 06:50 PM
hedix hedix is offline
Free Member
 
Join Date: Jan 2003
Posts: 155
Thanks: 0
Thanked 0 Times in 0 Posts
Hey Kwag, you are the quickest !!!

I have done some tests, and I got this

fps x 20 , CQ=79.571 , 4 tries
fps x 10 , CQ=67.125, 3 tries
fps x 5 , CQ=72.020, 5 tries
fps x 1 , CQ=71.075, 3 tries

Edit: fps x 2, CQ=68.450, 4 tries

film was spanish "El 6º día", Arnold Swatzeneger, cloning ...

What's your opinion ?
Reply With Quote
  #4  
03-02-2003, 07:03 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 hedix
Hey Kwag, you are the quickest !!!

I have done some tests, and I got this

fps x 20 , CQ=79.571 , 4 tries
fps x 10 , CQ=67.125, 3 tries
fps x 5 , CQ=72.020, 5 tries
fps x 1 , CQ=71.075, 3 tries

film was (spanish "El 6º día", Arnold Swatzeneger, clones ...)

What's your opinion ?
Run a full sampler, and when you get the wanted file size, see what CQ was needed and to what CQ is closest on one of the four CQs above

-kwag
Reply With Quote
  #5  
03-02-2003, 07:08 PM
hedix hedix is offline
Free Member
 
Join Date: Jan 2003
Posts: 155
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by kwag
Run a full sampler, and when you get the wanted file size, see what CQ was needed and to what CQ is closest on one of the four CQs above
What's a full sampler? Do you mean
Code:
Sampler(24) ?
For me is the same than "fps x 1". You know, the "fps x 10" is your 10% prediction, my "fps x5" would be a 20% prediction, and so on.

Regards
Reply With Quote
  #6  
03-02-2003, 07:11 PM
hedix hedix is offline
Free Member
 
Join Date: Jan 2003
Posts: 155
Thanks: 0
Thanked 0 Times in 0 Posts
Ops...

On the 10 % prediction, I have to do :

Samplesize*10, or is there any other factor implied ?
Reply With Quote
  #7  
03-02-2003, 07:18 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
Hi hedix,

The 10% thing is really to try to find a close CQ in many short runs. But then, a full sampler must be run. The rule is simple: The more samples taken, the more accurate the prediction. If you could start your prediction with 5% samples, and then when you get to ~3% of final size, switch to full sampler. That's the way it should work. This way, you probably run three to five 5% samplers, and then you switch to full sampler. Then it should be just one or two tries to hit final wanted file size.

-kwag
Reply With Quote
  #8  
03-02-2003, 07:26 PM
hedix hedix is offline
Free Member
 
Join Date: Jan 2003
Posts: 155
Thanks: 0
Thanked 0 Times in 0 Posts
OK, Kwag.

I will try to implement it on ToK, and I will tell you on 3-4 days.

Thank you.
Reply With Quote
  #9  
03-02-2003, 08:11 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
Quote:
Originally Posted by hedix
OK, Kwag.

I will try to implement it on ToK, and I will tell you on 3-4 days.

Thank you.
3-4 days?

i can't wait .

Reply With Quote
  #10  
03-04-2003, 07:27 AM
hedix hedix is offline
Free Member
 
Join Date: Jan 2003
Posts: 155
Thanks: 0
Thanked 0 Times in 0 Posts
Hi,

The thing is working, but I'm not plenty satisfied with the result.

I think a very important thing is the initial CQ. I know It depends on the resolution, the length and the type of movie.

Could we get a formula with (aproximated) values ? Something like:

CalcResolution=Height*Width
EstimatedCQ=fx(CalcResolution,length,typeOfFilm)

Obviously, let the user choose the typeOfFilm on the program. Computers are not so smart, by now

Regards
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
CQ prediction method WOWIEGURL Avisynth Scripting 13 03-12-2005 04:56 PM
Faster prediction method ARnet_tenRA Avisynth Scripting 19 04-12-2003 09:11 AM
What is the current prediction method for a 29.97fps movie? Paul0889 Avisynth Scripting 1 01-11-2003 12:42 PM
What is the current prediction method for a 29.97fps movie? Paul0889 Avisynth Scripting 0 01-10-2003 07:25 PM
KVCD: file prediction method? edmund Video Encoding and Conversion 0 10-31-2002 12:39 PM

Thread Tools



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