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)

mistermickster 12-03-2003 06:53 AM

Quote:

Originally Posted by Dialhot
Quote:

Originally Posted by mistermickster
You know what I find annoying :?: Having to input the path to TMPGEnc every time :x

Why can't CQMatic save it in a config file and read it in each time it is started :?:

That's exactly what it does. You should not have to give the path each time. There is a problem on your PC :-)

You know what, you're right. :oops:

Everything's hunky-dory now :)

kwag 12-04-2003 11:02 AM

NEW :!:
CQMatic (with CalcuMatic) in an easy installer package: http://www.kvcd.net/Setup_CQMatic.exe
Includes CQMatic version 1.2.06 and CalcuMatic version 1.0.6

-kwag

Encoder Master 12-04-2003 12:50 PM

Brilliant kwag :D :D :D

kwag 12-04-2003 01:20 PM

Next version (1.3.0) will have the "Power Down" check box.
I already have the code in. Just have to dress it up with a countdown/abort window, and it will be set.
I don't have a time frame to upload it yet. But expect it very soon :cool:

-kwag

Encoder Master 12-04-2003 01:27 PM

And the work at Batch Encode :?: :wink:

kwag 12-04-2003 01:30 PM

Quote:

Originally Posted by Encoder Master
And the work at Batch Encode :?: :wink:

No. Not for a while ;)

-kwag

rds_correia 12-06-2003 12:14 PM

Quote:

Originally Posted by kwag
NEW :!:
CQMatic (with CalcuMatic) in an easy installer package: http://www.kvcd.net/Setup_CQMatic.exe
Includes CQMatic version 1.2.06 and CalcuMatic version 1.0.6

-kwag

Hi kwag,
Apparently there seems to be some confusion about the new installer packaged version of CQMatic.
You said it includes CQM 1.2.06 but I installed it and it claims to be CQM 1.2.05 instead.
No problem for me because I don't really like installers that much :)
Anyway keep on with your wonderful work.
Cheers.

kwag 12-06-2003 01:48 PM

Thanks rds_correia,

I screwed up :x
I'll update the package in a few minutes.

Edit: Package updated with CQMatic 1.2.06.

-kwag

rds_correia 12-06-2003 02:18 PM

Man!
You are fast :!:
Great work kwag 8) .
Think you could add an option under CalcuMatic so users could choose 1/3 of a 4.7GB and 1/2 a 4.7GB?
You know, if I have 3 movies of 120min each, or maybe 2 movies of 180min each...
I'm not so good with my math :roll:
Thnx

kwag 12-07-2003 05:35 PM

Quote:

Originally Posted by rds_correia
Think you could add an option under CalcuMatic so users could choose 1/3 of a 4.7GB and 1/2 a 4.7GB?
You know, if I have 3 movies of 120min each, or maybe 2 movies of 180min each...

That's why there's an option in CalcuMatic, where it says: "Video Streams" ;)

-kwag

rds_correia 12-07-2003 06:12 PM

Quote:

Originally Posted by kwag
Quote:

Originally Posted by rds_correia
Think you could add an option under CalcuMatic so users could choose 1/3 of a 4.7GB and 1/2 a 4.7GB?
You know, if I have 3 movies of 120min each, or maybe 2 movies of 180min each...

That's why there's an option in CalcuMatic, where it says: "Video Streams" ;)

-kwag

Hmmm, I see your point 8O.

cweb 12-16-2003 12:09 PM

I'm trying to convert an AVI (encoded using XviD dev-api-3) into a KVCD using CQMatic...

Well I have the latest beta 2 XviD dev-api-4 installed (Koepi build) on my PC,
and while things still work after every prediction sequence Tmpgenc bombs out with an error in XVID.DLL once it finishes, mind you...
I don't really think there's anything I can do (except manually close Tmpgenc every time it bombs!).

TheDJ 12-17-2003 11:12 AM

Quote:

Originally Posted by Avalon
Jeep and i'm finished!

Go for it!!!!!!!!!!!!!

:arrow: Avalon's CQMatic Guide (English)

The page wont load.

I am completely lost with making an avisynth script for this! Just tried making one with moviestacker, and when i loaded it into tmpgenc, the resulting parameters were hilarious! :imstupid:

HELP!

Can someone please show me an example? :oops:

kwag 12-17-2003 12:51 PM

Quote:

Originally Posted by TheDJ®
I am completely lost with making an avisynth script for this!

Use the optimal script, and just change the required values for your movie, based on the "suggested" parameters that MovieStacker gives you.
You don't have to generate any new scripts. Use the MA script as a basic template.

-kwag

cweb 12-18-2003 08:52 AM

Is it possible to have in a new version, a setting for SVCD wrapper?

Because I mux in that way with bbmpeg so my player will play the KVCD(x3) and this causes some more overhead.

kwag 12-18-2003 09:44 AM

Quote:

Originally Posted by cweb
Is it possible to have in a new version, a setting for SVCD wrapper?

Because I mux in that way with bbmpeg so my player will play the KVCD(x3) and this causes some more overhead.

That's a muxing issue. Not a CQMatic issue :!:

-kwag

mistermickster 12-18-2003 09:58 AM

Quote:

Originally Posted by cweb
Is it possible to have in a new version, a setting for SVCD wrapper?

Because I mux in that way with bbmpeg so my player will play the KVCD(x3) and this causes some more overhead.

When using CalcuMatic to get the Avg bitrate, use the 'custom' CD setting and subtract the overhead from the CD size :wink:

Abond 12-18-2003 10:07 AM

Quote:

When using CalcuMatic to get the Avg bitrate, use the 'custom' CD setting and subtract the overhead from the CD size :wink:
That means you know how much is the overhead. Do you really know?

cweb 12-21-2003 09:02 AM

Quote:

Originally Posted by Abond
Quote:

When using CalcuMatic to get the Avg bitrate, use the 'custom' CD setting and subtract the overhead from the CD size :wink:
That means you know how much is the overhead. Do you really know?

I don't know exactly - perhaps a few megabytes. I thought there might be some way to calculate it more precisely. I'll keep experimenting.

ssarwar12 12-22-2003 05:25 PM

CQ comes out 89.77 always
 
I am trying to make KSVCD with 720x480 resolution with MA script using notch matrix.

When I use CQmatic for prediction it always gives 89.77. I have tried it with three movies, 127min, 110 min and 90min for two 2CD's. When I use CQ of 89.77in TMPGEnc second file comes out too large for a 80min CD.

Don't know what I am doing wrong. Does anybody have aclue on what's going on. Thanks in advance for help.

Dialhot 12-22-2003 05:50 PM

Read carefully all what is indicated at the top of this topic and do EXACTLY what is said. Everything is well indicated.
Remember also to use only SHORT names and path (for instance, put all you files in a directory called "c:\kvcd").

ssarwar12 12-23-2003 03:16 PM

I have read all 37 pages and did not find this problem. I have found problem where TMPGEnc goes over the movie quickly and gives CQ of 90.

My problem is that CQmatic goes through 4 prediction cycles and takes approximately 10min for each cycle and gives me 89.77 value.

When you say to keep path short for which file. I have CQmatic under program files and TMPGenc under C drive.

Dialhot 12-23-2003 04:01 PM

Quote:

Originally Posted by ss
When you say to keep path short for which file. I have CQmatic under program files and TMPGenc under C drive.

Not for the tools, for ALL FILES INVOLVED IN THE PROJECT : the source (d2v or avi file), the avs script, the tmpgenc project file (tpr)...

