View Full Version : ifoedit strip streams problem
violao
8th March 2004, 12:17
Hi all. This is my first post here and at first I would like to thank to all of you for being so kind to share your knowledge. I'm still a newbie in DVD authoring, but I have already discovered some useful things and I plan to post my findings as soon as I'm convinced about them and I feel sure I know what I'm saying.
In the meantime here is the strange problem I ran into last night. Here is what I'm trying to backup from a multi-PGC VTS:
VTS_1:
PGC 1, VOB_ID 2 and 3 - the movie
Audio 0x80 English 6ch AC3
Subtitles 0x20 English
PGC 2, VOB_ID 4 - Warner intro
PGC 3, VOB_ID 1 - Extra documentary
Audio 0x84 English 2ch AC3
Subtitles 0x20 English
These are "important" streams that I tried to strip with IfoEdit VOB Extras, selecting streams 0x20, 0x80 and 0x84 and checking all the VOBs. As a result I get VOB_ID 1 with no audio stream, meaning 0x84 is missing, although I selected it in VOB Extras. VOB_IDs 2 and 3 are stripped correctly (containing 0x80 audio).
Anyone has any idea what is happening here? Is it due to some bug in IfoeEdit? Or is it more likely that my original ripped IFO files are somewhat "irregular" so that confuses IfoEdit?
Thanks and keep up the good work. My guides will follow shortly.
2COOL
8th March 2004, 12:36
Welcome to the forums! :D
No, it isn't a bug with IfoEdit. It was the way it was programmed. Here's what I would do for your IfoEdit fixes.
Correcting Menu Language Buttons After Stripping Unwanted Audio(s)
(http://forum.doom9.org/showthread.php?s=&threadid=46909)Correcting Menu Sub-Title Buttons After Stripping Unwanted Subtitle(s) (http://forum.doom9.org/showthread.php?s=&threadid=53420)
violao
8th March 2004, 13:55
Thanks for answering 2COOL. As a matter of fact those 2 guides are among the first that I read, since I always wanted to keep subtitles with my movies.
I don't think that 0x84 audio shifted. I checked new VTS_01_001 where VOB_ID 1 resides with vstrip and vobrator and they both show no audio stream in VOB_ID 1. Also new VOB_ID 1 is roughly 33 MB smaller than original and that's exactly the size of 0x84 audio track. So the conclusion is: IfoEdit stripped only 1 of the selected audio tracks.
The fact is that 0x80 and 0x84 audio tracks do not reside in the same VOBs and that's perhaps what confuses IfoEdit. I can still try to strip 0x84 working with VOB_ID 1 only and then join with separately stripped VOBS 2 and 3 afterwards, but sonner or later I'll need to re-stream everything in order to keep the original IFO files and we'll get the same problem again.
Someone mentioned problems with IfoEdit stripping and that they moved to DVDShrink for stripping. I still have to try that approach.
MackemX
8th March 2004, 16:45
@vialo, welcome to the forums :)
it is indeed a bug of some kind in Ifoedit 0.95 :( (don't know if it was fixed in 0.96) and your DVD is the perfect example of how it happens
Ifoedit only see the audio stream 0x80 and does not see 0x84 due to 0x82 & 0x83 being missing. When it copies the data it ignores stream 0.84 as there is no linking stream and basically strips it out
so even if you process it and keep everything it will strip the 0x84 audio stream. This also happens with subtitles if the streams have 'gaps' in the stream numbers
you can overcome it with a little tweaking of the IFO's so that it works just fine as this is what we did with DVDStripper to fix it
violao
8th March 2004, 17:22
Originally posted by MackemX
@vialo, welcome to the forums :)
This also happens with subtitles if the streams have 'gaps' in the stream numbers
I have never seen it happen with subtitles and by now I have always worked with non-consecutive subtitles, both keeping and not keeping subpicture stream 1. For example with this DVD I kept subtitle streams 1 and 15, and IfoEdit didn't ignore any of them.
you can overcome it with a little tweaking of the IFO's so that it works just fine as this is what we did with DVDStripper to fix it
If you were suggesting remapping of audio tracks to same stream I don't think it would work since tracks have different formats, 0x80 has 6ch, 0x84 has 2ch.
Generally speaking, I don't think it is a good idea to put different audio/video formats into the same VTS. PGC 1 is 16:9/AC3-6ch and PGC 3 is 4:3/AC3-2ch. I tried to reauthor it with dvdauthor and it crashed in creating VMG. In dvdauthor you set video/audio parameters per VTS, not per PGC. Is this DVD compliant at all?
MackemX
8th March 2004, 17:35
Originally posted by violao
I have never seen it happen with subtitles and by now I have always worked with non-contagious subtitles, both keeping and not keeping subpicture stream 1. For example with this DVD I kept subtitle streams 1 and 15, and IfoEdit didn't ignore any of them.I presume there are streams 2-14 and you are just selecting 1 & 15. I mean if there was just an original stream of 1 and 15 then 15 would be lost
as for the IFO modding, trust me it works ;) but it's a bit long winded to explain at the minute
the DVD is compliant and as I said it's just a simple bug in Ifoedit 0.95 (0.96?) that will affect DVD's with this audio/subtitle structure. So if you process the IFO's, even if you don't strip anything using Ifoedit, it will remove the actual audio/subs data from the VOB :(
it's mostly the extras it will affect. Shallow Hal region 2 is one such DVD that uses the audio as it uses audio streams 4 & 5 and I think the subs go from 14 streams down to 5
violao
8th March 2004, 23:44
Thanks MackemX and 2COOL for pointing me in the right direction. I think I understand now what's happening.
Originally posted by MackemX
I presume there are streams 2-14 and you are just selecting 1 & 15. I mean if there was just an original stream of 1 and 15 then 15 would be lost
You're right.
as for the IFO modding, trust me it works ;) but it's a bit long winded to explain at the minute
I already figured that out. It's necessary to remap streams prior to IfoEdit stripping. After I remapped Audio stream 5 (0x84) to stream 2 Ifoedit strip streams work as expected.
...a simple bug in Ifoedit 0.95 (0.96?) that will affect DVD's with this audio/subtitle structure. So if you process the IFO's, even if you don't strip anything using Ifoedit, it will remove the actual audio/subs data from the VOB :(
I'm using 0.96.
Anyway, I tried to strip with DVD Shrink and it does strip it correctly. New IFO's list both audio streams 1 (0x80) and 5 (0x804). However this would still cause problem to IfoEdit afterwards in case of later restreaming.
Vobrator also strips streams correctly, but it doesn't work with multiple VTS files.
Vstrip could strip individual streams that could be re-authored with IfoEdit, but that involves even more work than with dvdauthor.
I did a simple test stripping just VOB_ID 1, having only 0x84 audio stream with IfoEdit and new VOB again arrives with no audio. This proves your IfoEdit bug theory MackemX.
Finally, the solution:
1. Remap non-consecutive stream #X to #2 (or #1 if there are no other audio streams in original VOBs) with IfoEdit.
This is really simple. Just copy value from Audio stream X in VTS_PGCITI/VTS_PGC_#Y to Audio stream #2 (or #1). Also copy HEX values from VTSI_MAT/Aud_X to Aud_2 (or Aud_1). Just in case, do the same for all PGCs (#Y) in the VTS.
2. Since IFO file now shows previously missing Audio #X stream as #2 (or #1) proceed with stripping as usual.
This in fact works and is much easier than any other strip/demux/join procedure that you might think of.
BTW, I managed to create correct DVD structure with dvdauthor too. After I moved affected VOB_ID 1 to new VTS (VTS 2) and rearranged menu navigation structure, dvdauthor did not crashed and it produced a working DVD with all audio/subtitle tracks.
Thanks again guys. I hope to post some useful guides shortly.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.