This repository contains script(s) to build ffmpeg for QtAV with RTMP (and OpenSSL) support. Note that the build script only builds for Android targets and for any other platform you need to modify it.
- Install the Android NDK (tested with version r10).
- Ensure that cURL is installed.
- Ensure that pkg-config is installed.
- Clone this repository and
cd
into its directory. - Run
build_rtmp.sh
. - Look in
build/dist
for the resulting libraries and executables. Copy everything inside/dist/bin
to/Qt5.6.5/5.6/android_armv7
- Look in
build/build.log
if something goes wrong. - cd into
build_ffmpeg
- run
./build_ffmpeg.sh android # android armv7
- look into
sdk_android_arm
and copy everything in it into/Qt5.6.5/5.6/android_armv7
- build QtAv