LinuxSir.cn,穿越时空的Linuxsir!

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

(solved)求助:新装的mplayer 播放不了视频文件,avi等

[复制链接]
发表于 2010-2-5 11:32:20 | 显示全部楼层 |阅读模式
大家好,请帮忙看看

USE如下:
USE="${USE} truetype ffmpeg aalib lcms gd encode mmx sse sse2 mad gnome hdaps objc sdl xv a52 aac dts live mp3 quicktime -real theora vorbis win32codecs x264 xvid scim immqt-bc cjk unicode anthy m17n-lib dga gif alsa audio video cxx zlib -jbig -examples -libffi -jpeg2k png -rle -svga -tiff xml readline -libedit -static -lapack -profile -fontforge abiword poppler-data -cleartype -directfb -glitz opengl -svg pam acl perl jpeg lock session startup-notification thunar branding consolekit nls hal crypt python ipv6 uuid xcb -minimal pam nptl xorg X dbus sasl gtk -debug -kde -qt3 -qt4 -doc -test -tools -emacs ssl -avahi -guntls -java -kerberos -ldap -php -ppds -samba -slp -xinetd -zeroconf -vim-syntax -xinerama -bindist cairo -djvu -glade -new-login -suid -libnotify -keyring -sound pcre trash-plugin -exif menu-plugin"


播放avi文件,出现如下输出:

xls@Gentoo ~/Desktop $ mplayer When.Magoo.Flew.1954.DVDRip.XVID.MP3.avi
Warning unknown option fbmode at line 28
Warning unknown option fbmodeconfig at line 31
MPlayer SVN-r29796-4.3.4 (C) 2000-2009 MPlayer Team

Playing When.Magoo.Flew.1954.DVDRip.XVID.MP3.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO:  [XVID]  512x384  24bpp  29.970 fps  1508.1 kbps (184.1 kbyte/s)
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
[swscaler @ 0x87c8f00]using unscaled yuv420p -> rgb32 special converter
VO: [gl] 512x384 => 512x384 BGRA  [vm] [zoom]
[mpeg4 @ 0x86ec9a0]Error at MB: 6640.002  11/ 11 ??% ??% ??,?% 6 0
[mpeg4 @ 0x86ec9a0]concealing 173 DC, 173 AC, 173 MV errors
A:   0.6 V:   0.4 A-V:  0.230 ct:  0.002  12/ 12 ??% ??% ??,?% 6 0
Exiting... (Quit)
影片的一开始画面闪了一下,就退出了。

google搜索,没找到什么办法,后来又emerge vlc

使用vlc播放avi文件,出现如下
xls@Gentoo ~/Desktop $ vlc When.Magoo.Flew.1954.DVDRip.XVID.MP3.avi
VLC media player 1.0.4 Goldeneye
[0x804d128] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Remote control interface initialized. Type `help' for help.
Error at MB: 664



^C[0x804d2c8] signals interface error: Caught Interrupt signal, exiting...
status change: ( stop state: 0 )
status change: ( quit )

实在是想不出什么办法了,请大家帮忙看看是什么问题?
谢谢
发表于 2010-2-5 14:15:46 | 显示全部楼层
不会是文件本身的问题吧
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-2-5 15:13:23 | 显示全部楼层
The file has been played well in windows by Media Player Classcal
I am trying to emerge -uDN world.....
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-2-5 15:14:53 | 显示全部楼层
you mei you ke neng shi xorg.conf de pei zhi wen ti ?
回复 支持 反对

使用道具 举报

发表于 2010-2-5 16:10:44 | 显示全部楼层
mplayer -vo x11加上这2个参数看看,
不知道你的什么显卡..可能是显卡驱动的问题..
不行就再试试mplayer -vo xv
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-2-6 01:07:46 | 显示全部楼层
果然被zhllg说中了,是文件的问题。从一开始软件emerge的就没问题。我使用ftp从windows上下载过来的,默认是用ascii格式,这样文件就被改错了,把格式改成binary,就没问题了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-2-6 01:17:52 | 显示全部楼层
果然被zhllg说中了,是文件的问题。从一开始软件emerge的就没问题。我使用ftp从windows上下载过来的,默认是用ascii格式,这样文件就被改错了,把格式改成binary,就没问题了。
回复 支持 反对

使用道具 举报

发表于 2010-2-6 09:11:16 | 显示全部楼层
ftp的客户端还是用 lftp 吧。
回复 支持 反对

使用道具 举报

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

本版积分规则

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