FFMPEG在AndroidFFMPEG、Android

2023-09-11 10:26:14 作者:若离必弃

我有FFMPEG编译(libffmpeg.so)在Android上。现在我要球泡要么喜欢RockPlayer的应用程序或使用现有的Andr​​oid MM框架调用FFMPEG。

I have got FFMPEG compiled (libffmpeg.so) on Android. Now I have to buld either an application like RockPlayer or use existing android MM framework to invoke FFMPEG.

你有没有关于在Android / StageFright整合FFmpeg的步骤/方法/ code /例子吗?

Do you have steps / procedures / code / example on integrating FFMPEG on Android / StageFright?

您可以请指导我怎么可以使用这个库为MM播放?

Can you please guide me on how can I use this library for MM playback?

我有一个要求,我已经音频和视频TS,我需要养活到FFMPEG,并得到它去codeD /渲染。我怎样才能做到这一点在Android上,因为IOMX API是基于OMX,不能外挂FFMPEG这里。

I have a requirement where I have already Audio and Video TS, which I need to feed to FFMPEG and get it decoded / rendered. How can I do this on Android, since IOMX apis are OMX based and cannot plug-in FFMPEG here.

另外,我无法找到FFmpeg的原料药,需要加以用于播放文件。

Also I could not find documentation on the FFMPEG apis which need to be used for playback.

能否请你帮我这些问题,让我开始吗?你的帮助是极大的AP preciated。

Can you please help me with these questions and get me started on this? Your help is greatly appreciated.

推荐答案

下面是我得到的ffmpeg所经历的步骤来对Android的:

Here are the steps I went through in getting ffmpeg to work on Android:

在建的ffmpeg的静态库为Android。这是通过使用的