Discussion:
[MPlayer-users] ifo viewer for GNU/Linux?
Matt Zagrabelny
2015-08-28 03:32:16 UTC
Permalink
Greetings mplayer-users!

I'm attempting to rip a DVD, which works great - thanks mplayer -dumpstream!

However, I don't know the (english) subtitle stream to rip due to the
subtitles being in a separate stream and not burned into the video.

Is anyone familiar with an IFO viewer that can list the video, audio,
and subtitle streams when selecting various menu options from a DVD
main menu?

Any help would be excellent!

Thanks,

-mz
Peter White
2015-08-29 18:35:00 UTC
Permalink
Post by Matt Zagrabelny
Greetings mplayer-users!
I'm attempting to rip a DVD, which works great - thanks mplayer -dumpstream!
However, I don't know the (english) subtitle stream to rip due to the
subtitles being in a separate stream and not burned into the video.
Is anyone familiar with an IFO viewer that can list the video, audio,
and subtitle streams when selecting various menu options from a DVD
main menu?
Not exactly what you asked for but have you tried -identify? I seem to
remember, that it would also list available subtitle IDs (corresponding
to the -sid option) as well as languages (corresponding to -slang).
I might be wrong but I don't have a DVD handy to check myself.

Or you could just use -slang en.
Reimar Döffinger
2015-09-06 18:00:55 UTC
Permalink
Post by Peter White
Post by Matt Zagrabelny
Greetings mplayer-users!
I'm attempting to rip a DVD, which works great - thanks mplayer -dumpstream!
However, I don't know the (english) subtitle stream to rip due to the
subtitles being in a separate stream and not burned into the video.
Not sure if you are talking about another step, but -dumpstream contains
all streams, in particular all audio and subtitle streams, and
you should be able to step through them during playback as usual.
Post by Peter White
Post by Matt Zagrabelny
Is anyone familiar with an IFO viewer that can list the video, audio,
and subtitle streams when selecting various menu options from a DVD
main menu?
Not exactly what you asked for but have you tried -identify? I seem to
remember, that it would also list available subtitle IDs (corresponding
to the -sid option) as well as languages (corresponding to -slang).
I might be wrong but I don't have a DVD handy to check myself.
Or you could just use -slang en.
That will not work after the dumpstream, the language information
is stored in DVD-specific structures and -dumpstream will lose that.
And the dumpstream will always copy all, so the option will not be
useful there either.
So in summary I don't think that will help :)
Matt Zagrabelny
2015-10-05 21:17:56 UTC
Permalink
Hi Reimar,

Thanks for the reply. I appreciate it.

On Sun, Sep 6, 2015 at 1:00 PM, Reimar Döffinger
Post by Reimar Döffinger
Post by Matt Zagrabelny
Greetings mplayer-users!
I'm attempting to rip a DVD, which works great - thanks mplayer -dumpstream!
However, I don't know the (english) subtitle stream to rip due to the
subtitles being in a separate stream and not burned into the video.
Not sure if you are talking about another step, but -dumpstream contains
all streams, in particular all audio and subtitle streams, and
you should be able to step through them during playback as usual.
I generally perform something like:

mplayer -dumpstream -dumpfile 01.vob dvd://1

Where the title number and vob filename are chosen appropriately.

I then want a programmatic way to find if there is a "default"
subtitle stream. 0x20 is the identifier for English subtitles - for
the whole title. Sometimes there is a bit of non-English dialogue
where instead of burning the text into the video, they put the text
into a separate subtitle stream. It is this stream that is selected by
"default". This stream also seems to have its identifier vary, I've
seen 0x28 and ones that were not 0x28. And that is the stream that I'd
like to programatically determine.

I did use the '-identify' flag as suggested by Peter White (thanks,
Peter!), but that only lists the available streams. Which I can get
via 'ffprobe -i 01.vob'. I need to know when the movie is playing
which subtitle stream was selected to accompany the video.

The end goal is to be able to make sure I get a necessary subtitle
stream when ripping/encoding the main title of DVDs.

Thanks!

-m
Tom Evans
2015-10-30 01:01:27 UTC
Permalink
Post by Matt Zagrabelny
Greetings mplayer-users!
I'm attempting to rip a DVD, which works great - thanks mplayer -dumpstream!
However, I don't know the (english) subtitle stream to rip due to the
subtitles being in a separate stream and not burned into the video.
Is anyone familiar with an IFO viewer that can list the video, audio,
and subtitle streams when selecting various menu options from a DVD
main menu?
Any help would be excellent!
Thanks,
-mz
lsdvd ?
Post by Matt Zagrabelny
$ lsdvd -avs -Oy /mediabox/movies/Horror/Braindead\ \(1992\)/DEADALIVE.ISO
lsdvd = {
'device' : '/mediabox/movies/Horror/Braindead (1992)/DEADALIVE.ISO',
'title' : 'DEADALIVE',
'vmg_id' : 'DVDVIDEO-VMG',
'provider_id' : '',
'track' : [
{
'ix' : 1,
'length' : 5825.166,
'vts_id' : 'DVDVIDEO-VTS',
'vts' : 1,
'ttn' : 1,
'fps' : 29.97,
'format' : 'NTSC',
'aspect' : '16/9',
'width' : 352,
'height' : 480,
'df' : 'Letterbox',
'audio' : [
{
'ix' : 1,
'langcode' : 'en',
'language' : 'English',
'format' : 'ac3',
'frequency' : 48000,
'quantization' : 'drc',
'channels' : 2,
'ap_mode' : 0,
'content' : 'Undefined',
'streamid' : '0x80',
},
],
'subp' : [
{
'ix' : 1,
'langcode' : 'en',
'language' : 'English',
'content' : 'Normal',
'streamid' : '0x20',
},
{
'ix' : 2,
'langcode' : 'en',
'language' : 'English',
'content' : 'Normal',
'streamid' : '0x21',
},
],
},
],
'longest_track' : 1,
}


Cheers

Tom

Loading...