Assume I have an app for Android and the same app for iOS. In both cases, my app needs to use FFmpeg features. I decided to avoid calling libavcodec
and libavformat
directly. Instead, I'm going to implement this suggestion:
IMHO running
ffmpeg
in a separate process is a better idea, so your application won't be stuck while the lengthy process of video encoding goes.
What's the standard approach to run ffmpeg
in a separate process on each platform? What's the standard way to communicate with it?