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)

jorel 07-22-2003 09:05 PM

version 1.0 prediction result :!:
:D

starting with CQ60,after 9 times searching the prediction,
CQMatic give me CQ66,64 to encode.

was faster,more or less 8 minutes.
:wink:

encoding now.... :lol:

:D :D

:wink:

totonho03 07-22-2003 09:06 PM

Gentlemen:

I can follow Avalon's audio guide with no problems, but I am not sure of the proper program or steps to follow if I would like to use other audio formats, as MP2.
1.- What program do I need to enter as the external program in TMPGEnc if I want to use MP2? The obvious answer here is head3ac, correct? but then, how do I ensure the proper settings for head3ac?
2.- If I want to do DTS? Is this possible? and why would not I want to do it?
Or perhaps I do it externally, and if this is the case, where do I enter this file in TMPGEnc?

I have tried reading about this, but it is very difficult to find answers, or I still do not know how to search with "and" or "or".

Thanks

Totonho.

Edit: I just learned that Tmpgenc does not work with head3ac.exe as an external encoder, so I will try another one.

audi2honda 07-22-2003 09:17 PM

Hey Kwag which template should I use. I've been away awhile and am seeing all the excitement here. I want to test out CQmatic, but have been spoiled by Tok picking the templates for me.

I ususually do 1 or 2 CD encodes using either 704x480 or 528x480. KVCDx2 or x3 or what?

I know I should know this, but I don't :( Thanks!

kwag 07-22-2003 09:27 PM

Quote:

Originally Posted by audi2honda
Hey Kwag which template should I use.

Anyone you want :)
Quote:

I've been away awhile and am seeing all the excitement here. I want to test out CQmatic, but have been spoiled by Tok picking the templates for me.

I ususually do 1 or 2 CD encodes using either 704x480 or 528x480. KVCDx2 or x3 or what?

I know I should know this, but I don't :( Thanks!
Then I'd suggest KVCDx3 ;)

-kwag

bigggt 07-22-2003 10:26 PM

Thanx ARnet_tenRA,that worked for me.One question when you say the end of the script if i'm using the optimal script could you point me where to put it :oops:

Thanx

DKruskie 07-22-2003 10:28 PM

I go to start the perdiction and all I get is flashes of tmpeg. I'm using the 1.0 beta 1


David

jorel 07-22-2003 10:34 PM

Quote:

Originally Posted by DKruskie
I go to start the perdiction and all I get is flashes of tmpeg. I'm using the 1.0 beta 1


David

David,
read the adjusts in TMPGenc before use CQMatic
in the first post of this thread!

:)

DKruskie 07-22-2003 11:00 PM

I'm doing everything like it says to, cant find anything wrong, just flashes of tmpeg.


David

kwag 07-22-2003 11:05 PM

Quote:

Originally Posted by DKruskie
I'm doing everything like it says to, cant find anything wrong, just flashes of tmpeg.


David

Go back to TMPEG and load your project file again.
Go to Source Range, and click on "Cut Editing" and reset that.
Go back and "Uncheck" Source Range"
Now save your project again.

CQMatic was tested with TMPGEnc 2.520 ( the latest ). What version do you have :?:

-kwag

DKruskie 07-22-2003 11:17 PM

I'm using tmpeg 2.520..ok trying cqmatic again.



David

DKruskie 07-22-2003 11:36 PM

It's working now..Thanks Kwag :!:



David

Avalon 07-22-2003 11:41 PM

That's the Version kwag and I uses too... :wink:

BTW: I'm still running 2.513.53.162. (2.613 German) There it works too

tigger 07-22-2003 11:52 PM

good morning :)

testing now the new version, in the night , last versions of cqmatic werenŽt very successful :(
were running for hours, and couldnŽt find the right cq :(

so lets check the new version :)

bye :)

kwag 07-22-2003 11:56 PM

Quote:

Originally Posted by tigger
good morning :)
last versions of cqmatic werenŽt very successful :(

Yes I know :)
And it took me about 3 hours of work to find and implement the correct algorithm to fix that. I hope it's fixed now 8O
At least I was able to reproduce the problem with a movie, in which it stayed in that long predicting loop. After the fix, it predicted in 4 tries :D
See how many tries it takes with Version 1.0 BETA 1 ;)

