-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Description
As you can see here instead of keyboard interrupt (Ctrl + C) you can send letter q to ffmpeg console. This should be cross platform, does not require starting a new process and most importantly - now you don't need SendSignalCtrlC.exe dependency for windows.
It is pretty straightforward to do in java:
Process process = new ProcessBuilder().command(command).start();
//...
OutputStreamWriter outputStreamWriter = new OutputStreamWriter(process.getOutputStream());
outputStreamWriter.write("q\n");
outputStreamWriter.flush();I can try and implement it, but I can't test it on my machine for unrelated reasons.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels