Quantcast Prediction with CQ VBR? - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Avisynth Scripting

Reply
 
LinkBack Thread Tools
  #1  
07-15-2003, 01:25 PM
ovg64 ovg64 is offline
Free Member
 
Join Date: Jan 2003
Location: Puerto Rico
Posts: 423
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ovg64
Ok here is the thing i want to experiment with CQ_VBR and low Resolution, Now my is manual prediction is accurate with CQ_VBR I know that the video ini on tok to VBR_Auto will change tok to use that mode, but dont know what to do to chainge the Max n min. bitrate and the CQ_VBR from 100% to a lower value. Any clues anyone
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  
07-15-2003, 04:33 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 ovg64,

Try this, with either CQ or CQ_VBR on KVCDx3 528x480.
(1) Set the MAX bitrate to 2,000Kbps ( No need for a higher value if you are using the MA script. )
(2) Set your MIN bitrate to 50% of average bitrate required ( look it up in MovieStacker ). If 50% is below 300Kbps, then leave it at 300Kbps
(3) Now run prediction, and see how close your end result is

Try to use "Full" prediction, instead of "Fast" prediction.
Let me know your results ( I'll explain the details later, when I'm done )

-kwag
Reply With Quote
  #3  
07-15-2003, 07:49 PM
ovg64 ovg64 is offline
Free Member
 
Join Date: Jan 2003
Location: Puerto Rico
Posts: 423
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ovg64
OK, used Tmpeg 2.58
Full prediction (loooong)
max. 2000 kbits/sec.
min. 945 kbits/sec. (50% of average 1889)
tok logs

Quote:
================================================== ===========
ToK Log: C:\
================================================== ===========

Resolution (fps):528x480 (23.976 fps)
Total Frames: 157902
Total Time : 01:49:46
-------------------------------------------------------------

Audio Size: 92,204,000
Required Video Size: 726,996,000

Factor: 59.940
Desired Sample Size: 12,128,729

-------------------------------------------------------------
Prediction: 1st Group of Passes
-------------------------------------------------------------

Next CQ: 70.000. Sample Size: 17,086,702
Next CQ: 49.688. Sample Size: 15,988,086
Next CQ: 31.640. Sample Size: 15,824,335
Next CQ: 20.402. Sample Size: 15,774,644
Next CQ: 13.309. Sample Size: 15,759,276
Next CQ: 8.814. Sample Size: 15,756,762
Next CQ: 5.961. Sample Size: 15,754,576
Next CQ: 4.150. Sample Size: 15,753,025
Next CQ: 3.000. Sample Size: 15,751,531
Next CQ: 2.270. Sample Size: 15,751,643
Break. Cause: Decreasing curve. idx = 10. Sample Size: 15,751,513
Next CQ: 1.806. Sample Size: 15,746,404
Next CQ: 1.512. Sample Size: 15,747,390
Break. Cause: Decreasing curve. idx = 12. Sample Size: 15,749,019
Break. Cause: Decreasing curve. idx = 12. Sample Size: 15,749,019
Correction . Official formula used. Cause: DeltaSize=0
Next CQ: 1.071. Sample Size: 15,744,983
Next CQ: 1.045. Sample Size: 15,752,764
Break. Cause: Decreasing curve. idx = 14. Sample Size: 15,748,523
NextCQ: 0.889. Corrected CQ: 0.912
Next CQ: 0.912. Sample Size: 15,749,542
NextCQ: 0.889. Corrected CQ: 0.912

Exit Condition: CQ diferential = 0
Tries : 15


Final CQ: 0.912
Total Time For Predicition: 01:56:33

Total Time (all operations): 01:56:33

Finished
Reply With Quote
  #4  
07-15-2003, 09:09 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 ovg64
OK, used Tmpeg 2.58
Full prediction (loooong)
max. 2000 kbits/sec.
min. 945 kbits/sec. (50% of average 1889)
NO WAY average 1889
There's no way you get an average of 1886Kbps for a movie of 01:49:46 on one CD
Check your settings again.

-kwag
Reply With Quote
  #5  
07-15-2003, 09:18 PM
ovg64 ovg64 is offline
Free Member
 
Join Date: Jan 2003
Location: Puerto Rico
Posts: 423
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ovg64
Moviestacker 1st tap
Video Stream
Average kbps> 1889

1889/2=944.5 ~ 945 this is what i used

Edit: Dammmmm shhhh had it for 2 CDs no wonder

Average kbps 888/2 = 444 kbps Sounds better

let u know later homes
Reply With Quote
  #6  
07-15-2003, 10:04 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 ovg64

Edit: Dammmmm shhhh had it for 2 CDs no wonder
That's exactly what I thought
Quote:

Average kbps 888/2 = 444 kbps Sounds better
Exactly

-kwag
Reply With Quote
  #7  
07-15-2003, 10:39 PM
ovg64 ovg64 is offline
Free Member
 
Join Date: Jan 2003
Location: Puerto Rico
Posts: 423
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ovg64
k there u go should had started at 60% now i forgot what i was doing this for

Quote:
================================================== ===========
ToK Log: C:\
================================================== ===========

Resolution (fps):528x480 (23.976 fps)
Total Frames: 157902
Total Time : 01:49:46
-------------------------------------------------------------

Audio Size: 92,204,000
Required Video Size: 726,996,000

Factor: 59.940
Desired Sample Size: 12,128,729

-------------------------------------------------------------
Prediction: 1st Group of Passes
-------------------------------------------------------------

Next CQ: 10.000. Sample Size: 8,147,453
Next CQ: 14.887. Sample Size: 8,195,821
Next CQ: 33.852. Sample Size: 8,575,131
Next CQ: 48.015. Sample Size: 9,293,287
Next CQ: 58.586. Sample Size: 10,683,906
Next CQ: 66.469. Sample Size: 12,204,331
Next CQ: 64.302. Sample Size: 11,970,887
Next CQ: 65.576. Sample Size: 12,146,218

Exit Condition: 0.500 % reached ! yahoo !
Tries : 8
Reply With Quote
  #8  
07-16-2003, 12:09 PM
ovg64 ovg64 is offline
Free Member
 
Join Date: Jan 2003
Location: Puerto Rico
Posts: 423
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ovg64
I pm the results kwag; and answering my own i was able to make tok to do prediction with CQ_VBR by chainging the following lines in the video ini,


*Job.MPEG.Video.RateControlMode=MPEGVideoEncoder_R ateControlMode_VBR_Auto
*Job.MPEG.Video.AVBR_Quality=60
*Job.MPEG.Video.AVBR_MaxBitRate=2000000
*Job.MPEG.Video.AVBR_MinBitRate=300000

I couldn't get tok to chainge the bitrate using the tap so i made the chainge straigh at the video ini. now i want to experiment with some
352x resolutions.

EDIT: dont bother with what i post above, tok just hangs at 60%....
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Ping-pong prediction vs Long-short prediction Abond Avisynth Scripting 136 07-05-2005 02:13 PM
Probleme prediction tamahome Conversion et d'Encodage de Vidéo (Français) 2 08-04-2004 05:55 AM
Bitrates: Prediction not going through the whole way... oxycotton420 Video Encoding and Conversion 2 07-08-2004 12:27 PM
PB de prédiction mulroux95 Conversion et d'Encodage de Vidéo (Français) 4 01-04-2004 06:19 PM
Prediction for CCE? Avalon Avisynth Scripting 4 09-06-2003 12:06 PM




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