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)

MrTibs 08-19-2003 10:11 PM

I checked TMPG and all is fine. I just unloaded all Divx and Mpeg4 codecs. I'll try again.

geantsverts 08-20-2003 03:12 AM

I used tok and now there is cqmatic. What is the difference? Tok calculate the good cq and make automatic gop. It is good?
And cq matic is using the gop of template and calculate the cq, but it does not adapt the gop.
Also, why use cq matic and no tok?
I think that I do not have to understand at all of Cqmatic.
What is the best for kvcd?

Dialhot 08-20-2003 04:55 AM

TOk has accuracy problems with PAL source and especially if you use the last MA script.

CQMatic purpose is to reach a 2% error target whatever the source and the script used.

geantsverts 08-20-2003 05:44 AM

thanks,
I am using kvcd for dvd rip and capture for 1-2hours. I think that i can use KVCD-CQ-352x576-_PAL_-PLUS.mcf for my encode with a good script and cqmatic. Is it a good choice?
I dont know if it's better to compress mpeg1 or mpeg2? I found that mpeg2 is more blur than mpeg1 in low resolution.

kwag 08-20-2003 09:49 AM

You're right geantsvert. Use MPEG-1 for low bitrates. It's better than MPEG-2.

-kwag

doctor robert 08-20-2003 10:24 AM

same problem here
 
Quote:

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

hi everyone! i'll check this when i get home myself. i'm not at my computer that i was running this, but i was using the same resolution (352 x 480 plus latest template) with huffy. i got an average bit rate from moviestacker of 941 and started my cq at 60 under cqmatic 1.1.12a. i wasn't using any plugins. i tried this 3 times and everytime the cq was going into single digit numbers. thanks for such a great website

MrTibs 08-20-2003 08:25 PM

I removed the Divx and Mpeg4 codecs and rebooted but I'm sorry to say that the results were the same. The final encode had a CQ of 2.11

I'm still not convinced that CQMatic is the problem though but I am not sure what to try next. Perhaps I'll take a smaller Huffy sample and try it on my laptop since it has never had a Mpeg4 codec installed on it. I'll also try it on another machine with an MJPEG codec. (Just for fun.)

vhelp 08-20-2003 08:34 PM

hay MrTibs pal,

Some questions, if I may..

* Version of TMPG ?? We use latest, v2.520

* All values in under TMPG's Environment Setting, VFAPI plug-in
...if you can list all your values [x] and un [ ] checked

The above may help us to help you. TMPG may be calling a different codec
or plugin.

-vhelp

doctor robert 08-20-2003 09:33 PM

here are my settings, which i think are probably identical to mrtibs. i ended up with a cq of 2.91 before i cancelled it last time:

all are checked and set to "0" except noted

avi2 (open dml)
bmp/ppm/...
cri sofdec mpeg decoder
microsoft mpeg decoder
wave file reader
tmpgenc project reader 2.520
directshow multimedia file reader (setting -1)
avi vfw compatibility reader (setting -2)
[/IMG]

kwag 08-20-2003 09:45 PM

I wouldn't be surprised if this is a TMPGEnc/HuffYUV CODEC issue :roll:
Please make a test. After you load your source in TMPEG, go to "Source Range" and scroll all the way to the right. See if the time stamp matches the time of your captured video :idea:

-kwag

vhelp 08-20-2003 09:47 PM

Note, all my source testings were done w/ DVD rips. I have not yet tried
any .AVI 's from my ADVC-100 capture projects. That'll be my next CQM
testing phase.

Here is my setup listing, while I do not have any
issues as you's have for TMPG's Environmenta VFAPI plug-in:

All set to "0" 's
---------------------------------
[x] AVI VFW compatibility Reader
[x] AVI2(OpenDML) File Reader
[x] CRI Sofdec MPEG Decoder
[x] CyberLink MPEG-2 Decoder
[x] DirectShow Multimedia File Reader
[x] Microsoft MPEG-1 Decoder
[x] Wave File Reader
[x] Avisynth/VirtualDub script reader v0.1
[x] DVD2AVI project File Reader 1.76
[x] TMPGEnc Project File Reader 2.520

Other codec installs are:
* PowerDVD v3.0
* WinDVD v3.0
* and some odd 'n ends CODECs I can't retrace

Note, remember when settings these, that aftwards, you exit TMPG first,
so that you have TMPG default to your last known VFAPI setups, THEN
proceed to re-save as your .TPR file (in "text" format that is) ..why ?
because, if you only proceed to save as "text" for your CQM projects, then
the next time you use TMPG (for other probjects and things) you won't have
these settings. In time, or later on, you'll forget this fact, and bounce back
to your problems again :!:

-vhelp

J-Wo 08-21-2003 06:10 PM

Oooh calcumatic is excellent! Any plans to make it display 0.57*avgbitrate? And if possible to determine the movie length time by the project file (kinda how moviestacker does it).

kwag 08-21-2003 06:12 PM

Quote:

Originally Posted by J-Wo
Oooh calcumatic is excellent! Any plans to make it display 0.57*avgbitrate? And if possible to determine the movie length time by the project file (kinda how moviestacker does it).

Yes to all your questions, and many more things :D
But I just released it as it is, so you can get a taste of it :cool:

-kwag

vhelp 08-21-2003 06:22 PM

Ah, calcumatic.. another calc to play w/ and test w/ mine hehe.. spider goola..
hmm.. I need a good "moticon" editor hehe.. Anyways..

I'll give your new toy a spin. I've got too many fun things whirling around
here :mrgreen:

Great evening all,
-vhelp

Razorblade2000 08-22-2003 04:50 AM

How about giving calcumatic a Audio Stream multiplier button?
It's always nice to have your local sync and the original version on 1 cd...
and giving :D MiniKDVD :D users the ability to have 448 kbit/s AC3 Streams would also be nice :D

BTW:
Great work... can't belive how small this is 8O

kwag 08-22-2003 11:21 AM

Quote:

Originally Posted by Razorblade2000
How about giving calcumatic a Audio Stream multiplier button?

Hi Razorblade,

I'm too sleepy (just woke up!), and I didn't quite get that :!: Could you explain better please :?
Quote:

It's always nice to have your local sync and the original version on 1 cd...
and giving :D MiniKDVD :D users the ability to have 448 kbit/s AC3 Streams would also be nice :D
If you mean to add 448Kbps to the audio option, consider it done in 1.0.1 (later today)
Quote:


BTW:
Great work... can't belive how small this is 8O
Thanks ;)

-kwag

Razorblade2000 08-22-2003 02:33 PM

I want to have 2 audio streams on a K(S)KVCD, so I have to calculate the double size for the audio...
2 times (German + English) 128 kbit/s instead of 1 time (only German audio)

kwag 08-22-2003 03:13 PM

Quote:

Originally Posted by Razorblade2000
I want to have 2 audio streams on a K(S)KVCD, so I have to calculate the double size for the audio...
2 times (German + English) 128 kbit/s instead of 1 time (only German audio)

Piece of cake :D
Next update will have a spin button (defaulting to 1), for number of audio channels ;)

-kwag

kwag 08-22-2003 04:00 PM

CalcuMatic 1.0.2
 
Done :!: ;)
http://www.kvcd.net/CalcuMatic.exe

Added 1 to 4 audio streams 8O ( necessary :?: ), so that should be adecuate for any standard, non-standard, or future options :idea:

-kwag

bigggt 08-22-2003 04:57 PM

Hey Kwag ,don't know if something screwy is going on or not but didn't have any trouble with your first release of CaluMatic but on this version when i hit exit i'm getting

Quote:

Calcumatic has caused an error in KERNEL32.dll
Its no big deal because it still works just thought i would mention it.

Running ME ,i know its not very good :D but like i said it didn't happen on the first version

Thanx

