View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 10 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: mplayer & srt subtitles
PostPosted: Wed Jun 21, 2006 7:25 am 
Offline
Joined: Mon Jun 12, 2006 8:34 am
Posts: 11
Hi,

I would like to watch some avi's (divx/xvid) with .srt subtitles. But I don't get it to work.

What do I need for this to work. Please check with me:

- specific filename format?? Same name as avi file doesn't work. The movie actually doesn't show anymore
- font? I have put a font in the /usr/local/share/mplayer/font dir
- specific commandline option?
- specific keymapping in key setup or lircrc

Any help very much appreciated.

BTW is the mplayer OSD as "minimal" as I get it. just the play, or whatever other icon and when searching a position bar.

thx!!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 29, 2006 2:20 am 
Offline
Joined: Sun Jan 08, 2006 5:13 pm
Posts: 67
Location: Göteborg - Sweden
hi.

make sure the .srt file is located at the same place as the .avi file (and is named exactly the same, ie movie.avi & movie.srt)

then in settings for mplayer edit the command line so that it includes:
-vobsub %s


eg my mplayer command line looks like this:
mplayer -fs -monitoraspect 1366:768 -vobsub %s -quiet -vo xv %s


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 01, 2006 7:50 am 
Offline
Joined: Mon Jun 12, 2006 8:34 am
Posts: 11
Doesn't work :(

When I have a .avi and .srt file in the same dir the movie won't play. When I delete or rename the .srt it will play, but obviously without subs.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 01, 2006 9:14 am 
i just pop the srt file in the same dir it they show up. I added to the config file the colour i wanted but thats about it.

Maybe its a font issue?


Top
  
 
 Post subject:
PostPosted: Sat Jul 01, 2006 2:08 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
Have you tried the command from an xterm? Doing so, will let you see what mplayer spits out... I've played movies w/ subs w/o issue. I forget the format(s) however...

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 03, 2006 1:03 pm 
Offline
Joined: Fri Mar 10, 2006 2:44 am
Posts: 4
Location: Stockholm, Sweden
Just tried a .srt and it worked fine...
But how the heck do I change the font size?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 03, 2006 8:09 pm 
head over to mplayers site and take a look at the docs, its got all the iinfo there to make a config file to set up fonts, colours size


Top
  
 
 Post subject:
PostPosted: Thu Jul 06, 2006 7:45 am 
Offline
Joined: Mon Jun 12, 2006 8:34 am
Posts: 11
I just recall that I've updated mplayer with the script provided on the knoppmyth cd. Is that maybe the issue?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 06, 2006 2:04 pm 
Offline
Joined: Fri Mar 10, 2006 2:44 am
Posts: 4
Location: Stockholm, Sweden
jbman wrote:
head over to mplayers site and take a look at the docs, its got all the iinfo there to make a config file to set up fonts, colours size

Ohh, thanks!
Just kidding, I did of course check out the docs, but I wouldn't say it's obvoius.
Anyhow, for others equaly stupid this is what I think should work:
Add
Code:
subfont-text-scale=XX

to $HOME/.mplayer/config
This works on my Ubuntu box but not on my R5C7 KnoppMyth.
I find this strange, thats why I was asking...


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 07, 2006 9:23 am 
Offline
Joined: Mon Jun 12, 2006 8:34 am
Posts: 11
Thx guys for all the help. I finally got the time to really try and fix it.

I did the following:
- created a subfont.ttf simlink to an arial ttf file in the /home/mythtv/.mplayer dir
- I also added the option -sub %s next to the -vobsub %s as the manual of mplayer said that this was the option for text based subs. (Don't know if this actually did something, because I made both changes at the same time.)

-Finally I changed some settings to make the text a bit smaller. Unfortunately I can't get the text lower on top of the black banner below the movie. The value of 100 positions it on top of the movie and at the bottom, but not below.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 14 guests


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 post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu