How do you run a batch transcode script?

88 Views Asked by At

I need to batch transcode thousands of of .webm audio files to e.g mp3.

I found a script here which I could adapt to my purpose.

However, where do I run such a script?

1

There are 1 best solutions below

2
John Rotenstein On

That script uses Amazon Elastic Transcoder.

Basically, you first create a pipeline in Elastic Transcoder, which tells it where to find the input files. Then, you create a job by specifying the input file and the desired output format. The job then runs for a while and the output file appears in the nominated S3 bucket.

I suggest you try it manually in the management console first. You can then write a script to automate the job creation (similar to the one you linked).

The script can run anywhere on the Internet.

You can create a script like that with any programming language (eg Python) or you could use the AWS Command-Line Interface. See: create-job — AWS CLI Command Reference