当前时区 GMT+8, 现在时间是 2008-10-8 07:30 游客: 注册 登录 仅登录论坛 | 搜索 帮助


标题: 刚发现mplayer的一种用法!
llc
公社特别嘉宾
Rank: 10Rank: 10Rank: 10
真.linux疯子


UID 13
精华 38
积分 28703
帖子 13894
阅读权限 120
注册 2002-6-16
来自 广东江门台山
状态 离线
发表于 2002-11-30 15:39  资料  短消息  加为好友 
呵呵,我也有这个电影,mplayer真是越玩越有趣

顶部
shuishou
高级会员
Rank: 4


UID 2835
精华 2
积分 1018
帖子 403
阅读权限 50
注册 2002-9-26
来自 China
状态 离线
发表于 2002-12-1 10:07  资料  短消息  加为好友  添加 shuishou 为MSN好友 通过MSN和 shuishou 交谈 QQ
好像还是不行

我安装了下的那两个rpm包,但是在./configure --enable-gui时,里面没有Cheking aalib 这种字样。./configure 完成后,也没有enable plugins :Video Output 这个东东。(可能是我不知在哪里看吧。但是我执行了./configure这个命令之后,的确找不到你所提到的东东。)
编译完成后,(分别执行./configure --enable-gui;make;make install后,不知还有没有什么要执行,我以前安装过mplayer的),可以正常播放多媒体文件,但是还是在命令符下是这样的错误。
[code:1]
[root@shuishou mtv]# mplayer -vo vesa s.h.e-恋人未满.mpg
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale


MPlayer 0.90pre9-3.2 (C) 2000-2002 Arpad Gereoffy (看DOCS!)

