digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Prediction with CQ VBR? (http://www.digitalfaq.com/archives/avisynth/4539-prediction-cq-vbr.html)

ovg64 07-15-2003 01:25 PM

Prediction with CQ VBR?
 
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 :?:

kwag 07-15-2003 04:33 PM

Hi ovg64,

Try this, with either CQ or CQ_VBR on :arrow: 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

ovg64 07-15-2003 07:49 PM

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

kwag 07-15-2003 09:09 PM

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 8O
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

ovg64 07-15-2003 09:18 PM

Moviestacker 1st tap
Video Stream
Average kbps> 1889

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

Edit: Dammmmm shhhh had it for 2 CDs no wonder :x

Average kbps 888/2 = 444 kbps Sounds better :?: :lol:

let u know later homes :!:

kwag 07-15-2003 10:04 PM

Quote:

Originally Posted by ovg64

Edit: Dammmmm shhhh had it for 2 CDs no wonder :x

That's exactly what I thought :mrgreen:
Quote:


Average kbps 888/2 = 444 kbps Sounds better :?: :lol:
Exactly :cool:

-kwag

ovg64 07-15-2003 10:39 PM

k there u go should had started at 60% :ideasmiley: 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

ovg64 07-16-2003 12:09 PM

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. :wink:

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


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

Site design, images and content © 2002-2026 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2026 Jelsoft Enterprises Ltd.