ekisu / mpv-webm

Simple WebM maker for mpv, with no external dependencies.
MIT License
555 stars 32 forks source link

cancel/stop an encoding task #132

Open s4nket opened 2 years ago

s4nket commented 2 years ago

How do I cancel/stop an ongoing encoding task?

ekisu commented 2 years ago

This isn't possible currently, and it would require some improvements on mpv's side in order to be viable to implement. When encoding a video, we spawn a subprocess, and then either we:

To make it viable, we would need a way to detach the subprocess, but still have a reference to it, so that we could stop the process.