@@ -21,6 +21,12 @@ |
||
| 21 | 21 | // $metadata should contain the ffprobe video stream array. |
| 22 | 22 | |
| 23 | 23 | // Start Convert for output transcoding |
| 24 | + |
|
| 25 | + /** |
|
| 26 | + * @param string $tmpPathInput |
|
| 27 | + * @param null|string $pathToInputFile |
|
| 28 | + * @param string $pathToOutputFiles |
|
| 29 | + */ |
|
| 24 | 30 | public function transcode_asset( |
| 25 | 31 | $tmpPathInput, |
| 26 | 32 | $pathToInputFile, |
@@ -113,6 +113,10 @@ |
||
| 113 | 113 | */ |
| 114 | 114 | |
| 115 | 115 | // Create TMP folder and download file to process |
| 116 | + |
|
| 117 | + /** |
|
| 118 | + * @param string $saveFileTo |
|
| 119 | + */ |
|
| 116 | 120 | public function getFileToProcess($task, $inputBuket, $inputFile, $saveFileTo) |
| 117 | 121 | { |
| 118 | 122 | // Get file from S3 or local copy if any |
@@ -78,6 +78,10 @@ |
||
| 78 | 78 | */ |
| 79 | 79 | |
| 80 | 80 | // Execute FFPROBE to get asset information |
| 81 | + |
|
| 82 | + /** |
|
| 83 | + * @param string|null $inputFilePath |
|
| 84 | + */ |
|
| 81 | 85 | public function getAssetInfo($inputFilePath) |
| 82 | 86 | { |
| 83 | 87 | $inputFilePath = escapeshellarg($inputFilePath); |
@@ -55,6 +55,12 @@ |
||
| 55 | 55 | // $metadata should contain the ffprobe video stream array. |
| 56 | 56 | |
| 57 | 57 | // Start FFmpeg for output transcoding |
| 58 | + |
|
| 59 | + /** |
|
| 60 | + * @param string $tmpInputPath |
|
| 61 | + * @param null|string $inputFilePath |
|
| 62 | + * @param string $outputFilesPath |
|
| 63 | + */ |
|
| 58 | 64 | public function transcode_asset( |
| 59 | 65 | $tmpInputPath, |
| 60 | 66 | $inputFilePath, |