View Single Post
Old 4th April 2008, 08:30   #96  |  Link
bigotti5
Spielberger
 
bigotti5's Avatar
 
Join Date: Feb 2005
Posts: 838
Quote:
Now I'm working with a Blu-ray disc with subtitles. Is it possible to set the subtitle stream to automatically start by using the SetStream command? I tried, but couldn't get it to work.
Example:
SetStream x, y
x first value -> 4 bytes, 2 bytes pg_text stream, 2 bytes audio stream
y second value -> 4 bytes, 2 bytes ig stream, 2 bytes angle stream

first value
pg_text and audio stream

00000000 00000000 10000000 00000001 - 32769 disp off pg stream 1 (red=display on / off)
00000000 00000000 10000000 00000010 - 32770 disp off pg stream 2
....
00000000 00000000 11000000 00000001 - 49153 disp on pg stream 1
00000000 00000000 11000000 00000010 - 49154 disp on pg stream 2
....
10000000 00000001 00000000 00000000 - 2147549184 set audio stream 1
10000000 00000010 00000000 00000000 - 2147614720 set audio stream 2
10000000 00000011 00000000 00000000 - 2147680256 set audio stream 3
....
10000000 00000011 11000000 00000010 - 2147729410 set audio stream 3 + pg disp on pg stream 2
....

second value
ig and angle stream

00000000 00000000 10000000 00000001 - 32769 set angle stream 1
00000000 00000000 10000000 00000010 - 32770 set angle stream 2
....
10000000 00000001 00000000 00000000 - 2147549184 set ig stream 1
10000000 00000010 00000000 00000000 - 2147614720 set ig stream 2
...
10000000 00000010 10000000 00000010 - 2147647490 set ig stream 2 + angle stream 2
10000000 00000011 10000000 00000111 - 2147713031 set ig stream 3 + angle stream 7

so if you want to set subtitle stream 5 start automatically add
SetStream 49157, 0

Last edited by bigotti5; 4th April 2008 at 08:36.
bigotti5 is offline   Reply With Quote