digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   Bitrates: Testing CQMatic Versions (http://www.digitalfaq.com/archives/encode/4660-bitrates-testing-cqmatic.html)

jorel 07-25-2003 11:27 AM

2 tests and results using CQMatic 1.0RC1 searching prediction:

first:
wanted size 290mb,31 minutes.
after 3 times searching prediction give CQ63,62.

second:
wanted size 800mb,88 minutes.
after 3 times searching prediction give CQ64,14.

i did 2 differents projects with dvd2avi.
the first with 56409 frames, 31 minutes,
the second with 159613 frames, 88 minutes.

i think it's perfect cos the final final CQ for each have seamless
and they are from the same source (dvd)!
i did the same tests twice...same results :!:

:wink:

Nobody 07-25-2003 12:27 PM

Just adding my results (first time with CQmatic)

1 test and using CQMatic 1.0RC1 searching prediction:

Kangaroo Jack
MA script 352x480 encode
average bitrate=1106
film length=89 mins
Min=300 Max=2500
Cq=64.75

Won't bore you with the rest - 799M result with audio(128K)

:ole:

Just a couple of questions:

I was using Min=300 Max=2500 - should I have used Min=average bitrate*0.75 and Max=2500 .... it did seem on target using the default KVCD template

Do I have to always find the target for TMPGenc before each try using CQmatic - or will it remember?

I may try the movie using 480x480 resolution (DVD player won't plaly the 528x480 :? ) - though still not sure if a lower CQ (~54) value is worth the increase in resolution

Anyway so far great work!!!!!!!! :angel:

audi2honda 07-25-2003 12:59 PM

I think there is some confusion here. .75*min or .57*min??

totonho03 07-25-2003 01:12 PM

Hello audi2honda:

Several posts have stated that the minimum should be (avg X .57)

Totonho03

Edit.- Audi2honda: I went back and saw what you are talking about............ I will go back to some other posts and try to clarify, at least in my mind what the proper number is....

totonho03 07-25-2003 01:59 PM

Yep, we need a clarification on this number.Different quotes regarding this issue:
Quote:

Keep the MAX at 2,000 and MIN = 0.57*(avg bitrate) ( Or average - 43% ) The one easier for you
Quote:

You want to set your MAX to 2000 and your MIN to 0.57*(avg bitrate).
Quote:

Used 2000 MAX and 0.57*1414 for min bitrate in tmpgenc (you need to announce that setting in the 'optimal scripts' section...
Quote:

You can probably use any bitrates you want now, but I'm still using the (0.57 * average) for MIN.


Quote:

I thought it was .75*avg bitrate or is it .57*avg bit rate?
.........
Quote:

0.57*average bitrate
Quote:

What bitrates did you use for MIN and MAX. Did you use MAX=2,500 and MIN=(0.75*AverageBitrate)
Quote:

i forgot to assign the lower bitrate value. All my encodes have been with 300-2500... I'll try now with 0,75*1111=833
These are but some of the quotes regarding this issue. I still believe that it is (average X .57). But I suppose that kwag will clarify it.

Totonho

Edit: This has been answered. It is (average * .57) Thanks kwag

Avalon 07-26-2003 08:39 AM

TESTING CQMATIC WITH MODIFIED MVCD2.5EX TEMPLATE
 
Yesterday I encoded "The Bonecollector" with an modified KVCD Template.

FACTS: The final file was to small. 783 MB inkl. 2 128 Stereo MP2 Tracks.

Today now I test it with an modified MVCD 2.5ex Template. I did before a short sampler with both templates. Because I encode in 704x576 I was wondering why I get a better Quality with MVCD2.5ex!!!

So I encode now the movie again. I will post the FACTS then.

BTW: I had with KVCD a CQ of 53 and with MVCD i have now CQ 57.75!!!!

What I changed in both Templates: Motion estimate Search, 704x576. CQ 50 for start.

MVCD2.5ex encode 10% faster than KVCD... Why ????

Here the CQMatic Log:

Quote:

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

Ready!
Project: D:\dcd\bone\bonecollector.tpr

Creating: CQMatic.tpr

D:\dcd\bone\bone.m2v
Execute.
Movie Time: 113
Average Bitrate: 745
Full Encode mode
Executing Prediction Phase...
Using CQ of 50.00
User CQ too LOW!. CQ adjusted.
Using CQ of 55.00
Encoder started...
Encoder end.
File size difference = 1.067692
Last CQ = 55.000000
Current CQ = 56.861526
CQ difference = 1.861526
Using CQ of 56.86
Encoder started...
Encoder end.
File size difference = 1.014501
Last CQ = 56.861526
Current CQ = 57.686081
CQ difference = 0.824554
Using CQ of 57.69
Encoder started...
Encoder end.
File size difference = 0.980625
Last CQ = 57.686081
Current CQ = 57.273804
CQ difference = 0.412277
Using CQ of 57.27
Encoder started...
Encoder end.
Encoding set to Full encode.
Full encode start...
CQMatic complete!

kwag 07-26-2003 11:42 AM

Re: TESTING CQMATIC WITH MODIFIED MVCD2.5EX TEMPLATE
 
Quote:

Originally Posted by Avalon
Yesterday I encoded "The Bonecollector" with an modified KVCD Template.

FACTS: The final file was to small. 783 MB inkl. 2 128 Stereo MP2 Tracks.

Which is just fine, because it's ~17 MB under, and that's about 2% which is in my design target range.
Quote:


Today now I test it with an modified MVCD 2.5ex Template. I did before a short sampler with both templates. Because I encode in 704x576 I was wondering why I get a better Quality with MVCD2.5ex!!!
Because you can't compare pears and apples :lol:
704x576 is higher than 528x4576 :!:
But the longer the movie or more action (after bitrate starts to exhaust), you'll get more bits per pixel at 528x576, and it will look better than 704x576.
Quote:


n.

BTW: I had with KVCD a CQ of 53 and with MVCD i have now CQ 57.75!!!!
Of course :!: They now have another matrix, which throws off the CQ curve completely, and a higher CQ doesn't mean it's better quality.
The only way you can compare, is if you make a target file size "identical" with their's and our's, and then compare ( I did, and I know the results :mrgreen: )
BTW ( and FACT: ): MVCD and mole are " PERSONA NON GRATA" here, for their thieve practices. Maybe you should look at some facts here:
http://www.kvcd.net/forum/viewtopic.php?t=4364
and here:
http://www.kvcd.net/forum/viewtopic.php?t=4351
which of course, now they have their own matrix, but their foundation was based on our work, which permanently marks them as "Pirates" of technology.
Quote:


MVCD2.5ex encode 10% faster than KVCD... Why ????
It's telling you the results right there :lol:
Of course :!: The encoder is seeing less data (because of their matrix), so you're loosing frequencies that are being discarded, and are not being processed by the encoder :D

Thanks for bringing this up ;)

-kwag

dazedconfused 07-26-2003 12:48 PM

@Avalon,

Saying "mvcd" around here is similar to swearing! :lol: As Kwag directed you, mvcd
blatently and disrespectfully ripped-off their ideas from KVCD and didn't admit it. They may have made a few extra changes here and there lately so that they seem different or unique, but most people here at kvcd.net know the real truth about mvcd's origins.

-d&c

bigggt 07-26-2003 05:31 PM

After many tests i thought i would try an just do an encode and here are the results

Quote:

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

Creating: CQMatic.tpr

C:\My Shared Folder\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
Last CQ = 76.424667
Current CQ = 83.212334
CQ difference = 6.787666
Using CQ of 83.21
Encoder started...
Encoder end.
File size difference = 0.918237
Last CQ = 83.212334
Current CQ = 79.818497
CQ difference = 3.393837
Using CQ of 79.82
Encoder started...
Encoder end.
File size difference = 1.071269
Last CQ = 79.818497
Current CQ = 81.515411
CQ difference = 1.696915
Using CQ of 81.52
Encoder started...
Encoder end.
File size difference = 0.966903
Last CQ = 81.515411
Current CQ = 80.666954
CQ difference = 0.848457
Using CQ of 80.67
Encoder started...
Encoder end.
File size difference = 1.010315
Last CQ = 80.666954
Current CQ = 81.499016
CQ difference = 0.832062
Using CQ of 81.50
Encoder started...
Encoder end.
File size difference = 0.967677
Last CQ = 81.499016
Current CQ = 81.082985
CQ difference = 0.416031
Using CQ of 81.08
Encoder started...
Encoder end.
File size difference = 0.986219
Last CQ = 81.082985
Current CQ = 80.874969
CQ difference = 0.208015
CQMatic complete!
Wasn't sure which number to use Last CQ = 81.082985
Current CQ = 80.874969(feeling pretty stupid now) but i decided to use 81.082985 and the final size of just the video is 792 m,now i figured i used the wrong one but there is such a small difference it wouldn't make it that much bigger.

kwag 07-26-2003 06:23 PM

Hi bigggt,

Well, I think I'm going to have to specify that CQMatic is accurate only on DVD (MPEG-1 or MPEG-2) sources (for the time being), and not on avi sources :!:
I'm getting very accurate results, but only processing .d2v (DVD) material.
Maybe it's a CODEC related issue when reading the avi :idea:
That's the ONLY thing I can think of, because it's the same process to calculate prediction, no matter what the source is.

@All,

Here are the tests I have encoded since yesterday, all with CQMatic RC2:

Red Planet (352x480): CQ: 80.120 Encoded size: 742,198KB Wanted: 726,338KB :arrow: ( Diff. 2.13% )
The Bourne Identity (528x480): CQ 56.25 Encoded size: 715,574KB Wanted: 715,701KB :arrow: ( Diff. 0.017% )
K19 ( 528x480 - Raw, no filters. Only Bilinear resize): CQ: 61.06 Encoded size: 678,294KB Wanted: 699,875.78 ( Diff. -3.181 )

So for CQMatic RC-3, I'm adjusting the final precision by 1% (tighter) to shrink the final bracket calculation. This should bring the average final encoded material to about (-2% to +1%).

-kwag

bigggt 07-26-2003 07:25 PM

Hey Kwag,the thing is Tok gave me almost the identical CQ and now when i went to mux the audio and video with bbmpeg(never had a problem before)it won't even scan the video so i'm thinking i must have a problem in tmpeg. here is what it says in bbmpeg

Quote:

Video: none

Audio: none

Output MPEG information
Video: none

Audio: none

Multiplexing: video and one audio stream
program stream type: VCD
video file: c:\my shared folder\ice.m1v
audio 1 file: c:\my shared folder\ice.mp2
program file: temp.mpg


Multiplexing video and audio:

Scanning video stream for a sequence header ...

Scanning video stream for pictures ...
Found 1 picture headers.
Video stream information
Stream length : 13008
Total time (seconds) : 0
Sequence start : 1
Sequence end : 1
No. Pictures : 1
No. Groups : 1
No. I Frames : 1 avg. size 13008 bytes
No. P Frames : 0 avg. size 0 bytes
No. B Frames : 0 avg. size 0 bytes
No. D Frames : 0 avg. size 0 bytes
Horizontal size : 528
Vertical size : 480
Aspect ratio : 1.0950
Picture rate : 23.976 frames/sec
Bit rate : variable
Computed avg rate : 312500 bytes/sec (2500000 bits/sec)
Computed max rate : 0 bytes/sec (0 bits/sec)
Vbv buffer size : 40960 bytes
CSPF : 0

Scanning audio stream for access units information
Found 186522 audio frame headers.
MPEG audio stream information
Stream length : 68213760
Syncwords : 186522
Frames : 53292 size 365 bytes
Frames : 133230 size 366 bytes
Layer : 2
CRC checksums : yes
Bit rate : 14000 bytes/sec (112 kbit/sec)
Frequency : 44.1 kHz
Mode : 2 dual channel
Mode extension : 0
Copyright bit : 1 copyright protected
Original/Copy : 1 original
Emphasis : 0 none

Multiplexing information
Video stream data rate : 0 bytes/sec (0 bits/sec)
Audio stream 1 data rate : 14000 bytes/sec (112000 bits/sec)
Overhead data rate : 200 bytes/sec (1600 bits/sec)
Total data rate : 14200 bytes/sec (113600 bits/sec)

Multiplexing file temp00.mpg
audio PTS underflow at pack 18 by 2.06ms
audio PTS underflow at pack 19 by 11.99ms
audio PTS underflow at pack 21 by 5.72ms
audio PTS underflow at pack 22 by 15.66ms
audio PTS underflow at pack 23 by 25.59ms
audio PTS underflow at pack 24 by 9.40ms
audio PTS underflow at pack 25 by 19.33ms
and the audio underflow keep going

kwag 07-26-2003 07:31 PM

You bet you have a problem 8O. Look at this:

Code:

No. I Frames : 1 avg. size 13008 bytes
No. P Frames : 0 avg. size 0 bytes
No. B Frames : 0 avg. size 0 bytes
No. D Frames : 0 avg. size 0 bytes

Your mpeg file is encoded as I pictures only :!:

Edit: Try this: Open your .avs file, and then load your template.
Then save your text project :!:

-kwag

bigggt 07-26-2003 07:35 PM

How would this have happened and how do i adjust it

kwag 07-26-2003 07:37 PM

Quote:

Originally Posted by bigggt
How would this have happened and how do i adjust it

Somehow, the values in your template got all screwed up :!:
So just reload your template, but after you load your .avs source. Remember to clear the source range before saving.
Try that :)

-kwag

bigggt 07-26-2003 07:49 PM

Thanx Kwag,tried it with a short clip and everything worked ,everytim i open souce range i get errors so maybe i hit the wrong button :(

kwag 07-27-2003 10:35 AM

Here's another result, with RC-3:

Code:

http://www.kvcd.net
CQMatic Version 1.0 RC-3
Copyright Softronex Corporation, 2003.
All rights reserved.
Time: 04:44:40 Date: 07/27/2003
Ready!
Project: K:\boon.tpr

Creating: CQMatic.tpr

k:\boon.m1v
Execute.
Movie Time: 110
Average Bitrate: 881
Full Encode mode
Executing Prediction Phase...
Using CQ of 60.00
Process started at 04:45:19
On 07/27/2003
Encoder started...
Process time: 8.22 minutes.
Encoder end.
File size difference  = 1.149309
Last CQ = 60.000000
Current CQ = 64.479263
CQ difference = 4.479263
Using CQ of 64.48
Encoder started...
Process time: 8.38 minutes.
Encoder end.
File size difference  = 1.042271
Last CQ = 64.479263
Current CQ = 67.204895
CQ difference = 2.725632
Using CQ of 67.20
Encoder started...
Process time: 8.40 minutes.
Encoder end.
File size difference  = 0.996189
Last CQ = 67.204895
Current CQ = 66.948753
CQ difference = 0.256142
Using CQ of 66.95
Encoder started...
Process time: 7.07 minutes.
Encoder end.
Encoding set to Full encode.
Full encode start...
CQMatic complete!
Total minutes of process: 32.08
Process ended at 05:17:24
On 07/27/2003


Wanted file size (Moviestacker) 722,779.89KB
Encoded file size 718,351.00KB


-kwag

Krassi 07-30-2003 04:24 AM

Hi Kwag,

finally i have good results (1.0 Release) with my "problematic" source:
Code:

http://www.kvcd.net
CQMatic Version 1.0 Release.
Copyright Softronex Corporation, 2003.
All rights reserved.
Time: 09:03:01 Date: 07/30/2003
Ready!
Project: CQMatic.tpr

Creating: CQMatic.tpr

D:\CQMatic.m1v
Execute.
Movie Time: 23
Average Bitrate: 1111
Full Encode mode
Executing Prediction Phase...
Process started at 09:04:29
On 07/30/2003
CQ too LOW!. Adjusted.
Using CQ of 55.00
Entering CF phase.
Using CQ of 50.00
FAST source analysis...
Process time: 0.82 minutes.
Encoder end.
Correction Factor = 1.2172
Exit CF phase.
Using CQ of 55.00
Encoder started...
Process time: 2.08 minutes.
Encoder end.
File size difference  = 0.918753
Last CQ = 55.000000
Current CQ = 52.765713
Using CQ of 52.77
Encoder started...
Process time: 1.92 minutes.
Encoder end.
File size difference  = 0.920848
Last CQ = 52.765713
Current CQ = 51.648567
Low diff. CQ bumped!
Using CQ of 38.74
Encoder started...
Process time: 1.93 minutes.
Encoder end.
File size difference  = 1.105837
Last CQ = 38.736427
Current CQ = 42.836178
Using CQ of 42.84
Encoder started...
Process time: 1.97 minutes.
Encoder end.
File size difference  = 1.045624
Last CQ = 42.836178
Current CQ = 44.790550
Using CQ of 44.79
Encoder started...
Process time: 2.05 minutes.
Encoder end.
File size difference  = 1.039260
Last CQ = 44.790550
Current CQ = 46.549034
Using CQ of 46.55
Encoder started...
Process time: 1.85 minutes.
Encoder end.
File size difference  = 0.985443
Last CQ = 46.549034
Current CQ = 45.871441
Using CQ of 45.87
Encoder started...
Process time: 1.72 minutes.
Encoder end.
File size difference  = 0.990424
Last CQ = 45.871441
Current CQ = 45.432171
Using CQ of 45.43
Encoder started...
Process time: 1.73 minutes.
Encoder end.
File size difference  = 1.007729
Last CQ = 45.432171
Current CQ = 45.783298
Using CQ of 45.78
Encoder started...
Process time: 1.82 minutes.
Encoder end.
File size difference  = 0.993927
Last CQ = 45.783298
Current CQ = 45.505245
Using CQ of 45.51
Encoder started...
Process time: 1.88 minutes.
Encoder end.
File size difference  = 1.004599
Last CQ = 45.505245
Current CQ = 45.714527
Using CQ of 45.71
Encoder started...
Process time: 1.92 minutes.
Encoder end.
File size difference  = 0.996475
Last CQ = 45.714527
Current CQ = 45.553398
Using CQ of 45.55
Encoder started...
Process time: 1.90 minutes.
Encoder end.
File size difference  = 1.002894
Last CQ = 45.553398
Current CQ = 45.685249
Using CQ of 45.69
Encoder started...
Process time: 1.92 minutes.
Encoder end.
File size difference  = 0.997348
Last CQ = 45.685249
Current CQ = 45.564083
Using CQ of 45.56
Encoder started...
Process time: 1.90 minutes.
Encoder end.
File size difference  = 1.002434
Last CQ = 45.564083
Current CQ = 45.674969
Using CQ of 45.67
Encoder started...
Process time: 1.92 minutes.
Encoder end.
Encoding set to Full encode.
Full encode start...
CQMatic complete!
Total minutes of process: 29.32
Process ended at 09:33:48
On 07/30/2003

Final video size is 181 MB, wanted is 188 :!: http://www.digitalfaq.com/archives/error.gif

kwag 07-30-2003 10:16 AM

Great to hear that Krassi :D
Well, I guess CQMatic is getting better :mrgreen:
Btw, what type of source was that :?:

-kwag

Krassi 07-31-2003 01:26 AM

Quote:

Originally Posted by kwag
Great to hear that Krassi :D
Well, I guess CQMatic is getting better :mrgreen:
Btw, what type of source was that :?:

-kwag

Sorry for my late response. It is a mpeg2 video stream from a digital satellite receiver card (near DVD quality).

kwag 07-31-2003 01:58 AM

Quote:

Originally Posted by Krassi
Sorry for my late response. It is a mpeg2 video stream from a digital satellite receiver card (near DVD quality).

So that means it is an interlaced stream, right :?:

-kwag

Krassi 07-31-2003 02:17 AM

Here are some movie details (can't figure out if its interlaced because i don't have access to the source right now) but here are some movie details:
Code:

Stream type: MPEG-2  MP@ML  VBR
Resolution: 704*576
Aspect ratio: 16:9 Generic 
Framerate: 25.00
Nom. bitrate: 3137200 Bit/Sec
VBV buffer size: 112
Constrained param. flag: No
Chroma format: 4:2:0
DCT precision: 10
Pic. structure: Frame
Field topfirst: Yes
DCT type: Frame
Quantscale: Nonlinear
Scan type: Alternate
Frame type: Progressive

AFAIK its not interlaced, only some tv-stations are having interlaced material in germany :D

kwag 07-31-2003 02:30 AM

Thanks Krassi,

I asked, because I'm having problems prediction interlaced material. That's what I'll be tackling tomorrow (actually today :) )

-kwag

jorel 07-31-2003 02:56 PM

only removing doubts:
my source is 29,97!
the first fast search in CQMatic 1.03 using CQ50 encode as 0,0023976!
is ok?
:?

kwag 07-31-2003 03:05 PM

Quote:

Originally Posted by jorel
only removing doubts:
my source is 29,97!
the first fast search in CQMatic 1.03 using CQ50 encode as 0,0023976!
is ok?
:?

Yes ;)

-kwag

jorel 07-31-2003 03:16 PM

Quote:

Originally Posted by kwag
Quote:

Originally Posted by jorel
only removing doubts:
my source is 29,97!
the first fast search in CQMatic 1.03 using CQ50 encode as 0,0023976!
is ok?
:?

Yes ;)

