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)

kwag 08-05-2003 03:07 AM

Great :D

Let me know if the results are any good, so I can either celebrate, or hang myself :lol:

-kwag

Krassi 08-05-2003 04:11 AM

Quote:

Originally Posted by kwag
or hang myself :lol:

Nooooooooo :mrgreen:

Here are the results:
Code:

Wanted video file size: 188 MB, final size with CQMatic 193 MB.
I think thats really good for that small sample size :D Only 2.6 % off target.
I'll test this later with a bigger source.
Thanks Kwag :!:

Bchteam 08-05-2003 04:53 AM

Yesterday I encoded the Movie "May" with a CQ of 63,6. The target Size was 726 MB and the encoded file size was 669 MB. A huge difference of 57 MB. Now, I made a new prediction with CQMatic 1.1.0-Pre-Release-2. The new CQ was 70,13, but then I saw, that Kwag already released CQMatic-1.1.01. So I decided to predict the CQ again for that Movie, but the result with Version 1.1.01 was only 62,82, that's lower than the CQ, which gave a file, that was 57 MB too small.

I hope y'all understood me.

Krassi 08-05-2003 07:29 AM

Hey Kwag,

i did another prediction and full encode with another resolution on the same source (544x576, before it was 704x576). The resulting vido file is bigger:
229 MB :!:
Here's the log:
Code:

http://www.kvcd.net
CQMatic Version 1.1.00
Copyright Softronex Corporation, 2003.
All rights reserved.
Time: 12:24:18 Date: 08/05/2003
Ready!
Project: CQMatic_544.tpr

Creating: CQMatic.tpr

KATE_544_ohne_Filter.m1v
Execute.
Movie Time: 23
Average Bitrate: 1111
Full Encode mode
Executing Prediction Phase...
Process started at 12:24:31
On 08/05/2003
CQ set for prediction
Setting up initial sampling.
Using CQ of 60.00
Encoder started...
Process time: 1.83 minutes.
Encoder end.
File size difference  = 1.020909
Low fence: 60.000000
High fence: 90.000000
Last CQ = 60.00
Current CQ = 61.25
CQ difference = 1.254543
Using CQ of 61.25
Encoder started...
Process time: 1.48 minutes.
Encoder end.
File size difference  = 1.019175
Low fence: 61.254543
High fence: 90.000000
Last CQ = 61.25
Current CQ = 62.43
CQ difference = 1.174530
Using CQ of 62.43
Encoder started...
Process time: 1.67 minutes.
Encoder end.
File size difference  = 1.016423
Low fence: 62.429073
High fence: 90.000000
Last CQ = 62.43
Current CQ = 63.45
CQ difference = 1.025280
Using CQ of 63.45
Encoder started...
Process time: 1.75 minutes.
Encoder end.
File size difference  = 0.962007
Low fence: 62.429073
High fence: 63.454353
Last CQ = 63.45
Current CQ = 62.94
CQ difference = 0.512642
Using CQ of 62.94
Encoder started...
Process time: 1.87 minutes.
Encoder end.
File size difference  = 0.987162
Low fence: 62.429073
High fence: 62.941711
Last CQ = 62.94
Current CQ = 62.43
CQ difference = 0.512638
Using CQ of 62.43
Encoder started...
Process time: 2.03 minutes.
Encoder end.
File size difference  = 1.016423
Low fence: 62.429073
High fence: 62.941711
Last CQ = 62.43
Current CQ = 62.69
CQ difference = 0.256321
Using CQ of 62.69
Encoder started...
Process time: 1.70 minutes.
Encoder end.
Encoding set to Full encode.
Full encode start...
CQMatic complete!
Total minutes of process: 12.35
Process ended at 12:36:52
On 08/05/2003

Is prediction resolution-dependant :?:

J-Wo 08-05-2003 10:42 AM

Quote:

Originally Posted by J-Wo
Here's my results for a 91 min movie, avg bitrate 1078 (from moviestacker). Script used was your MA from July 8, 528x480

Wanted file size: 728,194,990 bytes (from moviestacker)
Encoded file size: 749,221,556 bytes (2.89% over)

