PDA

View Full Version : Forced Subtitle?


Chatwalker
11th February 2004, 10:48
Hi

Does anyone know how to check a subtile if it's a forced stream?
My first thought was to look if a Pre-Command for the subtitle is present but this works only with a few titles. So there must be another way to find out.

Any comments are welcome!!!!!

Chatwalker

esby
11th February 2004, 15:10
is here the place to ask for it?

Unless you are asking for technical info on how to detect
subtitles in a stream,
i think it should be moved to the proper forum section...

( subtitles ? decrypting ? )

esby

PS: if you are talking of streams:

or it is a video stream...
or is it an audio stream...
or it is an other type of stream...
and by just checking the type you should be able to know what is it...

Nic
11th February 2004, 18:01
I think he means by detecting inside the IFO file to see if a certain subtitle stream is a forced subtitle stream.
(which does fall into development, so this is appropriate for this forum)

Sadly, I don't know the answer. Maybe this thread will come to the attention of mpucoder who will surely know the solution :)

Cheers,
-Nic

mpucoder
11th February 2004, 18:52
searches for his old post - http://forum.doom9.org/showthread.php?s=&postid=430173&highlight=forced#post430173

Chatwalker
11th February 2004, 18:56
Nic is absolutely right. ;)

I work currently on a new IFO-Parser for one of my projects. It would be very nice, if I could recognize forced subs.

I hope mpucoder has any ideas!!

Kind regards
Chatwalker

Chatwalker
11th February 2004, 18:58
Ohhh, i'm a little late....

mpucoder was already answering :D :D :D :D

Chatwalker
11th February 2004, 19:15
@mpucoder

I took a look at the thread you've posted, but i already know this. Sorry, my question was not very accurate.

I need to know how to recognize forced subtitles, which are in a separate Stream. Such streams are shown in a Softwareplayer as enabled when playback starts.

Sorry for my bad englisch.

Chatwalker

esby
11th February 2004, 23:22
sorry for my mistake :)
at least some person answered :)

esby

RB
12th February 2004, 09:34
Chatwalker, mpucoder already gave you the answer. It's simply a pre-command in the IFO.

UMP
12th February 2004, 16:03
Originally posted by Chatwalker
Nic is absolutely right. ;)

I work currently on a new IFO-Parser for one of my projects. It would be very nice, if I could recognize forced subs.

I hope mpucoder has any ideas!!

Kind regards
Chatwalker
AFAIK, you can't determine forced subtitles from the IFO file parsing. You'll have to parse the desired subtitle stream and examine each subpicture unit's control sequence :

0x00 : start displaying forced subtitle
0x01 : start displaying subtitle (non forced)
0x02 : stop displaying subtitle
...


Hope this helps,

ump

mpucoder
12th February 2004, 16:12
That's right. All you can tell from the ifo is what is enabled for display. The SetSTN command can be used to set SPRM 2 to 63, which allows only forced subpictures to display. If that command is present, it would imply that forced subpictures exist, but it is not proof.