@@ -186,7 +186,7 @@ discard block |
||
| 186 | 186 | } else { |
| 187 | 187 | |
| 188 | 188 | // Kick off the transcoding |
| 189 | - $pid = $this->executeShellCommand($ffmpegCmd); |
|
| 189 | + $pid = $this->executeShellCommand($ffmpegCmd); |
|
| 190 | 190 | Craft::info($ffmpegCmd . "\nffmpeg PID: " . $pid, __METHOD__); |
| 191 | 191 | |
| 192 | 192 | // Create a lockfile in tmp |
@@ -755,7 +755,7 @@ discard block |
||
| 755 | 755 | |
| 756 | 756 | if (!empty($filePath)) { |
| 757 | 757 | |
| 758 | - // Dest path |
|
| 758 | + // Dest path |
|
| 759 | 759 | $destVideoPath = Craft::getAlias($settings['transcoderPaths']['gif']); |
| 760 | 760 | |
| 761 | 761 | // Options |
@@ -768,13 +768,13 @@ discard block |
||
| 768 | 768 | |
| 769 | 769 | // Build the basic command for ffmpeg |
| 770 | 770 | $ffmpegCmd = $settings['ffmpegPath'] |
| 771 | - . ' -f gif' |
|
| 771 | + . ' -f gif' |
|
| 772 | 772 | . ' -i ' . escapeshellarg($filePath) |
| 773 | 773 | . ' -vcodec ' . $thisEncoder['videoCodec'] |
| 774 | 774 | . ' ' . $thisEncoder['videoCodecOptions']; |
| 775 | 775 | |
| 776 | 776 | |
| 777 | - // Create the directory if it isn't there already |
|
| 777 | + // Create the directory if it isn't there already |
|
| 778 | 778 | if (!file_exists($destVideoPath)) { |
| 779 | 779 | mkdir($destVideoPath); |
| 780 | 780 | } |
@@ -809,7 +809,7 @@ discard block |
||
| 809 | 809 | } else { |
| 810 | 810 | |
| 811 | 811 | // Kick off the transcoding |
| 812 | - $pid = $this->executeShellCommand($ffmpegCmd); |
|
| 812 | + $pid = $this->executeShellCommand($ffmpegCmd); |
|
| 813 | 813 | Craft::info($ffmpegCmd . "\nffmpeg PID: " . $pid, __METHOD__); |
| 814 | 814 | |
| 815 | 815 | // Create a lockfile in tmp |