get subtitles from DVD/.vob? (pref. with mplayer/mencoder)

Everything about X, Gnome, KDE, ... and everything running on it

get subtitles from DVD/.vob? (pref. with mplayer/mencoder)

Postby cthulhu » 2011-07-01 09:17

Doing this:
Code: Select all
mplayer dvd://1 -v -dumpstream -dumpfile dump.vob

Gives me all the audio tracks, but not the subtitles. How can I go about getting the subtitles to be included in the file dump.vob? I've tried something like:
Code: Select all
mplayer dvd://1 -v -sid 5 -dumpstream -dumpfile dump.vob

(where -sid 5 was the correct subtitle) but this does not work.

I'm going to use mencoder to make an .avi file (with subtiutles, obviously), so I could, as a last resort, use some other program that extracts the subtitles (suggestions?).
User avatar
cthulhu
 
Posts: 304
Joined: 2009-09-07 12:34

Re: get subtitles from DVD/.vob? (pref. with mplayer/mencode

Postby pendrachken » 2011-07-01 11:56

It's been a while but isn't it -dumpsub you are looking for?
fortune -o
Your love life will be... interesting.
:twisted: How did it know?

The U.S. uses the metric system too, we have tenths, hundredths and thousandths of inches :-P
pendrachken
 
Posts: 1374
Joined: 2007-03-04 21:10
Location: U.S.A. - WI.

Re: get subtitles from DVD/.vob? (pref. with mplayer/mencode

Postby cthulhu » 2011-07-01 12:46

Checking the man-page, there is a:
−dumpsub (MPlayer only) (BETA CODE)
Dumps the subtitle substream from VOB streams. Also see the −dump*sub and −vobsubout* options.

but I'm guessing the "BETA CODE" is not a sign of good reliability.
User avatar
cthulhu
 
Posts: 304
Joined: 2009-09-07 12:34

Re: get subtitles from DVD/.vob? (pref. with mplayer/mencode

Postby pendrachken » 2011-07-01 22:15

cthulhu wrote:Checking the man-page, there is a:
−dumpsub (MPlayer only) (BETA CODE)
Dumps the subtitle substream from VOB streams. Also see the −dump*sub and −vobsubout* options.

but I'm guessing the "BETA CODE" is not a sign of good reliability.

Probably just left over cruft in the man pages. I remember using it years and years ago....
fortune -o
Your love life will be... interesting.
:twisted: How did it know?

The U.S. uses the metric system too, we have tenths, hundredths and thousandths of inches :-P
pendrachken
 
Posts: 1374
Joined: 2007-03-04 21:10
Location: U.S.A. - WI.

Re: get subtitles from DVD/.vob? (pref. with mplayer/mencode

Postby Gew » 2020-06-18 18:46

cthulhu wrote:Checking the man-page, there is a:
−dumpsub (MPlayer only) (BETA CODE)
Dumps the subtitle substream from VOB streams. Also see the −dump*sub and −vobsubout* options.

Anyone who knows his (or her) way with this care to share syntax?

I tried:
Code: Select all
mplayer dvd://1 -dumpsub


.. as well as ..

Code: Select all
mplayer /mnt/dvd/VIDEO_TS/VTS_01_1.VOB -dumpsub


.. as well as ..

Code: Select all
mplayer /mnt/dvd/VIDEO_TS/VTS_01_1.IFO -dumpsub


However, all these commands gives me:

demux: File doesn't contain the selected audio or video stream.
User avatar
Gew
 
Posts: 11
Joined: 2011-11-12 23:02


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable