LinuxSir.cn,穿越时空的Linuxsir!

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

问个smpalyer的播放问题

[复制链接]
发表于 2008-5-3 15:59:01 | 显示全部楼层 |阅读模式
在联想的本本上装了个smplayer 但是播放MKV文件时却只有声音没有图像,有谁碰到这种情况了 ????


mplayer -noquiet -nofs -sub-fuzziness 1 -identify -msglevel demux=6 -slave -vo xv -ao alsa -zoom -nokeepaspect -framedrop -hardframedrop -input conf=/usr/share/smplayer/input.conf -stop-xscreensaver -wid 54525966 -monitorpixelaspect 1 -fontconfig -font 文泉驿正黑 -subfont-autoscale 1 -subfont-text-scale 5 -subcp UTF-8 -aid 0 -subpos 100 -contrast 0 -brightness 0 -hue 0 -saturation 0 -nocache -osdlevel 0 -vf-add screenshot -vf-add eq2,hue -channels 2 -af scaletempo -softvol -softvol-max 110 /home/fedora/Azureus Downloads/Dcmdp__The_Package[FNLM00001170].mkv

MPlayer 1.0-1.rc1.20mdv2008.0-4.2.1 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Celeron(R) M processor         1400MHz (Family: 6, Model: 9, Stepping: 5)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
98 audio & 216 video codecs
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing /home/fedora/Azureus Downloads/Dcmdp__The_Package[FNLM00001170].mkv.
Checking for YUV4MPEG2
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
[mkv] Found the head...
[mkv] + a segment...
[mkv] /---- [ parsing seek head ] ---------
[mkv] /---- [ parsing seek head ] ---------
[mkv] \---- [ parsing seek head ] ---------
[mkv] /---- [ parsing cues ] -----------
[mkv] \---- [ parsing cues ] -----------
[mkv] \---- [ parsing seek head ] ---------
[mkv] |+ segment information...
[mkv] | + timecode scale: 1000000
[mkv] | + duration: 36.969s
[mkv] |+ segment tracks...
[mkv] | + a track...
[mkv] |  + Track number: 1
[mkv] |  + Track type: Video
[mkv] |  + Default flag: 1
[mkv] |  + Codec ID: V_MPEG4/ISO/AVC
[mkv] |  + CodecPrivate, length 39
[mkv] |  + Default duration: 33.333ms ( = 30.000 fps)
[mkv] |  + Language: und
[mkv] |  + Video track
[mkv] |   + Pixel width: 640
[mkv] |   + Pixel height: 480
[mkv] |   + Display width: 640
[mkv] |   + Display height: 480
[mkv] | + a track...
[mkv] |  + Track number: 2
[mkv] |  + Track type: Audio
[mkv] |  + Default flag: 1
[mkv] |  + Codec ID: A_VORBIS
[mkv] |  + CodecPrivate, length 4303
[mkv] |  + Language: und
[mkv] |  + Audio track
[mkv] |   + Sampling frequency: 44100.000000
[mkv] |   + Channels: 2
[mkv] /---- [ parsing attachments ] ---------
[mkv] | + an attachment...
[mkv] |  + FileName: tags file
[mkv] |  + FileMimeType: RFC3023
[mkv] |  + FileData, length 144
[mkv] Attachment: tags file, RFC3023, 144 bytes
[mkv] \---- [ parsing attachments ] ---------
[mkv] |+ found cluster, headers are parsed completely
ID_VIDEO_ID=0
[mkv] Aspect: 1.333333
[mkv] Track ID 1: video (V_MPEG4/ISO/AVC), -vid 0
ID_AUDIO_ID=0
ID_AID_0_LANG=und
[mkv] Track ID 2: audio (A_VORBIS), -aid 0, -alang und
[mkv] Will play video track 1
Matroska file format detected.
VIDEO:  [avc1]  640x480  24bpp  30.000 fps    0.0 kbps ( 0.0 kbyte/s)
ID_FILENAME=/home/fedora/Azureus Downloads/Dcmdp__The_Package[FNLM00001170].mkv
ID_DEMUXER=mkv
ID_VIDEO_FORMAT=avc1
ID_VIDEO_BITRATE=0
ID_VIDEO_WIDTH=640
ID_VIDEO_HEIGHT=480
ID_VIDEO_FPS=30.000
ID_VIDEO_ASPECT=1.3333
ID_AUDIO_FORMAT=vrbs
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=2
ID_LENGTH=36.97
xscreensaver_disable: Could not find XScreenSaver window.
没有为“/apps/gnome-screensaver/idle_activation_enabled”设置值
Opening video filter: [hue]
Opening video filter: [eq2]
Opening video filter: [screenshot]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
ID_VIDEO_CODEC=ffh264
==========================================================================
Trying to force audio codec driver family libmad...
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 0.0 kbit/0.00% (ratio: 0->176400)
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=2
Selected audio codec: [ffvorbis] afm: ffmpeg (FFmpeg Vorbis decoder)
==========================================================================
Couldn't find audio filter 'scaletempo'
[libaf] Couldn't create or open audio filter 'scaletempo'
Error at audio filter chain pre-init!

Exiting... (Fatal error)
 楼主| 发表于 2008-5-3 16:08:25 | 显示全部楼层
oops ..连声音都没了..
回复 支持 反对

使用道具 举报

发表于 2008-5-3 18:56:57 | 显示全部楼层
linux下的视频播放器一般是由三部分组成:解码器(就是各种视频格式编码包)、播放器(比如xine和mplayer)、图形前端(比如kaffeine和smplayer,如果你在终端使用播放器可以不要这个)。

在mplayer网站下载解码器把文件夹改名为win32并且移动到/usr/lib/里了

添加PLF源更新mplayer,似乎默认的mplayer打包时去掉某些功能

安装real-codecs、xine-faad、xine-faac

试一试看看
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-6 10:30:29 | 显示全部楼层
Post by 夏羽翀;1845288
linux下的视频播放器一般是由三部分组成:解码器(就是各种视频格式编码包)、播放器(比如xine和mplayer)、图形前端(比如kaffeine和smplayer,如果你在终端使用播放器可以不要这个)。

在mplayer网站下载解码器把文件夹改名为win32并且移动到/usr/lib/里了

添加PLF源更新mplayer,似乎默认的mplayer打包时去掉某些功能

安装real-codecs、xine-faad、xine-faac

试一试看看



好的阿,谢谢,我试试 ....另外你说的PLF源更新是怎么操作的?
回复 支持 反对

使用道具 举报

发表于 2008-5-6 11:04:38 | 显示全部楼层
Post by ★雷斯林★;1846266
好的阿,谢谢,我试试 ....另外你说的PLF源更新是怎么操作的?

去easyurpmi网站上,点记下鼠标即可。:cool:
回复 支持 反对

使用道具 举报

发表于 2008-5-7 17:22:27 | 显示全部楼层
我也遇到和LZ同样的问题,不过现在解决了,原因是新版的smplayer要求较新的mplayer版本,mandriva dvd自带的mplayer有点老了。
解决方法:把自带的mplayer卸载掉,使用plf源里的mplayer重新安装即可,或者到mplayer的主页下载最新的版本安装即可。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-9 09:40:26 | 显示全部楼层
好的,谢谢各位!!!麻烦了
回复 支持 反对

使用道具 举报

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

本版积分规则

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