You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on a ffmpeg/x264/x265.... GUI program, and I want to have realtime control: get the progress, pause and resume the encoding process. The challange is how to pause and resume. After searching and trying, I made it on linux/macos by using signal as following:
The problem is on Windows, it does not work. Can't find signals working on windows. I've searched a lot, but failed.
Then I recall that pressing PauseBreak and Enter when encoding in terminal/cmd already has the same effect, yet I've no idea how to send special keyboard hotkey events to the process which is running command in golang. I do have searching but can't find it.
Thanks in advance :)
The text was updated successfully, but these errors were encountered:
Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.
Motivation and What I've done
I'm working on a ffmpeg/x264/x265.... GUI program, and I want to have realtime control: get the progress, pause and resume the encoding process. The challange is how to pause and resume. After searching and trying, I made it on linux/macos by using signal as following:
Problem and thinking
The problem is on Windows, it does not work. Can't find signals working on windows. I've searched a lot, but failed.
Then I recall that pressing
PauseBreak
andEnter
when encoding in terminal/cmd already has the same effect, yet I've no idea how to send special keyboard hotkey events to the process which is running command in golang. I do have searching but can't find it.Thanks in advance :)
The text was updated successfully, but these errors were encountered: