[MPlayer-users] failed subtitle experiments

Paul Stoeber pstoeber at uni-potsdam.de
Sun Jun 19 01:08:31 CEST 2005


Here's my starting point.

bash$ mplayer dvd://1 -dvd-device /thx1138.dvd -slang en
MPlayer 1.0pre7-3.3.6 (C) 2000-2005 MPlayer Team
[...plays the movie ok with subtitles...]

I'd like to
  1) have the subtitle in my text editor
  2) make a small change to the wording
  3) play the movie again and see only that small change

I don't know how to do this.  Here are some failed attempts.

bash$ mplayer dvd://1 -dvd-device /thx1138.dvd -slang en -dumpsub
MPlayer 1.0pre7-3.3.6 (C) 2000-2005 MPlayer Team
[...]
DVD successfully opened.
Selected DVD subtitle channel: 0 language: en
MPEG-PS file format detected.
demux: File doesn't contain the selected audio or video stream.
Core dumped ;)
[...]

Is this supposed to happen?  I think it contradicts the manpage.  Now try
mencoder.

bash$ rm stream.dump
bash$ mencoder dvd://1 -dvd-device /thx1138.dvd -oac copy -ovc copy -o /dev/null
-slang en -vobsubout bla # adding "-vobsuboutid en" doesn't change the sequel
MEncoder 1.0pre7-3.3.6 (C) 2000-2005 MPlayer Team
[...]
bash$ stat -c '%n %s' *; file bla.sub
bla.idx 38098
bla.sub 3338240
bla.sub: MPEG sequence, v2, program multiplex

Now I've got something.  How can I convert these to MPsub format?

bash$ mplayer dvd://1 -dvd-device /thx1138.dvd -sub bla.sub # adding
"-dumpmpsub" doesn't change the sequel
MPlayer 1.0pre7-3.3.6 (C) 2000-2005 MPlayer Team
[...]
SUB: Detected subtitle file format: rt
SUB: Read 0 subtitles.
Cannot load subtitles: bla.sub
[...]

Is this supposed to happen?

bash$ mplayer dvd://1 -dvd-device /thx1138.dvd -vobsub bla
[...plays the movie ok with subtitles...]
bash$ mplayer dvd://1 -dvd-device /mnt/hda6/filme/thx1138.dvd -ao null -vo null
-benchmark -nosound -vobsub bla -dumpmpsub
[...]
bash$ ls
bla.idx  bla.sub

No luck yet.  I need a hint.  Thank you.




More information about the MPlayer-users mailing list