-kwag

tigger 07-22-2003 11:59 PM

hi :)

hope its gonna be better now, will post results later :)

bye :)

Avalon 07-23-2003 12:02 AM

I'm still working on Tomb Raider...

My Girlfriend cutted my power to my PC yesterday at 80% :cry: :cry: :cry:

Now I try it with 1.0 beta 1 and TE 2.5.20 :lol: :lol: :lol:

Let's see what comes out.

BTW: She(my girlfriend) is now gone to work 8)


@kwag: CQMatic got my CQ in 2 tries!!!!! It was the same in 92 beta 2, 92 beta 2 a and 1.0 beta 1... DVD2SVCD tried 5 times...

tigger 07-23-2003 12:04 AM

hehe
mine is going to university now, writing a test or sth :)

tigger 07-23-2003 12:08 AM

do you use pal tomb raider?
which settings do you got in moviestacker?

encoded ritter jamal (black knight in english i think), had settings for a 80min cdr, but the file (muxed) had a size of 733 mb in the end...

well :)

tigger 07-23-2003 12:50 AM

@kwag :

well as i can see in the moment, cqmatic works fine on my 53 min movie, did 1 prediction phase with 60, then jumped to 90 , now encoding :)

gonna see which filesize it will have, will tell you later :)

bye :)

kwag 07-23-2003 01:21 AM

Quote:

Originally Posted by tigger
did 1 prediction phase with 60, then jumped to 90 , now encoding :)

Do you mean, it did 2 predictions. One at 60, then jumped to 90, and then the final encoding at 90 :?:
That's the way it should work. It needs to encode at least one sample at 90, and then decide if it's the max, or if it can go lower. Let me know, because if it only did one prediction and then it started encoding, I have a glitch on that specific condition :!:

-kwag

kwag 07-23-2003 02:15 AM

@tigger,

Ok, I just did a test on a 57 minute segment, and CQMatic worked flawlessly :)
Starting CQ=50. Then jumped to 90, and then full encode at 90. That's the way it's supposed to work, so I assume that's the way it also worked for you. Check your log, and see if it reads something like: CQ ABOVE watermark. CQ set to 90.0
So it actually did a first prediction at 60, then a second prediction at 90, and then started the full encode at 90 :)


-kwag

tigger 07-23-2003 02:22 AM

yes , the log says this : CQ ABOVE WATERMARK SET TO 90...

well, iŽll see the final file size, hope its not TOO big now, weŽll see :)

after this, will do another film with cqmatic, will post every result to fix bugs and so :)

bye :)

kwag 07-23-2003 02:40 AM

What I'm looking for is consistent results :!:
If say, everyone gets the same results, either below or above wanted file size, then I'm happy as I can correct the prediction factors. Right now, as it is, I'm getting final size just under the wanted size. I'm currently encoding a movie ( which was ~30MB low ) without any filters. If I get the same (or almost the same) encoded size, then I'll be even happier :)
I believe the way I'm doing prediction is far more precise than the other methods being used. To give you an example, I'm sampling the material every 15 seconds, for .25 seconds. That is, about 6 frames per sample. So I'm sweeping the movie with a higher granularity, instead of one second every minute, as with the usual prediction method. Not to mention that I'm not using AviSynth's functions for prediction at all :!: It's all done directly in TMPEG :)

-kwag

tigger 07-23-2003 03:14 AM

well encoded finally my 53 min movie, it has a size of 843 mb :)

but i already found my fault, in moviestacker, i used the wrong length value, well when i use the right one i think its gonna be ok :))

bye

kwag 07-23-2003 03:28 AM

Quote:

Originally Posted by tigger
well encoded finally my 53 min movie, it has a size of 843 mb :)

but i already found my fault, in moviestacker, i used the wrong length value, well when i use the right one i think its gonna be ok :))

bye

What did you have set :?:

tigger 07-23-2003 03:49 AM

53 min, but its 53 min 31 sec

tigger 07-23-2003 06:37 AM

hmm...

