EcchiNut
23rd March 2004, 18:16
Based originally on this thread (http://forum.doom9.org/showthread.php?s=&threadid=73111) , I was able to add the subtitles in (automatically it seems when i replaced the vob, (on software players), the only problem was messed up colors (which I have fixed already)), BUT, on my standalone players they wouldnt play the subs, not unless I watched the movie with subs on, and went back to the menu to play the video/trailer (hitting the subtitle button on my remote during the video just produces a Subs: -/- (basically meaning no subs to choose from)). So then I tried 2cool's guide on subs on by default (http://forum.doom9.org/showthread.php?s=&threadid=45440) - interesting to note, that MPC acted like my dvd players concerning this matter, and wouldnt play the video with subs, unless i jumped to the main movie, with subs on, and then back to the menu, to watch the "Trailer" with subs (my other software players always played with subs on no matter what (which is what confuzed me)). Once I tried 2cool's method, MPC played the subs automatically, BUT, my standalone's still had the same problem. Hopefully someone can help me out here:
VTS_02_0.ifo
VTS overview:
Menu attributes:
Video: Mpeg-2 720x480 (NTSC) (NTSC 525/60) (16:9) (not specified perm.dispaly)
SubPicture 1: English (2-bit rle)
Title set (movie) attributes:
Video: Mpeg-2 720x480 (NTSC) (NTSC 525/60) (16:9) (not specified perm.display)
Audio 1: English (Dolby AC-3) 5ch 48Kbps DRC (ID:0x80)
PGC_1 (program chain): [Title(TTN): 1] [00:00:00.16 / 30 fps] (programs: 1) (cells: 2) (uses VOB-IDs: 1,2)
[Ch 01] [Pg 01] [Cell 01] [V/C Id: 1/1] :time 00:00:00.08 / 30fps [Pos: 00:00:00.08] [Frames: 8]
[Cell 02] [V/C Id: 2/1] :time 00:00:00.08 / 30fps [Pos: 00:00:00.16] [Frames: 16]
PGC_2 (program chain): [Title(TTN): 2] [00:03:41.00 / 30 fps] (programs: 1) (cells: 1) (uses VOB-IDs: 3)
[Ch 01] [Pg 01] [Cell 01] [V/C Id: 3/1] :time 00:03:41.00 / 30fps [Pos: 00:03:41.00] [Frames: 6630]
As you can see PGC 1 is a dummy pgc that I put in to replace the original trailers, and I havent had any problems doing so, it simply links to PGC 2 (since PGC 1 is linked from the main menu).
On a quick demux my sub stream is 0x20 so I used c0 for this command in my pre PGCITI for PGC_2(never had a pre till now):
PGC Command Table:
Number of Pre Commands 1
Number of Post Commands 1
Number of Cell Commands 0
Size of Command Table in bytes 23
1.Pre Command (SetSTN) Set Subpicture stream: 0 (off)
1.Post Command (CallSS VMGM) Call VMG PGC: 2 [Resume Cell: 1]
VIDEO_TS.IFO
Title Set 2:
VTS_2 Video: Mpeg-2 720x480 (NTSC) (NTSC 525/60) (16:9)
VTS_2 Audio 1: English (Dolby AC-3) 5ch 48Kbps DRC (ID:0x80)
The main cause I'm guessing, is because the the Sub stream isnt listed in both/either of the Title set (movie) attributes for the IFO's - which is why it isnt being listed in my standalone players. Since in my original ifo (the one this vob is from, remember i replaced this move trailers vob, with another that had these subtitles (mentioned in my first link), it has:
Title set (movie) attributes:
Video: Mpeg-2 720x480 (NTSC) (NTSC 525/60) (16:9)
Audio 1: English (Dolby AC-3) 5ch 48Kbps DRC (ID:0x80)
SubPicture 1: English (2-bit rle) (ID:20)
Any ideas? Help! ^_^
VTS_02_0.ifo
VTS overview:
Menu attributes:
Video: Mpeg-2 720x480 (NTSC) (NTSC 525/60) (16:9) (not specified perm.dispaly)
SubPicture 1: English (2-bit rle)
Title set (movie) attributes:
Video: Mpeg-2 720x480 (NTSC) (NTSC 525/60) (16:9) (not specified perm.display)
Audio 1: English (Dolby AC-3) 5ch 48Kbps DRC (ID:0x80)
PGC_1 (program chain): [Title(TTN): 1] [00:00:00.16 / 30 fps] (programs: 1) (cells: 2) (uses VOB-IDs: 1,2)
[Ch 01] [Pg 01] [Cell 01] [V/C Id: 1/1] :time 00:00:00.08 / 30fps [Pos: 00:00:00.08] [Frames: 8]
[Cell 02] [V/C Id: 2/1] :time 00:00:00.08 / 30fps [Pos: 00:00:00.16] [Frames: 16]
PGC_2 (program chain): [Title(TTN): 2] [00:03:41.00 / 30 fps] (programs: 1) (cells: 1) (uses VOB-IDs: 3)
[Ch 01] [Pg 01] [Cell 01] [V/C Id: 3/1] :time 00:03:41.00 / 30fps [Pos: 00:03:41.00] [Frames: 6630]
As you can see PGC 1 is a dummy pgc that I put in to replace the original trailers, and I havent had any problems doing so, it simply links to PGC 2 (since PGC 1 is linked from the main menu).
On a quick demux my sub stream is 0x20 so I used c0 for this command in my pre PGCITI for PGC_2(never had a pre till now):
PGC Command Table:
Number of Pre Commands 1
Number of Post Commands 1
Number of Cell Commands 0
Size of Command Table in bytes 23
1.Pre Command (SetSTN) Set Subpicture stream: 0 (off)
1.Post Command (CallSS VMGM) Call VMG PGC: 2 [Resume Cell: 1]
VIDEO_TS.IFO
Title Set 2:
VTS_2 Video: Mpeg-2 720x480 (NTSC) (NTSC 525/60) (16:9)
VTS_2 Audio 1: English (Dolby AC-3) 5ch 48Kbps DRC (ID:0x80)
The main cause I'm guessing, is because the the Sub stream isnt listed in both/either of the Title set (movie) attributes for the IFO's - which is why it isnt being listed in my standalone players. Since in my original ifo (the one this vob is from, remember i replaced this move trailers vob, with another that had these subtitles (mentioned in my first link), it has:
Title set (movie) attributes:
Video: Mpeg-2 720x480 (NTSC) (NTSC 525/60) (16:9)
Audio 1: English (Dolby AC-3) 5ch 48Kbps DRC (ID:0x80)
SubPicture 1: English (2-bit rle) (ID:20)
Any ideas? Help! ^_^