kwag 08-22-2003 05:57 PM

Quote:

Originally Posted by bigggt
Hey Kwag ,don't know if something screwy is going on or not but didn't have any trouble with your first release of CaluMatic but on this version when i hit exit i'm getting

Quote:

Calcumatic has caused an error in KERNEL32.dll

Not here :!:
Tested on 2 machines, running XP Pro.
Quote:


Its no big deal because it still works just thought i would mention it.

Running ME ,i know its not very good :D but like i said it didn't happen on the first version

Thanx
The only difference is maybe about 1KB larger, but that's it.
Did you restart (M)illy Gat(E)s :lol: :?:

-kwag

doctor robert 08-23-2003 12:24 AM

Quote:

Originally Posted by kwag
I wouldn't be surprised if this is a TMPGEnc/HuffYUV CODEC issue :roll:
Please make a test. After you load your source in TMPEG, go to "Source Range" and scroll all the way to the right. See if the time stamp matches the time of your captured video :idea:

-kwag

i looked at it and the time is correct. i'm clueless. i'll retry with the newer version of cqmatic just in case. i also have the latest tmpgenc (2.59 now).

kwag 08-23-2003 01:43 PM

Hi doctor robert,

Get rid of TMPEG 2.59 :!:
It has bugs on generated file size. Get any version before of after that one.

-kwag

vhelp 08-23-2003 02:56 PM

Hi Kwag and others..

About that Exit error.. I'm having the same problem too !!

http://www.digitalfaq.com/archives/error.gif

The crash only happens when I click on the [Exit] :( button, but when the
[X] buttom is clicked, the app closes down w/ out a hitch of trouble :)
So, there is def. something amiss in the Exit's close procedure :roll:

By the way, this same error message happend on my Windows NT at work.

-vhelp

kwag 08-23-2003 03:25 PM

CalcuMatic 1.0.2a
 
Sorry guys :roll:
Get 1.0.2a: http://www.kvcd.net/CalcuMatic.exe

-kwag

vhelp 08-23-2003 03:32 PM

Hi Kwag..

Just to quickly report back, A-OK !! :wink: Perfecto!!
I'm out to take some CAM footage at the park w/ my Sony TRV22.. back
shortly.

See you guys later,
-vhelp

vhelp 08-23-2003 05:10 PM

pfew!! I'm back from my park adventure :)

..off topic..
FWIW, I had planed to take an hour's worth of footage, and then run it
through CQM for a CAM test run.. Well, my brand new TRV22's battery life
started out w/ 180min... 38 minutes later, the battery decided to show
signs of slow death.. it broadcasted battery failure message :cry:
:idea: I knew I should have brought my Red battery pack :wink: Anyways..

That was my adventure for today.
-vhelp

Dialhot 08-23-2003 05:25 PM

A new battery needs 3-4 full cycles before reaching its full capability.

kwag 08-23-2003 08:35 PM

CalcuMatic 1.0.3
 
Calcumatic 1.0.3 released :!:
http://www.kvcd.net/CalcuMatic.exe

Guess what you can do now :mrgreen:

Changes:
Added 1 to 10 Video streams 8O
Added 1 to 10 Video streams 8O

Why, you may ask :?:
Simple :D
Example #1:
Say you want to put three 45 minute episodes on a single 80 minute CD-R.
Normally, you would have to calculate the video size and audio bitrate for each. Not any more :mrgreen:
Select movie time of 45 minutes. Select one Media of 80 minutes, Then select 1 Audio stream and 3 Video streams (3 episodes), and VOILA :mrgreen: You segment is calculated :!:

http://www.digitalfaq.com/archives/i.../2003/08/9.jpg

That means that each 45 minute segment, which has one audio track, must target a video size of 235,266KB

Example #2:
Want to put four ~120 minute movies (Half D-1) on one DVD-R, with 2 audio channels each?, easy :!:
Select movie time of 120 minutes. Select 2 Audio streams and 4 Video streams (4 movies) :D

