Q:

How to pause FFmpeg from C++ code?

I'm writing a VisualC++ program which have code invoke  ffmpeg.exe to convert video file.
I wonder is it possible to pause/resume ffmpeg converting thread from C++ code?
LR.

A:

There are no ways to controls the conversion using ffmpeg.
However, if you switch you mencoder, you will be able to do it.

A:

All you need to do is suspend and resume the ffmpeg child process itself.
The main problem is: there is no SuspendProcess API function. And there is no documented or safe way of doing this.
The only simple way of doing this is via SuspendThread/ResumeThread.
See this article on codeproject about how to do it.

