madhavanmalolan / ffmpegandroidlibrary

One line integration for FFMPEG Library in Android
MIT License
90 stars 15 forks source link

Show Progress #24

Open karthikveenam opened 6 years ago

karthikveenam commented 6 years ago

Hey, after making many chances to your guide on building ffmpeg for android, I have finally succeeded in building ffmpeg 4.0 for android. Is there any way that i can get progress of the command that is executing? It can be anything like number of frames executed or timestamp. Thanks in advance.

madhavanmalolan commented 6 years ago

That's awesome! Can you send a PR for ffmpeg4. 0 integration?

Though I haven't got time to implement this, the best way is to redirect console output (printfs) to a buffer that can be read on java.

On Wed, 30 May 2018, 18:21 karthikveenam, notifications@github.com wrote:

Hey, after making many chances to your guide on building ffmpeg for android, I have finally succeeded in building ffmpeg 4.0 for android. Is there any way that i can get progress of the command that is executing? It can be anything like number of frames executed or timestamp. Thanks in advance.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/madhavanmalolan/ffmpegandroidlibrary/issues/24, or mute the thread https://github.com/notifications/unsubscribe-auth/ACA3FcCmvrfSnx9FJoGjY9S_efz7ZlEMks5t3pXJgaJpZM4UTNtA .

karthikveenam commented 6 years ago

Sure, I'll definitely send a PR, but for now everthing's fine but is there any way i can at least know that the command finished executing?

madhavanmalolan commented 6 years ago

The run() returns only after execution of the command completes

On Thu, 31 May 2018, 14:42 karthikveenam, notifications@github.com wrote:

Sure, I'll definitely send a PR, but for now everthing's fine but is there any way i can at least know that the command finished executing?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/madhavanmalolan/ffmpegandroidlibrary/issues/24#issuecomment-393467507, or mute the thread https://github.com/notifications/unsubscribe-auth/ACA3FYHIyGkwXoKtzLNbKopI0fKyNHBAks5t37QJgaJpZM4UTNtA .