[MPlayer-users] ifo viewer for GNU/Linux?

Matt Zagrabelny mzagrabe at d.umn.edu
Mon Oct 5 23:17:56 CEST 2015


Hi Reimar,

Thanks for the reply. I appreciate it.

On Sun, Sep 6, 2015 at 1:00 PM, Reimar Döffinger
<Reimar.Doeffinger at gmx.de> wrote:
> On Sat, Aug 29, 2015 at 08:35:00PM +0200, Peter White wrote:
>> On 08/28/15 05:32, Matt Zagrabelny wrote:
>> >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


More information about the MPlayer-users mailing list