在Mac OS X Snow Leopard上安装mplayer


2

有没有人在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上安装


2
你可以说得更详细点吗?你得到了什么错误?看一眼 VLC 要么 MPlayer OSX Extended 相反,如果你运气不好。

我无法在OSX 10.6.3上启动MPlayer OSX Extended。据我所知 Check for update automatically 对话框,应用程序将崩溃。我见过那个人在Mac OS X Leopard的源代码中安装它,但在Snow Leopard上却没有。
Phuong Nguyen

崩溃后Console.app中的MPlayer有输出吗?顺便说一句:MPlayer Extended在10.6.3上对我来说很好
lajuette

是的,它现在有效。我不知道为什么之前几次坠毁。但是,我真正想要的是命令行版本(我可以通过安装mplayer sudo port install mplayer 在10.5.8,但不在10.6.3)
Phuong Nguyen

Answers:


2

我去macports.org官方网站并在可用端口内搜索mplayer。我看到有两个包: mplayer 无法在10.6.x上安装但是 mplayer-devel 能够。我安装了它,并能够完成所有操作。谢谢你的分享。


这些天mplayer似乎安装好了
rogerdpack

1

另一种方法是安装它 MacPorts的 - 也许你想尝试一下......


它失败了这条消息:/var/tmp//ccFaPlU8.s:292:suffix或操作数无效 push' /var/tmp//ccFaPlU8.s:371:suffix or operands invalid for pop'/var/tmp//ccFaPlU8.s:421:suffix或operands无效 push' /var/tmp//ccFaPlU8.s:504:suffix or operands invalid for pop'make [1]:*** [vf_ilpack.o]错误1 make:*** [libmpcodecs / libmpcodecs.a]错误2 make:***等待未完成的作业....错误:状态1遇到处理。
Phuong Nguyen

@Phuong:你升级了你的XCode并迁移了你的MacPorts吗?如果你还想使用 sudo port install mplayer 你需要 迁移现有安装
fideli

1

如果您想从命令行使用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 * * *

0

我正在使用 MPlayerX 来自Google Code的OSX 10.6.3没有问题

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

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.