How to pause/resume ffmpeg video capture in windows from C# application

Viewed 3254

I am using ffmpeg to capture screen and audio using a C# application. The command I am using to execute ffmpeg as follows:

ffmpeg -f gdigrab -i desktop -f dshow -i audio="Microphone (Realtek High Definition Audio)" -v
codec libx264 output.mp4

Now I want to pause/resume recording and want to control it from the C# application. Is there anyway I can achieve that?

1 Answers
Related