What is the best way to interrupt recording (programmable) in Windows? (original) (raw)
:) hi
scrcpy --no-display --record file.mp4
scrcpy -Nr file.mkv
# interrupt recording with Ctrl+C
# Ctrl+C does not terminate properly on Windows, so disconnect the device
I can only get a broken video after sending a CTRL_C_EVENT signal to scrcpy process.
And, disconnect the device is not a programmable way.
I have to restart my adb-server instead (it works), but it may influence other devices.
Any suggestions ~?