Quantcast Bitrates: CQmatic/Calcumatic - Page 20 - digitalFAQ.com Forums [Archives]
  #381  
08-05-2003, 11:41 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 J-Wo
Kwag:

Any particular reason why 1.1.x always starts prediction at CQ 60?
Yes. It has to do with the linearity range of CQ, and makes the following CQ values easier to calculate.

-kwag
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #382  
08-05-2003, 11:45 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 J-Wo
Well we'll wait for the reply from the almighty above (i.e. KWAG!) but I think it would be nice if there was an Advanced Options button that would let us chose the starting CQ or other such advanced things.
I'll add a "CQ Override" check option for the next rev
But remember: Use it at your own risk

-kwag
  #383  
08-06-2003, 07: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
Good morning people
Let's start the day with more new stuff
http://www.kvcd.net/CQMatic-1.1.02.exe

Changes:
First of all, forget DivX predictions from this release, and on.
The new sampling is now One snapshot every 5 seconds, with a time slot of 0.0833 second each. This provides a very fine grained sample of the material to be encoded, at the cost of longer prediction. There's just no way around it
The current sampling stresses SO MUCH the DivX (XviD) CODECS, that renders prediction useless on these types of materials. With MPEG-1 or MPEG-2, this behaviour is not seen. It's a problem related to "seeking" random frames in MPEG-4 CODECS. So, bye bye MPEG-4, as far as prediction goes, until future versions of those CODECS are revised for faster random access.
I've added an "Interlaced" hack, that takes into consideration if the source is 29.97fps interlaced. I've only tested it on one Video ("Styx - Back to Paradise") and the CQ was right on target. I don't have any other Video DVDs, so I can't test it any further. Your testing is greatly appreciated

If the source is Interlaced, and you are using TMPEG to deinterlace, the "Interlace" checkbox will auto detect, and will be checked automatically. If you are using an external deinterlacer ( Bob(), FiledDeinterlace(), etc. ), then you must manually "check" this option. This applies ONLY to interlaced sources.

I've also added a "Override Default CQ" for prediction. If you "check" this option, CQMatic will use whatever CQ you set in your project (.tpr) file. If you leave it "unchecked" (default), CQMatic will use it's own (recommended) starting CQ/CQ_VBR value for prediction.

Have fun
And please, report EVERYTHING (good or bad), so I can keep pushing this forward, and tune it in the right direction.

-kwag
  #384  
08-06-2003, 07:11 AM
Krassi Krassi is offline
Free Member
 
Join Date: Mar 2003
Location: Germany
Posts: 390
Thanks: 0
Thanked 0 Times in 0 Posts
Thx Kwag,

which bitrate calculator are you using
What is your recommended resolution
Prediction is currently running...
  #385  
08-06-2003, 08:35 AM
Krassi Krassi is offline
Free Member
 
Join Date: Mar 2003
Location: Germany
Posts: 390
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Krassi
Prediction is currently running...
Quote:
http://www.kvcd.net
CQMatic Version 1.1.02
Copyright Softronex Corporation, 2003.
All rights reserved.
Time: 14:07:29 Date: 08/06/2003
Ready!
Project: CQMatic.tpr

Creating: CQMatic.tpr

