在 Mac OS X Snow Leopard 上安装 mplayer

在 Mac OS X Snow Leopard 上安装 mplayer

有人在 Mac OS X Snow Leopard (10.6.3) 上安装过 mplayer 吗?我花了一整天时间尝试所有方法,从使用源代码安装,到下载 dmg 并提取里面的二进制文件。但都不起作用。

已编辑: 抱歉,一开始没有澄清这个问题,Randolph Potter 向我展示了 OSX Extended MPlayer 的工作原理。事实上,我想要的是命令行版本的 mplayer。我可以在 Mac OS X 10.5.8 上安装它,但不能在 10.6.3 上安装它

答案1

我去 macports.org 官方网站并在可用端口中搜索 mplayer。我看到有两个软件包:mplayer无法安装在 10.6.x 上,但mplayer-devel可以。我安装了它,可以执行所有操作。谢谢你的分享。

答案2

另一种方法是使用麦金塔- 也许你想尝试一下...

答案3

如果您想从命令行使用 MPlayer,而无需自己编译,请浏览 MPlayer Extended 应用程序包。看看我在

/Applications/MPlayer\ OSX\ Extended.app/Contents/Resources/Binaries/mpextended.mpBinaries/Contents/mpextended-mt.mpBinaries/Contents/MacOS/mplayer

theBook:~ lennart$ /Applications/MPlayer\ OSX\ Extended.app/Contents/Resources/Binaries/mpextended.mpBinaries/Contents/mpextended-mt.mpBinaries/Contents/MacOS/mplayer -v
MPlayer SVN-r30478-4.2.1 (C) 2000-2010 MPlayer Team
CPU vendor name: GenuineIntel  max cpuid level: 13
CPU: Intel(R) Core(TM)2 Duo CPU     P8600  @ 2.40GHz (Family: 6, Model: 23, Stepping: 10)
extended cpuid-level: 8
extended cache-info: 201351232
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2 SSSE3 CMOV
get_path('codecs.conf') -> '/Applications/MPlayer OSX Extended.app/Contents/Resources/Binaries/mpextended.mpBinaries/Contents/mpextended-mt.mpBinaries/Contents/Resources/codecs.conf'
Reading /Applications/MPlayer OSX Extended.app/Contents/Resources/Binaries/mpextended.mpBinaries/Contents/mpextended-mt.mpBinaries/Contents/Resources/codecs.conf: Can't open '/Applications/MPlayer OSX Extended.app/Contents/Resources/Binaries/mpextended.mpBinaries/Contents/mpextended-mt.mpBinaries/Contents/Resources/codecs.conf': No such file or directory
Reading /Users/adrian/dev/mplayer/mplayer/usrs/local/etc/mplayer/codecs.conf: Can't open '/Users/adrian/dev/mplayer/mplayer/usrs/local/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 * * *

答案4

我目前正在使用播放器在 OSX 10.6.3 上从 Google Code 顺利

编辑:我读了你的编辑...MPlayerX 工作正常,但我没有从命令行使用它。不知道是否可以做到,但我对此表示怀疑。

相关内容