Log in

View Full Version : Stripping audio


Snakefood
26th November 2007, 15:22
Hi,
sorry if this was explained somewhere before, but i really couldnt find a solution. I succesfully stripped unneeded audio streams with vobblanker - yeah thats ok they're all gone. But if i play the dvd in my dvd player i still can choose missing audio streams on my remote. They aren't physically there (so i dont hear any sound), but i want remove that option. So the missing audio streams cannot be chosen.

Thanks for your suggestions.

edit:
Isnt better to strip audio streams with pgcedit through stream attributes by ticking the DELETE button? :P Can this solve my problem?

edit2:
alright, seems this really can work, but what about those setsn refferences, is it safe?

zacoz
26th November 2007, 16:44
Welcome to the forum Snakefood.

Can it solve your problem? and Is it safe? - Sometimes

The commands in the DVD can use a couple of methods to select the audio stream which will be played - Direct or Indirect SetSTN commands. The later being rather difficult to cleanly deal with - you'd need to trace every possible path and change of variables through the whole DVD.

r0lZ puts it pretty well in the dialog box from PgcEdit's DVD Shrink - Check Streams Remapping Safely plugin, which you can use to analyse your DVD even if not using DVDShrink itself to remove or remap streams.
Dialog title: "PgcEdit: DVDShrink plugin"
Check DVDShrink Streams Remapping

This macro checks if you may safely use the DVDShrink option "Logical remapping of enabled streams" with the current DVD.

When this option is enabled, DVDShrink physically removes the definitions of the stripped streams in the IFOs, and attempts to change all SetSTN commands to point to the new string numbers. However, it is unable to change the indirect SetSTN commands (when a GPRM is used instead of a constant value), because the number of the stream is not hardcoded in the command. It is best to turn this option ON whenever possible, or there will be references to non existing streams, which may confuse the player. This means that it is better to use the logical remapping in Full Disc mode but only if there are no indirect SetSTN command in the DVD.
Notes:
- This option is useless if you don't strip any stream.
- You may safely use it if you strip only the last streams (no gaps).
- The streams remapping option is ignored in Re-author mode.

Analysis results:
No indirect SetSTN commands found in this DVD.
The logical remapping of enabled streams option may safely be ON.

Summary for current DVD:
Recommended setting in Full Disc mode: ON (yes)

Personally, I never bother remapping, as my players are setup to default to English and most of my DVD's have english as the first stream, so I rarely need to make a change.

On the few that I do change, I cheat a little and edit the PGC with PgcEdit to make the removed stream references point to the remaining stream. While it still cycles through when using the remote, you are no longer cycling through silent streams. Probably still a bit of a pain if you're trying to get to the Director's Commentary in the 5th stream though.

In cases where the above plugin confirms remapping is safe, it's a fair bet that r0lZ, Blu et al will be able to enlighten you as to how to achieve the remapping with the least amount of pain possible (I've been absent from this area of the forum too long to be confident in guiding you any further down that path).

Snakefood
26th November 2007, 17:29
Thanks for the warm welcome zacoz.

Well, i am czech, so i want reauthor mostly czech dubbed dvds. I always want to keep czech stream (if available) and english stream.I already figured how to setup default streams, when dvd starts and how to turn on subs, if they are needed. I know its just cosmetic change, but still i like it clean.

I tried the dvdshrink plugin and it tells me that logical remapping is not safe (i have some indirect SetSTN commands present) ... oh well thats what i was afraid of :S Also it tells me if i want to find them i can search for "[41" in the commands. To be honest i dont have any clue what that means.

Thanks.

edit:
after some searching through google i found this discussion at digital video forums ...

http://forum.digital-digest.com/showthread.php?t=73516

It seems thats gonna be hardcore to get the streams sorted and cleaned.

blutach
26th November 2007, 23:36
Once you have stripped the stream with VobBlanker (http://jsoto.posunplugged.com/vobblanker.htm), position the cursor in the domain with the stripped streams and run the Domain Stream Attributes function in PgcEdit (Ctrl-A). This will tell you to remove the unusued streams and clicking OK will fix it up. Or if you are sure that all streams in that VTS are now empty, you can use the Delete, as you have observed.

In order to ensure the SetSTNs are not messed up, delete the menubuttons that refer to the stripped streams. If you like, you can also change the stream numbers in the DVD commands to ones which are present.

Regards

Snakefood
27th November 2007, 20:57
thank you for your help, i think i've got it done