also looking at this
meemalabs/laravel-media-converter
Add S3 Path to the destination path in saveTo function.
#24
1 file
+1
-1
| @@ -117,7 +117,7 @@ class MediaConvert implements Converter | ||
| 117 | 117 | */ |
| 118 | 118 | public function saveTo(string $s3Path, $s3bucket = null): MediaConvert |
| 119 | 119 | { |
| 120 | $destination = 's3://'.($s3bucket ?? config('filesystems.disks.s3.bucket')); | |
| 120 | $destination = 's3://'.($s3bucket ?? config('filesystems.disks.s3.bucket')).$s3Path; | |
| 121 | 121 | |
| 122 | 122 | $this->jobSettings['OutputGroups'][0]['OutputGroupSettings']['FileGroupSettings']['Destination'] = $destination.'/thumbnails/'; |
| 123 | 123 | $this->jobSettings['OutputGroups'][1]['OutputGroupSettings']['FileGroupSettings']['Destination'] = $destination.'/mp4/'; |