Vcalc reports an avg bitrate of 1008 (that's using 1024k and no MS precision), so I'll see in the morning if that gives me a more accurate file size.

Okay, so here are my results using VCALC as bitrate calculator vs. moviestacker

Wanted file size: 728,194,990 bytes (from moviestacker)
Encoded file size: 700,923,158 bytes (3.74% under)

So it looks like, at least in this particular case, I need to fiddle around with some settings in vcalc to get an avg. bitrate somewhere between the two programs. I'm currently setting MS precision to 0.74, giving me an avg bitrate now of 1044. It'd be my hope that finding the right avg. bitrate to use would solve all our prediction problems, but somehow I think that's asking for too much! BTW I am encoding in MPEG-2 for this movie.

J-Wo 08-05-2003 12:44 PM

There you have it, 0.38% precision!

Wanted file size: 728,194,990 bytes (from moviestacker)
Encoded file size: 725,391,333 bytes

Again, this was using vcalc as bitrate calculator, set at 1024k and an MS precision of 0.74. I'm going to try some other dvd sources and see if these settings are consistent!

totonho03 08-05-2003 01:22 PM

Hello kwag:
I run the new CQmatic version 1.1.01, and it gve me the following results:

Quote:

http://www.kvcd.net
CQMatic Version 1.1.01
Copyright Softronex Corporation, 2003.
All rights reserved.
Time: 13:07:16 Date: 08/05/2003
Ready!
Project: F:\DVDProjects\CQMATIC\tmpgenc\Output\tearskwag15. tpr
Creating: CQMatic.tpr
F:\DVDProjects\CQMATIC\tmpgenc\Output\kwagtest 1011.m1v
Execute.
Movie Time: 80
Average Bitrate: 941
Prediction Only mode
Executing Prediction Phase...
Process started at 13:07:57
On 08/05/2003
CQ set for prediction
Setting up initial sampling.
Using CQ of 60.00
Prediction cycle #1
Encoder started...
Process time: 6.70 minutes.
Encoder end.
File size difference = 1.055695
Low fence: 60.000000
High fence: 90.000000
Last CQ = 60.00
Current CQ = 63.34
CQ difference = 3.341698
Using CQ of 63.34
Prediction cycle #2
Encoder started...
Process time: 6.65 minutes.
Encoder end.
File size difference = 1.009376
Low fence: 63.341698
High fence: 90.000000
Last CQ = 63.34
Current CQ = 63.94
CQ difference = 0.593903
Using CQ of 63.94
Prediction cycle #3
Encoder started...
Process time: 6.77 minutes.
Encoder end.
File size difference = 0.986230
Low fence: 63.341698
High fence: 63.935600
Last CQ = 63.94
Current CQ = 63.64
CQ difference = 0.296951
Using CQ of 63.64
Prediction cycle #4
Encoder started...
Process time: 6.70 minutes.
Encoder end.
File size difference = 0.997244
Low fence: 63.341698
High fence: 63.638649
Last CQ = 63.64
Current CQ = 63.46
CQ difference = 0.175404
CQMatic complete!
Total minutes of process: 26.82
Process ended at 13:34:46
On 08/05/2003
Two things worth noting:
1.- The process time was shorter than the previous version
2.- The final CQ here is 63.46, this compares to 64.31 obtained previously.
3.- Settings run on both tests were similar........

totonho03 08-05-2003 02:31 PM

Is there something wrong w/Moviestacker?
 
Gentlemen:

I have been encoding with CQmatic several times, and not once did I hit the right number. While trying to resolve this problem, I noticed that the length of the video, was erroneously given by Moviestacker. How did I determined that moviestacker was erroneous?
Sr. Kwag advised that I should re-do dvd2avi, and I did. Except that this time, I recorded the time stamp given by the audio window within dvd2av1, and these were the results:
1.- Audio dvd2avi time stamp: 2:00:55
2.- Moviestacker time in minutes: 95 minutes 46 seconds.
3.- Tmpgenc time stamp: 2:00:55 (checking it via avi :D )
4.- Power Play time stamp: 2:00

Any ideas why this is happening? Has anyone noticed this difference in time between Moviestacker and dvd2av1?
On my next encode I will use the dvd2avi time stamp, that appears to be more accurate than Moviestacker.

Thanks

Totonho03

kwag 08-05-2003 02:35 PM

Hi Totonho03,

This happened to me once, and it cleared after I did the .d2v again.
If moviestacker reads an incorrect number of minutes, it will then give you an incorrect average bitrate, which will throw off CQMatic completely :!:

-kwag

totonho03 08-05-2003 02:57 PM

Hi kwag:
Thank you for your response. I uninstalled moviestacker, re-installed again, and it keeps on given me 97 minutes, while dvd2avi, which was also re-run, gave me 120 minutes.
WHY ME????? :cry:

I will run CQmatic using the new time and will post the results.

Regards

Totonho03

kwag 08-05-2003 03:02 PM

Hi Totonho03,

Try DVD2AVI 1.77.3 :idea:

-kwag

totonho03 08-05-2003 04:40 PM

Hello Kwag:

I have run CQmatic with a different time length, and it gave me a lower CQ, which was what I expected to see. The new run now looks like this:

Quote:

http://www.kvcd.net
CQMatic Version 1.1.01
Copyright Softronex Corporation, 2003.
All rights reserved.
Time: 16:09:21 Date: 08/05/2003
Ready!
Project: F:\DVDProjects\CQMATIC\tmpgenc\Output\tearstest2.t pr

Creating: CQMatic.tpr

F:\DVDProjects\CQMATIC\tmpgenc\Output\tearstest2.m 1v
Execute.
Movie Time: 120
Average Bitrate: 941
Prediction Only mode
Executing Prediction Phase...
Process started at 16:10:21
On 08/05/2003
CQ set for prediction
Setting up initial sampling.
Using CQ of 60.00
............................
File size difference = 0.997388
Low fence: 2.000000
High fence: 57.013039
Last CQ = 57.01
Current CQ = 56.86
CQ difference = 0.148895
CQMatic complete!
Total minutes of process: 37.57
Process ended at 16:47:55
On 08/05/2003
I will run the encoder later on tonight, and will have an answer tomorrow.

As suggested, I did try dvd2avi 1.77.3 , and it gave me the same time as before, that is 2:00:55, then I loaded the outpu of dvd2avi into Moviestacker, and it gave me the same 97 minutes as before.
Now, I manually changed moviestacker's minutes and seconds to match what I was seeing with dvd2avi, and in doing so, the average rate changed, instead of the 1005 number that I was getting with the 97 minutes movie, I am now getting 779, when manually changing the 97 minutes to 120.
So now I have another variable to worry about. I suppose that the average rate that I should be using is going to be 779, and not 1005. Does this make sense?
Should I run my next encoding test with the higher movie length and lower average number? I guess that the answer to this question is yes.

But the 64,000 pesos question is Why is Moviestacker behaving like this? Meaning given me the wrong time?......Only the shadow knows..................

Regards

Totonho

black prince 08-05-2003 06:30 PM

@totonho03,

Is this a avi problem only or is DVD effected also???

-bp

totonho03 08-05-2003 08:56 PM

Hello bp:

If I understood your question, the files that I am using are coming from a DVD via decrypter. Then I feed the output of dvd2avi, to Moviestacker. I have tried dvd2avi v 1.76, and v.1.773, and both versions are given me the same video lenght, that is 120 minutes, while moviestacker is telling me that the film is only 97 minutes.

Thanks

Totonho03

J-Wo 08-05-2003 10:26 PM

Kwag:

Any particular reason why 1.1.x always starts prediction at CQ 60? I can understand that you might want to do this for the sake of consistency between prediction runs, but sometimes when I'm trying to fool around with different script changes it helps to start at a CQ closer to what I expect it to be.

vhelp 08-05-2003 10:44 PM

Hi all..

Quote:

Any particular reason why 1.1.x always starts prediction at CQ 60? I can understand that you might want to do this for the sake of consistency between prediction runs, but sometimes when I'm trying to fool around with different script changes it helps to start at a CQ closer to what I expect it to be.
Actually, that's not a bad idea.. enabling an optional feature for a user to
input a CQ starting value, and go (calculate/predict) from their.

But, on the other hand, this idea may not flow right w/in the param of Kwag's
prediction algorithem and calculations of things :roll:

At best, what I do is save my .tpr projects w/ an initial CQ value of 50. I
have ben assuming that CQM's process included some form of starting point
"based" on MY value for CQ. Perhaps I'm wrong, in any event :roll:

-vhelp

audi2honda 08-05-2003 10:47 PM

It used to include a starting point but in the latest release kwag has overridden that value for whatever reason. **A good one I'm sure** but i agree it would be nice to set your own starting value because most times you have a general idea where CQ will end up so it cuts down on prediction time.

vhelp 08-05-2003 10:56 PM

.
.
and, also to add here.. that the one key focus w/ CQM is the Automation
of the whole process. If memory serves me correctly, CQM's main intent
was to do it all w/ out the user's intervention (hence, tainting) of anything
that would impead, hamper, or invalidate an as accurate a prediction as
possible. Hope that made sense :roll:

Yes, a design for beginner, newbies, or even pro users.. it's for all.

Basically, a point and click process, w/ minimal user intervention 8) hence,
the Matic of things ( autoMatic, that is :wink: )