cqmatic is now working and encoding smaller movies, but the filesize of the videostream is always getting too big...
i checked moviestacker but everything is ok...

cqmatic is always takin 90 as cq value , well but this value is too big, because the video stream is going to be 780mb-800mb, when i mux it with audi stream, its too big :)

what could that be?
perhaps i have to make a change?

NismoSX 07-23-2003 10:04 AM

I see that CQMatic adds B picture spoilage = 20 in the Rate Control Mode, even though it is set to 0 in the project. Should it do that?

kwag 07-23-2003 11:08 AM

Quote:

Originally Posted by NismoSX
I see that CQMatic adds B picture spoilage = 20 in the Rate Control Mode, even though it is set to 0 in the project. Should it do that?

No it should't. Jorel reported that to me yesterday, and today I'll take a look. Not that it makes a notable difference in quality!, but it should be set to 0.

-kwag

kwag 07-23-2003 11:12 AM

Quote:

Originally Posted by tigger
cqmatic is always takin 90 as cq value , well but this value is too big, because the video stream is going to be 780mb-800mb, when i mux it with audi stream, its too big :)

what could that be?
perhaps i have to make a change?

I'll take a look at this right now. I must have a wrong logic flaw in the program for some high CQ conditions :!:
I'll encode a 57 minute clip I have, and see if I can reproduce the problem.

-kwag

jorel 07-23-2003 11:18 AM

i did the prediction now with using
CQMatic1.0b1 and after search for 8 times give
CQ66,32.

yesterday the 098 version give CQ66,64.

:!:
:wink:

edit:
i forgot..the source tested have 32 minutes.

kwag 07-23-2003 12:00 PM

I'm getting fine results with my 57 minute clip (average bitrate 1814) :!:
It did find that it had to encode at CQ=90, and it's currently at ~36% encode, and file size is 248,000KB.

I also finished two full encodes of a movie, one with the optimal script, and another one without any filters at all (just resizing in the .avs) The file difference was :arrow: ~3 MB :!:
This pretty much confirms that prediction is accurate, in the sense that it is producing a constant file size. Wanted final size is 767,644KB, but it might not be reached, which is normal because of the MAX setting of 90. But it should never go above the wanted size :!:

-kwag

fn86 07-23-2003 12:07 PM

Shit... this new version doesn't work... where can i find the older version to check, if it's a problem with this new version...

My Problem: The CQ is always 90 or CQMatic trys to find the best CQ by testing always the same CQ... that means it's an endless loop....

I've just found another problem... Now, CQMatic doesn't try to find the right the CQ... it starts with the encoding the film with any CQ! Also I select Prediction Only

tigger 07-23-2003 12:21 PM

kwag, yourŽre just encoding the video stream right? later, you mux it with the audio...

encoded black knight, cq predicted war 66,81.
file size is 722 mb (audio + video)
yesterday i had 733 mb...:(

fn86 07-23-2003 02:51 PM

Hey kwag!
This BETA3 Version is much better!!!! I'd worked with BETA1... Now I haven't any problems!!!
But If there are going to be some, i'll post them!!!

Thx a lot!!!

kwag 07-23-2003 02:54 PM

Thanks fn86 :)
BETA 3 shouldn't get stuck on a loop anymore.

-kwag

kwag 07-23-2003 03:10 PM

If BETA 3 did indeed solve all looping problems, then the next BETA(s) will be prediction accuracy tweaks, until we're all happy :)
Then the "BETA" name will be gone, and 1.0 Release will be posted :cool:

-kwag

Krassi 07-23-2003 03:12 PM

Did 1.0 beta 3 increase your CQ-values :?:
Looking forward to 1.0 8) .

kwag 07-23-2003 03:14 PM

Quote:

Originally Posted by Krassi
Did 1.0 beta 3 increase your CQ-values :?:

Yes it will :!:
Final tweaks to find the optimal values for prediction :cool:

-kwag

fn86 07-23-2003 06:33 PM

Oh no...

There's still a problem...CQMatic doesn't try to find the right the CQ... it starts with encoding the whole film with the (first) CQ from the tpr-file, you understand?!

Help......

Mh...I have this problem with avi-files.... not with DVD-Rips....


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