-kwag

:D
thanks!

kwag 08-06-2003 09:54 AM

Result of CQMatic 1.1.02
 
Here's the result of my first full encode with CQMatic version 1.1.02 :D

Movie: K19 (138 minutes)
CQ found: 56.64
Wanted file size (Moviestacker) : 699,875.78KB
Final encoded file size: 697,860KB

Using this raw script:
Code:

## DLL Section ##
#
#LoadPlugin("C:\Filters25\MPEG2Dec3.dll")


Mpeg2Source("F:\K19\VIDEO_TS\k19.d2v" )
#
BicubicResize(528, 272, 0, 0.6, 5, 57, 710, 366)
AddBorders(0, 104, 0, 104)
LetterBox(16, 16, 16, 16)


-kwag

Bchteam 08-06-2003 01:31 PM

The 1.1.0.2 Version is giving me serious problems. On my the first prediction for the 90 Minute Movie "May" the CQ went up to 90. But I encoded the Movie one day before with a CQ of 63,75, which gave a final size, that was 16 MB off target, so 90 just cannot be serious. And another Movie called "2009 - Lost Memories" was a total flop. On that Movie, CQmatic 1.1.0.1 gave me CQ of 44,94, but CQM 1.1.0.2 was going below 30, when I cancelled the whole process. The strange thing is, that the Low Fence value always remains 2.000000, even after several prediction cycles the low fence remains at 2. On both Predictions I did not override the CQ.

