まとめて動画を変換する方法はありますか "Is there a way to convert videos all at once?"

0

1000件の動画をmp4→HLS(m3u8)に変換する、効率的な方法はありますか。
MediaConvertとElastinTranscoder、どちらのGUIからもCUI(API)からも、1件ずつしかできなさそうなので、1000個のリクエストを生成・実行するコードを書こうか検討しています。

Is there an efficient way to convert 1000 videos from mp4 to HLS (m3u8)?
From MediaConvert and ElastinTranscoder, both GUI and CUI (API) seems to be able to do only one by one, so we are considering writing code to generate and execute 1000 requests.

已提問 5 年前檢視次數 346 次
2 個答案
2
已接受的答案

Hi there,

There are a few ways. If the assets already sit on S3 you could easily write a script to go file by file to create via the API/SDK as you mentioned. The other way is if files do not s3 on s3 you can automate a workflow that will call your create job request when object uploads are complete. We have a blog post that goes over some ways to make an watchfolder style workflow [1]

Please keep in mind about our API limits as to not be throttled when creating your request. [2]

Kind regards,
Jeremy

[1] https://aws.amazon.com/blogs/media/vod-automation-part-1-create-a-serverless-watchfolder-workflow-using-aws-elemental-mediaconvert/
[2] https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_mediaconvert

已回答 5 年前
profile picture
專家
已審閱 1 個月前
1

Thank you for your reply. I will implement it with Lamda.

已回答 5 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南