CQMatic.m1v
Execute.
Movie Time: 23
Average Bitrate: 1111
Full Encode mode
Executing Prediction Phase...
Process started at 14:08:00
On 08/06/2003
CQ set for prediction
Interlaced Source Correction
Setting up initial sampling.
Using CQ of 60.00
Prediction cycle #1
Encoder started...
Process time: 3.62 minutes.
Encoder end.
File size difference = 0.936205
Low fence: 2.000000
High fence: 60.000000
Last CQ = 60.00
Current CQ = 56.17
CQ difference = 3.827682
Using CQ of 56.17
Prediction cycle #2
Encoder started...
Process time: 3.32 minutes.
Encoder end.
File size difference = 0.938624
Low fence: 2.000000
High fence: 56.172318
Last CQ = 56.17
Current CQ = 52.72
CQ difference = 3.447617
Using CQ of 52.72
Prediction cycle #3
Encoder started...
Process time: 3.03 minutes.
Encoder end.
File size difference = 0.940137
Low fence: 2.000000
High fence: 52.724701
Last CQ = 52.72
Current CQ = 49.57
CQ difference = 3.156269
Using CQ of 49.57
Prediction cycle #4
Encoder started...
Process time: 2.77 minutes.
Encoder end.
File size difference = 0.948146
Low fence: 2.000000
High fence: 49.568432
Last CQ = 49.57
Current CQ = 47.00
CQ difference = 2.570309
Using CQ of 47.00
Prediction cycle #5
Encoder started...
Process time: 3.15 minutes.
Encoder end.
File size difference = 0.948767
Low fence: 2.000000
High fence: 46.998123
Last CQ = 47.00
Current CQ = 44.59
CQ difference = 2.407852
Using CQ of 44.59
Prediction cycle #6
Encoder started...
Process time: 3.13 minutes.
Encoder end.
File size difference = 0.959920
Low fence: 2.000000
High fence: 44.590271
Last CQ = 44.59
Current CQ = 42.80
CQ difference = 1.787186
Using CQ of 42.80
Prediction cycle #7
Encoder started...
Process time: 3.00 minutes.
Encoder end.
File size difference = 0.960644
Low fence: 2.000000
High fence: 42.803085
Last CQ = 42.80
Current CQ = 41.12
CQ difference = 1.684563
Using CQ of 41.12
Prediction cycle #8
Encoder started...
Process time: 2.95 minutes.
Encoder end.
File size difference = 0.960416
Low fence: 2.000000
High fence: 41.118523
Last CQ = 41.12
Current CQ = 39.49
CQ difference = 1.627621
Using CQ of 39.49
Prediction cycle #9
Encoder started...
Process time: 2.80 minutes.
Encoder end.
File size difference = 0.976915
Low fence: 2.000000
High fence: 39.490902
Last CQ = 39.49
Current CQ = 38.58
CQ difference = 0.911667
Using CQ of 38.58
Prediction cycle #10
Encoder started...
Process time: 2.75 minutes.
Encoder end.
File size difference = 0.977303
Low fence: 2.000000
High fence: 38.579235
Last CQ = 38.58
Current CQ = 37.70
CQ difference = 0.875648
Using CQ of 37.70
Prediction cycle #11
Encoder started...
Process time: 2.93 minutes.
Encoder end.
File size difference = 0.977702
Low fence: 2.000000
High fence: 37.703587
Last CQ = 37.70
Current CQ = 36.86
CQ difference = 0.840721
Using CQ of 36.86
Prediction cycle #12
Encoder started...
Process time: 2.83 minutes.
Encoder end.
File size difference = 0.976231
Low fence: 2.000000
High fence: 36.862865
Last CQ = 36.86
Current CQ = 35.99
CQ difference = 0.876190
Using CQ of 35.99
Prediction cycle #13
Encoder started...
Process time: 2.85 minutes.
Encoder end.
File size difference = 0.976640
Low fence: 2.000000
High fence: 35.986675
Last CQ = 35.99
Current CQ = 35.15
CQ difference = 0.840652
Using CQ of 35.15
Prediction cycle #14
Encoder started...
Process time: 2.73 minutes.
Encoder end.
File size difference = 0.989176
Low fence: 2.000000
High fence: 35.146023
Last CQ = 35.15
Current CQ = 34.77
CQ difference = 0.380428
Using CQ of 34.77
Prediction cycle #15
Encoder started...
Process time: 2.78 minutes.
Encoder end.
File size difference = 0.991475
Low fence: 2.000000
High fence: 34.765594
Last CQ = 34.77
Current CQ = 34.47
CQ difference = 0.296379
Using CQ of 34.47
Prediction cycle #16
Encoder started...
Process time: 2.97 minutes.
Encoder end.
File size difference = 0.991604
Low fence: 2.000000
High fence: 34.469215
Last CQ = 34.47
Current CQ = 34.18
CQ difference = 0.289394
Using CQ of 34.18
Prediction cycle #17
Encoder started...
Process time: 2.72 minutes.
Encoder end.
File size difference = 0.991731
Low fence: 2.000000
High fence: 34.179821
Last CQ = 34.18
Current CQ = 33.90
CQ difference = 0.282627
Using CQ of 33.90
Prediction cycle #18
Encoder started...
Process time: 2.72 minutes.
Encoder end.
File size difference = 0.991840
Low fence: 2.000000
High fence: 33.897194
Last CQ = 33.90
Current CQ = 33.62
CQ difference = 0.276600
Using CQ of 33.62
Prediction cycle #19
Encoder started...
Process time: 2.70 minutes.
Encoder end.
File size difference = 0.991968
Low fence: 2.000000
High fence: 33.620594
Last CQ = 33.62
Current CQ = 33.35
CQ difference = 0.270031
Using CQ of 33.35
Prediction cycle #20
Encoder started...
Process time: 2.70 minutes.
Encoder end.
File size difference = 0.992078
Low fence: 2.000000
High fence: 33.350563
Last CQ = 33.35
Current CQ = 33.09
CQ difference = 0.264198
Using CQ of 33.09
Prediction cycle #21
Encoder started...
Process time: 2.68 minutes.
Encoder end.
File size difference = 0.992189
Low fence: 2.000000
High fence: 33.086365
Last CQ = 33.09
Current CQ = 32.83
CQ difference = 0.258450
Using CQ of 32.83
Prediction cycle #22
Encoder started...
Process time: 2.70 minutes.
Encoder end.
File size difference = 0.992295
Low fence: 2.000000
High fence: 32.827915
Last CQ = 32.83
Current CQ = 32.57
CQ difference = 0.252949
Using CQ of 32.57
Prediction cycle #23
Encoder started...
Process time: 2.68 minutes.
Encoder end.
File size difference = 0.991030
Low fence: 2.000000
High fence: 32.574966
Last CQ = 32.57
Current CQ = 32.28
CQ difference = 0.292183
Using CQ of 32.28
Prediction cycle #24
Encoder started...
Process time: 2.68 minutes.
Encoder end.
File size difference = 0.989589
Low fence: 2.000000
High fence: 32.282784
Last CQ = 32.28
Current CQ = 31.95
CQ difference = 0.336084
Using CQ of 31.95
Prediction cycle #25
Encoder started...
Process time: 2.68 minutes.
Encoder end.
File size difference = 0.988306
Low fence: 2.000000
High fence: 31.946699
Last CQ = 31.95
Current CQ = 31.57
CQ difference = 0.373581
Using CQ of 31.57
Prediction cycle #26
Encoder started...
Process time: 2.72 minutes.
Encoder end.
File size difference = 0.989332
Low fence: 2.000000
High fence: 31.573118
Last CQ = 31.57
Current CQ = 31.24
CQ difference = 0.336823
Using CQ of 31.24
Prediction cycle #27
Encoder started...
Process time: 2.72 minutes.
Encoder end.
File size difference = 0.994405
Low fence: 2.000000
High fence: 31.236296
Last CQ = 31.24
Current CQ = 31.06
CQ difference = 0.174770
Encoding set to Full encode.
Full encode start...
CQMatic complete!
Total minutes of process: 77.35
Process ended at 15:25:21
On 08/06/2003
CQ seems to be a bit low, but i'll do a full encode to see if its hitting target.
  #386  
