LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 2377|回复: 11

f9 mplayer 和smplayer 无法播放问题

[复制链接]
发表于 2008-5-24 10:35:04 | 显示全部楼层 |阅读模式
直接点mplayer播放没一点反映,终端中输入返回如下:
[root@localhost ~]# mplayer
MPlayer SVN-r25979 rpm.livna.org (C) 2000-2007 MPlayer Team
CPU: Intel(R) Celeron(R) CPU 2.00GHz (Family: 15, Model: 2, Stepping: 9)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
The flip-hebrew option can't be used in a config file.
Error parsing option flip-hebrew=no at line 133
[root@localhost ~]#


以下是用smplayer播放到时候到日志
/usr/bin/mplayer -noquiet -nofs -sub-fuzziness 1 -identify -slave -zoom -nokeepaspect -framedrop -input conf=/usr/share/smplayer/input.conf -stop-xscreensaver -wid 79691790 -colorkey 0x020202 -monitoraspect 1.33333 -subfont-autoscale 1 -subfont-text-scale 5 -subcp ISO-8859-1 -subpos 100 -contrast 0 -brightness 0 -hue 0 -saturation 0 -nocache -osdlevel 0 -vf-add screenshot -af scaletempo /media/disk-1/film/大话西游之月光宝盒 全集.rmvb

MPlayer SVN-r25979 rpm.livna.org (C) 2000-2007 MPlayer Team
CPU: Intel(R) Celeron(R) CPU 2.00GHz (Family: 15, Model: 2, Stepping: 9)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
The flip-hebrew option can't be used in a config file.
Error parsing option flip-hebrew=no at line 133
以上两个应该都是同一个问题,不知道应该怎么解决,
以下是我到安装:
[color="Red"][root@localhost ~]# yum install mplayer
Loaded plugins: fastestmirror, presto, refresh-packagekit
Setting up and reading Presto delta metadata
No Presto metadata available for livna
fedora                                                   | 2.4 kB     00:00   
No Presto metadata available for fedora
No Presto metadata available for freshrpms
No Presto metadata available for updates
Determining fastest mirrors
* livna: livna.cat.pdx.edu
* fedora: opensource.nchc.org.tw
* freshrpms: ayo.ie.freshrpms.net
* updates: ftp.oss.eznetsols.org
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package mplayer.i386 0:1.0-0.93.20080211svn.lvn9 set to be updated
--> Processing Dependency: libcucul.so.0 for package: mplayer
--> Processing Dependency: liblirc_client.so.0 for package: mplayer
--> Processing Dependency: libdvdnavmini.so.4 for package: mplayer
--> Processing Dependency: faad2-libs >= 1:2.6.1 for package: mplayer
--> Processing Dependency: libenca.so.0 for package: mplayer
--> Processing Dependency: libcaca.so.0 for package: mplayer
--> Processing Dependency: libfaad.so.0 for package: mplayer
--> Processing Dependency: libxvidcore.so.4 for package: mplayer
--> Processing Dependency: libdca.so.0 for package: mplayer
--> Processing Dependency: libaa.so.1 for package: mplayer
--> Processing Dependency: libnemesi.so.0 for package: mplayer
--> Running transaction check
---> Package faad2-libs.i386 1:2.6.1-3.lvn9 set to be updated
---> Package libdca.i386 0:0.0.5-2.lvn8 set to be updated
---> Package libcaca.i386 0:0.99-0.4.beta11.fc9 set to be updated
---> Package libdvdnav.i386 0:4.1.1-6.fc9 set to be updated
---> Package enca.i386 0:1.9-4.fc9 set to be updated
---> Package aalib-libs.i386 0:1.4.0-0.15.rc5.fc9 set to be updated
---> Package lirc-libs.i386 0:0.8.3-0.3.pre2.fc9 set to be updated
---> Package xvidcore.i386 0:1.1.3-3.lvn9 set to be updated
---> Package libnemesi.i386 0:0.6.4-0.3.rc2.fc9 set to be updated
--> Processing Dependency: libsctp.so.1 for package: libnemesi
--> Processing Dependency: libnetembryo.so.0 for package: libnemesi
--> Running transaction check
---> Package netembryo.i386 0:0.0.5-2.fc9 set to be updated
---> Package lksctp-tools.i386 0:1.0.7-3.fc9 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================
Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
mplayer                 i386       1.0-0.93.20080211svn.lvn9  livna             4.2 M
Installing for dependencies:
aalib-libs              i386       1.4.0-0.15.rc5.fc9  fedora             66 k
enca                    i386       1.9-4.fc9        fedora            120 k
faad2-libs              i386       1:2.6.1-3.lvn9   livna             168 k
libcaca                 i386       0.99-0.4.beta11.fc9  fedora            162 k
libdca                  i386       0.0.5-2.lvn8     livna             108 k
libdvdnav               i386       4.1.1-6.fc9      fedora             84 k
libnemesi               i386       0.6.4-0.3.rc2.fc9  fedora             73 k
lirc-libs               i386       0.8.3-0.3.pre2.fc9  fedora             19 k
lksctp-tools            i386       1.0.7-3.fc9      fedora             72 k
netembryo               i386       0.0.5-2.fc9      fedora             25 k
xvidcore                i386       1.1.3-3.lvn9     livna             240 k

