From ce99075059df448d15fcc841cdb85819c66b02b3 Mon Sep 17 00:00:00 2001 From: Pe Ell Date: Mon, 6 Mar 2017 15:42:40 +0300 Subject: [PATCH] Fix Format classes namespace in README (#320) --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4a19600..51b5f55 100644 --- a/README.md +++ b/README.md @@ -111,7 +111,7 @@ pass a `FFMpeg\Format\FormatInterface` for that. Please note that audio and video bitrate are set on the format. ```php -$format = new Format\Video\X264(); +$format = new FFMpeg\Format\Video\X264(); $format->on('progress', function ($video, $format, $percentage) { echo "$percentage % transcoded"; }); @@ -477,7 +477,7 @@ informations about the transcoding. Predefined formats already provide progress informations as events. ```php -$format = new Format\Video\X264(); +$format = new FFMpeg\Format\Video\X264(); $format->on('progress', function ($video, $format, $percentage) { echo "$percentage % transcoded"; }); @@ -494,7 +494,7 @@ You can add additional parameters to your encoding requests based on your video The argument of the setAdditionalParameters method is an array. ```php -$format = new Format\Video\X264(); +$format = new FFMpeg\Format\Video\X264(); $format->setAdditionalParameters(array('foo', 'bar')); $video->save($format, 'video.avi'); ```