Hi everyone,
TLDR: replace ffmpeg with ffpyplayer as a requirements for video support on Android and iOS.
Forget about your previous experience for Video on Android / iOS. The previous provider was made by myself during 2012, based on ffmpeg 1.2. It was largely buggy for some cases, and performance was not great.
This time is done. Our lovely core developer, matham, coded a new project named ffpyplayer (
https://github.com/matham/ffpyplayer/), a cython implementation of a ffmpeg based player. And i just finished the Android recipes for it.
FFPyPlayer is now fully available on Android and iOS. Just add "ffpyplayer" as a recipe to compile, or in requirements for your buildozer. It will compile latest ffmpeg 2.7, and ffpyplayer.
Also, since Kivy 1.9, it can be used as a core provider. Ie, just add it, and you'll get video support.
A few notes: ffmpeg is compiled with a minimal set of options: H264 + AAC, and supports http transport. This reduce the ffmpeg core library to 2.04MB (VS 8.48MB with full options). See the end of the email for the exacts options compiled.
Enjoy!
Mathieu & Matham
--
FFmpeg compilations options:
install prefix build/ffmpeg/armeabi-v7a
source path .
C compiler arm-linux-androideabi-gcc
C library bionic
host C compiler gcc
host C library glibc
ARCH arm (armv7-a)
big-endian no
runtime cpu detection yes
ARMv5TE enabled yes
ARMv6 enabled yes
ARMv6T2 enabled yes
VFP enabled yes
NEON enabled yes
THUMB enabled no
debug symbols yes
strip symbols yes
optimize for size yes
optimizations yes
static no
shared yes
postprocessing support yes
new filter support yes
network support yes
threading support pthreads
safe bitstream reader yes
SDL support no
opencl enabled no
texi2html enabled no
perl enabled yes
pod2man enabled yes
makeinfo enabled no
makeinfo supports HTML no
External libraries:
zlib
Enabled decoders:
aac h263 h264
Enabled encoders:
Enabled hwaccels:
Enabled parsers:
aac h263 h264
Enabled demuxers:
asf mpegts sdp
mov rm
Enabled muxers:
Enabled protocols:
file rtp udp
http tcp
Enabled filters:
aresample crop
Enabled bsfs:
Enabled indevs:
Enabled outdevs: