LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-27-2006, 12:14 AM   #1
deepinlife
Member
 
Registered: Apr 2006
Posts: 78

Rep: Reputation: 15
mplayer subtitle starnge


guys i have slackware 10.2.

i need to see a movie with subtitle written in arabic..
but all what is displayed is that kind of strange marks ..i downloaded an arabic font and put it in

/usr/local/share/mplayer/fonts

and also i tried
mplayer -font

but all gave the same thing..
can anyone help me at this..
should i download more arabic fonts or should i do something in the encoding?
 
Old 08-27-2006, 12:42 AM   #2
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,465

Rep: Reputation: 299Reputation: 299Reputation: 299
Never used arabic fonts myself, but to set a default sub font in mplayer, open "~/.mplayer/config" with your favorite editor and add a line like this:
Code:
font=path/to/your/font
Make sure it points to your actuall font and not just its map.

Mine looks like this:
Quote:
# Write your default config options here!

font=/usr/share/fonts/bitstream-vera/Vera.ttf
subfont-text-scale=3.2
The "subfont-text-scale=" is to change the size (only works with true/freetype fonts).

Last edited by jens; 08-27-2006 at 01:55 AM.
 
Old 08-27-2006, 03:25 AM   #3
deepinlife
Member
 
Registered: Apr 2006
Posts: 78

Original Poster
Rep: Reputation: 15
thx jens..
but i m sorry this hasn't solved it ?!
any more ideas
 
Old 08-27-2006, 03:40 AM   #4
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,465

Rep: Reputation: 299Reputation: 299Reputation: 299
Quote:
Originally Posted by deepinlife
thx jens..
but i m sorry this hasn't solved it ?!
any more ideas
Could you post a link for both an arabic font and subtitle.
 
Old 08-27-2006, 03:50 AM   #5
deepinlife
Member
 
Registered: Apr 2006
Posts: 78

Original Poster
Rep: Reputation: 15
arabic subtitle; http://subtitles.images.o2.cz/d/1788...+Caribbea.html

arabic font :
http://prdownloads.sourceforge.net/a...r.bz2?download
 
Old 08-27-2006, 07:41 PM   #6
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,465

Rep: Reputation: 299Reputation: 299Reputation: 299
Well, I was under the impression that Fribidi could already do this. Sadly it doesn't seem to support shaping yet.

You could build your mplayer from source and add the arabic-subtitles.patch from:
http://phaeronix.net/

Here's an example:
http://www.linux-egypt.org/showthread.php?t=11518
 
Old 08-27-2006, 11:22 PM   #7
deepinlife
Member
 
Registered: Apr 2006
Posts: 78

Original Poster
Rep: Reputation: 15
thx jen , i will recompile and tell
 
Old 08-28-2006, 09:18 AM   #8
folkenfanel
Member
 
Registered: Sep 2004
Location: formerly Fanelia and Zaibach
Distribution: Slackware-current !
Posts: 342

Rep: Reputation: 59
are m$ fonts an option?

Ahallan (Hello)

Are M$ fonts an option for you? I think the standard Arabic M$ fonts should work.

I think they are included in a package for using them on Linux.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mplayer subtitle question... sinanakdas Linux - Software 4 05-07-2007 04:38 PM
Mplayer subtitle question tangle Linux - Software 4 07-28-2005 09:19 AM
Mplayer Subtitle 9.1 Suse Vjekoslav@Linux Linux - Software 5 11-03-2004 03:56 PM
how can i do hebrew subtitle in MPlayer ? SlackwareMan Linux - Software 1 07-29-2004 11:08 AM
mplayer subtitle problem perdesiz Linux - Software 5 06-03-2004 04:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration