Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

HalleluYAH

macrumors newbie
Original poster
May 20, 2007
28
0
I don't know exactly how to do work with commands in the command-line in the binary-version of MPlayer, and VLC doesn't seem to work when I try to play a video with the subtitles-file, which came with that video.

Would you or anyone else, who knows how to use the command line please tell me exactly what I need to do (please tell me step-by-step) to make a subtitles-file (filename: vmt-tears-xvid.sub) work with a video-file (filename: vmt-tears-xvid.avi) in the binary-version of MPlayer?


So far, I've been given some instructions (quoted below) about how to solve this problem, but I need step-by-step instructions so I can correctly use the command line within the binary-version of MPlayer as this person mentioned:
Willie Sippel said:
The OS X user interface isn't done, yet, so some features (like subtitles) seem to be missing. You should be able to open a video with a subtitle using the command line, but I've only done this on Linux so far. Should work on OS X, too, I think: You need the mplayer binary in $PATH (so that the command is available everywhere), and issue this command:
Code:
mplayer vmt-tears-xvid.avi -sub vmt-tears-xvid.sub
 
Where did you save the mplayer binary? If you go to the terminal (in utilities), change to that directory. Then for the command, start it with ./
so...
./mplayer <command line options>

The ./ will tell the OS that you're looking in the current directory instead of the $PATH variable as he mentioned.

If your avi and sub file are in different directories, you'll have to qualify the path for each in the command line

./mplayer /Users/blah/Desktop/whatever.avi -sub /Users/blah/Desktop/something.sub

On that note, I grabbed the source code and compiled my own, and I use the GUI, not the command line.
 
What sort of problem did you have with VLC? In order to use a separate subtitles file, you should use the 'open' dialog (shift+command+O). Also, according the VLC user's guide, where .sub files are concerned, you should select the .idx file, and not the .sub file.
 
Where did you save the mplayer binary? If you go to the terminal (in utilities), change to that directory. Then for the command, start it with ./
so...
./mplayer <command line options>

The ./ will tell the OS that you're looking in the current directory instead of the $PATH variable as he mentioned.

If your avi and sub file are in different directories, you'll have to qualify the path for each in the command line

./mplayer /Users/blah/Desktop/whatever.avi -sub /Users/blah/Desktop/something.sub

On that note, I grabbed the source code and compiled my own, and I use the GUI, not the command line.
Murfle, I didn't save the MPlayer binary. Would you: please tell me how you compiled a video-file & subtitles-file? or direct me to a website that has file-compiling-instructions? Thanks for your previous suggestions & helpful tips.
What sort of problem did you have with VLC? In order to use a separate subtitles file, you should use the 'open' dialog (shift+command+O). Also, according the VLC user's guide, where .sub files are concerned, you should select the .idx file, and not the .sub file.
The problem was that VLC wouldn't play the subtitles-file along with the video that was downloaded along with it. Thanks for your suggestions & help.
 
I use a special build of mplayer found here, that fully supports subtitles. Just make sure the sub file has the same file name and press j on your keyboard to turn the subs on.

EDIT: I know this build works with .srt and .ssa/.ass files at least I dont see why it wouldent work with .sub/.idx files :)
 
mplayer has a GUI version for Mac OS X, so I'm puzzled as to why you are using the command line version, even Windows has a GUI version of mPlayer now.

In VLC go to Video==>Subtitles to enable the subtitles, though if you've been given instructions for mPlayer then use those if the VLC thing doesn't work as I haven't got any video files with subtitles to test.
 
I use a special build of mplayer found here, that fully supports subtitles. Just make sure the sub file has the same file name and press j on your keyboard to turn the subs on.

EDIT: I know this build works with .srt and .ssa/.ass files at least I dont see why it wouldent work with .sub/.idx files :)
Thanks. I appreciate your kindness. I will get that version of MPlayer.
VLC is nice and solid
I know what you mean.
mplayer has a GUI version for Mac OS X, so I'm puzzled as to why you are using the command line version, even Windows has a GUI version of mPlayer now.

In VLC go to Video==>Subtitles to enable the subtitles, though if you've been given instructions for mPlayer then use those if the VLC thing doesn't work as I haven't got any video files with subtitles to test.
I wasn't using the command-line (binary-version) of MPlayer to play that video-file & subtitles-file. Thanks for telling me what to do with VLC.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.