Quantcast Bitrates: CQmatic/Calcumatic - Page 9 - digitalFAQ.com Forums [Archives]
  #161  
07-23-2003, 06:40 PM
bigggt bigggt is offline
Free Member
 
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
Hi.last night before i went to bed i tried to let cqmatic do a an encode for me and here are the results

MOvie-ice age.avi
Average bitrate-1240
length- 81 minutes
Optimal 2.52 script
kvcd3-528x480

woke up this morning and the encode was at cq 90 and the file size was 899 mb.

This was the first beta release

Did i do something wrong or what

THanx
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #162  
07-23-2003, 08:09 PM
Daagar Daagar is offline
Free Member
 
Join Date: May 2002
Posts: 158
Thanks: 0
Thanked 0 Times in 0 Posts
Kwag,
Used yesterday's beta (pre-1.0) on a cartoon for the kids. Length was 71min, avg bitrate was 1414. Used 2000 MAX and 0.57*1414 for min bitrate in tmpgenc (you need to announce that setting in the 'optimal scripts' section... I didn't know about it until this thread began!). OH, and used the optimal script with the GOP of 15 as recommended for cartoons.

Anyway, CQ predicted 77.87. Final CD length after muxing with audio: 80min 07sec. Requires a 3sec overburn Talk about accurate prediction!
  #163  
07-23-2003, 08:09 PM
fn86 fn86 is offline
Free Member
 
Join Date: May 2003
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Okay kwag... I think I've just found a bug... (It is not the codec!!!!)

My AVI film has 23.976 fps but I encode it as a PAL (like I always do!), that means I have a 352x576 resolution... => it doesn't work (CQMatic doesn't search a correct CQ -> it starts with encoding the film!)
The same AVI film, but now I changed the fps to 25.000! I encode the film as a PAL (352x576) and it works! No problems!!!!

Perhaps you can stop that with a message in CQMatic or something....

Greetz
fn86
  #164  
07-23-2003, 08:18 PM
fn86 fn86 is offline
Free Member
 
Join Date: May 2003
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by kwag
Quote:
Originally Posted by tigger
difference = -1.5476664.000000
Of course
It should have been: 1.5476664.000000 (No sign)
Get the file again.
Same version, but BETA 2a (Fixes the above
www.kvcd.net/cqmatic.exe

Thanks
-kwag
I'm sorry kwag... but now I have exactly that problem...
movie-length: 72 min
  #165  
07-23-2003, 08:48 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 fn86
Okay kwag... I think I've just found a bug... (It is not the codec!!!!)

My AVI film has 23.976 fps but I encode it as a PAL (like I always do!), that means I have a 352x576 resolution... => it doesn't work (CQMatic doesn't search a correct CQ -> it starts with encoding the film!)
The same AVI film, but now I changed the fps to 25.000! I encode the film as a PAL (352x576) and it works! No problems!!!!

Perhaps you can stop that with a message in CQMatic or something....

Greetz
fn86
I don't have any control of how you set your project file in TMPEG. It's your responsibility to set the encoder parameters correctly. That would have been a badly encoded picture anyway, if you had used TMPEG directly without CQMatic
What you set in TMPEG, is what CQMatic will see

-kwag
  #166  
