ffplay on Android

对着背影说爱祢 提交于 2021-02-18 17:52:29

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!