LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: cheese

编译安装的mplayer1.0pre5完成后的几个问题 各位兄弟们一定要进来看看呀

[复制链接]
发表于 2004-7-29 17:22:15 | 显示全部楼层
all的解码器更全一些,
但是也不包括real8/9 win32解码器。
发表于 2004-7-29 17:32:45 | 显示全部楼层
essential足够了。其实很多格式的文件如果没装codecs话,gmplayer放不了,可是mplayer却是可以的。

另外一些特殊格式,像去年的那个linux视频就需要另外装解码器而且需要重新编绎mplayer


????????
现在我倒碰到一问题,
我没有dvdrom,不知道mplayer放dvdrom时,只要源代码编绎就可以了,还是另外要装支持的东东比如-
-enable-dvdnav --with-libdvdnav=/usr/include/dvdnav
发表于 2004-7-29 17:59:07 | 显示全部楼层
如果常看real格式文件,
建议安装rp8/9 win32的codecs,
有时候还要用到。
 楼主| 发表于 2004-7-29 20:43:19 | 显示全部楼层
如果我使用--enable-live --with-livelibdir=/usr/local/lib/live 那我事先下的live.2004.07.27.tar.gz要不要先编译呀 ,还是解压后直接复制到/usr/local/lib/live
发表于 2004-7-29 21:26:28 | 显示全部楼层
没必要安装那个live

以前那些前辈高人是不是说那个live是支持rtsp。我不知道1.0x系列的mplayer是不是已经内置还是怎么回事,反正这个live不需要也可以放rtsp格式的.

仔细看看那个live估计是live.com让mplayer支持它们网站上提供的流媒体服务器的客户端。反正我真不知道它有何作用
 楼主| 发表于 2004-7-29 21:34:13 | 显示全部楼层
thx
:thank :thank :thank
发表于 2004-7-31 17:18:22 | 显示全部楼层

打开/初始化所选的视频输出(-vo)设备出错!

我的gmplayer 10 pre5 播放不了视频,放mp3可以。我的显卡是微星650主板自带的sis650,用vesa驱程,用real可以播放视频,mplayer无法播放任何视频。可能是/usr/local/etc/mplayer/mplayer.conf有问题吧,应该怎么设置呢?
[root@J .mplayer]# gmplayer/mnt/WinH/movie/AA.avi
MPlayer 1.0pre5-3.2.2 (C) 2000-2004 MPlayer Team

CPU: Intel Pentium 4/Xeon Willamette 1699 MHz (Family: 8, Stepping: 3)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
针对有扩展指令集x86 CPU编译: MMX MMX2 SSE SSE2

Reading config file /usr/local/etc/mplayer/mplayer.conf
Reading config file /root/.mplayer/config
[cfg] read config file: /root/.mplayer/gui.conf
Reading config file /root/.mplayer/gui.conf
vo: X11 running at 800x600 with depth 16 and 16 bpp (":0.0" => local display)
Reading /root/.mplayer/codecs.conf: 66 audio & 176 video codecs
/home/system/fonts/fzst.ttf doesn't look like a font description, ignoring
无法加载字体: /home/system/fonts/fzst.ttf
使用Linux的硬件RTC计时(1024Hz)
Input config file /root/.mplayer/input.conf parsed: 53 binds
SKIN dir 1: '/root/.mplayer/Skin'
SKIN dir 2: '/usr/local/share/mplayer/Skin'

播放 /mnt/WinH/movie/AA.avi.
Cache fill: 19.63% (1646592 bytes)    检测到AVI文件格式。
VIDEO:  [MJPG]  320x240  24bpp  10.000 fps  789.8 kbps (96.4 kbyte/s)
==========================================================================
打开音频解码器: [pcm] Uncompressed PCM audio decoder
AUDIO: 8000 Hz, 1 ch, 8 bit (0x8), ratio: 8000->8000 (64.0 kbit)
Selected audio codec: [pcm] afm:pcm (Uncompressed PCM)
==========================================================================
It seems there is no Xvideo support for your video card available.
Run 'xvinfo' to verify its Xv support and read DOCS/HTML/en/devices.html#xv!
See 'mplayer -vo help' for other (non-xv) video out drivers. Try -vo x11
打开/初始化所选的视频输出(-vo)设备是出错!


[root@J .mplayer]# mplayer
MPlayer 1.0pre5-3.2.2 (C) 2000-2004 MPlayer Team

CPU: Intel Pentium 4/Xeon Willamette 1700 MHz (Family: 8, Stepping: 3)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
针对有扩展指令集x86 CPU编译: MMX MMX2 SSE SSE2

Reading config file /usr/local/etc/mplayer/mplayer.conf
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: 66 audio & 176 video codecs
用法:   mplayer [options] [url|path/]filename