(that's not mandatory for all, but do not complicate the things : put EVERYTHING there and you will be sure :-))

Gaudi 12-23-2003 06:06 PM

I may also suggest to use paths without spaces on them.

Hope it helps, as it helped me.


Gaudi

cweb 12-26-2003 10:06 AM

Quote:

Originally Posted by cweb
Quote:

Originally Posted by Abond
Quote:

When using CalcuMatic to get the Avg bitrate, use the 'custom' CD setting and subtract the overhead from the CD size :wink:
That means you know how much is the overhead. Do you really know?

I don't know exactly - perhaps a few megabytes. I thought there might be some way to calculate it more precisely. I'll keep experimenting.

I'm currently down to 775 megabytes per 80min CD... as 780 was a bit too much and I had to reduce the audio of one segment to 128 from 160...

CqMatic is great, I must say again. Happy Christmas to you Kwag and all those who contribute here.

kwag 12-26-2003 12:48 PM

Quote:

Originally Posted by cweb
CqMatic is great, I must say again. Happy Christmas to you Kwag and all those who contribute here.

Thanks cweb, and Merry Christmas to you too :D

-kwag

TheDJ 12-30-2003 04:24 PM

After prediction is complete, i'm getting an error from TMPGE; "Illegal Stream Error" , then i press OK, and TMPGE continues encoding, but then i notice the encoded film looks bad quality and colours are very blurry and dark?

Script;

AviSource("C:\**.avi")
BlindPP(cpu=4)
Blockbuster(method="noise",detail_min=1,detail_max =3,variance=0.1,seed=1)
Convolution3D(1, 6, 12, 6, 8, 2.8, 0)
GripCrop(480, 480, overscan=1, source_anamorphic=false)
GripSize(resizer="LanczosResize")
Undot()
TemporalSoften(2,7,7,3,2)
DctFilter(1, 1, 1, 1, 1, 1, 0.5, 0)
GripBorders()


any help plz?

mistermickster 01-15-2004 03:22 AM

I've noticed that Kwag isn't replying much lately.

Lets hope that he's busy updating CQMatic :D

While we're on the subject, any chance of CQMatic runiing in batch mode ?

Cheers Kwag

cweb 01-27-2004 07:23 AM

I'm recording episodes of the show My Hero from satellite, and this one (some episodes at least) causes CQMatic to give me a large incorrect CQ (over 89), and the file difference indicated in CQMatic is a very large negative number... The correct CQ would be around 60 (I'm putting 3 episodes in KVCDx3 per 80 minute CD with about 6M for the SVCD wrapper overhead).

Just thought it would be useful to know - perhaps this could be fixed somehow.

TheDJ 01-27-2004 07:25 AM

i've stopped using CQMatic to be honest, i prefer dvd2svcd.

cweb 01-27-2004 07:28 AM

I prefer CQMatic because I don't like loss of control.. I prefer to set up everything myself - avisynth, tmpgenc, filters, script etc. CQMatic just helps with file prediction size.


In the above case I mentioned, I am using X1 prediction.

Dialhot 01-27-2004 08:27 AM

Quote:

Originally Posted by TheDJ®
i've stopped using CQMatic to be honest, i prefer dvd2svcd.

