@@ -125,12 +125,12 @@ discard block |
||
125 | 125 | $binaryType = substr(strrchr($this->binary, '/'), 1); |
126 | 126 | |
127 | 127 | if ($binaryType === 'avconv') { |
128 | - $cmd = [$this->binary, '-y', '-ss', (string)$second, |
|
128 | + $cmd = [$this->binary, '-y', '-ss', (string) $second, |
|
129 | 129 | '-i', $absPath, |
130 | 130 | '-an', '-f', 'mjpeg', '-vframes', '1', '-vsync', '1', |
131 | 131 | $tmpPath]; |
132 | 132 | } elseif ($binaryType === 'ffmpeg') { |
133 | - $cmd = [$this->binary, '-y', '-ss', (string)$second, |
|
133 | + $cmd = [$this->binary, '-y', '-ss', (string) $second, |
|
134 | 134 | '-i', $absPath, |
135 | 135 | '-f', 'mjpeg', '-vframes', '1', |
136 | 136 | $tmpPath]; |
@@ -147,7 +147,7 @@ discard block |
||
147 | 147 | $stdout = trim(stream_get_contents($pipes[1])); |
148 | 148 | $stderr = trim(stream_get_contents($pipes[2])); |
149 | 149 | $returnCode = proc_close($proc); |
150 | - $output = $stdout . $stderr; |
|
150 | + $output = $stdout.$stderr; |
|
151 | 151 | } |
152 | 152 | |
153 | 153 | if ($returnCode === 0) { |