Transaction Summary
=============================================================================
Install     12 Package(s)         
Update       0 Package(s)         
Remove       0 Package(s)         

Total download size: 5.3 M
Is this ok [y/N]: y
Downloading Packages:
Downloading DeltaRPMs:
Rebuilding rpms from deltarpms
(1/12): faad2-libs-2.6.1-3.lvn9.i386.rpm                 | 168 kB     00:04     
(2/12): libcaca-0.99-0.4.beta11.fc9.i386.rpm             | 162 kB     00:01     
(3/12): libnemesi-0.6.4-0.3.rc2.fc9.i386.rpm             |  73 kB     00:00     
(4/12): libdca-0.0.5-2.lvn8.i386.rpm                     | 108 kB     00:03     
(5/12): aalib-libs-1.4.0-0.15.rc5.fc9.i386.rpm           |  66 kB     00:00     
(6/12): lksctp-tools-1.0.7-3.fc9.i386.rpm                |  72 kB     00:00     
(7/12): mplayer-1.0-0.93.20080211svn.lvn9.i386.rpm       | 4.2 MB     02:17     
(8/12): enca-1.9-4.fc9.i386.rpm                          | 120 kB     00:01     
(9/12): libdvdnav-4.1.1-6.fc9.i386.rpm                   |  84 kB     00:01     
(10/12): netembryo-0.0.5-2.fc9.i386.rpm                  |  25 kB     00:00     
(11/12): xvidcore-1.1.3-3.lvn9.i386.rpm                  | 240 kB     00:08     
(12/12): lirc-libs-0.8.3-0.3.pre2.fc9.i386.rpm           |  19 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: lksctp-tools                 ####################### [ 1/12]
  Installing: netembryo                    ####################### [ 2/12]
  Installing: libnemesi                    ####################### [ 3/12]
  Installing: faad2-libs                   ####################### [ 4/12]
  Installing: libcaca                      ####################### [ 5/12]
  Installing: libdca                       ####################### [ 6/12]
  Installing: aalib-libs                   ####################### [ 7/12]
  Installing: enca                         ####################### [ 8/12]
  Installing: libdvdnav                    ####################### [ 9/12]
  Installing: xvidcore                     ####################### [10/12]
  Installing: lirc-libs                    ####################### [11/12]
  Installing: mplayer                      ####################### [12/12]

Installed: mplayer.i386 0:1.0-0.93.20080211svn.lvn9
Dependency Installed: aalib-libs.i386 0:1.4.0-0.15.rc5.fc9 enca.i386 0:1.9-4.fc9 faad2-libs.i386 1:2.6.1-3.lvn9 libcaca.i386 0:0.99-0.4.beta11.fc9 libdca.i386 0:0.0.5-2.lvn8 libdvdnav.i386 0:4.1.1-6.fc9 libnemesi.i386 0:0.6.4-0.3.rc2.fc9 lirc-libs.i386 0:0.8.3-0.3.pre2.fc9 lksctp-tools.i386 0:1.0.7-3.fc9 netembryo.i386 0:0.0.5-2.fc9 xvidcore.i386 0:1.1.3-3.lvn9
Complete!
上面是MPLAYER的安装,只安装了12个文件,我记的F7这么安装到时候要安装22个到,不知道是不是因为少安装了文件引起的,应该怎么解决。
[color="Red"][root@localhost ~]# yum install mplayer-gui
Loaded plugins: fastestmirror, presto, refresh-packagekit
Setting up and reading Presto delta metadata
No Presto metadata available for livna
No Presto metadata available for fedora
No Presto metadata available for freshrpms
No Presto metadata available for updates
Loading mirror speeds from cached hostfile
* livna: livna.cat.pdx.edu
* fedora: opensource.nchc.org.tw
* freshrpms: ayo.ie.freshrpms.net
* updates: ftp.oss.eznetsols.org
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package mplayer-gui.i386 0:1.0-0.93.20080211svn.lvn9 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================
Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
mplayer-gui             i386       1.0-0.93.20080211svn.lvn9  livna             3.5 M