Here's my Log for that Movie. In the End I cancelled it, because I saw that it wasn't going to be successful.

Code:

http://www.kvcd.net
CQMatic Version 1.1.02
Copyright Softronex Corporation, 2003.
All rights reserved.
Time: 19:35:48 Date: 08/06/2003
Ready!
Project: G:\Programme\CQ - Matic\Projects\2009Film.tpr

Creating: CQMatic.tpr

G:\2009Film.m1v
Execute.
Movie Time: 136
Average Bitrate: 691
Prediction Only mode
Executing Prediction Phase...
Process started at 19:36:19
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: 16.43 minutes.
Encoder end.
File size difference  = 0.633915
Low fence: 2.000000
High fence: 60.000000
Last CQ = 60.00
Current CQ = 38.03
CQ difference = 21.965122
Using CQ of 38.03
Prediction cycle #2
Encoder started...
Process time: 16.55 minutes.
Encoder end.
File size difference  = 0.776140
Low fence: 2.000000
High fence: 38.034878
Last CQ = 38.03
Current CQ = 29.52
CQ difference = 8.514488
Using CQ of 29.52
Prediction cycle #3
Encoder started...
Process time: 16.75 minutes.
Encoder end.
File size difference  = 0.834189
Low fence: 2.000000
High fence: 29.520390
Last CQ = 29.52
Current CQ = 24.63
CQ difference = 4.894800
Using CQ of 24.63
Prediction cycle #4
Encoder started...
Process canceled


