@@ -404,7 +404,7 @@ discard block |
||
404 | 404 | $synchronous = $audioOptions['synchronous']; |
405 | 405 | } |
406 | 406 | if (!$synchronous) { |
407 | - $ffmpegCmd .=' 1> '.$progressFile.' 2>&1 & echo $!'; |
|
407 | + $ffmpegCmd .= ' 1> '.$progressFile.' 2>&1 & echo $!'; |
|
408 | 408 | // Make sure there isn't a lockfile for this audio file already |
409 | 409 | $lockFile = sys_get_temp_dir().DIRECTORY_SEPARATOR.$destAudioFile.'.lock'; |
410 | 410 | $oldPid = @file_get_contents($lockFile); |
@@ -429,7 +429,7 @@ discard block |
||
429 | 429 | |
430 | 430 | if ($synchronous) { |
431 | 431 | Craft::info($ffmpegCmd, __METHOD__); |
432 | - $url = $settings['transcoderUrls']['audio'] . $subfolder ?? $settings['transcoderUrls']['default']; |
|
432 | + $url = $settings['transcoderUrls']['audio'].$subfolder ?? $settings['transcoderUrls']['default']; |
|
433 | 433 | $result = Craft::getAlias($url).$destAudioFile; |
434 | 434 | } else { |
435 | 435 | Craft::info($ffmpegCmd."\nffmpeg PID: ".$pid, __METHOD__); |
@@ -504,7 +504,7 @@ discard block |
||
504 | 504 | && (strpos($summaryResult['videoFrameRate'], '/') !== false) |
505 | 505 | ) { |
506 | 506 | $parts = explode('/', $summaryResult['videoFrameRate']); |
507 | - $summaryResult['videoFrameRate'] = (float)$parts[0] / (float)$parts[1]; |
|
507 | + $summaryResult['videoFrameRate'] = (float) $parts[0] / (float) $parts[1]; |
|
508 | 508 | } |
509 | 509 | $result = $summaryResult; |
510 | 510 | } |