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-06-2003 12:26 PM

Quote:

Originally Posted by nicksteel

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?

You'll see that TMPEG automatically selects "Non-interlace".

-kwag

kwag 08-06-2003 12:31 PM

Quote:

Originally Posted by OBK

But when predicting in two different max bitrates the final size should
be the same, only the CQ changes, or am I wrong? :roll:

Yes. You're right :)

-kwag

andybno1 08-06-2003 12:44 PM

Quote:

Originally Posted by kwag
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

sorry for the lame answer didn't get the latest version till after postin msg :oops:

ozjeff99 08-07-2003 06:53 AM

Quote:

Originally Posted by Kwag
If you are using an external deinterlacer ( Bob(), FiledDeinterlace(), etc. ), then you must manually "check" this option. This applies ONLY to interlaced sources.

Kwag...want to make sure I got this. If I am using FieldDeinterlace() in my script on an interlaced source I usually set video source as "Progressive" in Tmpgenc for mpeg-1 project. In CQMatic I still check the "interlace" box however. Is this correct?

Cheers
Ozjeff99

new_bee 08-07-2003 07:36 AM

Hi kwag,

in CQMatic there are disabled checkboxes for MCE and CCE. Do you think you'd sometime be able to include vmesquita's CCE method in CQMatic?

Regards,
new_bee

kwag 08-07-2003 11:02 AM

Quote:

Originally Posted by ozjeff99
Quote:

Originally Posted by Kwag
If you are using an external deinterlacer ( Bob(), FiledDeinterlace(), etc. ), then you must manually "check" this option. This applies ONLY to interlaced sources.

Kwag...want to make sure I got this. If I am using FieldDeinterlace() in my script on an interlaced source I usually set video source as "Progressive" in Tmpgenc for mpeg-1 project. In CQMatic I still check the "interlace" box however. Is this correct?

Yes. You must check the "interlace" option in CQM.

-kwag

kwag 08-07-2003 11:07 AM

Quote:

Originally Posted by new_bee
Hi kwag,

in CQMatic there are disabled checkboxes for MCE and CCE. Do you think you'd sometime be able to include vmesquita's CCE method in CQMatic?

Regards,
new_bee

I haven't tried that yet :!:
And I will go forward, only when I finish with the TMPEG problems we currently have. CCE should follow. MCE, I don't know. I'm still waiting on a E-Mail I wrote to them, related to command line control. Apparently, MCE doesn't have any :!:
If that's the case, MCE will be removed from the option, as there's no way to use the program from external sources.

-kwag

audi2honda 08-07-2003 12:01 PM

Quote:

Originally Posted by kwag
Quote:

Originally Posted by ozjeff99
Quote:

Originally Posted by Kwag
If you are using an external deinterlacer ( Bob(), FiledDeinterlace(), etc. ), then you must manually "check" this option. This applies ONLY to interlaced sources.

Kwag...want to make sure I got this. If I am using FieldDeinterlace() in my script on an interlaced source I usually set video source as "Progressive" in Tmpgenc for mpeg-1 project. In CQMatic I still check the "interlace" box however. Is this correct?

Yes. You must check the "interlace" option in CQM.

-kwag

Is this true? I thought if you have telecide and decimate or fielddeinterlace in your avs script it is considered progressive material because it is frameserved as such?

Should I use the interlaced option even when using telecide and decimate to convert 29fps interlaced hybrid material to 23fps?

kwag 08-07-2003 12:57 PM

Quote:

Originally Posted by audi2honda

Should I use the interlaced option even when using telecide and decimate to convert 29fps interlaced hybrid material to 23fps?

No. Only when the source is 29.97fps interlaced and you are encoding at 29.97fps.
If your source is IVTC'ed, with telecide or any other function, then your source is seen as progressive by the encoder, and you must "uncheck" the option. ( Actually it will be unchecked automatically, because CQM will see "Progressive" in TMPEG's source type )

-kwag

audi2honda 08-07-2003 01:04 PM

Thanks :D :!:

vmesquita 08-07-2003 02:11 PM

Quote:

Originally Posted by kwag
I haven't tried that yet :!:
And I will go forward, only when I finish with the TMPEG problems we currently have. CCE should follow. MCE, I don't know. I'm still waiting on a E-Mail I wrote to them, related to command line control. Apparently, MCE doesn't have any :!:
If that's the case, MCE will be removed from the option, as there's no way to use the program from external sources.