Transaction Summary
=============================================================================
Install      1 Package(s)         
Update       0 Package(s)         
Remove       0 Package(s)         

Total download size: 3.5 M
Is this ok [y/N]: y
Downloading Packages:
Downloading DeltaRPMs:
Rebuilding rpms from deltarpms
(1/1): mplayer-gui-1.0-0.93.20080211svn.lvn9.i386.rpm    | 3.5 MB     02:23     
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: mplayer-gui                  ######################### [1/1]

Installed: mplayer-gui.i386 0:1.0-0.93.20080211svn.lvn9
Complete!

[color="Red"][root@localhost ~]# yum install mplayer-skins
Loaded plugins: fastestmirror, presto, refresh-packagekit
Setting up and reading Presto delta metadata
livna                                                    | 2.1 kB     00:00   
No Presto metadata available for livna
No Presto metadata available for fedora
freshrpms                                                | 2.1 kB     00:00   
No Presto metadata available for freshrpms
updates                                                  | 2.3 kB     00:00   
No Presto metadata available for updates
Loading mirror speeds from cached hostfile
* livna: livna.cat.pdx.edu
* fedora: opensource.nchc.org.tw
* freshrpms: ayo.ie.freshrpms.net
* updates: ftp.oss.eznetsols.org
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package mplayer-skins.noarch 0:1.8-1 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================
Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
mplayer-skins           noarch     1.8-1            freshrpms          13 M

Transaction Summary
=============================================================================
Install      1 Package(s)         
Update       0 Package(s)         
Remove       0 Package(s)         

Total download size: 13 M
Is this ok [y/N]: y
Downloading Packages:
Downloading DeltaRPMs:
Rebuilding rpms from deltarpms
(1/1): mplayer-skins-1.8-1.noarch.rpm                    | 6.7 MB     03:10     
http://ayo.ie.freshrpms.net/fedo ... s-1.8-1.noarch.rpm: [Errno -1] Package does not match intended download
Trying other mirror.


Error Downloading Packages:
  mplayer-skins-1.8-1.noarch: failure: RPMS/mplayer-skins-1.8-1.noarch.rpm from freshrpms: [Errno 256] No more mirrors to try.

[color="Red"][root@localhost ~]# yum install smplayer
Loaded plugins: fastestmirror, presto, refresh-packagekit
Setting up and reading Presto delta metadata
No Presto metadata available for livna
fedora                                                   | 2.4 kB     00:00   
No Presto metadata available for fedora
No Presto metadata available for freshrpms
No Presto metadata available for updates
Loading mirror speeds from cached hostfile
* livna: livna.cat.pdx.edu
* fedora: opensource.nchc.org.tw
* freshrpms: ayo.ie.freshrpms.net
* updates: ftp.oss.eznetsols.org
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package smplayer.i386 0:0.6.0-0.3.rc2.lvn9 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================
Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
smplayer                i386       0.6.0-0.3.rc2.lvn9  livna             1.5 M

Transaction Summary
=============================================================================
Install      1 Package(s)         
Update       0 Package(s)         
Remove       0 Package(s)         

Total download size: 1.5 M
Is this ok [y/N]: y
Downloading Packages:
Downloading DeltaRPMs:
Rebuilding rpms from deltarpms
(1/1): smplayer-0.6.0-0.3.rc2.lvn9.i386.rpm              | 1.5 MB     02:53     
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: smplayer                     ######################### [1/1]

