Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a3cd36be
authored
Sep 16, 2020
by
aquilescanta
Committed by
Oliver Woodman
Sep 16, 2020
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Update the FFmpeg extension readme to use symlinking
PiperOrigin-RevId: 332012857
parent
b866c5e4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
10 deletions
extensions/ffmpeg/README.md
extensions/ffmpeg/README.md
View file @
a3cd36be
...
@@ -41,26 +41,29 @@ NDK_PATH="<path to Android NDK>"
...
@@ -41,26 +41,29 @@ NDK_PATH="<path to Android NDK>"
HOST_PLATFORM="linux-x86_64"
HOST_PLATFORM="linux-x86_64"
```
```
*
Fetch FFmpeg:
*
Fetch FFmpeg and checkout an appropriate branch. We cannot guarantee
compatibility with all versions of FFmpeg. We currently recommend version 4.2:
```
```
cd "${FFMPEG_EXT_PATH}/jni" && \
cd "<preferred location for ffmpeg>" && \
git clone git://source.ffmpeg.org/ffmpeg ffmpeg
git clone git://source.ffmpeg.org/ffmpeg && \
cd ffmpeg && \
git checkout release/4.2 && \
FFMPEG_PATH="$(pwd)"
```
```
*
C
heckout an appropriate branch of FFmpeg. We cannot guarantee compatibility
*
C
onfigure the decoders to include. See the
[
Supported formats
][]
page for
with all versions of FFmpeg. We currently recommend version 4.2:
details of the available decoders, and which formats they support.
```
```
cd "${FFMPEG_EXT_PATH}/jni/ffmpeg" && \
ENABLED_DECODERS=(vorbis opus flac)
git checkout release/4.2
```
```
*
Configure the decoders to include. See the
[
Supported formats
][]
page for
*
Add a link to the FFmpeg source code in the FFmpeg extension
`jni`
directory.
details of the available decoders, and which formats they support.
```
```
ENABLED_DECODERS=(vorbis opus flac)
cd "${FFMPEG_EXT_PATH}/jni" && \
ln -s "$FFMPEG_PATH" ffmpeg
```
```
*
Execute
`build_ffmpeg.sh`
to build FFmpeg for
`armeabi-v7a`
,
`arm64-v8a`
,
*
Execute
`build_ffmpeg.sh`
to build FFmpeg for
`armeabi-v7a`
,
`arm64-v8a`
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment