普通用户在无X环境下用"mplayer-vo fbdev FileName"会can't open /dev/fb0 permission
[chenss@ArchLinux ~]$ mplayer -vo fbdev /mnt/e/Downloads/as/s.rmvb MPlayer 1.0rc2-4.3.2 (C) 2000-2007 MPlayer Team CPU: Intel(R) Celeron(R) CPU 2.66GHz (Family: 15, Model: 4, Stepping: 1) CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled with runtime CPU detection. 115 audio & 237 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 /mnt/e/Downloads/as/s.rmvb. REAL file format detected. Stream description: Audio Stream Stream mimetype: audio/x-pn-realaudio [real] Audio stream found, -aid 0 Stream description: Video Stream Stream mimetype: video/x-pn-realvideo [real] Video stream found, -vid 1 Stream mimetype: logical-fileinfo VIDEO: [RV40] 800x432 24bpp 23.000 fps 0.0 kbps ( 0.0 kbyte/s) Clip info: name: BT��-www.btwuji.com author: BT��-www.btwuji.com comment: Can't open /dev/fb0: Permission denied Error opening/initializing the selected video_out (-vo) device. ========================================================================== Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders AUDIO: 44100 Hz, 2 ch, s16le, 64.1 kbit/4.54% (ratio: 8010->176400) Selected audio codec: [ffcook] afm: ffmpeg (FFmpeg COOK audio decoder) ========================================================================== AO: [oss] 44100Hz 2ch s16le (2 bytes per sample) Video: no video Starting playback... A: 2.0 (01.9) of 2273.0 (37:53.0) 1.0%
sudo chmod 755 /dev/fb0
作者: 月魄孤魂 发布时间: 2008-12-18
|
$ ls -l /dev/fb0 lrwxrwxrwx 1 root root 4 12-18 10:56 /dev/fb0 -> fb/0 |
| $ sudo chmod 777 /dev/fb/0 |
作者: 月魄孤魂 发布时间: 2008-12-18
作者: blucidy 发布时间: 2008-12-18
|
作者: 月魄孤魂
$ sudo chmod 777 /dev/fb/0
|
|
ls -l /dev/fb/0 0 crw-rw---- 1 root video 29, 0 12-18 11:47 /dev/fb/0 |
作者: suzebi 发布时间: 2008-12-18
作者: 月魄孤魂 发布时间: 2008-12-19
作者: bingyuan 发布时间: 2008-12-20
作者: lufeng369 发布时间: 2008-12-20
|
作者: bingyuan
多谢你的帖子,我终于可以在中端下看电影了,顺便问问,那种Gentoo一样半透明的控制台是怎么来的?
|
|
作者: lufeng369
fb。。那不是没硬件加速了吗。。这样看电影不会卡死吗。。晕。。
|
再请问兄弟,Linux下看DVD可以开硬件加速吗?我以前在Win里看DVD没开硬件加速时CUP使用率是50%-60%,开了之后就是10%-20%。但那是需要驱动和播放器同时支持才开得了的,请问你的可以吗?有兄弟开过吗?
查了下资料,原来xv用的就是硬件加速,对不?
作者: 月魄孤魂 发布时间: 2008-12-20
|
作者: 月魄孤魂
再请问兄弟,Linux下看DVD可以开硬件加速吗?我以前在Win里看DVD没开硬件加速时CUP使用率是50%-60%,开了之后就是10%-20%。但那是需要驱动和播放器同时支持才开得了的,请问你的可以吗?有兄弟开过吗?
|
不过我死活开不了这个xvmc,最后放弃了
作者: suzebi 发布时间: 2008-12-20
作者: 月魄孤魂 发布时间: 2008-12-20