kwag 08-06-2003 01:45 PM

Hi Bchteam,

What resolution are you encoding :?:
I ask, because ALL the tests I've done, have been KVCDx3 (528x480).
Now that you mention that, I haven't tested any other resolution 8O
Maybe this is a cause of prediction problems :idea:
I'm going to try a 352x480 now, and see what results I get.
As far as 528x480 (NTSC), I'm right on target :!:

-kwag

totonho03 08-06-2003 01:49 PM

Hello Kwag:

I am presently testing the new version of CQmatic. These were my steps:
1.- Loaded the new 1.1.02 version
2.- Used 120 minutes with the new average bitrate (779 from Moviestacker)
3.- Using yesterday's .tpr file (From Tmpgenc) Did not change the max or min here. (max 2,000, min 537)
4.- I did not reset TMPGenc at all, therefore it used yesterday's settings.

So far it is in its 5th prediction cycle (Each cycle is around 27 minutes). The CQs that have/are being run are:
60 > 69.73 > 75.83 > 78.07 > 80.26...and counting.
Max bit rate= 2000; min bit rate= 537
non-interlace
Motion estimate search
Average bit rate at CQmatic=779, which corresponds to the new 120 minutes setting.

I was expecting to see a CQ lower than the one obtained yesterday, which was +/- 63, but as you can see, it presently is in its CQ 80.26 run, which means that the file size is going to be way over the 700 Meg target.

Thanks
Totonho03

Bchteam 08-06-2003 01:50 PM

"May" is 704x480@25fps and "2009 - Lost Memories" is 528x480@25fps. It doesn't seem, that it's resolution related problem.

totonho03 08-06-2003 01:52 PM

P.S.- Maybe I should try, for testing purposes, your raw script.

Totonho03

kwag 08-06-2003 01:56 PM

@totonho03,

Are you encoding 528x480 :?: or some other resolution :?:
This doesn't make sense AT ALL 8O
How can I get a movie to within ~2MB difference (K19), and everyone else CQs are so way off :!:
Something in the encoding chain is WAY different from what I have to what everyone else having problems has. I can run 10 times CQMatic against that same movie, and get the same CQ every time. So I need more information, as to what resolutions are being used, if different that 528x480. I just started a prediction test on a 352x480, to see if there's a difference. I just can't think of anything else right now that can possibly create such drastic differences in CQ :!:
:banghead: :banghead: :banghead: :banghead: :banghead: :banghead:

Thanks,
-kwag

nicksteel 08-06-2003 02:24 PM

I think that to test CQMatic, everyone is going to have to insure that the other involved programs and factors are consistant across users. For example, everyone should use the same bitrate calculator, or better still, the manual average bitrate formula. Everyone should configure TMPGEnc the same way, i.e., minimum bitrate padding, etc. This way, we can make many tests against many films with CQMatic the only real variable. It would probably be best if we all used the same resolution, fps, etc, for each set of tests.

