安装mplayer
andy@AndyMacBookPro:/usr/local/src/mplayer$ ./configure
No FFmpeg checkout, press enter to download one with git or CTRL+C to abort
Cloning into 'ffmpeg'...
remote: Counting objects: 7966, done.
remote: Compressing objects: 100% (6241/6241), done.
remote: Total 7966 (delta 3772), reused 3687 (delta 1557)
Receiving objects: 100% (7966/7966), 11.71 MiB | 30.00 KiB/s, done.
Resolving deltas: 100% (3772/3772), done.
Checking connectivity... done.
Checking for ffmpeg/libavcodec/allcodecs.c ... found
Checking for ffmpeg/libavformat/allformats.c ... found
Checking for ffmpeg/libavfilter/allfilters.c ... found
Checking for cc version ... clang 4.2.1 (experimental support only)
Checking for working compiler ... yes
Detected operating system: Darwin
Detected host architecture: x86_64
Checking for cross compilation ... no
Checking for host cc ... cc
Checking for CPU vendor ... GenuineIntel (6:69:1)
Checking for CPU type ... Intel(R) Core(TM) i5-4258U CPU @ 2.40GHz
Checking for kernel support of mmx ... yes
Checking for kernel support of mmxext ... yes
Checking for kernel support of sse ... yes
Checking for kernel support of sse2 ... yes
Checking for kernel support of sse3 ... yes
Checking for kernel support of ssse3 ... yes
Checking for kernel support of sse4_1 ... yes
Checking for kernel support of sse4_2 ... yes
Checking for kernel support of avx ... yes
Checking for kernel support of cmov ... yes
Checking for mtrr support ... yes
Checking for GCC & CPU optimization abilities ... corei7-avx
Checking for byte order ... little-endian
Checking for extern symbol prefix ... _
Checking for assembler support of -pipe option ... yes
Checking for relocatable binary ... yes (fast PIC)
Checking for PIC ... yes
Checking for .align is a power of two ... yes
Checking for ebx availability ... yes
Checking for yasm ...
Error: yasm not found, use --yasm='' if you really want to compile without
Check "config.log" if you do not understand why it failed.
andy@AndyMacBookPro:/usr/local/src/mplayer$ ./configure
Updating FFmpeg, (re)move ffmpeg/mp_auto_pull to disable
Already on 'master'
Your branch is up-to-date with 'origin/master'.
Current branch master is up to date.
Checking for ffmpeg/libavcodec/allcodecs.c ... found
Checking for ffmpeg/libavformat/allformats.c ... found
Checking for ffmpeg/libavfilter/allfilters.c ... found
Checking for cc version ... clang 4.2.1 (experimental support only)
Checking for working compiler ... yes
Detected operating system: Darwin
Detected host architecture: x86_64
Checking for cross compilation ... no
Checking for host cc ... cc
Checking for CPU vendor ... GenuineIntel (6:69:1)
Checking for CPU type ... Intel(R) Core(TM) i5-4258U CPU @ 2.40GHz
Checking for kernel support of mmx ... yes
Checking for kernel support of mmxext ... yes
Checking for kernel support of sse ... yes
Checking for kernel support of sse2 ... yes
Checking for kernel support of sse3 ... yes
Checking for kernel support of ssse3 ... yes
Checking for kernel support of sse4_1 ... yes
Checking for kernel support of sse4_2 ... yes
Checking for kernel support of avx ... yes
Checking for kernel support of cmov ... yes
Checking for mtrr support ... yes
Checking for GCC & CPU optimization abilities ... corei7-avx
Checking for byte order ... little-endian
Checking for extern symbol prefix ... _
Checking for assembler support of -pipe option ... yes
Checking for relocatable binary ... yes (fast PIC)
Checking for PIC ... yes
Checking for .align is a power of two ... yes
Checking for ebx availability ... yes
Checking for yasm ...
Error: yasm not found, use --yasm='' if you really want to compile without
Check "config.log" if you do not understand why it failed.
andy@AndyMacBookPro:/usr/local/src/mplayer$ brew search yasm not found
yasm
^C
andy@AndyMacBookPro:/usr/local/src/mplayer$