video-recorder-java
                                
                                
                                
                                    video-recorder-java copied to clipboard
                            
                            
                            
                        Remove SendSignalCtrlC.exe dependancy
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.
Please provide a pr
Here you go 😃