We could all test 528x480 at 24fps and list results. Then move on to another resolution, fps, etc. It really doesn't matter if the output is usable at this stage, just that the CQMatic generated file is near the desired file size.

If any problems occur, we could isolate them to a particular film or conditions. We need to be giving Kwag consistant test results based upon known factors.

audi2honda 08-06-2003 02:25 PM

Hi kwag with the latest version my reference DVD jumps straight to a CQ of 90. Using resolution of 704x480, 1686 avg bit rate, movie length 120 minutes.

totonho03 08-06-2003 02:26 PM

Hello Kwag:
These are my TMPGenc settings:
Quote:

Quote:

Video tab
Quote:

Stream type: MPEG-1 Video
Size: 352 X 480
Aspect ratio: 16.9 525 (NTSC)
Frame rate : 29.97
Rate control mode: Constant quality (CQ); Max bit rate 2000, Min 537
Main Profile & Main level (MP@ML)
Encode mode: Non interlaced
YUV Format: 4:2:0
DC component precision: 8 bits

Quote:

Quote:

Advanced tab
Quote:

Video source tab: Non interlace (progressive)
Fiel order Botton field first (Field B)
Source aspect ratio: 16:9 525 line (NTSC)
Video arrange method Full scren keep aspect ratio
320 x 2440 pixels
The Source range box is presently checked