-kwag

Kwag,

As you probably know, CCE doesn't have native command-line support. But we can use ECLCCE to add this functionality. ECLCCE does not crack CCE executable, it just simulates normal user input, and uses WIndows Functions. So probabily, this could also be done with MCE to allow CQMAtic to work! This is just an idea, I don't know exactly how this is implemented in ECLCCE.

[]'s
Vmesquita

kwag 08-07-2003 02:29 PM

Hi vmesquita,

Yes, I think ECLCCE is what DVD2SVCD uses to control CCE.
It's really sad these programs (CCE, MCE) don't have any kind of command line control :?
I really don't like the "User simulated software" programs, as they can fail under some conditions. And then, the complete process is messed up :!:
But if it is the only alternative, then that's the way it will have to be done :)

-kwag

vmesquita 08-07-2003 05:26 PM

Quote:

Originally Posted by kwag
Hi vmesquita,

Yes, I think ECLCCE is what DVD2SVCD uses to control CCE.
It's really sad these programs (CCE, MCE) don't have any kind of command line control :?
I really don't like the "User simulated software" programs, as they can fail under some conditions. And then, the complete process is messed up :!:
But if it is the only alternative, then that's the way it will have to be done :)

-kwag

It's definatelly sad... It's not really reliable, and new versions sometimes kill the thing... But sometimes it's the only way. I think most companies really don't care about this.

[]'s
Vmesquita

kwag 08-08-2003 02:29 AM

CQMatic 1.1.04 up!
 
As usual, at the top of this thread :!:

Changes to 1.1.04
Added: Internal prediction factors now taken into consideration, depending on the project resolution.
Valid resolutions are:
352x240(288)
352x480(576)
480x480(576)
528x480(576)
544x480(576)
704x480(576)
720x480(576)
Any other resolution will not be processed
A warning message will be issued by CQMatic if you try to process any another resolution.

-kwag

OBK 08-08-2003 09:22 AM

XSVCD
 
Movie length: 146Min
CD's: 2 SVCD's (2 languages)
max: 3600; min: 350; avg: 1145
720*576 Pal

Quote:

CQMatic Log:

http://www.kvcd.net
CQMatic Version 1.1.02
Copyright Softronex Corporation, 2003.
All rights reserved.
Time: 00:30:20 Date: 08/08/2003
Ready!
Project: C:\Dokumente und Einstellungen\Michaela Bieber\Desktop\AviSynth_Script_file.tpr

Creating: CQMatic.tpr

C:\HP1\Video\test.m2v
Execute.
Movie Time: 146
Average Bitrate: 1145
Full Encode mode
Executing Prediction Phase...
Process started at 00:33:04
On 08/08/2003
CQ set for prediction
Setting up initial sampling.
Using CQ of 60.00
Prediction cycle #1
Encoder started...
Process time: 14.50 minutes.
Encoder end.
File size difference = 0.973330
Low fence: 2.000000
High fence: 60.000000
Last CQ = 60.00
Current CQ = 58.40
CQ difference = 1.600227
Using CQ of 58.40
Prediction cycle #2
Encoder started...
Process time: 14.32 minutes.
Encoder end.
File size difference = 0.979236
Low fence: 2.000000
High fence: 58.399773
Last CQ = 58.40
Current CQ = 57.19
CQ difference = 1.212597
Using CQ of 57.19
Prediction cycle #3
Encoder started...
Process time: 14.45 minutes.
Encoder end.
Encoding set to Full encode.
Full encode start...
CQMatic complete!
Total minutes of process: 43.32
Process ended at 01:16:23
On 08/08/2003
After encoding the Filesize was ~116MB to small!
MovieStacker's file size: 1216MB
Filesize after Encoding: 1100,5MB

The Quality also is really good! :D :D :D

Bchteam 08-08-2003 11:04 AM

You better try CQMatic 1.1.0.4, since the previous Versions aren't very accurate.

kwag 08-08-2003 06:37 PM

Better yet, get 1.1.06 :mrgreen:
http://www.kvcd.net/CQMatic-1.1.06.exe

Enjoy ;)
-kwag

Rambytes 08-08-2003 09:20 PM

But something wrong...

Why you sample the "end" of the movie, when the generic is display...

99% of tihe time, it's only a big black background with white letter...