基本选项: (包括所有选项的详细列表参见manpage!)
-vo <drv[:dev]> 选择视频输出模式和设备(用'-vo help'查看列表)
-ao <drv[:dev]> 选择音频输出模式和设备(用'-ao help'查看列表)
vcd://<trackno>  从设备而不是普通文件上播放VCD(video cd)track
dvd://<titleno>  从设备而不是普通文件上播放DVD title/track
-alang/-slang   选择DVD音轨/字幕的语言(使用两位的国家代码)
-ss <timepos>   寻找指定的(多少秒或hh:mm:ss)位置
-nosound        不播放声音
-fs -vm -zoom   全屏播放选项(fullscr,vidmode chg,softw.scale)
-x <x> -y <y>   设置播放的分辨率(用于改变vidmode或软件缩放)
-sub <file>     指定使用的字幕文件(参见-subfps, -subdelay)
-playlist <file> 指定使用播放列表文件
-vid x -aid y   选择用于播放的视频(x)和音频(y)流
-fps x -srate y 改变视频(x fps)和音频(y Hz)率
-pp <quality>   使用后期处理滤镜(详细内容参见manpage/docs)
-framedrop      使用 frame-dropping (用于慢机器)

基本控制键: (完整的列表参见manpage, 同时也要检查一下 input.conf)
<-  or  ->      向后/向前搜索10秒
up or down      向后/向前搜索1分钟
pgup or pgdown  向后/向前搜索10分钟
< or >          跳到播放列表中的前一首/下一首
p or SPACE      暂停播放(按任意键继续)
q or ESC        停止播放并推出
+ or -          调整音频延迟+/-0.1秒
o               循环OSD模式:  none/seekbar/seekbar+timer
* or /          增加或减少pcm音量
z or x          调整字幕延迟+/-0.1秒
r or t          上/下调整字幕位置, 参见-vf expand!

* * * 详细内容,进一步(高级)的选项和控制键参见MANPAGE!* * *

[root@J .mplayer]# mplayer -vo help
MPlayer 1.0pre5-3.2.2 (C) 2000-2004 MPlayer Team

CPU: Intel Pentium 4/Xeon Willamette 1700 MHz (Family: 8, Stepping: 3)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
针对有扩展指令集x86 CPU编译: MMX MMX2 SSE SSE2

Reading config file /usr/local/etc/mplayer/mplayer.conf
Reading config file /root/.mplayer/config
可用的视频输出驱动:
        xv      X11/Xv
        x11     X11 ( XImage/Shm )
        xover   General X11 driver for overlay capable video output drivers
        gl      X11 (OpenGL)
        gl2     X11 (OpenGL) - multiple textures version
        dga     DGA ( Direct Graphic Access V2.0 )
        sdl     SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)
        fbdev   Framebuffer Device
        fbdev2  Framebuffer Device
        png     PNG file
        jpeg    JPEG file
        gif89a  animated GIF output
        null    Null video output
        pgm     PGM file
        md5     MD5 sum
        mpegpes Mpeg-PES file
        yuv4mpeg        yuv4mpeg output for mjpegtools (to "stream.yuv")
        vesa    VESA VBE 2.0 video output
        xvidix  X11 (VIDIX)
        cvidix  console VIDIX
        tga     Targa output
发表于 2004-7-31 17:29:07 | 显示全部楼层
##
## MPlayer config file
##
## This file can be copied to /usr/local/etc/mplayer.conf and/or ~/.mplayer/config .
## If both exist, the ~/.mplayer/config's settings override the
## /usr/local/etc/mplayer.conf ones. And, of course command line overrides all.
## The options are the same as in the command line, but they can be specified
## more flexibly here. See below.
##
                                                                                                                                 
# vo=xv                 # To specify default video driver (see -vo help for
                        # list)
                                                                                                                                 
# ao=oss                # To specify default audio driver (see -ao help for
                        # list)
                                                                                                                                 
fs=yes                  # Enlarges movie window to your desktop's size.
                        # Used by drivers: all
                                                                                                                                 
# vm=no                 # Tries to change to a different videomode
                        # Used by drivers: dga2, x11, sdl
                                                                                                                                 
# bpp=0                 # Force changing display depth.
                        # Valid settings are: 0, 15, 16, 24, 32
                        # may need 'vm=yes' too.
                        # Used by drivers: fbdev, dga2, svga, vesa
                                                                                                                                 
# zoom=no               # Enable software scaling (powerful CPU needed)
                        # Used by drivers: svga, x11, vesa
                                                                                                                                 
# double=yes            # use double-buffering (recommended for xv with
                        # SUB/OSD usage)
                                                                                                                                 
