'FFMPEG output upload to AWS S3 instead of local disk
Currently, I'm outputting the result of FFmpeg process in the file locally on disk using the command
ffmpeg -i myfile.mp4 -an -crf 20 -vf crop=200:200 -s 800x600 newfile.mp4
Is it possible to store result
newfile.mp4
directly on the amazon s3 bucket without saving the file locally? If so and if my s3 bucket address iss3://my.test.bucket
how would you do it?
What have I tried so far?
ffmpeg -i myfile.mp4 -an -crf 20 -vf crop=200:200 -s 800x600 | s3://my.test.bucket
|: Invalid argument
ffmpeg -i myfile.mp4 -an -crf 20 -vf crop=200:200 -s 800x600 pipe: s3://my.test.bucket
Unable to find a suitable output format for 'pipe:' pipe:: Invalid argument
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|