

Update the Batch and storage account credential strings with the values unique to your accounts. In your Python environment, install the required packages using pip. Navigate to the directory that contains the file batch_python_tutorial_ffmpeg.py. To clone the sample app repo with a Git client, use the following command: git clone

Copy the values of Storage account name and Key1 to a text editor.ĭownload and run the sample Download the sampleĭownload or clone the sample app from GitHub. To see the Storage account name and keys, select Storage account. Copy the values of Batch account, URL, and Primary access key to a text editor. To see the Batch credentials, select Keys. Select All services > Batch accounts, and then select the name of your Batch account. (You can also get these credentials using the Azure APIs or command-line tools.) A straightforward way to get the necessary credentials is in the Azure portal. Get account credentialsįor this example, you need to provide credentials for your Batch and Storage accounts. To create these accounts, see the Batch quickstarts using the Azure portal or Azure CLI. PrerequisitesĪn Azure Batch account and a linked Azure Storage account. If you don't have an Azure subscription, create an Azure free account before you begin. In this tutorial, you convert MP4 media files in parallel to MP3 format using the ffmpeg open-source tool.

Echo "Removing any pre-installed ffmpeg and x264 "
