Here is a tutorial for download video or streaming from Azure Media Service content.

Azure Media Player provides one player to support multiple devices and formate and integration content protection.

Azure media service is provided a stream solution with Azure Media Player, Azure media service is using manifest as streaming info contains the file.

When we need to download content from Azure media, first, we need to get the manifest URL,

Just open chrome browser and go into console tool > Networks, and filter with `manifest like following:

Next, use ffmpeg tool to download streaming, here we set the format to Apple HTTP Live Streaming (HLS) V3 (M3U file) and copy to local mp4:

ffmpeg -protocol_whitelist file,http,https,tcp,tls,crypto -i "" -c copy myvideo.mp4

How to download mp4 only with audio

If we just want to download audio-only, we can use an `audio-only argument:

ffmpeg -protocol_whitelist file,http,https,tcp,tls,crypto -i ",audio-only=true)" -c copy myvideo.mp4

Download video stream and select the audio language

If the video has multi audio tracks, we can use the audiotrack argument to download the audio we need, like this:


That’s changed our download command has specific audio:

ffmpeg -protocol_whitelist file,http,https,tcp,tls,crypto -i ",audiotrack=English)" -c copy myvideo.mp4