07-23-2003, 08:48 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 fn86
Quote:
Originally Posted by kwag
Quote:
Originally Posted by tigger
difference = -1.5476664.000000
Of course
It should have been: 1.5476664.000000 (No sign)
Get the file again.
Same version, but BETA 2a (Fixes the above
www.kvcd.net/cqmatic.exe

Thanks
-kwag
I'm sorry kwag... but now I have exactly that problem...
movie-length: 72 min
Not with BETA 5
www.kvcd.net/cqmatic-1.0b5.exe

-kwag
  #167  
07-23-2003, 10:36 PM
ozjeff99 ozjeff99 is offline
Free Member
 
Join Date: May 2002
Location: Sydney, Australia
Posts: 159
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Daagar
Kwag,
Used yesterday's beta (pre-1.0) on a cartoon for the kids. Length was 71min, avg bitrate was 1414. Used 2000 MAX and 0.57*1414 for min bitrate in tmpgenc (you need to announce that setti ...
Do the bitrates have to be set like this or are we free to use the standard ones that the templates give?

This prog is the missing link. It's just getting easier and easier. I don't think anyone believes you when you say that you "sleep" Kwag.

Cheers
J
  #168  
07-24-2003, 03:59 AM
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 ozjeff99

Do the bitrates have to be set like this or are we free to use the standard ones that the templates give?
You can probably use any bitrates you want now, but I'm still using the (0.57 * average) for MIN. I'll try the regular MIN=300,MAX=2,500 today, just to verify accuracy.
Quote:

This prog is the missing link. It's just getting easier and easier. I don't think anyone believes you when you say that you "sleep" Kwag.
Sleep what's that

-kwag
  #169  
07-24-2003, 04:01 AM
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 bigggt
Hi.last night before i went to bed i tried to let cqmatic do a an encode for me and here are the results

MOvie-ice age.avi
Average bitrate-1240
length- 81 minutes
Optimal 2.52 script
kvcd3-528x480

woke up this morning and the encode was at cq 90 and the file size was 899 mb.

This was the first beta release

Did i do something wrong or what

THanx
Check your settings again bigggt, because black prince did that movie, and the result was right on the nose

-kwag
  #170  
07-24-2003, 01:45 PM
andybno1 andybno1 is offline
Free Member
 
Join Date: Jul 2002
Location: Liverpool, UK
Posts: 832
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to andybno1 Send a message via Yahoo to andybno1
so how do u find out the average bitrate?
  #171  
07-24-2003, 02:44 PM
J-Wo J-Wo is offline
Free Member
 
Join Date: Nov 2002
Location: Toronto, Canada
Posts: 454
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by andybno1
so how do u find out the average bitrate?
Load your avi or d2v into moviestacker and it's displayed at the bottom of the first tab (below the movie length in seconds).
  #172  
07-24-2003, 02:46 PM
audi2honda audi2honda is offline
Free Member
 
Join Date: Jun 2003
Location: Orange County, CA
Posts: 291
Thanks: 0
Thanked 0 Times in 0 Posts
I thought it was .75*avg bitrate or is it .57*avg bit rate?
  #173  
07-24-2003, 03:17 PM
audioslave audioslave is offline
Free Member
 
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
0.57*average bitrate.
__________________
AudioSlave
  #174  
07-24-2003, 04:22 PM
black prince black prince is offline
Free Member
 
Join Date: Jul 2002
Posts: 1,224
Thanks: 0
Thanked 0 Times in 0 Posts
@Kwag,

CQmatic is doing a great job predicting video filesize, but I wonder about
MovieStacker's audio filesize prediction. I tested the latest CQmatic
on "Pitch Black", movie time = 108 min, KVCDx3 (528x480), average
bitrate = 884, 1 cd (80 min), CQ = 63.47. The encoded video filesize
is 690mb and audio filesize 100mb (estimated by MovieStacker).
Headac3he estimated audio filesize at 89mb. There is a difference of
11mb in audio sizes. Is there a way to adjust MovieStacker's audio
estimates to match Headca3he's Audio was 112 kbs. Video prediction
was very accurate and audio sounds awesome. Video + Audio = 781mb.
Picture quality is great (DVD like).

-bp
  #175  
07-24-2003, 06:42 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
CQMatic 1.0 Release Candidate 1!
http://www.kvcd.net/cqmatic-1.0RC1.exe

Changes:

Fixed:
No more looping trying to find CQ Now you can see the "zeroing in" on target after each pass, which should hit the target much faster than BETA 7 (the last beta of 1.0 branch)
So when you see the CQ difference = 0.X, where X = under 0.25, you know you're close to the end of the prediction prediction

Added:
Now you can double click anywhere on the Log window, and you'll get a message: "Clear contents of Clipboard, and Copy Log to Clipboard? Yes/No
So you know what to do

Now the only thing left before the 1.0 Release, is probably fine tunning the final prediction.

And here's a log of two test movies I just did (prediction only), to verify correct CQ exit point of CQ:

Code:

http://www.kvcd.net
CQMatic Version 1.0 RC-1
Copyright Softronex Corporation, 2003.
All rights reserved.

Ready!
Project: K:\boon.tpr

Creating: CQMatic.tpr

k:\boon.m1v
Execute.
Movie Time: 110
Average Bitrate: 881
Full Encode mode
Execute.
Movie Time: 110
Average Bitrate: 881
Prediction Only mode
Executing Prediction Phase...
Using CQ of 78.87
Encoder started...
Encoder end.
File size difference  = 0.794943
Last CQ = 78.870003
Current CQ = 70.783569
CQ difference = 8.086433
Using CQ of 70.78
Encoder started...
Encoder end.
File size difference  = 0.942504
Last CQ = 70.783569
Current CQ = 66.713806
CQ difference = 4.069763
Using CQ of 66.71
Encoder started...
Encoder end.
CQMatic complete!


Project: K:\boon57.tpr

Creating: CQMatic.tpr

f:\temp\boon57.m1v
Execute.
Movie Time: 57
Average Bitrate: 1814
Prediction Only mode
Executing Prediction Phase...
Using CQ of 50.00
Encoder started...
Encoder end.
File size difference  = 3.094733
Last CQ = 50.000000
Current CQ = 90.000000
CQ difference = 40.000000
Using CQ of 90.00
Encoder started...
Encoder end.
File size difference  = 1.292624
CQ ABOVE watermark. CQ set to 90.0
Using CQ of 90.00
CQMatic complete!


-kwag
  #176  
07-24-2003, 08:02 PM
DKruskie DKruskie is offline
Free Member
 
Join Date: May 2003
Location: Michigan
Posts: 147
Thanks: 0
Thanked 0 Times in 0 Posts
When doing the settings in tmpeg, what do we use for the min and max bitrates, or do we leave those alone.


David
  #177  
07-24-2003, 08: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 DKruskie
When doing the settings in tmpeg, what do we use for the min and max bitrates, or do we leave those alone.


David
MAX = 2,000Kbps.
MIX = 0.57 * Average Bitrate

You get the average bitratee from Moviestacker (or any other bitrate calculator)

-kwag
  #178  
07-24-2003, 08:09 PM
DKruskie DKruskie is offline
Free Member
 
Join Date: May 2003
Location: Michigan
Posts: 147
Thanks: 0
Thanked 0 Times in 0 Posts
Ok just like we are doing in Tok. I was using the avg bitrate from moviestacker as the min, thats why I couldnt get a descent CQ


David
  #179  
07-24-2003, 08:36 PM
bigggt bigggt is offline
Free Member
 
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
I did a prediction again on ice age(avi) again and am having the same problem

here is the log

Quote:
http://www.kvcd.net
CQMatic Version 1.0 RC-1
Copyright Softronex Corporation, 2003.
All rights reserved.

Ready!
Project: C:\Temp Videos\ice.tpr

Creating: CQMatic.tpr

C:\ice.m1v
Execute.
Movie Time: 81
Average Bitrate: 1240
Prediction Only mode
Executing Prediction Phase...
Using CQ of 70.00
Encoder started...
Encoder end.
File size difference = 1.498779
Last CQ = 70.000000
Current CQ = 90.000000
CQ difference = 20.000000
Using CQ of 90.00
Encoder started...
Encoder end.
File size difference = 0.849163
Last CQ = 90.000000
Current CQ = 76.424667
CQ difference = 13.575333
Using CQ of 76.42
Encoder started...
Encoder end.
File size difference = 1.228061
CQ ABOVE watermark. CQ set to 90.0
Using CQ of 90.00
CQMatic complete!
With a cq of 90 it makes the file 899 mb

whats going on

Edit-just ran the same avs through Tok and it gave me this
Quote:
================================================== ===========
ToK Log: C:\Temp Videos\ice.avs
================================================== ===========

Resolution (fps):528x480 (23.976 fps)
Total Frames: 116870
Total Time : 01:21:14
-------------------------------------------------------------

Audio Size: 68,236,000
Required Video Size: 750,964,000

Factor: 59.940
Desired Sample Size: 12,528,596

-------------------------------------------------------------
New Faster Prediction
-------------------------------------------------------------

Full Sample
Next CQ: 70.000. Sample Size: 7,955,165
Small Sample
Next CQ: 70.000. Sample Size: 670,468
Predicting...
NextCQ: 110.243 >=90, so check is needed
Next CQ: 90.000
Sample Size: 14,250,498

Next CQ: 79.125. Sample Size: 10,564,536
Next CQ: 84.741. Sample Size: 14,107,915
Next CQ: 82.086. Sample Size: 13,177,502
Next CQ: 80.978. Sample Size: 12,556,922

Exit Condition: 0.500 % reached ! yahoo !
Tries : 5


Final CQ: 80.978
Total Time For Predicition: 00:21:51

  #180  
07-24-2003, 09:02 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 bigggt

With a cq of 90 it makes the file 899 mb

whats going on
Hi bigggt,

Let me try an avi here, and see if I can reproduce your problem
I did a 57 minute (.d2v) and it predicted correctly without errors, but I haven't tried an avi. And I do see something strange there in your log, that it jumped to 90 initially, but then I see a 76.42 there in the end, so It should have predicted again at around that value, and not lock and encode at 90. I'll take a look at that now. Let me scratch my hard drive and see if I can find an avi If not, I'll encode one

-kwag
Closed Thread




Similar Threads
Thread Thread Starter Forum Replies Last Post
Bitrates: CQMatic and CalcuMatic now Open Source! kwag Video Encoding and Conversion 18 07-12-2008 06:13 AM
Bitrates: Latest CQMatic/CalcuMatic epuleda Video Encoding and Conversion 2 05-25-2006 09:54 PM
Bitrates: CQMatic/CalcuMatic Continued... kwag Video Encoding and Conversion 125 12-30-2005 11:55 PM
Bitrates: CQMatic/Calcumatic? Blubear Video Encoding and Conversion 6 07-17-2004 08:53 PM
Bitrates: Success (CQMatic & CalcuMatic) jorel Video Encoding and Conversion 10 10-25-2003 08:00 PM

Thread Tools



 
All times are GMT -5. The time now is 05:48 AM  —  vBulletin Jelsoft Enterprises Ltd