This 4 minutes of generic at the end of a movie, calculated by CQMatic don't "false" the result???

kwag 08-08-2003 09:48 PM

Hi Rambytes,

CQMatic samples whatever you set in your project file. If you don't want end credits, then cut them off in DVD2AVI, when you do your project file.

-kwag

Rambytes 08-08-2003 09:58 PM

you're right...

vhelp 08-09-2003 11:50 AM

aah Rambytes..

also, if you are using the VFAPI route, you could cut the credits out in vdub
and NOT have to worry about the end creadits AND the extra TMPG steps
and things :eeks:

I'm not saying to NOT use AVIsynth of course, cuase it's GREAT, but I just
haven't gotten the cropping/resizing things :hammer: nailed yet !!
It's not easy asking simple noob questions, and then a :eyebrows: guru is to proud to
answer such questions, and kicks you off w/ a :dunce: stupdity response
I slowly get my answers, thanks to this forum here. anyways.. just me ranting
about nothing.. :heee:

But, I like using the VFAPI(psuedo .avi) to vdub route because I have what
I consider THE BEST cropping (for 16:9) encodes around (imo) to my taste.
Anways.. the above is definately something to consider too, if you want to
cut credits or anything 'in between' (specially) using vdub as your server :!:

Be cool dude,
-vhelp

kwag 08-09-2003 06:32 PM

CQM Updated to 1.1.07.
Top of this thread.

-kwag

incognito 08-09-2003 07:50 PM

Are you guys having success now with avi conversions?

kwag 08-09-2003 07:54 PM

Quote:

Originally Posted by incognito
Are you guys having success now with avi conversions?

Look at my post here ;) http://www.kvcd.net/forum/viewtopic.php?t=5522

-kwag

girv 08-12-2003 04:44 AM

I think I've missed something here :oops: - can someone please explain or link to where the "min-bitrate = 0.57*avg-bitrate ; max-bitrate = 2000" modifcation came from? Whats the benefit of using these settings compared to the regular 300-2500kbps range? Does it apply to non-MA encodes as well?

TIA girv :)

kwag 08-13-2003 01:46 AM

Quote:

Originally Posted by girv
I think I've missed something here :oops: - can someone please explain or link to where the "min-bitrate = 0.57*avg-bitrate ; max-bitrate = 2000" modifcation came from? Whats the benefit of using these settings compared to the regular 300-2500kbps range? Does it apply to non-MA encodes as well?

TIA girv :)

Hi girv,

It has to do with TMPEG's linearity range. The recommended MIN is (0.57 * average bitrate) and the MAX is 2,000. That is, if you are using the MA script. If you are not using the MA script, then you must use a higher MAX bitrate (~2,500) to overcome the visible macroblocks on high motion scenes.

-kwag

kwag 08-13-2003 01:49 AM

Version 1.1.10 released!
 
CQM updated to version 1.1.10
Grab it at the top of this thread.
And PLEASE, UNCHECK Detect Scene Change in TMPEG before you save your project :!:
That's one reason our prediction is off in some movies.

-kwag

ozjeff99 08-13-2003 03:58 AM

Ripper!!!!! :lol:

At long last with a few unsuccessful attempts with CQMatic, I used 1.1.07 on Santana Supernatural Live PAL DVD. Full Screen, Lot's of movement, very low CQ of 38 (still very watchable), interlaced. This was the DVD from hell but CQma"J"ic did its job and put the whole encode with sound to within .5%. 8)

No worries Kwag mate. Thanks a million. Feels like a mega-milestone
Cheers
ozjeff99

girv 08-13-2003 04:58 AM

Where does 0.57 come from in "(0.57 * average bitrate)" ?

nicksteel 08-13-2003 07:34 AM

Re: Version 1.1.10 released!
 
Quote:

Originally Posted by kwag
CQM updated to version 1.1.10
Grab it at the top of this thread.
And PLEASE, UNCHECK Detect Scene Change in TMPEG before you save your project :!:
That's one reason our prediction is off in some movies.

-kwag

Should "Detect Scene Change" be unchecked during both prediction and encoding?

kwag 08-13-2003 08:43 AM

Re: Version 1.1.10 released!
 
Quote:

Originally Posted by nicksteel

Should "Detect Scene Change" be unchecked during both prediction and encoding?

Yes.

-kwag

kwag 08-13-2003 08:52 AM

Quote:

