I am using FFmpeg in application and it start and record video perfectly but when I want to stop it ask for press \"q\", I got a System.EntryPointNotFoundException Error me
If you created the process initially, you can keep a handle to its stdin and send it "q" (possibly need to also send it a "\n" after).
If you didn't, then you could some third party .exe (or an internal equivalent) to send it a ctrl+c/ctrl+break to its process ID.
FFmpeg doesn't have a window handle since it's a console app, so you can't send it keystrokes with PostMessage et al. only through console signals (i.e. ctrl+c/break)