digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   Bitrates: CQMatic/CalcuMatic (http://www.digitalfaq.com/archives/encode/4595-bitrates-cqmatic-calcumatic.html)

Nobody 07-28-2003 05:49 PM

Hi Kwag,

Another question, if you got a moment

Quote:

It has to do with the dynamic range in TMPEG. If average bitrate is exactly centered between MIN and MAX, that's excelent for the encoder. In our case, we usually are encoding with a very low average, closer to MIN than to MAX. This throws off the dynamic range of the encoder
If my average bit rate is 1100, for example wouldn't having Min=300 Max=2000, be "centered" better within the encoder's dynamic range than using Min=1100*.57=627, Max=2000?

It just seems (at least to my limited understanding) having the option of being able to encode at a lower bitrate can only help with regards to compression/quality.

Am I over simplifying this :?

Thanks again

kwag 07-28-2003 06:00 PM

Hi Chuck,

If your average is that high, then you don't need the (0.57 * average), because as you said, your average is already equidistant from MIN and MAX :D
The formula is best used when using average bitrates around ~900 and below, because it "pushes" the CQ curve up because of the higher calculated MIN bitrate.
I still prefer a MAX of 2,000Kbps when using the MA script because I get higher accuracy on prediction ( narrower Min, Max width )

-kwag

Nobody 07-28-2003 06:21 PM

I get it now :cluebat:

Thanks again

- now to out what I learned :D

kinggee 07-29-2003 12:53 AM

i can't seem to get CQMatic RC4 to work :?
tmpgenc just flashes a couple of times for a second and the log says cq is above watermark using cq of 90 8O

RC3 seems to be working fine for me, just wandering if there is a setting i have to change for RC4 :roll:

kwag 07-29-2003 12:57 AM

Quote:

Originally Posted by kinggee
i can't seem to get CQMatic RC4 to work :?
tmpgenc just flashes a couple of times for a second and the log says cq is above watermark using cq of 90 8O

RC3 seems to be working fine for me, just wandering if there is a setting i have to change for RC4 :roll:

Hi kinggee,

Please check your paths, that you dont have any spaces or strange characters in the paths or the file names.

BTW, RC-5 is up!

-kwag

kinggee 07-29-2003 01:08 AM

Quote:

Originally Posted by kwag
Please check your paths, that you dont have any spaces or strange characters in the paths or the file names.

hmm there are no strange characters in the paths :?

Quote:

Originally Posted by kwag
BTW, RC-5 is up!

:D will try now thankyou

kwag 07-29-2003 01:15 AM

What is the full path to your .tpr, and to your output file name in TMPEG :?:

-kwag

kinggee 07-29-2003 01:51 AM

Quote:

Originally Posted by kwag
What is the full path to your .tpr, and to your output file name in TMPEG :?:

C:\Documents and Settings\Ben King\Desktop\KVCD ENCODING TOOLS\DogSoldiers.tpr

Output = C:\Documents and Settings\Ben King\Desktop\KVCD ENCODING TOOLS\DogSoldiers.m1v

now everytime i try to predict it gives a negative file size difference after the initial cq of 60 and jumps and stays on cq 90

kwag 07-29-2003 01:58 AM

Quote:

Originally Posted by kinggee
Quote:

Originally Posted by kwag
What is the full path to your .tpr, and to your output file name in TMPEG :?:

C:\Documents and Settings\Ben King\Desktop\KVCD ENCODING TOOLS\DogSoldiers.tpr

Output = C:\Documents and Settings\Ben King\Desktop\KVCD ENCODING TOOLS\DogSoldiers.m1v

now everytime i try to predict it gives a negative file size difference after the initial cq of 60 and jumps and stays on cq 90

Look at your file names :!:

C:\DocumentsspaceandspaceSettings\BenspaceKing\Desktop\KVCDspaceENCODINGspaceTOOLS\DogSoldiers.tpr

and Output = C:\DocumentsspaceandspaceSettings\BenspaceKing\Desktop\KVCDspaceENCODINGspaceTOOLS\DogSoldiers.m1v

kinggee 07-29-2003 02:02 AM

ohhhhh so a space is not a normal character :oops:

i will fix this up and try again :lol:

thanks :)

kwag 07-29-2003 02:05 AM

kinggee,

The problem is the way TMPEG stores the file names in the project file. When you use very long filenames and paths, it stores them something like this:

'C:\--== DVD RIPPING ==--\Band Of Brothers 10 Teile\Teil 4\bob4.d' + '2v'

Which of course, is an error for any standard windows program trying to open the file :!:

-kwag

kinggee 07-29-2003 02:07 AM

i see :!: 8O

now i understand :)

thanks for the explanation

kwag 07-29-2003 02:08 AM

Quote:

Originally Posted by kinggee
ohhhhh so a space is not a normal character :oops:

Yes it is :!:
It's a space character :lol:

-kwag

kinggee 07-29-2003 02:51 AM

its still not working :bawl:

video source = c:\dogsoldiers\dogsoldiers.avs
output filename = c:\dogsoldiers\dogsoldiers.m1v
tpr path = c:\dogsoldiers\dogsoldiers.tpr

Code:

http://www.kvcd.net
CQMatic Version 1.0 RC-5
Copyright Softronex Corporation, 2003.
All rights reserved.
Time: 17:29:44 Date: 07/29/2003
Ready!
Project: C:\DogSoldiers\DogSoldiers.tpr

Creating: CQMatic.tpr


Execute.
Movie Time: 99
Average Bitrate: 1009
Prediction Only mode
Executing Prediction Phase...
Using CQ of 60.00
Process started at 17:30:03
On 07/29/2003
Encoder started...
Process time: 15.40 minutes.
Encoder end.
File size difference  = -16248719.000000
Last CQ = 60.000000
Current CQ = 90.000000
CQ difference = 30.000000
Using CQ of 90.00
Encoder started...
Process canceled


kwag 07-29-2003 02:54 AM

Hi kinggee,

Send me your .tpr by PM :!:

GetUp 07-29-2003 03:24 AM

Hmm...bad results
 
Ok, my PC just finished encoding movie...
Result: 781 129 659 bytes
Must be: 683.19 Mb....
Too bad. :(
The movie was: Half Past Dead, hi-action movie
Average bitrate: 972
MAX - 2000
MIN - 554
Total lenght - 97 min
Source - DVD
Now I cant fit it to cd, even with 112 kbps sound
CQmatic - version RC-3
Now i try to predict with newest (RC-5) version of CQmatic...

rhino 07-29-2003 03:51 AM

@GetUp:

Was your source DVD in PAL format or NTSC format?

Cheers,

GetUp 07-29-2003 04:16 AM

Quote:

Originally Posted by rhino
@GetUp:

Was your source DVD in PAL format or NTSC format?

Cheers,

NTSC, film

tigger 07-29-2003 05:04 AM

well curious here :

have an 84 min movie, set min=0.57*avg bitrate and max=2000,
predicted and got an cq of 71,89, took 71.

then i changed min to 270, max = 2000, and well the videostream got 659 mb + audio of 115 mb (192kbit) , after muxing the movie has 785 mb so perfect for 1 cd :)

mistermickster 07-29-2003 06:42 AM

@Kwag

So, if I want to encode a sample with my script settings and fave template to check the resulting quality, how do I do it?

Also, do the filters loaded in the optimal script come with Avisynth or are they external?

What sort of figures are passed to the Letterbox and GripCrop filters?

Thnx


All times are GMT -5. The time now is 10:46 AM  —  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.