diff --git a/src/FFMpeg/Media/Frame.php b/src/FFMpeg/Media/Frame.php index 590deff..0544113 100644 --- a/src/FFMpeg/Media/Frame.php +++ b/src/FFMpeg/Media/Frame.php @@ -115,7 +115,10 @@ class Frame extends AbstractMediaType $commands = array_merge($commands, $filter->apply($this)); } - $commands = array_merge($commands, array($pathfile)); + // without output filename when return binary string + if(!$returnBase64) { + $commands = array_merge($commands, array($pathfile)); + } try { if(!$returnBase64) {