buggedcom / phpvideotoolkit-v2

PHP Video Toolkit version 2 helps take the voodoo out of ffmpeg and provides a convenient object oriented wrapper around the ffmpeg programme.
Other
260 stars 86 forks source link

Cancelling a transcode #101

Closed ariselseng closed 7 years ago

ariselseng commented 7 years ago

Inside a PHPVideoToolkit\ProgressHandlerOutput loop can I somehow cancel the transcoding job? I have some long running transcodes that sometimes needs to be stopped immediately. I cannot find a stop method anywhere. Any help?

buggedcom commented 7 years ago

It's not offered by phpvideotoolkit however you could find the ffmpeg process and kill it.

On 25 Nov 2016 17:10, "Ari" notifications@github.com wrote:

Inside a PHPVideoToolkit\ProgressHandlerOutput loop can I somehow cancel the transcoding job? I have some long running transcodes that sometimes needs to be stopped immediately. I cannot find a stop method anywhere. Any help?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/buggedcom/phpvideotoolkit-v2/issues/101, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAK-oz-gvv5cu5MyF5qQX4NCa6cfyCOks5rBvpfgaJpZM4K8hPP .

ariselseng commented 7 years ago

@buggedcom Alright, thanks for the tip :)