Local ffmpeg output to S3 Bucket

前端 未结 2 1199
长情又很酷
长情又很酷 2021-01-02 18:27

Heres my setup; - I have a local PC running ffmpeg with output configured to h.264 and aac - and S3 bucket created at AWS

what i need to do is, use ffmpeg [local] ou

相关标签:
2条回答
  • 2021-01-02 19:04

    It could be late to answer this question, but I think this may be useful for others.

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

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

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

    0 讨论(0)
  • 2021-01-02 19:10

    You can:

    1. Mount the S3 bucket using S3FS FUSE and then you output directly to it.

      How to Mount S3 Bucket on CentOS/RHEL and Ubuntu using S3FS

    2. Segment the media for HTTP streaming and upload each segment and playlists using the S3 API and a script of your choice.

    I'd go with 1 for a live stream.

    0 讨论(0)
提交回复
热议问题