DroidDev
DroidDev

Reputation: 1525

How to call ffmpeg from Activity?

I want to use ffmpeg to change the resolution of video.

However, i don't know how can i call ffmpeg executable from activity in android.

I am using eclipse and Windows 7

Any help will be appreciated.

Upvotes: 0

Views: 320

Answers (1)

thiagolr
thiagolr

Reputation: 7027

You should follow basically this steps:

  1. Build ffmpeg for android (http://bambuser.com/opensource)
  2. Load the ffmpeg library (*.so) on your app
  3. Use native calls (JNI) to call ffmpeg APIs

Upvotes: 2

Related Questions