ATi 显卡 播放电影像枪版

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
头像
Crazier
帖子: 1051
注册时间: 2007-09-23 17:06
联系:

ATi 显卡 播放电影像枪版

#1

帖子 Crazier » 2010-11-26 22:52

我的系统是ubuntu10.10, 显卡是 ATI,具体如下:
lspci -nn | grep VGA
01:00.0 VGA compatible controller [0300]: ATI Technologies Inc RV370 [Sapphire X550 Silent] [1002:5b63]
在XP下播放电影是正常的,但是在ubuntu下面就不正常了,电影被搞的色彩很不正,就像枪版的一样,非常的黑,但是在网页上看flash的话是正常的,播放器用totem和smplayer是一样的,都不正常的。请问是什么原因?
头像
jarryson
帖子: 4002
注册时间: 2005-08-14 19:53

Re: ATi 显卡 播放电影像枪版

#2

帖子 jarryson » 2010-11-27 2:17

这个原因就很多了,首先是你得给出更多信息,ubuntu版本,显卡什么驱动,xvinfo信息,mplayer版本,所有格式都如此吗

既然flash正常,那么至少调整输出为x11应该会让颜色正常
头像
Crazier
帖子: 1051
注册时间: 2007-09-23 17:06
联系:

Re: ATi 显卡 播放电影像枪版

#3

帖子 Crazier » 2010-11-27 10:54

jarryson 写了:这个原因就很多了,首先是你得给出更多信息,ubuntu版本,显卡什么驱动,xvinfo信息,mplayer版本,所有格式都如此吗

既然flash正常,那么至少调整输出为x11应该会让颜色正常
uname -a
Linux crazier 2.6.35-23-generic #40-Ubuntu SMP Wed Nov 17 22:15:35 UTC 2010 i686 GNU/Linux
系统是10.10 ,按照你说的,把mplayer设成x11,就正常了,但是totem还是不正常的。对任何格式的文件都是一样的。mplayer是
mplayer -v
MPlayer 1.0rc4-4.4.5 (C) 2000-2010 MPlayer Team
CPU vendor name: GenuineIntel max cpuid level: 5
CPU: Intel(R) Celeron(R) CPU 2.80GHz (Family: 15, Model: 4, Stepping: 9)
extended cpuid-level: 8
extended cache-info: 16793664
Detected cache-line size is 64 bytes
Testing OS support for SSE... yes.
Tests of OS support for SSE passed.
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 0
Compiled with runtime CPU detection.
get_path('codecs.conf') -> '/home/crazier/.mplayer/codecs.conf'
Reading /home/crazier/.mplayer/codecs.conf: Can't open '/home/crazier/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
Usage: mplayer [options] [url|path/]filename

Basic options: (complete list in the man page)
-vo <drv> select video output driver ('-vo help' for a list)
-ao <drv> select audio output driver ('-ao help' for a list)
vcd://<trackno> play (S)VCD (Super Video CD) track (raw device, no mount)
dvd://<titleno> play DVD title from device instead of plain file
-alang/-slang select DVD audio/subtitle language (by 2-char country code)
-ss <position> seek to given (seconds or hh:mm:ss) position
-nosound do not play sound
-fs fullscreen playback (or -vm, -zoom, details in the man page)
-x <x> -y <y> set display resolution (for use with -vm or -zoom)
-sub <file> specify subtitle file to use (also see -subfps, -subdelay)
-playlist <file> specify playlist file
-vid x -aid y select video (x) and audio (y) stream to play
-fps x -srate y change video (x fps) and audio (y Hz) rate
-pp <quality> enable postprocessing filter (details in the man page)
-framedrop enable frame dropping (for slow machines)

Basic keys: (complete list in the man page, also check input.conf)
<- or -> seek backward/forward 10 seconds
down or up seek backward/forward 1 minute
pgdown or pgup seek backward/forward 10 minutes
< or > step backward/forward in playlist
p or SPACE pause movie (press any key to continue)
q or ESC stop playing and quit program
+ or - adjust audio delay by +/- 0.1 second
o cycle OSD mode: none / seekbar / seekbar + timer
* or / increase or decrease PCM volume
x or z adjust subtitle delay by +/- 0.1 second
r or t adjust subtitle position up/down, also see -vf expand

* * * SEE THE MAN PAGE FOR DETAILS, FURTHER (ADVANCED) OPTIONS AND KEYS * * *

vo: x11 uninit called but X11 not initialized..
下面是xvinfo是信息:
xvinfo
X-Video Extension version 2.2
screen #0
Adaptor #0: "Radeon Textured Video"
number of ports: 16
port base: 63
operations supported: PutImage
supported visuals:
depth 24, visualID 0x21
number of attributes: 9
"XV_BICUBIC" (range 0 to 2)
client settable attribute
client gettable attribute (current value is 0)
"XV_VSYNC" (range 0 to 1)
client settable attribute
client gettable attribute (current value is 1)
"XV_BRIGHTNESS" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 4)
"XV_CONTRAST" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is -1000)
"XV_SATURATION" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_HUE" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_GAMMA" (range 100 to 10000)
client settable attribute
client gettable attribute (current value is 1000)
"XV_COLORSPACE" (range 0 to 1)
client settable attribute
client gettable attribute (current value is 0)
"XV_CRTC" (range -1 to 1)
client settable attribute
client gettable attribute (current value is -1)
maximum XvImage size: 2048 x 2048
Number of image formats: 4
id: 0x32595559 (YUY2)
guid: 59555932-0000-0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: YUV (packed)
id: 0x32315659 (YV12)
guid: 59563132-0000-0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)
id: 0x30323449 (I420)
guid: 49343230-0000-0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)
id: 0x59565955 (UYVY)
guid: 55595659-0000-0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: YUV (packed)
,显卡驱动是系统自带的。请帮忙
头像
jarryson
帖子: 4002
注册时间: 2005-08-14 19:53

Re: ATi 显卡 播放电影像枪版

#4

帖子 jarryson » 2010-11-27 12:45

totem不正常是因为默认使用xv输出。需要调整gstreamer的输出

当然是用x11输出不是个好方法,因为这样就全靠cpu进行视频缩放了

驱动是默认开源驱动吗?compiz能否开启?这种情况应该是驱动问题了。xv输出是有的。只能尝试使用更新的驱动。
头像
Crazier
帖子: 1051
注册时间: 2007-09-23 17:06
联系:

Re: ATi 显卡 播放电影像枪版

#5

帖子 Crazier » 2010-11-27 15:43

jarryson 写了:totem不正常是因为默认使用xv输出。需要调整gstreamer的输出

当然是用x11输出不是个好方法,因为这样就全靠cpu进行视频缩放了

驱动是默认开源驱动吗?compiz能否开启?这种情况应该是驱动问题了。xv输出是有的。只能尝试使用更新的驱动。
是开源的驱动,我把显卡安装上之后,就打开硬件支持,自动搜索驱动,就可以了,特效能全部支持,并且其它各方面都还正常,还算流畅,如果我安装闭源的呢?我从ATI官网下载了一个驱动,安装这个怎么样,会有后遗症吗?
头像
jarryson
帖子: 4002
注册时间: 2005-08-14 19:53

Re: ATi 显卡 播放电影像枪版

#6

帖子 jarryson » 2010-11-27 20:09

不用尝试,官方驱动不支持你的显卡的。R500以下全部交给开源驱动
回复