It'll all be interesting to see the final "un-vailing" of the process (start to finish)
though :!:

-vhelp

vhelp 08-05-2003 11:08 PM

.
.
ok, I wasn't finished in thought :roll:

.
.
Personally, I like a little room-play for scenarios.
I'm also an automaic kind of guy too - I like to streamline anything and
everything that is doable, BUT sometimes, I just like to tinker a bit w/ some
what-ifs and things.. you know! That's partly why I designed vcalc in the
way it is today.. tweakable, and to be a little on the edge, so to speak.
maybe this is a form of suggestion for CQM, or not.

On the other hand, it would also be interesting to see how CQM stacks up to
a FAST system, that can encode a 90+ min in an hours time.. point, click
and burn (PCB) !!
We shall see :roll:

-vhelp

J-Wo 08-05-2003 11:32 PM

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

kwag 08-05-2003 11:41 PM

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

kwag 08-05-2003 11:45 PM

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

I'll add a "CQ Override" check option for the next rev ;)
But remember: Use it at your own risk :!: :lol:

-kwag

kwag 08-06-2003 07:01 AM

CQMatic 1.1.02
 
Good morning people :D
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

Krassi 08-06-2003 07:11 AM

Thx Kwag,

which bitrate calculator are you using :?:
What is your recommended resolution :?:
Prediction is currently running...

