I seen this queston, but can't leave a comment there.
How to interrupt encoding from delphi? Example, on my form existing a "Cancel" button. How to send a interrupt command? In ffmpeg
it's q key, but I don't know, how to send key codes from delphi to console application for it.
And also second queston about progressbar: I need, that it show state of encoding process (example, seeking from 0 to 100 percent while encoding, i.e. follow ffmpeg
's progress values).