CQMatic 1.4.00 Release Candidate 1
(Link below, so you all have to read this
)
PLEASE, let me know if you find any problems, cause my hands are EAGER to post this on the forum.
First Video test:
"inxs - devil inside" (Thanks again Ademar
)
6 minutes, 30 seconds, interlaced, 29.97fps.
Target: 704x480
First, I encoded the video at a fixed CQ of 65, and noted file size.
80,145KB
Then, I ran CQMatic 4 times, for validation, and here are the results:
Run 1) CQ found: 66.75. file size: 80,460KB
0.3914% accurate
Run 2) CQ found: 66.899: File size: 80,469KB
0.4026% accurate
Run 3) CQ found: 67.729: File size: 80,521KB
0.4669% accurate
Run 4) CQ found: 66.59: File size: 80,450KB
0.3791% accurate
Secod Video test:
"duran duran - ordinary world"
4 minutes, 41 seconds, PAL Interlaced.
Target: 704x576
Run #1
Wanted target: 43,332KB
Found CQ of 5.1
(Don't ask, but that's what it found), and final file size: 42,257KB
Guess I asked for too low file size fror clip. ( Still,
2.5439% accuracy )
Run #2
Increased wanted target, to get higher CQ.
Wanted target: 74052
Found CQ of 89.51: Final size: 76,034KB for a
2.6067% accuracy.
And the BIG test
"Red Planet", full movie prediction, 23.976fps Progressive.
Target: 704x480
Wanted video size: 722,734KB
CQ found: 68.9
Encoded file size, don't care
Because with an older BETA, I got 709,325KB at a CQ=65.81
Here's a copy of the log:
Code:
CQMatic Version 1.4.00 RC-1
http://www.kvcd.net
Copyright KVCD.Net, 2004.
All rights reserved.
Time: 19:46:05 Date: 12/21/2004
Ready!
Project: H:\RED_PLANET\VIDEO_TS\redplanet.tpr
Creating: CQMatic.tpr
H:\RAMBO_III\VIDEO_TS\NewScript.m1v
Project resolution: 704x480
Execute.
Movie Time: 102:39
Average Bitrate: 938.8
Full Encode mode
Executing Prediction Phase...
Process started at 19:46:53
On 12/21/2004
Preparing for calibration phase...
Calibration phase started.
Step 1 of 3.
Step 2 of 3.
Step 3 of 3.
Calibration phase complete.
CQ set for prediction
Setting up sampling rate.
Phase 1 of 5, cycle 1
Encoder started...
Process time: 2.20 minutes.
Encoder end.
File size difference = 1.190957
Low fence: 60.000000
High fence: 90.000000
Last CQ = 60.00
Current CQ = 71.46
CQ difference = 11.457420
Phase 1 of 5, cycle 2
Encoder started...
Process time: 2.15 minutes.
Encoder end.
File size difference = 0.894170
Low fence: 60.000000
High fence: 71.457420
Last CQ = 71.46
Current CQ = 65.73
CQ difference = 5.728706
Phase 1 of 5, cycle 3
Encoder started...
Process time: 2.30 minutes.
Encoder end.
File size difference = 1.016192
Setting up sampling rate.
Phase 2 of 5, cycle 1
Encoder started...
Process time: 2.33 minutes.
Encoder end.
File size difference = 1.071266
Low fence: 65.728714
High fence: 90.000000
Last CQ = 65.73
Current CQ = 70.41
CQ difference = 4.684219
Phase 2 of 5, cycle 2
Encoder started...
Process time: 2.35 minutes.
Encoder end.
File size difference = 1.008974
Setting up sampling rate.
Phase 3 of 5, cycle 1
Encoder started...
Process time: 2.47 minutes.
Encoder end.
File size difference = 0.967220
Low fence: 2.000000
High fence: 70.412933
Last CQ = 70.41
Current CQ = 68.10
CQ difference = 2.308128
Phase 3 of 5, cycle 2
Encoder started...
Process time: 2.28 minutes.
Encoder end.
File size difference = 1.020042
Low fence: 68.104805
High fence: 70.412933
Last CQ = 68.10
Current CQ = 69.26
CQ difference = 1.154060
Phase 3 of 5, cycle 3
Encoder started...
Process time: 2.25 minutes.
Encoder end.
File size difference = 1.018958
Setting up sampling rate.
Phase 4 of 5, cycle 1
Encoder started...
Process time: 2.43 minutes.
Encoder end.
File size difference = 1.064106
Low fence: 69.258865
High fence: 90.000000
Last CQ = 69.26
Current CQ = 73.70
CQ difference = 4.439926
Phase 4 of 5, cycle 2
Encoder started...
Process time: 2.35 minutes.
Encoder end.
File size difference = 0.877825
Low fence: 69.258865
High fence: 73.698792
Last CQ = 73.70
Current CQ = 71.48
CQ difference = 2.219963
Phase 4 of 5, cycle 3
Encoder started...
Process time: 2.38 minutes.
Encoder end.
File size difference = 0.942930
Low fence: 69.258865
High fence: 71.478828
Last CQ = 71.48
Current CQ = 70.37
CQ difference = 1.109978
Phase 4 of 5, cycle 4
Encoder started...
Process time: 2.37 minutes.
Encoder end.
File size difference = 1.017167
Setting up sampling rate.
Phase 5 of 5, cycle 1
Encoder started...
Process time: 2.32 minutes.
Encoder end.
File size difference = 0.977402
Low fence: 2.000000
High fence: 70.368851
Last CQ = 70.37
Current CQ = 68.78
CQ difference = 1.590225
Phase 5 of 5, cycle 2
Encoder started...
Process time: 2.22 minutes.
Encoder end.
File size difference = 1.020535
Low fence: 68.778625
High fence: 70.368851
Last CQ = 68.78
Current CQ = 69.57
CQ difference = 0.795113
Final CQ value is 68.91
Encoding set to Full encode.
Full encode start...
CQMatic complete!
Total minutes of process: 38.32
Process ended at 20:25:12
On 12/21/2004
What's new on this version
1) Completely new prediction engine: Calibration process, to determine source to sampling compressibility.
So now you should be able to throw anything at CQMatic, and it will know "how" to encode "whatever" material
2) Prediction is now done in "phases". Then, using a formula and some tricks (don't ask
), it determines the correct target CQ.
3) Prediction is MUCH faster
On my Pentium 4 @2.8Ghz, I am averaging a full prediction cycle in about 20 to 25 minutes minutes (on linear range, CQ=~50 to CQ=~85)
Below CQ=~50, well, you all know it's longer
The first phase, in theory, should be the longest, as all subsequent phases uses the previous found CQ,, which is closer to final value, instead of starting every phase at CQ=60.
4) Removed "Override CQ" option. It's now done automagically
5) Added progress bar, active after calibration phase.
GRAB IT
http://www.kvcd.net/downloads/CQMatic-1.4.00-RC-1.exe
And please, REPORT
Note: I'm really looking for
consistency in this version.
That means that it should produce a very small file size deviation, no matter how many times you encode the same source.
If this does indeed succeed, then my next phase is minor tweaks to adjust offset for target accuracy.
Thanks
-Karl