问题
I've gone through this - http://writingminds.github.io/ffmpeg-android-java/
I've gotten FFMpeg
on Android, as in, my app is able to load the FFMPeg
binary. However, ffplay
commands do not work. Is it possible to port ffplay
into my app?
回答1:
Take a look at this lib:
http://androidwarzone.blogspot.com.br/2011/12/ffmpeg4android.html
FFmpeg4Android is a way your application can run FFmpeg commands, only Java, no need for C code, or NDK.
You can use any player that supports streaming, on the target machine, to play the stream, in this case we used ffplay
ffplay -f mpegts -ast 1 -vst 0 -ar 48000 udp://192.168.0.114:8090
来源:https://stackoverflow.com/questions/37004512/ffplay-on-android