jeanslack / Videomass

Videomass is a free, open source and cross-platform GUI for FFmpeg and yt-dlp
https://jeanslack.github.io/Videomass/
GNU General Public License v3.0
960 stars 44 forks source link

Stdinpipe #301

Closed jeanslack closed 2 months ago

jeanslack commented 2 months ago

This PR removes the subprocess's terminate() method and adds gracefully exiting ffmpeg programmatically by writing "q" into the subprocess's stdin pipe simulating the user pressing the "q" key on terminal/console.