Krassi 08-06-2003 08:35 AM

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.

kwag 08-06-2003 08:40 AM

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

kwag 08-06-2003 08:42 AM

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 :?: :?:

Krassi 08-06-2003 08:53 AM

Sure. I don't have any problem with long prediction cycles, for me its more important whats coming out :D

My target size is 188 MB.

kwag 08-06-2003 09:04 AM

Quote:

Originally Posted by Krassi
Sure. I don't have any problem with long prediction cycles, for me its more important whats coming out :D

Me too :D
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

Bchteam 08-06-2003 09:17 AM

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 ?

kwag 08-06-2003 09:27 AM

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

totonho03 08-06-2003 09:42 AM

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

Bchteam 08-06-2003 09:43 AM

@ Kwag

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

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) ?

kwag 08-06-2003 10:07 AM

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

andybno1 08-06-2003 10:21 AM

just wonderin is there a possibility u could add a function that gets the average bitrate like in moviestacker??

kwag 08-06-2003 10:23 AM

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 :cool:

-kwag

OBK 08-06-2003 10:53 AM

XSVCD
 
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??? :?

kwag 08-06-2003 11:14 AM

Re: XSVCD
 
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

nicksteel 08-06-2003 11:57 AM

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?

OBK 08-06-2003 11:58 AM

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? :roll:

Thanks, OBK!


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