Installed: smplayer.i386 0:0.6.0-0.3.rc2.lvn9
Complete!
You have new mail in /var/spool/mail/root
[root@localhost ~]# mplayer
MPlayer SVN-r25979 rpm.livna.org (C) 2000-2007 MPlayer Team
CPU: Intel(R) Celeron(R) CPU 2.00GHz (Family: 15, Model: 2, Stepping: 9)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
The flip-hebrew option can't be used in a config file.
Error parsing option flip-hebrew=no at line 133

我的codecs是按照下面步骤操作的
[color="Red"]安装codecs:
#mkdir /usr/lib/wincodecs/
#mkdir /usr/lib/codecs/
#cd /root/download/mplayer/
#tar vjxf all-20071007.tar.bz2
#mv all-20071007/* /usr/lib/codecs/
#chmod 644 /usr/lib/codecs/*
#chown root.root /usr/lib/codecs/*

#unzip windows-all-20071007.zip
#mv windows-all-20071007/* /usr/lib/wincodecs
#chmod 644 /usr/lib/wincodes/*
#chown root.root /usr/lib/wincodecs/*

做完上面的步骤,mplayer没反映,smplayer能打开但是不能播放,希望高手帮忙,谢谢。
发表于 2008-5-24 10:46:52 | 显示全部楼层
Post by hebehe;1854274
直接点mplayer播放没一点反映,终端中输入返回如下:
[root@localhost ~]# mplayer
MPlayer SVN-r25979 rpm.livna.org (C) 2000-2007 MPlayer Team
CPU: Intel(R) Celeron(R) CPU 2.00GHz (Family: 15, Model: 2, Stepping: 9)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
The flip-hebrew option can't be used in a config file.
Error parsing option flip-hebrew=no at line 133
[root@localhost ~]#



注释 /etc/mplayer/mplayer.conf的133行看看

  1. #flip-hebrew = no
复制代码
回复 支持 反对

使用道具 举报

发表于 2008-5-24 11:43:09 | 显示全部楼层
yum install mplayer*

要*吗?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-24 11:59:40 | 显示全部楼层
不需要加*号的。
谢谢二楼的,现在可以播放了,
还有个问题
就是mplayer-fonts这个应该怎么装,YUM里没有,用mplayer播放的时候会报错
[root@localhost ~]# yum install mplayer-fonts
Loaded plugins: fastestmirror, presto, refresh-packagekit
Existing lock /var/run/yum.pid: another copy is running as pid 1102.
Another app is currently holding the yum lock; waiting for it to exit...
Another app is currently holding the yum lock; waiting for it to exit...
Another app is currently holding the yum lock; waiting for it to exit...
Another app is currently holding the yum lock; waiting for it to exit...
Setting up and reading Presto delta metadata
livna                                                    | 2.1 kB     00:00   
No Presto metadata available for livna
fedora                                                   | 2.4 kB     00:00   
No Presto metadata available for fedora
freshrpms                                                | 2.1 kB     00:00   
No Presto metadata available for freshrpms
updates                                                  |    0 B     00:31   
ftp://ftp.oss.eznetsols.org/linu ... epodata/repomd.xml: [Errno 4] Socket Error: timed out
Trying other mirror.
updates                                                  | 2.3 kB     00:00     
No Presto metadata available for updates
Loading mirror speeds from cached hostfile
* livna: livna.cat.pdx.edu
* fedora: opensource.nchc.org.tw
* freshrpms: ayo.ie.freshrpms.net
* updates: ftp.oss.eznetsols.org
Setting up Install Process
Parsing package install arguments
Package mplayer-fonts is obsoleted by mplayer, trying to install mplayer-1.0-0.93.20080211svn.lvn9.i386 instead
Package mplayer-1.0-0.93.20080211svn.lvn9.i386 already installed and latest version
Nothing to do
[root@localhost ~]#
用smplayer到是没报错,可是效果不理想,播放起来一卡一卡,有办法解决吗,谢谢
回复 支持 反对

使用道具 举报

发表于 2008-5-24 14:19:37 | 显示全部楼层
确实,我的也这样,smplayer很卡,不过mplayer却很好,我一般用mplayer的,和你的版本一样,再说他们本来功能就一样。
smplayer是不是加载了其他的东西?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-29 18:04:23 | 显示全部楼层
但是我用mplayer有报错啊,而且是关不掉的,你一关他就有出来,不停的,所以根本没法看。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-30 20:51:21 | 显示全部楼层
播放卡有办法解决吗,播放时一动就卡那不动了,要暫停后在播放才能继续,有的时候就算不动他也卡那,看个片都不能安稳。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-30 20:53:49 | 显示全部楼层
顶起来,不让沉了,呵呵
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-30 21:11:34 | 显示全部楼层
这个在Mplayer设置菜单里把那个Normalize Sound、 enable equ....、enable software...的三项打上勾选中确定就不会报错了
解决了一个报错到问题,还有一个阿,报错信息如下:
cannot prepare subtitle font
所示把fontconfig=1改成fontconfig=0就好了,但是我没找到fontconfig=1阿,我的mplayer.conf内容如下:
#
# MPlayer configuration file
#
# Configuration files are read system-wide from /etc/mplayer/mplayer.conf
# and per user from ~/.mplayer/config, where per-user settings override
# system-wide settings, all of which are overrriden by the command line.
#
# The configuration file settings are the same as the command line
# options without the preceding '-'.
#
# See the CONFIGURATION FILES section in the man page
# for a detailed description of the syntax.


##################
# video settings #
##################

# Specify default video driver (see -vo help for a list).
#vo=xv

# Use SDL video with the aalib subdriver by default.
#vo = sdl:aalib

# FBdev driver:
#
# mode to use (read from fb.modes)
#fbmode = 640x480-120
#
# location of the fb.modes file
#fbmodeconfig = /etc/fb.modes

# Specify your monitor timings for the vesa and fbdev video output drivers.
# See /etc/X11/XF86Config for timings. Be careful; if you specify settings
# that exceed the capabilities of your monitor, you may damage it.
#
# horizontal frequency range (k stands for 1000)
#monitor-hfreq = 31.5k-50k,70k
#
# vertical frequency range
#monitor-vfreq = 50-90
#
# dotclock (or pixelclock) range (m stands for 1000000)
#monitor-dotclock = 30M-300M

# Start in fullscreen mode by default.
#fs=yes

# Change to a different videomode when going fullscreen.
#vm=yes

# Override the autodetected color depth, may need 'vm=yes' as well.
#bpp=0

# Enable software scaling (powerful CPU needed) for video output
# drivers that do not support hardware scaling.
#zoom=yes

# standard monitor size, with square pixels
#monitoraspect=4:3

# Use this for a widescreen monitor, non-square pixels.
#monitoraspect=16:9

# Keep the player window on top of all other windows.
#ontop=yes


##################
# audio settings #
##################

# Specify default audio driver (see -ao help for a list).
ao = alsa,

# Use SDL audio driver with the esd subdriver by default.
#ao = sdl:esd

# Specify the mixer device.
#mixer = /dev/mixer

# Resample the sound to 44100Hz with the lavcresample audio filter.
#af=lavcresample=44100


##################
# other settings #
##################

# Pretend to be Window Media Player.
# Fixes playback when playlist and media file use the same URL.
#user-agent=NSPlayer/4.1.0.3856

# Drop frames to preserve audio/video sync.
#framedrop = yes

# Specify your preferred skin here (skins are searched for in
# /usr/share/mplayer/skins/<name> and ~/.mplayer/skins/<name>).
#skin = Abyss

# Resample the font alphamap.
# 0 plain white fonts
# 0.75 very narrow black outline (default)
# 1 narrow black outline
# 10 bold black outline
#ffactor = 0.75

# cache settings
#
# Use 8MB input cache by default.
#cache = 8192
#
# Prefill 20% of the cache before starting playback.
#cache-min = 20.0
#
# Prefill 50% of the cache before restarting playback after the cache emptied.
#cache-seek-min = 50

# DVD: Display English subtitles if available.
#slang = en

# DVD: Play English audio tracks if available.
#alang = en

###################
# DVDNAV Settings #
###################
#vc=ffmpeg12,
# A plugged in joystick can interfere with keyboard shortcuts
joystick = no

# FriBidi can do "funny" things to some ISO-8859-* subtitles
#flip-hebrew = no

# You can also include other configuration files.
#include = /home/me/.mplayer/something
fontconfig=yes
font="Sans"
不知道要怎么解决
回复 支持 反对

使用道具 举报

发表于 2008-5-31 01:18:14 | 显示全部楼层
fontconfig=yes

改为

fontconfig=no
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表