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

preguntada hace 5 años346 visualizaciones
2 Respuestas
2
Respuesta aceptada

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 hace 5 años
profile picture
EXPERTO
revisado hace un mes
1

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

respondido hace 5 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas