laravel-ffmpeg icon indicating copy to clipboard operation
laravel-ffmpeg copied to clipboard

Canceling a ffmpeg job from within the onProgress callback.

Open MichMich opened this issue 4 years ago • 1 comments

First of all: thanks for this great package!

I was wondering if there is a way to cancel the FFMpeg job from within the onProgress callback. I can throw an exception, but it seems the FFMpeg keeps on running (for a while).

Couldn't find anything regarding a cancel or abort method in the source code.

Thanks!

MichMich avatar Jan 27 '21 13:01 MichMich

Not sure this is possible, but I’ll investigate :)

Related:

https://github.com/PHP-FFMpeg/PHP-FFMpeg/issues/218

https://github.com/PHP-FFMpeg/PHP-FFMpeg/issues/780

pascalbaljet avatar Feb 09 '21 07:02 pascalbaljet