Quantcast CQmatic 1.4.00 Beta - digitalFAQ.com Forums [Archives]
  #1  
12-19-2004, 01:00 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
Latest is RC-1, at the end of this thread.


Please test this, so I can keep tunning it for maximum accuracy.

Edit:

BETA 3:
1)Added "seconds" field. Needed when doing small videos. We needed that a LONG time ago
2) Slight inteface reorder.

http://www.kvcd.net/downloads/CQMatic-1.4.00-BETA-3.exe

-Karl
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
12-19-2004, 05:20 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
Same as BETA 3, but now with user selectable samples per phase.
Automatically selects the correct (approximate) samples, depending on the movie time. The scroll bar automatically adjusts depending on what you enter.

http://www.kvcd.net/downloads/CQMatic-1.4.00-BETA-4.exe

-Karl
Reply With Quote
  #3  
12-19-2004, 07:27 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
1) Clamped minimum samples to 10. Lower values give inaccurate results.
2) Small cosmetic fixes. Mins instead of Min, and Secs instead of Sec.

http://www.kvcd.net/downloadsCQMatic-1.4.00-BETA-5.exe

I just converted a small PAL Interlaced VOB, 4 minutes 41 seconds song "duran duran - ordinary world". (Thanks Ademar )

Wanted file size: 44,456KB
Encoded file size: 44,721KB

I'm doing more heavy tests now.


Edit: I wanted to keep this private, because if I post this public, it will be a mess
So until you and I are reasonably happy with results, then I'll post it on the forum.

-Karl
Reply With Quote
  #4  
12-21-2004, 03:34 PM
fabrice fabrice is offline
Free Member
 
Join Date: Mar 2003
Location: Madrid-Spain
Posts: 515
Thanks: 0
Thanked 0 Times in 0 Posts
Hi,

Link to beta5 don't work...

Salu2
Fabrice
Reply With Quote
  #5  
12-21-2004, 04:09 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
Stick around
RC-1 coming up after more final tests and calibrations I'm doing

-Karl
Reply With Quote
  #6  
12-21-2004, 07:27 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.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
Reply With Quote
  #7  
12-22-2004, 04:38 AM
Bchteam Bchteam is offline
Free Member
 
Join Date: Jan 2003
Posts: 275
Thanks: 0
Thanked 0 Times in 0 Posts
This is one reason, why it is nice to be a mod here. It's just a pity that there's nothing to do for me in my forum
Reply With Quote
  #8  
12-22-2004, 10:16 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
It's just a pity that there's nothing to do for me in my forum
Well why do you say that

-Karl
Reply With Quote
  #9  
12-22-2004, 11:57 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by kwag
Well why do you say that
Just that german forum activity is near flatline.
Reply With Quote
  #10  
12-22-2004, 01:20 PM
Bchteam Bchteam is offline
Free Member
 
Join Date: Jan 2003
Posts: 275
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Dialhot
Quote:
Originally Posted by kwag
Well why do you say that
Just that german forum activity is near flatline.
Yes...

Did not mean the entire forum.
Reply With Quote
  #11  
12-22-2004, 05:57 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Karl, with RC-1 CQMatic took 68 minutes to find a CQ of 89.50 on my 146 movie.

The previous one took 4 hours to find (a too low) 80.6

Perhaps this time I will have something in the target
Reply With Quote
  #12  
12-22-2004, 06:08 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 Dialhot

Perhaps this time I will have something in the target
Great!
Let me know the final result
I'm still not 100% confident of my 2%, worse case accuracy, though
So I'm taking a little longer to do more validation tests.

-Karl
Reply With Quote
  #13  
12-23-2004, 01:49 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
Released!
Thread now continues on forum

-Karl
Reply With Quote
  #14  
12-23-2004, 04:37 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
I still want to add my result :
Wanted size : 2 114 300
Encoded size : 2 223 532

Not sot bad
Reply With Quote
  #15  
12-23-2004, 09:38 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
Hi Phil,

Try the released version, at least prediction only, and check if it closely matches the CQ found for the one you just did.
I just had a bad experience with a "Red Planet" run, where after about 10 different runs and getting a very close CQ ( 65 to 68 ), I got one CQ of 70.2 ( ) which that tiddy little change boosted my final size to ~780,000KB
I hate that CQ range in the range of 68 to 70
It's such a PAIN, because the difference in file size is gigantic, and it's very hard to predict, unless more runs are done.
I'll probably add an option to "double" the number of phases, at the expense of longer time to predict.
But this will guarantee a higher accuracy.

-Karl
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
New RB-Opt 0.18 Beta now supports DVD-RB Pro Zyphon Video Encoding and Conversion 4 08-24-2005 05:50 AM
D.I.K.O. 0.76 Beta 3 e Gold 1.46 Beta 3 - Reportem os Bugs! vmesquita Conversão e Codificação de Vídeo (Português) 3 10-14-2004 06:10 PM
D.I.K.O. 0.76 Beta 2 e Gold 1.46 Beta 2 - Reportem os Bugs! vmesquita Conversão e Codificação de Vídeo (Português) 23 09-20-2004 02:54 PM
Authoring: DVD-lab 1.3 beta 6 is out Krassi Authoring VCD, DVD, Blu-ray 6 02-02-2004 09:27 AM
AviSynth 2.5.0 beta jorel Avisynth Scripting 1 01-28-2003 10:50 PM

Thread Tools



 
All times are GMT -5. The time now is 04:50 AM  —  vBulletin © Jelsoft Enterprises Ltd