Quote:

Quote:

GOP Structure
Quote:

PBBPBBPBBPBBPBBPBBPBBPBBPBBPBBPBB........
1
5823
2
1
24

Quote:

Quantize matrix
Quote:

For intrablock 8 is highlited
For non intrablock 16 is highilited
CQmatic is still running, and presently is doing CQ 80.87
I feel like :imstupid: for my lack of experience here, but please do not :gun: , but if my failures keep on happening, then they are going to drive me to :drink: :drink: cachazas (capirinhas) :D. Perhaps I should already hit for the refrigerator and star fermented cebada juice.

Totonho03

kwag 08-06-2003 02:34 PM

Hi nicksteel,

Yes, you're right :!:
But now I have a new piece of information for everyone, which is really weird 8O
I just did a 352x480 prediction on the movie "Red Planet".
I used a MAX of 2,000 and MIN of (.57 * 919(avg.)) = 523.83Kbps
I got a CQ of 80.25
Now I changed the MIN to 300 and the MAX to 2,500 and ran prediction again.
Surprise :!: found CQ of 74 8O
Now, which is the correct CQ :?:
Is it the resolution :?:
Is it the MIN :?:
Is it the MAX :?:
Too many factors, and this is getting wild :!:

The only thing I can think of, is that at higher resolutions, the MIN and MAX are being used to the full extent by the encoder, but on lower resolutions, the bitrate MIN/MAX ratio is not being reached during prediction. And that's why there's such a difference from 528x480 to 352x480 :!:
This brings me to another question: Which is the correct MIN/MAX to use, if there's such a large difference of CQ with a change of resolution :!:

