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

feita há 5 anos346 visualizações
2 Respostas
2
Resposta aceita

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

respondido há 5 anos
profile picture
ESPECIALISTA
avaliado há um mês
1

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

respondido há 5 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas