Correcting Menu Language Buttons After Stripping Unwanted Audio(s)
[Feb 10 2004]: Guide has been updated
Here’s a common scenario. You're keeping your menu but need to strip out some unwanted audios so that you can fit your movie nicely on a DVDR. So in below example, before stripping, we have 3 audios present. This information is found in your movie’s IFO/VTS Overview/Title Set (Movie) Attributes section. Your English and French audio is available for selection in your language menu and your Director’s commentary is available in your bonus materials menu. All you really want to strip is 1 or 2 languages so that you can fit your movie easily on a DVD but the audio(s) you want stripped,is right in the middle. So in this guide, assuming your French audio has been stripped out properly ,I'll explain how to fix your new IFO.
Figure 1- Example:
VTS Overview
Title Set (Movie) attributes:
Audio 1: English (Dolby AC-3) 6ch 48Kbps DRC (ID: 0x80)
Audio 2: Français (Dolby AC-3) 6ch 48Kbps DRC (ID: 0x81)
Audio 3: English (Dolby AC-3) 2ch 48Kbps DRC director's comments (ID: 0x82)
You find that when you play your DVD after stripping, your French button now plays your Director’s Commentary and your Director’s Commentary button now plays your English 5.1 audio. That’s because your audio, Audio 3, had shift up into Audio 2’s place and Audio 3, since no value is assigned, actually uses your default (32768). Below is the before and after audio values as shown in IfoEdit. This example is commonly found in your movie’s
IFO / VTS_PGCITI / VTS_PGC_1 / Audio Stream status section.
Note: The maximum of audio streams a DVD can have is 8. Here's the order of values for them.
Figure 2
1st and default: 32768
2nd: 33024
3rd: 33280
4th: 33536
5th: 33792
6th: 34048
7th: 34304
8th: 34560
Figure 3
Code:
(Original IFO) Before Stripping
Audio stream 1 status 32768 [8000] English 5.1
Audio stream 1 uses stream nr.: 0
Audio stream 2 status 33024 [8100] French 5.1
Audio stream 2 uses stream nr.: 1
Audio stream 3 status 33280 [8200] Director’s Commentary
Audio stream 3 uses stream nr.: 2
Audio stream 4 status 0 [0000]
Audio stream 5 status 0 [0000]
Audio stream 6 status 0 [0000]
Audio stream 7 status 0 [0000]
Audio stream 8 status 0 [0000]
Figure 4
Code:
(New IFO) After Stripping
Audio stream 1 status 32768 [8000] English 5.1
Audio stream 1 uses stream nr.: 0
Audio stream 2 status 33280 [8200] Director’s Commentary
Audio stream 2 uses stream nr.: 1
Audio stream 3 status 0 [0000]
Audio stream 4 status 0 [0000]
Audio stream 5 status 0 [0000]
Audio stream 6 status 0 [0000]
Audio stream 7 status 0 [0000]
Audio stream 8 status 0 [0000]
Do you see the audio shift with
French 5.1 stripped out? Well we need to fix your Director’s Commentary button so that it really plays what it says it is and to do that, we need to put back our Audio stream 3 back to where it originally was so here's what we will do first in VTS_PGC_1.
________________________________________________________
1. Note: Start with the last existing audio first. The flow of editing will be easier this way.
Double-click on Audio stream 2 to bring up "Edit Value" input box.
________________________________________________________
2. Ctrl + X (CUT) or right-click on highlighted value and select "Cut".
________________________________________________________
3. Click on "OK".
________________________________________________________
4. Double-click on Audio stream 3 to bring up "Edit Value" input box.
________________________________________________________
5. Ctrl + V (Paste) or right-click on highlighted value and select "Paste".
________________________________________________________
6. Click on "OK".
________________________________________________________
When done, you should now have this.
Figure 5
Code:
Audio stream 1 status 32768 [8000] English 5.1
Audio stream 1 uses stream nr.: 0
Audio stream 2 status 0 [0000]
Audio stream 3 status 33280 [8200] Director’s Commentary
Audio stream 3 uses stream nr.: 2
Audio stream 4 status 0 [0000]
Audio stream 5 status 0 [0000]
Audio stream 6 status 0 [0000]
Audio stream 7 status 0 [0000]
Audio stream 8 status 0 [0000]
________________________________________________________
7. If your VTS has more than one PGC, you must repeat Steps 1 to 6 for all of them.
________________________________________________________
8. Now, we need to correct your movie's audio data in VTSI_MAT (Video TitleSet Information Management Table). Go to / VTSI_MAT.
________________________________________________________
9. Scroll down to address [00000203] and you should see this line, Number of audio streams in VTSTT_VOBS. After stripping, IfoEdit had updated this value and with the example shown Figure 4, there is a value of 2 now instead of 3, as in Figure 3. Since we had just put back our Audio stream 3 (Figure 5), we need to correct this value. The "Number of audio streams in VTSTT_VOBS" corresponds to the last audible audio stream so in my example, that would be 3. Double click on line, and enter new value.
Code:
OLD > Number of audio streams in VTSTT_VOBS 2
NEW > Number of audio streams in VTSTT_VOBS 3
________________________________________________________
10. Now, scroll down to address [0000020c] Aud_2 attributes. The reason why we are here is that when our original Aud_3 (
Director’s Commentary) shifted in Figure 4, it's audio attributes also got shifted to Aud_2. We need to ensure that Aud_3 is updated with the same audio attributes as Aud_2. There is no simple Cut and Paste here so it will be a matter of comparing attributes of one and updating the other. With that said, double click on Aud_2 attributes and you will have your Audio Attributes option window pop up. Just write down each attribute's setting.
- App Mode
- Language
- Coding Mode
- Sample Rate
- Quantisation
- Extension
- Language Type
- Multichannel extension
- Channels
________________________________________________________
11. When done, click OK.
________________________________________________________
12. Double click on Aud_3 attributes. Using the attributes you wrote down in Step 10, correct each one to mirror Aud_2.
________________________________________________________
13. When done, click OK to set.
________________________________________________________
14. Save IFO and BUP
________________________________________________________
15. Play to test. We should now we hearing our
Director’s Commentary when selected in our menus.
________________________________________________________