Local ffmpeg output to S3 bucket

Here are my settings; - I have a local PC with ffmpeg with output configured on h.264 and aac - and an S3 bucket created on AWS

what i need to do is use the output of ffmpeg [local] to upload files directly to the s3 bucket. PS: Planning to use this s3 bucket with a cloud area to allow 1 [one] user to broadcast a live event with customization.

I could not find a way to specify the output location as an s3 bucket [with key]. any ideas on how to do this? Thanks

+5
source share
2 answers

You can:

I would go with 1 for a live stream.

+3
source

It may be too late to answer this question, but I think it may be useful to others.

You can use this method to write the output file to your S3 server.

ffmpeg -re -i in.ts -f hls -method PUT http://example.com/live/out.m3u8 

Read more at https://ffmpeg.org/ffmpeg-all.html#hls-2

0
source

All Articles