It seems you are lukier than I am because on the last 10 attempts with this software, 7 got way under the target (100 MB under :-() and only one was correct :-(

BTW, are you aware that DVD2SVCD use a 20% B-spoilage and that is definitely not recommanded ?

TheDJ 01-27-2004 08:42 AM

Quote:

Originally Posted by Dialhot
Quote:

Originally Posted by TheDJ®
i've stopped using CQMatic to be honest, i prefer dvd2svcd.

It seems you are lukier than I am because on the last 10 attempts with this software, 7 got way under the target (100 MB under :-() and only one was correct :-(

I'm sorry to hear that, seems the program isnt ready yet? I'm sure Kwag is dealing with it. :wink:

Quote:

Originally Posted by Dialhot
BTW, are you aware that DVD2SVCD use a 20% B-spoilage and that is definitely not recommanded ?

I'm not quite sure wot u mean, but its doing a better job for me than CQMatic is. I had the freeze problem every split second if u remember, and converted same file in dvd2svcd, and that did it perfectly, so stick to wot works is my motto. Quality is still good with divx/xvid, but there is still this smudgy look to overall picture (even with CQmatic) and skin colour on face especially. Other than that, its great! I have burned many many films, still have alot to watch 8)

But i still have that problem with shorter films/documentary's, the prediction (trial and error), doesnt encode the whole documentary, would always miss maybe 2-3 minutes off the end. I have yet to try short films/dcoumentarys (under 1hour) with CQMatic, as i had problems doing normal movies.

Dialhot 01-27-2004 08:54 AM

Quote:

Originally Posted by TheDJ®
I'm sorry to hear that, seems the program isnt ready yet? I'm sure Kwag is dealing with it. :wink:

I was atlking about DVD2SVCD ! And there is no way to deal with that as the problem is internal to the tool (I talk about that a lot in the DVD2SVCD forum).

Quote:

I'm not quite sure wot u mean, but its doing a better job for me than CQMatic is. I had the freeze problem every split second if u remember, and converted same file in dvd2svcd, and that did it perfectly, so stick to wot works is my motto.
CQMatic just calculate the CQ, and does nothind else. So your probmem is not with CQMatic. It's possible that indeed the B-spoilage used by DVD2SVCD fix you freezing problem :-)

Quote:

Quality is still good with divx/xvid, but there is still this smudgy look to overall picture (even with CQmatic) and skin colour on face especially.
Thats is a divx/xvid issue :-)

Quote:

Other than that, its great! I have burned many many films, still have alot to watch 8)
What are your settings in the "Encoder" tab, under the section "CQ Test Values" ?

Quote:

doesnt encode the whole documentary, would always miss maybe 2-3 minutes off the end.
Did you ever read what I told to you at this subject ???
Look at the avs script generated by D2S : there is no way the movie is not encoded completly ! For that you need a "trim" instruction at the end of the script. Look into it : there isn't any line like this :!:

Stop asking to DVD2SVCD to remove the temporary files and stop begging it to make CD image and you will see that you have ALL the movie there but split in two files.

I told you that so much...

TheDJ 01-27-2004 09:50 AM

Quote:

Originally Posted by Dialhot
What are your settings in the "Encoder" tab, under the section "CQ Test Values" ?

Offset CQ Value: 80, CQ Value Factor: 1.000, % of movie to test: 2

Quote:

Originally Posted by Dialhot
Stop asking to DVD2SVCD to remove the temporary files and stop begging it to make CD image and you will see that you have ALL the movie there but split in two files.

I told you that so much...

I never delete temporary files, only manually, and never make CD images coz i like to check the movie before burning.

Dialhot 01-27-2004 09:56 AM

Quote:

Originally Posted by TheDJ®
Offset CQ Value: 80, CQ Value Factor: 1.000, % of movie to test: 2

And how much test does it take to d2s generally to find the CQ ?

Quote:

I never delete temporary files, only manually, and never make CD images coz i like to check the movie before burning.
At least I have an answer on this point ! :-)

So, as you do that, did you check the mvp file (the video stream) that is generated. Does it contain all the video or not ?
Don't you have also 2 files generated by bbmpeg (called xxx00.mpg and xxx01.mpg) ?

kwag 01-27-2004 10:38 AM

Quote:

Originally Posted by TheDJ®
I'm sorry to hear that, seems the program isnt ready yet? I'm sure Kwag is dealing with it. :wink:

Nope. No more :!:
It's IMPOSSIBLE to achieve a high accuracy by sampling only parts of a movie. There is NO WAY for me, or for ANYONE, to devise a highly accurate prediction method, unless the complete footage can be pre-analyzed. The best I did was the X3 mode in CQMatic, and this can fail, if the sampled parts of the movie vary from the non-sampled parts, if they are too different in action content. If the movie is very linear, meaning the action is well distributet throughout the movie, then the result will be excelent and below 2% in final file size. But this is not the case for all movies. So I've done my best, and that's it.
BTW, for KDVDs, I'm done with prediction as it's not needed, at least for KDVDs :!: Look at the thread "ffvfw" in this forum ;)

-kwag

TheDJ 01-27-2004 01:00 PM

Quote:

Originally Posted by Dialhot
And how much test does it take to d2s generally to find the CQ ?

On average i would say between 4-8 tests.

Quote:

So, as you do that, did you check the mvp file (the video stream) that is generated. Does it contain all the video or not ?
I did not check, but will check on the next conversion.

Quote:

Don't you have also 2 files generated by bbmpeg (called xxx00.mpg and xxx01.mpg) ?
Nope, never got 2 files.

TheDJ 01-27-2004 01:04 PM

Quote:

Originally Posted by kwag
It's IMPOSSIBLE to achieve a high accuracy by sampling only parts of a movie. There is NO WAY for me, or for ANYONE, to devise a highly accurate prediction method, unless the complete footage can be pre-analyzed.

-kwag

Hi Kwag, thnx for the reply.

One question, when doing a prediction, how does it find different parts of the movie to test? I was wondering if it finds highest peaks in the film, and if so how? Or is this the part which is impossible?

kwag 01-27-2004 01:21 PM

Quote:

Originally Posted by TheDJ®
One question, when doing a prediction, how does it find different parts of the movie to test?

It divides the movie in "slices" (2 minutes of footage), and then encodes those portions.
Quote:

I was wondering if it finds highest peaks in the film, and if so how? Or is this the part which is impossible?
In order to do that, a scan would have to be done on the complete movie.
Even though this is possible, there's no way to determine the compressibility that the encoder will appply to the particular movie, so it's useless.
This would have to be done internally to an encoder, where THE encoder knows how much it will compress the material.

-kwag


All times are GMT -5. The time now is 06:33 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.