Originally Posted by girv
Where does 0.57 come from in "(0.57 * average bitrate)" ?

Now I can't find the thread where we came to that percent :!:
I know it's the right balance below average bitrate and a MAX of 2,000, after many trial runs. This may now change, however, with the latest version of CQMatic and the way prediction is done.

-kwag

kwag 08-14-2003 09:05 PM

CQMatic Version 1.1.11
 
CQMatic Updated.
http://www.kvcd.net/CQMatic-1.1.11.exe

-kwag

vhelp 08-15-2003 12:44 PM

Hi Kwag..

Quote:

Originally Posted by kwag
Quote:

Originally Posted by girv
Where does 0.57 come from in "(0.57 * average bitrate)" ?

Now I can't find the thread where we came to that percent :!:
I know it's the right balance below average bitrate and a MAX of 2,000, after many trial runs. This may now change, however, with the latest version of CQMatic and the way prediction is done.

.
.
I believe that the MIN = (0.57 * average) formula was derived from
one of the following threads.. however, I believe it may have started
on page 3 of the last thread :wink:

* Confirm TMPGE Settings

* File prediction experiment #1,000,000 (pg 5)

* File prediction experiment #1,000,000 (pg 3)

Good luck.. TGIF !!
-vhelp

kwag 08-16-2003 01:31 PM

Version updated to 1.1.12a.

-kwag

MrTibs 08-19-2003 07:50 PM

I've been testing CQ 1.1.12 on an analog capture. My results seem a bit strange:

My settings:

Movie Time: 117
Average bit rate: 800



My Results:

Final CQ- 2.11 (?)

According to BitrateViewer:

Aveage bit rate: 384
Max bit rate: 905
Min bit rate: 328
Final file size: 466,888

The movie was Chocolat.

kwag 08-19-2003 08:02 PM

Hi MrTibs,

Was this with HuffYUV :?:

-kwag

kwag 08-19-2003 08:04 PM

Is this correct 8O :arrow: Max bit rate: 905

MrTibs 08-19-2003 09:50 PM

The source is an analog capture using HuffYUV, 352x480. The only noise filter used was PixieDust().

Here is the CQ log (as best I can re-type it with my broken kb)


http:\\www.kvcd.net
CQMatich Version 1.1.12a
Copyright....
Time 17:19:28 Date: 08/18/2003
Ready!
Projectc:\chocolat_cq_matci.tpr
Creating: CQMatic.tpr
C:\Avisynth\chocolat_cq_matic.mpg
Project resolution: 352x480
Execute:
Movie Time:117
Average Bitrate: 800
Full Encode mode
Executing Prediction Phase...
Process started at 17:22:17
On 08/18/2003
Setting up initial sampling.
Using CQ of 60.00
Prediction cycle #1
Encoder started...
Process time: 9.13 minutes
Encoder end.
File size difference = 0.023225
Low fence: 2.000000
High Fence: 60.000000
Last CQ = 60.00
Current CQ = 31.00
Prediction cycle #2
Encoder started...
Process time: 90.93 minutes
Encoder end.
File size difference = 0.023703
Low fence: 2.000000
High fence: 31.000000
Last CQ = 31.00
Curren CQ = 16.50
CQ difference = 14.500000
Using CQ of 16.50
Prediction cycle #3
Encoder started...
Process time: 90.52 minutes
Encoder end.
File size difference = 0.023704
Low fence: 2.0000000
High fence: 16.500000
Last CQ = 16.50
Current CQ = 9.25
CQ differnece = 7.250000
Using CQ of 9.25
Prediction cycle #4
Encoder started....

---- this goes on until Prediciton cycle #9-----


As for the max bit rate, yes it says 905 but to be honest, I don't see where it ever hits that. The short lived peak seems to be at the begining and it maxes out at 543. Most of the movie is at about 345.

When I encoded the movie (from a Huffy capture from TV) at a CQ of 100%, the average bit rate was about 1341 with a max of 2432. The final file size was 1,355,977.

kwag 08-19-2003 10:01 PM

Hi MrTibs,

Verify that you only have "Checked" "AVI VFW Compatibility Reader" in TMPEG. Uncheck ALL other options. Maybe your capture is being read by one of the darn DivX (XviD) CODECS, and that's what's throwing off file reading and proper prediction from your capture.

-kwag


All times are GMT -5. The time now is 03:23 PM  —  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.