# monitoraspect=4:3     # standard monitor size, with square pixels
# monitoraspect=16:9    # use this for widescreen monitor! non-square pixels
                                                                                                                                 
# ontop=yes             # Makes the player window stay ontop
                        # Used by drivers which use X11, except SDL,
                        # as well as directx and gl2 under Windows
                                                                                                                                 
##
## Specify your preferred default skin here
## (skins are searched in /usr/local/share/mplayer/Skin/yourskin
##  and ~/.mplayer/Skin/yourskin)
##
                                                                                                                                 
# skin = default
                                                                                                                                 
##
## Multiple languages are available
##
## Hungarian    igen    nem
## English      yes     no
## German       ja      nein
## Spanish      si      no
## Polish       tak     nie
## Swedish ja nej
## Binary       1       0
##
## You can also use spaces and/or tabs.
##
                                                                                                                                 
# sound         = 1
# nosound       = nein
# mixer         = /dev/mixer
                                                                                                                                 
##
## resample the fonts' alphamap
## 0    plain white fonts
## 0.75 very narrow black outline (default)
## 1    narrow black outline
## 10   bold black outline
##
                                                                                                                                 
# ffactor = 0.75
                                                                                                                                 
##
## FBdev driver:
                                                                                                                                 
# fb = /dev/fb0                         # framebuffer device to use
# fbmode = 640x480-120                  # use this mode (read from fb.modes!)
# fbmodeconfig = /etc/fb.modes          # the fb.modes file
                                                                                                                                 
## VESA and FBdev driver: specify your monitor's timings
## VESA and FBdev driver: specify your monitor's timings
##
## (see for example /etc/X11/XF86Config for timings!)
## ** CAUTION! IF YOUR DISPLAY DOESN'T SUPPORT AUTOMATICALLY TURNING OFF WHEN
##    OVERDRIVED (AND EVEN IF IT DOES), THIS MAY CAUSE DAMAGE TO YOUR DISPLAY!
##    WE AREN'T RESPONSIBLE, IT'S YOUR DECISION! **
##
## k, K : means multiply by 1000
## m, M : means multiply by 1.000.000
##
# monitor-hfreq = 31.5k-50k,70k         # horizontal frequency range
# monitor-vfreq = 50-90                 # vertical frequency range
# monitor-dotclock = 30M-300M           # dotclock (or pixelclock) range
                                                                                                                                 
##
## SDL driver
##
                                                                                                                                 
# vo = sdl:aalib        # use SDL video driver by default
                        # use "vo = sdl:aalib" or "vo sdl:dga" and so on,
                        # for specifying SDL subdrivers
# ao = sdl:esd          # use SDL audio driver by default
                        # use "ao = sdl:esd" to use SDL's ESD driver
# noxv = no             # whether to use XVideo hardware acceleration or not
# forcexv = yes         # force XVideo even if not detected
                                                                                                                                 
                                                                                                                                 
##
## Other (preferred to be default from configfile) switches
##
                                                                                                                                 
framedrop       = yes   # drop frames, when not in sync (slow CPU, videocard,
                        # etc)
                                                                                                                                 
cache           = 8192  # use 8Mb input cache by default
                                                                                                                                 
# slang         = en    # DVD : display english subtitles if available
# alang         = en    # DVD : play english audio tracks if available
                                                                               ## This is the correct way to use "subconfig" type options in the
## configuration file. In the command line you use :
## -aop list=resample:fout=44100 , but here it is :
# aop=list=resample:fout=44100
                                                                                                                                 
##
## You can also include other configfiles
## Specify full path!
##
## Delete this default
##
                                                                                                                                 
#include = /home/gabucino/.mplayer/i_did_not_RTFM_carefully_enough...
发表于 2004-7-31 18:05:45 | 显示全部楼层
这是我的选项配置,请各位高手指点。:help

本帖子中包含更多资源

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

x
发表于 2004-7-31 21:17:07 | 显示全部楼层
在上图的可用驱动中,没有我的seva,我在gui.conf中把vo dirver="xv"改为vo_driver = "vesa"其他不变,就可以播放部分avi视频,但是不正常,它会占据整个屏幕,就算是非全屏也会影响其他与它无关的屏幕部分(这现象我还真从来没有见过)。我以前装过mplayer 0.9 不会出现这种情况,重装系统后装了1.0 pre4没有装成,又下载来pre5还是装不好。请高手帮忙看看。
vo_driver = "vesa"
vo_panscan = "0.000000"
vo_doublebuffering = "no"
vo_direct_render = "no"
v_framedrop = "1"
v_flip = "0"
v_ni = "no"
v_idx = "-1"
v_vfm = "realvid"
vf_pp = "no"
vf_autoq = "0"
vf_lavc = "no"
ao_volnorm = "no"
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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