LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-03-2004, 04:01 AM   #1
perdesiz
Member
 
Registered: Aug 2003
Location: Turkey
Posts: 88

Rep: Reputation: 15
mplayer subtitle problem


I installed mplayer and it works perfect. But my problem is subtitles. I do have subtitle files but -sub <file name> stuff just doesnt show subtitles. What would be the problem. What should I try?
 
Old 06-03-2004, 09:34 AM   #2
drowstar
Member
 
Registered: Apr 2004
Location: Germany
Distribution: Slackware, Gentoo, Fedora
Posts: 205

Rep: Reputation: 30
Hi perdesiz,
try looking at the output (running the program in terminal).
There might be a problem with fonts (or another error for that matter).
If you cant make sense of it, post it here, I will be glad to help.

good luck,
- drowstar
 
Old 06-03-2004, 01:42 PM   #3
perdesiz
Member
 
Registered: Aug 2003
Location: Turkey
Posts: 88

Original Poster
Rep: Reputation: 15
mplayer fonts

thanks for your interest,



I solved the problem on redhat linux 8.0 machine by adjusting fonts, but mdk 9.1 system I do have at my home still doesnt work it out.Here is the output
I will go on trying,but if you find the fault beforre me please send me feedback,thanx again


[root@localhost sukru]# mplayer -fs -sub /root/.mplayer/subfont.ttf /mnt/cdrom2/Butterfly\ Effect.avi
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale


MPlayer 0.90rc1-3.2.2 (C) 2000-2002 Arpad Gereoffy (see DOCS)

CPU: Intel Pentium 4 Xeon Foster (Family: 8, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Reading config file /usr/local/etc/mplayer/mplayer.confReading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: Reading /usr/local/etc/mplayer/codecs.conf: 49 audio & 123 video codecs
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using Linux hardware RTC timing (1024Hz)

Playing /mnt/cdrom2/Butterfly Effect.avi
Detected AVI file format!
VIDEO: [XVID] 576x320 12bpp 25.00 fps 884.4 kbps (108.0 kbyte/s)
Clip info:
Software: Nandub v1.0rc2
SUB: Detected subtitle file format: subviewer 2.0
SUB: Read 0 subtitles.
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 16000->192000 (128.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
Disabling DPMS
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian)
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Start playing...
This file was encoded with XviD build 9
VDec: vo config request - 576 x 320 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.80:1 - prescaling to correct movie aspect.
VO: [xv] 576x320 => 576x320 Planar YV12 [fs]
 
Old 06-03-2004, 03:51 PM   #4
drowstar
Member
 
Registered: Apr 2004
Location: Germany
Distribution: Slackware, Gentoo, Fedora
Posts: 205

Rep: Reputation: 30
Hi perdesiz,
from the output you posted:
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc

mplayer does not seem to find your fonts. (you can test this by pressing "o" in mplayer while watching a video. This should display information on the time the video has been running. If it doesnt, there is no font installed.)
Have you tried downloading and installing a font for your subtitles? If so, mplayer seems to have problems recognizing / finding it.

From what I can tell, this should solve your problem. Post back if there is still anything not working.

Good luck,
- drowstar
 
Old 06-03-2004, 03:54 PM   #5
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Why are you running MPlayer as root?
 
Old 06-03-2004, 04:11 PM   #6
drowstar
Member
 
Registered: Apr 2004
Location: Germany
Distribution: Slackware, Gentoo, Fedora
Posts: 205

Rep: Reputation: 30
Hm, yes, I didnt even notice that.
XavierP is of course right. Not only is this dangerous and the typical yada-yada, but it may also be part of your problem. Try running mplayer as a normal user (as you always should). solving the problem for root may not solve it for everyday use.

Thanks XavierP for pointing that out,
- drowstar
 
  


Reply



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 problems GT_Onizuka Linux - Software 1 10-26-2003 12:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:56 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