提交 26ee136d 编写于 作者: Z Zhang Rui

README.md: mention env var

上级 97efbb29
......@@ -2,7 +2,6 @@ ijkplayer
=========
- Video player based on [ffplay](http://ffmpeg.org)
- Android: [MediaPlayer-like](android/ijkplayer/player-java/src/main/java/tv/danmaku/ijk/media/player/IMediaPlayer.java)
- iOS: [MediaPlayer.framework-like](ios/IJKMediaPlayer/IJKMediaPlayer/IJKMediaPlayback.h)
### My Build Enviroment
- Common
......@@ -13,7 +12,7 @@ ijkplayer
- iOS
- Xcode 6.3.2 (6D2105)
- [HomeBrew](http://brew.sh)
- ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
- ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- brew install git
### Latest Changes
......@@ -50,6 +49,17 @@ ijkplayer
- native subtitle render
### Before Build
```
# install homebrew, git, yasm
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install git
brew install yasm
# add these lines to your ~/.bash_profile or ~/.profile
# export ANDROID_SDK=<your sdk path>
# export ANDROID_NDK=<your ndk path>
```
- If you prefer more codec/format
```
cd config
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册