Too many factors, too many variables, and this is the root of the problem :!:

-kwag

kwag 08-06-2003 02:40 PM

Quote:

Originally Posted by totonho03
Perhaps I should already hit for the refrigerator and star fermented cebada juice.

Perhaps I should go out running as fast as I can into a bar, and get really drunk 8O
Maybe after drinking a six pack of beers I can think of something, other than hanging the creator of TMPEG for not making the CQ curve linear :twisted:

-kwag

totonho03 08-06-2003 02:51 PM

Sr Kwag:

If you do not mind my 2c., I also believe that nicksteel is correct in his assertion and recommendation. Perhaps what we all need to do is to use the same parameters, then compare notes and see if the different OS and machines, are given us the same results. Once this is established then groups of 2 or 3 can test different parameters. Needless to say that you will provide us with the first parameters/settings and guidance, as well as with the following testing settings.

Regards

Totonho03

PS.- Not that it makes any difference now, but CQmatic just finished its prediction and is given me a CQ of 80.87. It took about 180 minutes to do so.......

kwag 08-06-2003 02:56 PM

Ok, let me finish some tests at different resolutions to see the results. I want to test the relationship between bitrate/resolutions before moving on.

-kwag

jorel 08-06-2003 04:06 PM

Quote:

Originally Posted by nicksteel
I think that to test CQMatic, everyone is going to have to insure that the other involved programs and factors are consistant across users. For example, everyone should use the same bitrate calculator, or better still, the manual average bitrate formula. Everyone should configure TMPGEnc the same way, i.e., minimum bitrate padding, etc. This way, we can make many tests against many films with CQMatic the only real varable. It would probably be best if we all used the same resolution, fps, etc, for each set of tests.

We could all test 528x480 at 24fps and list results. Then move on to another resolution, fps, etc. It really doesn't matter if the output is usable at this stage, just that the CQMatic generated file is near the desired file size.

If any problems occur, we could isolate them to a particular film or conditions. We need to be giving Kwag consistant test results based upon known factors.

:wink:
great observation my friend nicksteel,very logical.
i was thinking the same but i can't be so clever.
:!:

Kwag wrote:
"Too many factors, too many variables, and this is the root of the problem :!: "
" :?:
"Too many factors, and this is getting wild :!: "
i post it somewhere here: if i encrease the "MIN",and decrease the "MAX",
the CQ encrease and the final size encrease too :!:

Otto
give me 2 "caipirinhas",i need it too!
:lol:


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

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.