Skip to content

Monitoring the transcoding progress

pascalbaljet edited this page Dec 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";
    });
Clone this wiki locally
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy