まとめて動画を変換する方法はありますか "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.

gefragt vor 5 Jahren346 Aufrufe
2 Antworten
2
Akzeptierte Antwort

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

beantwortet vor 5 Jahren
profile picture
EXPERTE
überprüft vor einem Monat
1

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

beantwortet vor 5 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen