Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork201
Monitoring the transcoding progress
pascalbaljet edited this pageDec 11, 2017 ·1 revision
This is supported by the underlying driver:https://github.com/PHP-FFMpeg/PHP-FFMpeg#transcoding
$format =new \FFMpeg\Format\Video\X264;$format->on('progress',function($video,$format,$percentage) {echo"$percentage % transcoded";});
For HLS exports:
$exporter = FFMpeg::open('steve_howe.mp4') ->exportForHLS() ->onProgress(function ($percentage) {echo"$percentage % transcoded"; });