08-06-2003, 08:40 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
Remember this: Finding CQ will ALWAYS take a long time when the values are below 50, because there is almost no file size change for a change in CQ value. Same applies above 80. The fastest results will be between CQ of ~50 to ~75. There's just no way around it
Look at the File size difference = xxxxx. There's almost no change, for a change in CQ.

-kwag
  #387  
08-06-2003, 08:42 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 Krassi
CQ seems to be a bit low, but i'll do a full encode to see if its hitting target.
What is your target size
  #388  
08-06-2003, 08:53 AM
Krassi Krassi is offline
Free Member
 
Join Date: Mar 2003
Location: Germany
Posts: 390
Thanks: 0
Thanked 0 Times in 0 Posts
Sure. I don't have any problem with long prediction cycles, for me its more important whats coming out

My target size is 188 MB.
  #389  
08-06-2003, 09:04 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 Krassi
Sure. I don't have any problem with long prediction cycles, for me its more important whats coming out
Me too
Quote:

My target size is 188 MB.
Ok, that's what I thought, based on you numbers. Let me know the final size, as I see that your source is interlaced.

-kwag
  #390  
08-06-2003, 09:17 AM
Bchteam Bchteam is offline
Free Member
 
Join Date: Jan 2003
Posts: 275
Thanks: 0
Thanked 0 Times in 0 Posts
Will the CQ be affected by the Video Source Type ?

I mean, if I set the Video Source Type in TMPGEnc to interlaced instead of Non-interlaced (Progressive) will the CQ be smaller or bigger ? And if yes, will the difference be considerable ?

And will the video quality be affected, if I set the Video Source Type to interlaced, even if the source isn't interlaced ?
  #391  
08-06-2003, 09:27 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 Bchteam
Will the CQ be affected by the Video Source Type ?

I mean, if I set the Video Source Type in TMPGEnc to interlaced instead of Non-interlaced (Progressive) will the CQ be smaller or bigger ? And if yes, will the difference be considerable ?

And will the video quality be affected, if I set the Video Source Type to interlaced, even if the source isn't interlaced ?
If you set the source in TMPEG to interlaced, but your real source is not interlaced, you'll throw off the prediction formula completely
CQMatic will assume the source is interlaced, and use some internal correction factors. So your file size will be way off

-kwag
  #392  
08-06-2003, 09:42 AM
totonho03 totonho03 is offline
Free Member
 
Join Date: Apr 2003
Location: Fallston, MD. USA
Posts: 419
Thanks: 0
Thanked 0 Times in 0 Posts
Good morning folks:

This is my daily report, but I can see that it is already obsolete. Well not quite, because I still have the 64,000 pesos question....... Why is Moviestacker given me the erroneous film length?...Am I the only one having this problem? Just for fun, next time you guys run dvd2av1 and moviestacker, please compare the time you see in dvd2avi (audio time stamp) to the time given by Moviestacker. Thanks

The encoding finished earlier today, and actually I am not going to post the log, but the file size is still large. The file size of the M1V is now 978,573 KB, which is a heck of a lot better than the 1.2+Giga, but far from my target, which is about 700 MB (Moviestacker number)
As mentioned before, when I changed moviestacker to the proper time (from 97 to 120 minutes), the average bitrange also changed, it went down, from ~ 1000 kbps to 780 kbps, so the next logical question is, if the average bitrate goes down, would the final M1V file go down as well? If the answer is yes, then perhaps I will reach target on my next test. I will run the new CQmatic and post the results of it, but the file size will be seeig manana........If TMPGenc would improve its encoding speed it would be great (Yes, I know, I can always purchase a 2 gig machine, but........)

Thanks

Totonho03

Thanks

Totonho03
  #393  
08-06-2003, 09:43 AM
Bchteam Bchteam is offline
Free Member
 
Join Date: Jan 2003
Posts: 275
Thanks: 0
Thanked 0 Times in 0 Posts
@ Kwag

I think you didn't understand what i meant (presumeably because of my primitive english)

I'll try to explain it in really easy way:

I have a not interlaced source with 1000 Frames and I encode it with CQ 50 in TMPGEnc with the Video Source Type set to "interlaced". Will the Size of that clip be bigger or smaller than the same clip with the same CQ and the same framecount with Video Source type set to "Non-interlaced (Progressive) ?
  #394  
08-06-2003, 10:07 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 Bchteam

I'll try to explain it in really easy way:

I have a not interlaced source with 1000 Frames and I encode it with CQ 50 in TMPGEnc with the Video Source Type set to "interlaced". Will the Size of that clip be bigger or smaller than the same clip with the same CQ and the same framecount with Video Source type set to "Non-interlaced (Progressive) ?
Your file size will be identical

-kwag
  #395  
08-06-2003, 10:21 AM
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
just wonderin is there a possibility u could add a function that gets the average bitrate like in moviestacker??
  #396  
08-06-2003, 10:23 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 andybno1
just wonderin is there a possibility u could add a function that gets the average bitrate like in moviestacker??
That's what the little "calculator" icon is there for
It will be integrated in version 2.0

-kwag
  #397  
08-06-2003, 10:53 AM
OBK OBK is offline
Free Member
 
Join Date: Aug 2003
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to OBK
When i'm using other max and min values, eg. min=300 and max=3300,
won't the prediction be so accurate or will the final size be out of range?
Where are the differents beetween max.=2000 and 3300???
  #398  
08-06-2003, 11:14 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 OBK
When i'm using other max and min values, eg. min=300 and max=3300,
won't the prediction be so accurate or will the final size be out of range?
Where are the differents beetween max.=2000 and 3300???
Hi OBK,

The way CQMatic predicts, it might just solve the old prediction problems, where we had to tighten the MIN/MAX in order to achieve better accuracy.
Because of the way the new prediction in 1.1.02 works, it might not be necessary to restrict the bitrates
I haven't tested that, but thinking about it, CQM takes so many samples per minute, that you might be able to use any bitrates you want, and still maintain accuracy. You're going to have to try it out yourself
As far as max of 2,000 and 3,300, the higher you go, the better the quality and but also the larger the file size.

-kwag
  #399  
08-06-2003, 11:57 AM
nicksteel nicksteel is offline
Free Member
 
Join Date: Nov 2002
Posts: 863
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by kwag
Quote:
Originally Posted by Bchteam
Will the CQ be affected by the Video Source Type ?

I mean, if I set the Video Source Type in TMPGEnc to interlaced instead of Non-interlaced (Progressive) will the CQ be smaller or bigger ? And if yes, will the difference be considerable ?

And will the video quality be affected, if I set the Video Source Type to interlaced, even if the source isn't interlaced ?
If you set the source in TMPEG to interlaced, but your real source is not interlaced, you'll throw off the prediction formula completely
CQMatic will assume the source is interlaced, and use some internal correction factors. So your file size will be way off

-kwag
I am using Telecide()/Decimate() with DVD2AVI non-ForceFilm output with KDVDfull. Should I check or not check "Interlaced Source" on Version 1.1.02?
  #400  
08-06-2003, 11:58 AM
OBK OBK is offline
Free Member
 
Join Date: Aug 2003
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to OBK
It sounds better and better!

Quote:
As far as max of 2,000 and 3,300, the higher you go, the better the quality and but also the larger the file size.
But when predicting in two different max bitrates the final size should
be the same, only the CQ changes, or am I wrong?

Thanks, OBK!
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 02:04 AM  —  vBulletin © Jelsoft Enterprises Ltd