CPU: Advanced Micro Devices Athlon 4 PM Palomino/Athlon MP Multiprocessor/Athlon XP eXtreme Performance (Family: 6, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
针对有扩展指令集x86 CPU编译: MMX MMX2 3DNow 3DNowEx SSE

Reading config file: /home/gabucino/.mplayer/i_did_not_RTFM_carefully_enough...: No such file or directory
Reading /root/.mplayer/codecs.conf: 38 audio & 110 video codecs
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Failed to open /dev/rtc: Device or resource busy (mplayer should be setuid root or /dev/rtc should be readable by the user.)
Using usleep() timing
Input config file /root/.mplayer/input.conf parsed : 50 binds

播放 s.h.e-恋人未满.mpg
Cache fill:  0.00% (0 bytes)    检测到MPEG-PS文件格式!
VIDEO:  MPEG1  352x240  (aspect 12)  29.97 fps  1440.0 kbps (180.0 kbyte/s)
==========================================================================
打开音频解码器: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 28000->176400 (224.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
==========================================================================
打开视频解码器: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo配置要求 - 352 x 240 (选择 csp: Mpeg PES)
VDec: using Mpeg PES as output csp (no 0)
电影宽高比为 1.33:1 - 预放大到正确的电影宽高比.
VO: [vesa] 352x240 => 352x264 Mpeg PES  [fs]
Killed
[root@shuishou mtv]#
[/code:1]
不知要修改些什么?或我的安装有问题?





很多事 高手低手不能 我是水手 所以我快乐而无畏
顶部
llc
公社特别嘉宾
Rank: 10Rank: 10Rank: 10
真.linux疯子


UID 13
精华 38
积分 28703
帖子 13894
阅读权限 120
注册 2002-6-16
来自 广东江门台山
状态 离线
发表于 2002-12-1 12:08  资料  短消息  加为好友 
你想用ascii字符输出的话,应该用aa视频模式
刚才我自己又试了一下,vesa模式竟然也用不了了,我用老内核和模块也试过了,还是不行,不知是否是这个版本的问题

顶部
Kuye
白金会员
Rank: 9Rank: 9Rank: 9


UID 1536
精华 28
积分 10693
帖子 6382
阅读权限 255
注册 2002-7-19
来自 The zoo
状态 离线
发表于 2002-12-3 19:02  资料  主页 短消息  加为好友  添加 Kuye 为MSN好友 通过MSN和 Kuye 交谈
哦,这样?!
在播放时要使用 mplayer -vo aa 才可以用 ascii模式播放,用 mplayer -vo help 里看一下有没有 aa,如果没有,可能是你安装有错误;
我在 Configure 时有一行:
。。。
Checking for xmga ... no
Checking for GGI ... yes
Checking for AA ... yes
Checking for SVGAlib ... yes
Checking for FBDev ... yes
。。。
configure 后
Enabled optional drivers:
Input: network tv cdda mpdvdkit2 vcd
Codecs: divx5linux libdv libavcodec real directshow win32 libvorbis libmad
Audio output: oss sdl mpegpes(file)
Video output: xvidix sdl vesa gif89a jpeg png mpegpes(file) fbdev svga aa ggi opengl dga xv x11
Disabled optional drivers:
Input: tv-v4l tv-bsdbt848 dvdnav dvdread dvdcss
Codecs: divx4linux xvid xanim liblzo
Audio output: sgi sun alsa arts dxr2 nas win32
Video output: bl zr dxr3 dxr2 directx xmga mga directfb tdfxfb 3dfx

播放时是:
kuye@KuyeWorkstation My_Videos $ mplayer -vo aa 微软xp的广告(极酷).mpg
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale


MPlayer 0.90pre10-3.2 (C) 2000-2002 Arpad Gereoffy (see DOCS)

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 3)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE

Reading /home/kuye/.mplayer/codecs.conf: can't open '/home/kuye/.mplayer/codecs.conf': No such file or directory
Reading /usr/etc/mplayer/codecs.conf: 44 audio & 110 video codecs
font: can't open file: /home/kuye/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (7649 chars)
Failed to open /dev/rtc: No such file or directory (mplayer should be setuid root or /dev/rtc should be readable by the user.)
Using usleep() timing
Can't open input config file /home/kuye/.mplayer/input.conf : No such file or directory
Input config file /usr/etc/mplayer/input.conf parsed : 50 binds
Playing 微软xp的广告(极酷).mpg
Detected MPEG-PS file format!
VIDEO:  MPEG1  640x480  (aspect 1)  25.00 fps  3750.0 kbps (468.8 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 24000->192000 (192.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
VO: [aa] cannot open /dev/vcsa03 for writing,so we'll not use linux driver
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 640 x 480 (preferred csp: Mpeg PES)
Couldn't find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
Sorry, selected video_out device is incompatible with this codec.
VDecoder init failed
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder v2.0
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
VDec: vo config request - 640 x 480 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [aa] 640x480 => 640x480 Planar YV12
SwScaler: reducing / aligning filtersize 17 -> 16
SwScaler: reducing / aligning filtersize 17 -> 16
SwScaler: reducing / aligning filtersize 31 -> 29
SwScaler: reducing / aligning filtersize 31 -> 29

SwScaler: BICUBIC scaler, from Planar YV12 to Planar Y800 using MMX2

Important Options
-aaextended  use use all 256 characters
-aaeight     use eight bit ascii
-aadriver    set recommended aalib driver (X11,curses,linux)
-aahelp      to see all options provided by aalib

AA-MPlayer Keys
1 : contrast -
2 : contrast +
3 : brightness -
4 : brightness +
5 : fast rendering
6 : dithering
7 : invert image
a : toggles between aa and mplayer control

All other keys are MPlayer defaults.
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2)
==========================================================================
AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian)
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Start playing...
...

顶部
andot
高级会员
Rank: 4


UID 24888
精华 2
积分 1377
帖子 545
阅读权限 50
注册 2003-3-28
来自 济南
状态 离线
发表于 2003-4-19 00:20  资料  主页 短消息  加为好友  添加 andot 为MSN好友 通过MSN和 andot 交谈
怎么让aa播放为彩色字符啊?黑白的看着还是不很清楚。





CoolCode.CN Artwork Need Hard Work ----------------------------- Linux公社济南大学联络员
顶部
kevinchen
注册会员
Rank: 2


UID 14167
精华 0
积分 263
帖子 105
阅读权限 20
注册 2003-1-24
来自 China.gif
状态 离线
发表于 2003-4-21 10:37  资料  短消息  加为好友 
gugong,你看看我的fbshot怎么出错了,控制台下抓不了屏啊:

[code:1]
#fbshot -c 1 test.jpg
An error occured: ioctl FBIOGET_FSCREENINFO Bad file descriptor
Exiting now...
[/code:1]

顶部
jam
高级会员
Rank: 4


UID 6825
精华 1
积分 1113
帖子 440
阅读权限 50
注册 2002-12-8
来自 China GZ
状态 离线
发表于 2003-4-27 00:34  资料  短消息  加为好友 
:neutral:

顶部
cnhnln (不在)
超级版主

还是不在


UID 2275
精华 116
积分 36696
帖子 19371
阅读权限 245
注册 2002-8-19
来自 瞎扯淡俱乐部
状态 离线
发表于 2003-4-27 12:58  资料  主页 短消息  加为好友  添加 cnhnln 为MSN好友 通过MSN和 cnhnln 交谈 QQ Yahoo!
我的vesa也不行,fbdev可以,而且播放xvid格式的DVD-Rip很流畅.
mplayer和framebuffer都很强呀!  


成龙的燕尾服,手头就这一个DVD-Rip的.



 附件: 您所在的用户组无法下载或查看附件
顶部
llc
公社特别嘉宾
Rank: 10Rank: 10Rank: 10
真.linux疯子


UID 13
精华 38
积分 28703
帖子 13894
阅读权限 120
注册 2002-6-16
来自 广东江门台山
状态 离线
发表于 2003-4-27 13:14  资料  短消息  加为好友 
DGA模式也很快,全屏(只能是全屏,DGA模式无法窗口)模式图像很不错,速度也是飞快,和xv模式有得比,不过,需要XF86Config里关于分辨率定义段的配合才行

顶部
clfls
注册会员
Rank: 2


UID 4500
精华 0
积分 148
帖子 59
阅读权限 20
注册 2002-11-1
来自 China
状态 离线
发表于 2003-5-14 09:29  资料  主页 短消息  加为好友  QQ Yahoo!
文本模式下怎么全屏??





欢迎访问 http://www.chinalinuxpub.com linux网管和初学者技术的专业站点
顶部
kailin
注册会员
Rank: 2


UID 32952
精华 0
积分 100
帖子 40
阅读权限 20
注册 2003-4-28
来自 China.gif
状态 离线
发表于 2003-6-2 08:45  资料  短消息  加为好友  QQ ICQ 状态
我的也是可以的啊!

顶部
luoda
中级会员
Rank: 3Rank: 3



UID 6243
精华 0
积分 508
帖子 203
阅读权限 30
注册 2002-11-29
来自 China
状态 离线
发表于 2003-6-2 11:17  资料  短消息  加为好友 
这个问题,我早就提过了,那个时候我的 vesa和fbdev都有问题.





cout <<"好大的棉花糖野"<<endl;
顶部
linuxlilo
新手上路
Rank: 1


UID 27912
精华 0
积分 98
帖子 39
阅读权限 10
注册 2003-4-10
来自 China
状态 离线
发表于 2003-8-26 02:16  资料  短消息  加为好友 
请问哪里有fbshot下载

是不是字符界面下的抓屏工具?
字符界面的抓屏工具有哪些?
谢谢!
[quote:7527f817f0="gugong"]我用 fbdev 在文本控制台 下播放很正常,用 vesa 却不行 ![/quote]

顶部
linuxlilo
新手上路
Rank: 1


UID 27912
精华 0
积分 98
帖子 39
阅读权限 10
注册 2003-4-10
来自 China
状态 离线
发表于 2003-8-26 02:50  资料  短消息  加为好友 
就是

我的也是这样的,怎么回事?

[quote:cf51de87b3="kevinchen"]gugong,你看看我的fbshot怎么出错了,控制台下抓不了屏啊:

[code:1]
#fbshot -c 1 test.jpg
An error occured&#58; ioctl FBIOGET_FSCREENINFO Bad file descriptor
Exiting now...
[/code:1][/quote]

顶部
linuxlilo
新手上路
Rank: 1


UID 27912
精华 0
积分 98
帖子 39
阅读权限 10
注册 2003-4-10
来自 China
状态 离线
发表于 2003-8-26 03:06  资料  短消息  加为好友 
好象与/dev/fb0设备有关,我的mplayer -vo fbdev file显示不能打开设备/dev/fb0,
请问这是怎么回事?

顶部
 


Powered by Discuz! 5.5.0  © 2001-2007 Comsenz Inc.
清除 Cookies - 联系我们 - 中国Linux公社 - WAP