QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

楼主: llc

刚发现mplayer的一种用法!

[复制链接]
 楼主| 发表于 2002-11-30 15:39:43 | 显示全部楼层
呵呵,我也有这个电影,mplayer真是越玩越有趣
回复

使用道具 举报

发表于 2002-12-1 10:07:15 | 显示全部楼层

好像还是不行

我安装了下的那两个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]
不知要修改些什么?或我的安装有问题?
回复

使用道具 举报

 楼主| 发表于 2002-12-1 12:08:29 | 显示全部楼层
你想用ascii字符输出的话,应该用aa视频模式
刚才我自己又试了一下,vesa模式竟然也用不了了,我用老内核和模块也试过了,还是不行,不知是否是这个版本的问题
回复

使用道具 举报

发表于 2002-12-3 19:02:06 | 显示全部楼层
哦,这样?!
在播放时要使用 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...
...
回复

使用道具 举报

发表于 2003-4-19 00:20:33 | 显示全部楼层
怎么让aa播放为彩色字符啊?黑白的看着还是不很清楚。
回复

使用道具 举报

发表于 2003-4-21 10:37:31 | 显示全部楼层
gugong,你看看我的fbshot怎么出错了,控制台下抓不了屏啊:

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

使用道具 举报

发表于 2003-4-27 00:34:07 | 显示全部楼层
:neutral:
回复

使用道具 举报

发表于 2003-4-27 12:58:21 | 显示全部楼层
我的vesa也不行,fbdev可以,而且播放xvid格式的DVD-Rip很流畅.
mplayer和framebuffer都很强呀!  


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

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复

使用道具 举报

 楼主| 发表于 2003-4-27 13:14:56 | 显示全部楼层
DGA模式也很快,全屏(只能是全屏,DGA模式无法窗口)模式图像很不错,速度也是飞快,和xv模式有得比,不过,需要XF86Config里关于分辨率定义段的配合才行
回复

使用道具 举报

发表于 2003-5-14 09:29:11 | 显示全部楼层
文本模式下怎么全屏??
回复

使用道具 举报

发表于 2003-6-2 08:45:48 | 显示全部楼层
我的也是可以的啊!
回复

使用道具 举报

发表于 2003-6-2 11:17:59 | 显示全部楼层
这个问题,我早就提过了,那个时候我的 vesa和fbdev都有问题.
回复

使用道具 举报

发表于 2003-8-26 02:16:26 | 显示全部楼层

请问哪里有fbshot下载

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

使用道具 举报

发表于 2003-8-26 02:50:38 | 显示全部楼层

就是

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

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

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

使用道具 举报

发表于 2003-8-26 03:06:00 | 显示全部楼层
好象与/dev/fb0设备有关,我的mplayer -vo fbdev file显示不能打开设备/dev/fb0,
请问这是怎么回事?
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-6-16 01:52 , Processed in 0.103561 second(s), 13 queries .

© 2021 Powered by Discuz! X3.5.

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