Average bitrate
Quote:
I'm go for 2 movies KDVD (audio 192 kbps) in a DVD-5 4.7 GB. Thanks. -Maurus |
Hi Maurus,
Actually, the latest code is now this: Some code is not shown (like audio channels 2, 3 and 4 ) Code:
Select GetGadgetText(#AudioBitrate) So then: Code:
If you use it, try it with any good 2-pass encoder, and you'll see that the encoded file size will match exactly the size calculated by CalcuMatic ;) -kwag |
Thanks, friend.
-Maurus |
1) In your code: What is the quantity value?
It's the overhead? What it's the correct DVD overhead? 2) Totaltime is the time of movie in minutes? Thanks. -Maurus |
Reading the formulas give an easy answer :
- quantity is the number of media you plan to fill (for instance it is 2 when you do 2CD KVCD). - totaltime is the time in second (as bitrate is given in kbit/s) For the overhead, it seems to me that the media values given in the code already take in account the overhead. |
Yes, quantity seems to me the number of disks, but in the older code (that I previous posted) the Mux Overhead is:
Code:
If GetGadgetText(#Overhead) = "VCD/SVCD Mux Overhead" In the new code is not the mux overhead... Where is actually the mux overhead? |
Ok. I did not see that you posted an "old" code.
Karl simply didn't paste all the code tiil the overhead function. But it is still there, and it does not change since the "old" code you gave. (in plain english, the overhead for each media is 10 MB for SVCD and 25 MB per video stream in case of DVD). |
Thanks for all.
-Maurus |
Quote:
Thanks. -Maurus |
Quote:
|
Quote:
180 is the value that Vmesquita choosed when he did a little bitrate calculator called "KDVDCalc", and he probably used that again with Diko. Karl decided to use an other thing. Honnestly, all depend on the complexity of the DVD and you can check this with DVDLabPro. The more stream you add the more is the overhead. So using a fixed value (like 180) is not the correct way. |
Quote:
|
180 was (and is) a good value for that.
|
I've used 4350MB as the size of the disc with overhead subtracted and have had every disc very close to a full one but not over. Two-three movies (or 6-8 episodes) per disc, one or two audio tracks and one subtitle track per movie/episode on almost all discs.
|
Code:
Case " 4.70GB DVD-5" : media = 4508876 2254438? half? Code:
audio_size.f = ( ((taudio / 8) / 1.024) * totaltime ) This movie has 103 minutos total time. In CalcuMatic the average bitrate is 2599. I selected 2 audio streams with 192 and also 2 video streams. With the code posted by Karl, I get 2880. How is calculated this CalcuMatic average bitrate? Thanks. -Maurus |
The Karl's code works ok for me with a only movie in a dvd-5.
Code:
Case " 4.70GB DVD-5" : media = 4508876 2254438? exactly the half? Code:
audio_size.f = ( ((taudio / 8) / 1.024) * totaltime ) This movie has 103 minutes total time. In CalcuMatic the average bitrate is 2599. I selected 2 audio streams with 192 and also 2 video streams. With the code posted by Karl, I get 2880. I'm sure mistaked.... How is calculated this CalcuMatic (2599) average bitrate for 2 video streams? Thanks. -Maurus |
Hi maurus,
Are you SURE you are using the latest version of CalcuMatic :?: The latest is version 1.1.16 here: http://www.kvcd.net/downloads/CalcuMatic.exe -kwag |
Quote:
The media size do not change ! What change is the length of the video. For two movie the lenght is the sum of the two lengths. That's all ! Note: why don't you simply use Calcumatic to compute your bitrate ? Quote:
Note: be carrefull. Two video streams with 2 audio streams means 4 audio streams in total ! Not two. You have 103 + 103 minutes of video and 103*2 + 103*2 minutes of audio. If you want a DVD with TWO movies (so 2 video and 2 audio), then you must specify ONE audio stream. |
I'm very confused.
I'm writing a script for encode KDVD with HC. I want my script calculate the average bitrate. I want put TWO movies (with 1 audio 192 kbps MP2 each one) in a DVD-5 4.7 GB... How I do this in CalcuMatic? For calculate the average bitrate of my first movie, I put: Minutes: 102 Seconds: 12 [Audio 1]: 192 and 2 audio streams (I put 2, because I thinking in my other movie) Media: DVD-5 4,7 GB - 2 video streams (I put 2, because I thinking in my other movie) It's correct? How I must do this in Calcumatic? And.. What are the correct code for calculate this averga bitrate manually for two movies with 1 audio each one? -Maurus |
Quote:
Quote:
Quote:
Quote:
Quote:
The best, in any case, is to simply add the lengths and process as if you have only one movie that has this length ! Quote:
Why do you bother to think with two movies if this confuse you ? 103 minutes x 2 or 206 minutes x 1 lead to the same result, doesn't it ? The only diff is, if you want to use the same computing than calcumatic, in the overhead : for one movie calcumatic use 25 MB as overhead, and 50 for 2 movies. But this does not do a big difference in the final average. |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.