Interact with ffmpeg from a .NET program - Write Input
In reference to this question, as you can see I managed to run and receive data from the program. However I didn't manage to submit data to it, for instance, while converting a file, pressing q immediately stop conversion and stops the program. I need my application to support stopping the process as well, and I think this should be done by passing this parameter to the ffmpeg app, since I want it to take care of all uncollected resource or whatever dust it would leave behind if I would just go and use process.Kill() Here is what I've tried: static int lineCount = 0; static bool flag; static