开发者

Use ffmpeg.c in my Android Application [duplicate]

This question already has answers here: Can FFmpeg be used as a library, instead of a standalone program? (3 answers) Closed 3 years ago.

I am building a video processing solution for use on Android phones. I have built FFmpeg for Android and have gotten a video to play using OpenGL. My next problem is being able to clip the files and save them to disk. I know that using FFmpeg from the command line this is easy. Do you guys think it would be possible for me to take the main() method in开发者_开发知识库 ffmpeg.c and change that into a function call and just pass the arguments to it, other than running it as a C program from the command line? I think this would require my app to be opensource but thats not a problem. Ok well any help or alternate ideas would be much appreciated! Thanks!


Have you tried looking at the NDK at all to link the methods to your android app?

http://developer.android.com/sdk/ndk/index.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