$video = $ffmpeg->open($sPath);
$format = new FFMpeg\Format\Video\X264('libmp3lame', 'libx264');
$format->on('progress', function ($video, $format, $percentage) use($oMedia, $sPathNew) {
if ((int)$percentage === 100){
/// END
});