Sharon Watinsan
Sharon Watinsan

Reputation: 9850

Unable to play m3u8 file using Azure Media Player

I have used the following command to generate a m3u8 file and its corresponding ts files. These files are saved in Azure Blob Storage.

ffmpeg -i file.mp4 -acodec aac -vcodec libx264 -movflags faststart -s 640x360 -start_number 0 -hls_time 10 -hls_list_size 0 -f hls index.m3u8

I have given 'Container' level access to the Azure Blob Container. The URL of the m3u8 is https://xxx.blob.core.windows.net/public/index.m3u8 However, when I pasted this URL in the Azure Media Player sample application the video doesn't appear. I get the following error .

What have I done wrong ? Can someone help me out?

enter image description here

Upvotes: 0

Views: 707

Answers (1)

johndeu
johndeu

Reputation: 2512

The AMP player also does not support HLS natively. It only supports MPEG DASH in browsers. HLS is only supported on OS's that have that support (iOS)

AMP is only tested with streaming content from the Azure Media Services packager (Streaming Endpoint) and using the manifests from the service.

If you are looking for an HLS player, look to Shaka, HLS.js, Theo Player, Bitmovin.com player or ExoPlayer for Android.

Upvotes: 0

Related Questions