digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Is there a way to predict the CQ_VBR value (http://www.digitalfaq.com/archives/avisynth/2093-predict-cqvbr-value.html)

Holomatrix 01-09-2003 11:00 AM

Is there a way to predict the CQ_VBR value
 
I am trying to use TMPG with dvd2svcd and when I encoded Monsters Inc. last night I awoke to a 338 MB mpeg and dvd2svcd choosed a CQ value of -221.77 ??? the movie is only 92 min. CQ offset started at 30. so is there away I can calculate a fixed CQ value to use and use bitratecalc to add the min and max bitrates?
Thanks

kwag 01-09-2003 11:39 AM

Hi Holomatrix,

Yes you can :!:. Just select "Use fixed CQ value" under the "Encoder" tab, and manually use file prediction with your .avs script. Then use your CQ value and set it on DVD2SVCD :wink:
You must also set "Edit as part of Video Encoding" under "Frameserver" so that you can paste your custom .avs script there.

-kwag

SansGrip 01-09-2003 11:40 AM

Re: Is there a way to predict the CQ_VBR value
 
An idea has been forming in my head regarding predicting a good starting CQ_VBR value for encoding samples, involving bytes per frame and the resolution of the movie minus borders. I've not done anything to formalize it yet, though, but when I do it'll be incorporated into KVCDP :).

Holomatrix 01-09-2003 11:59 AM

Quote:

Originally Posted by kwag
Hi Holomatrix,

Yes you can :!:. Just select "Use fixed CQ value" under the "Encoder" tab, and manually use file prediction with your .avs script. Then use your CQ value and set it on DVD2SVCD :wink:
You must also set "Edit as part of Video Encoding" under "Frameserver" so that you can paste your custom .avs script there.

-kwag

Do you mean use FitCD to get a script? or use Sans prediction calc?

kwag 01-09-2003 12:06 PM

Quote:

Originally Posted by Holomatrix
Do you mean use FitCD to get a script? or use Sans prediction calc?

Both :D
The easy way: KVCDPredictor. The harder way: Manually :D
But always use FitCD to get your correct resize, croping, etc.

-kwag

Holomatrix 01-09-2003 12:57 PM

Quote:

Originally Posted by kwag
Quote:

Originally Posted by Holomatrix
Do you mean use FitCD to get a script? or use Sans prediction calc?

Both :D
The easy way: KVCDPredictor. The harder way: Manually :D
But always use FitCD to get your correct resize, croping, etc.

-kwag

Ok, well using KVCDPredictor I get this, of course I still need to add Flux and Block,(is there anythig else to adjust?) but I don't see were it tells me the CQ value I need to set?

LoadPlugin("C:\Program Files\DVD2SVCD\MPEG2Dec\MPEG2DEC.dll")
mpeg2source("C:\MovieRip\DVD2AVI_PROJECT_FILE.d2v" )
BilinearResize(320,320,0,0,720,480)
AddBorders(16,80,16,80)

###--------------------- Start Of File Size Prediction ----------------------###

IL = Framecount / 100 # interval length in frames
SL = round(Framerate) # sample length in frames
SelectRangeEvery(IL,SL)
## MPEG size = ((Total frames/Framerate)/100) * (MPEG sample file size * .95) ##

###------------------------End File Size Prediction------------------

kwag 01-09-2003 01:13 PM

Hey Holomatrix,

You're still using the old version of FitCD. Please download the new one here: http://www.kvcd.net/forum/viewtopic.php?t=2142

Read "new_bee's" post in this thread for some instructions on using Predictor: http://www.kvcd.net/forum/viewtopic.php?t=2267

-kwag

Holomatrix 01-09-2003 01:40 PM

Ok, thanks, I'll check it out :)


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

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