View previous topic :: View next topic |
Author |
Message |
onesandzeros Tux's lil' helper
Joined: 30 Sep 2002 Posts: 108
|
Posted: Thu Oct 14, 2004 2:50 pm Post subject: mplayer and subtitles |
|
|
Hello all,
I've read a few postings here concerning mplayer and subtitles, and a few of them, as well as a few webpages I've seen, mention fonts as a cause of trouble. However, some subtitles work. That is, subtitles in srt format that are with ogm encoded video are fine. However, when I try to play an avi with subtitles, I run into trouble...
In one directory, I have 4 files: an avi, an idx, a rar, and a sub. Now, the sub is just the result of unrar-ing the rar. So, while both mplayer and xine play the ogm/srt just fine, neither will do anything with this other group of files. I've tried specifying the sub, idx, and even the rar as the subtitle file on the command line with mplayer, as well as trying to load each with both (g)mplayer and xine via the respective gui menus. I have and have not changed the files names (changed them and then changed them back). The idx files do not specify the name of the sub.
Both apps (and the entire system, actually) were compiled with nls, cjk, and unicode. If anyone has any suggestions, please...
Thanks,
Chris |
|
Back to top |
|
|
Cocobo-1 Apprentice
Joined: 18 Dec 2003 Posts: 166 Location: Sweden
|
Posted: Thu Oct 14, 2004 3:04 pm Post subject: |
|
|
If the subfile is large. Lager than just the text for the subfile (0-10K) then the subfile is proboly a vobsub file. They are a little special. They contain the font and the text in different languages. Try to start mplayer with
mplayer -vobsub subfile -vobsubid 0
or mplayer -vobsub subfile -sid 0
do not use -vobsub subfile.sub mplayer will detect the file without extention
-sid 0 means language 0. Test 0-31 to find your language.
For more info turn to your mplayer manpage. _________________ Professor: "Good news, everyone. Several years ago I tried to log onto AOL, and
it just went through. Whee! We're online." |
|
Back to top |
|
|
onesandzeros Tux's lil' helper
Joined: 30 Sep 2002 Posts: 108
|
Posted: Fri Oct 15, 2004 10:26 am Post subject: |
|
|
Cocobo,
Thanks, the second one
Code: | mplayer -vobsub subfile -sid 0 |
worked great.
Chris |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|