This repository contains samples showing how to use Azure Media Services v3 API using node.js.
To make sure you are using the latest package, check azure-arm-mediaservices.
For the project that you want to run, update the "endpoint config" parameters in index.js with your subscription, account, and service principal information.
To get the values, follow Access APIs.
Create a folder where you want for the output files to go and update the value of the outputFolder variable in the index.js file.
Open command prompt, browse to the sample's directory, and execute the following commands.
npm install node index.js