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

posta 5 anni fa346 visualizzazioni
2 Risposte
2
Risposta accettata

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

con risposta 5 anni fa
profile picture
ESPERTO
verificato un mese fa
1

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

con risposta 5 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande