john@sympatico.ca
25th November 2002, 05:21
All DVD-9 to DVD-5 transcoding I plan to do will be about the same. No menus, just a single video and audio stream.
I want to verify a few things in deveoping an approach to setting the average and maximum bitrate for a two pass VBR in TMPGEnc (see questions in red). From the guide:
...use the 2 pass VBR mode ... Set the average bitrate as calculated before, the minimum bitrate to 0 bits/s and the maximum bitrate to 10mbit minus the bitrate of all your audio streams. Keep in mind that here a megabit is 1000kilobits, not 1024 as usual in the computer world.
1. Average bitrate
Total data for DVD is (a) 4 437 362 688 bytes (size of DVD-5).
EDIT: I had this wrong, its 4,706,074,624 bytes on a DVD-5
Extras data that can not be transcoded is (b) ~172 032 bytes (VIDEO_TS.BUP, VIDEO_TS.IFO, VTS_01_0.BUP, VTS_01_0.IFO - are they allways the same size?).
Target data to fill is (a - b) 4 705 902 592 bytes
Average bitrate (in Kbs where 1 Kbit is 1000 bits) is then,
4 705 902 592 bytes * 8 / 1000 * (time of film in seconds)
EDIT: I found one mistake I made , I did not account for the audio stream in equation 1. What I calculated was average complete(A+V) bitrate, what I want is average video bitrate which should be:
(4 705 902 592 bytes * 8 / 1000 * (time of film in seconds)) - 48
So this goes with the question below, are AC3 audio track allways the same fixed bitrate?
2. Maximum bitrate
10 Mbit/s = (a) 10 000 Kbit/s
AC3 audio is always (I think this is correct?) = (b) 48 Kbit/s
Max bitrate is (a - b) 9952 Kbits/sec
I think this is right, but if anyone sees anything that I overlooked please let me know.
John
I want to verify a few things in deveoping an approach to setting the average and maximum bitrate for a two pass VBR in TMPGEnc (see questions in red). From the guide:
...use the 2 pass VBR mode ... Set the average bitrate as calculated before, the minimum bitrate to 0 bits/s and the maximum bitrate to 10mbit minus the bitrate of all your audio streams. Keep in mind that here a megabit is 1000kilobits, not 1024 as usual in the computer world.
1. Average bitrate
Total data for DVD is (a) 4 437 362 688 bytes (size of DVD-5).
EDIT: I had this wrong, its 4,706,074,624 bytes on a DVD-5
Extras data that can not be transcoded is (b) ~172 032 bytes (VIDEO_TS.BUP, VIDEO_TS.IFO, VTS_01_0.BUP, VTS_01_0.IFO - are they allways the same size?).
Target data to fill is (a - b) 4 705 902 592 bytes
Average bitrate (in Kbs where 1 Kbit is 1000 bits) is then,
4 705 902 592 bytes * 8 / 1000 * (time of film in seconds)
EDIT: I found one mistake I made , I did not account for the audio stream in equation 1. What I calculated was average complete(A+V) bitrate, what I want is average video bitrate which should be:
(4 705 902 592 bytes * 8 / 1000 * (time of film in seconds)) - 48
So this goes with the question below, are AC3 audio track allways the same fixed bitrate?
2. Maximum bitrate
10 Mbit/s = (a) 10 000 Kbit/s
AC3 audio is always (I think this is correct?) = (b) 48 Kbit/s
Max bitrate is (a - b) 9952 Kbits/sec
I think this is right, but if anyone sees anything that I overlooked please let me know.
John