http://www.digitalfaq.com/archives/i...2003/08/10.jpg

And there's your target video size ( 899,200KB ) and audio ( 201,600KB ) for each movie.

Use your imagination ;)

-kwag

vhelp 08-23-2003 08:53 PM

Hi Kwag..

..some domb questions here..

To see if I understand this correctly...
* I got Five 60 min TV shows of ST Enterprise (5 episodes) and what I have
* Each 60 min show has it's own Audio
* So, that means I would adjust the following for calcumatic with:

> Target: [4.7GB DVD]
> Video Streams: [5]
> Audio Streams: [5]

Which would give me: ABitrate = 1397.0 Kbps
and (0.57 * ABitrate) = 796.3 Kbps
w/ VS = 628640 KB and
w/ AS = 252000 KB

Am I reading you correctly so far ?? :roll:

-vhelp

kwag 08-23-2003 09:06 PM

Quote:

Originally Posted by vhelp

Am I reading you correctly so far ?? :roll:

-vhelp

Exactly :D

-kwag

doctor robert 08-23-2003 11:51 PM

ok
 
Quote:

Originally Posted by kwag
Hi doctor robert,

Get rid of TMPEG 2.59 :!:
It has bugs on generated file size. Get any version before of after that one.

-kwag

done. back to 2.52. what lossless capture codec has been successfull with cqmatic? is there anything better than huffy out there? i'll try another one since huffy may be my problem. thanks!

vhelp 08-23-2003 11:55 PM

hi doctorRobert..

If HD space is not an issue, how about an uncompressed capture ??
If so, see how that fairs w/ CQM results :roll:

w/ my given system setup, and my Osprey-210 capture card, I can capture
w/ out frame drops on my 2nd pc w/ excellent results.. But currently, I use
my ADVC-100 for the majority of projects.

-vhelp

kwag 08-24-2003 09:44 PM

Edited and corrected my second post on this page.

-kwag

ozjeff99 08-25-2003 04:51 AM

Just wondering if I have missed something. I thought the .57*ave bitrate was to determine the Min in Tmpgenc. At the start of this thread the diagram shows the calculated value as the one used for the CQ calc. Is this correct?

Cheers
ozjeff99

kwag 08-25-2003 09:21 AM

Quote:

Originally Posted by ozjeff99
Just wondering if I have missed something. I thought the .57*ave bitrate was to determine the Min in Tmpgenc.

You haven't missed a thing :D
The field that displays "0.57 * Average", is the value to be used as MIN bitrate. :)

-kwag

ozjeff99 08-25-2003 11:57 AM

Not sure what I'm doing wrong Kwag. I'm on Tmpgenc 2.511 and was OK on earlier version of CQM 1.07. Now with latest, I get Tmpgenc flashing on and off quickly until CQM stops at CQ 89? I've re-set the range settings and ensured no file overwrite. Any ideas?

ozjeff99

ozjeff99 08-26-2003 06:16 AM

OK Got it working again for script with .d2v input :) . My problem is using .avi sources. If I use a script with AviSource() with the source file being a PicVideo compressed .avi, I cannot get CQM to work properly.

However the script inputs nicely into Tmpgenc which will encode it fine for a fixed CQ.

Is this the same type of prob I noticed earlier for Huffy codec?

ozjeff99

kwag 08-26-2003 09:22 AM

CalcuMatic 1.0.4 released!
 
New feature: Added "Source" button to open .d2v files. Will automatically set minutes and seconds of movie.
http://www.kvcd.net/CalcuMatic.exe

Enjoy,
-kwag

mistermickster 08-26-2003 09:50 AM

Re: CalcuMatic 1.0.4 released!
 
Quote:

Originally Posted by kwag
New feature: Added "Source" button to open .d2v files. Will automatically set minutes and seconds of movie.

Can't see the "Source" button!! :?

Will the values calculated in CalcuMatic be passed back to CQMatic? :D


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.