I'm using Azure Media Player in my project to play Azure Media Service assets and it works great for that. However, I'd also need to play some HLS content within the same project and would like to use the same player.
Microsoft claims that AMP supports HLS, but when I put any HLS source into it and set the the format to HLS, I'm ending up with a "No compatible source was found for this media." error.
Has anyone managed to successfully play HLS content with AMP?
Azure Media Player only supports playing content from Media Services. If you want to use a single player for any HLS source including non Media Services content then you'll probably want to use a different player like Shaka, Video.js, or JWPlayer. That said, you might have success with AMP if you disable to URL rewriter as per https://learn.microsoft.com/en-us/azure/media-services/azure-media-player/azure-media-player-url-rewriter.
See https://learn.microsoft.com/en-us/azure/media-services/azure-media-player/azure-media-player-playback-technology. AMP uses "html5" and "html5FairPlayHLS" for HLS playback which both rely on native HLS support vs support via javascript. If you need to use HLS on windows / or older versions of android you would need to use another player.
Related
I want to protect my uploaded content after it is downloaded. This link provides some pointers about doing that. The link refers to using a .ismv file for this. But as far as I know, the Media Encoder used to encode MP4 to Smooth Streaming is deprecated.
How to generate smooth streaming files given an MP4 file using Azure Media Services ? Also, since it only supports PlayReady, how to play it on other browsers which don't support PlayReady ?
See the documentation links below for information on offline DRM in Azure Media Services. These cover offline HLS and offline MPEG-DASH. The Smooth static encryptor has been deprecated in favor of using dynamic encryption.
https://learn.microsoft.com/en-us/azure/media-services/media-services-content-protection-overview
https://learn.microsoft.com/en-us/azure/media-services/offline-widevine-for-android
I am building a video library on Azure Media Service and want to give feature where my streaming endpoint(like manifest hls/Dashed/smooth streaming urls urls) can be shareable on Facebook like how YouTube URL works on Facebook share,
i am not sure, is this possible or not?? if yes than which encoding format i need to use here, i tried different encoding here but they didn't work for me,
if above cant be done than whats the best alternate
The steps you need are:
Upload the source video (https://learn.microsoft.com/en-us/azure/media-services/media-services-dotnet-upload-files)
Encode it to a format that supports streaming, using Standard Encoder using a preset like "Content Adaptive Multiple Bitrate MP4" (https://learn.microsoft.com/en-us/azure/media-services/media-services-dotnet-encode-with-media-encoder-standard)
Above will produce an output Asset containing multiple MP4 files
Publish this output Asset (https://learn.microsoft.com/en-us/azure/media-services/media-services-deliver-streaming-content)
You can now use the streaming locator that step 4 generatesin Azure Media Player (http://aka.ms/amsplayer)
However, before you can share links on Facebook, you need to stand up another web service - I've let my colleague know about this thread, and she will follow up shortly.
I am looking to support playing DRM into custom player which is built using NDK C++ library as plugin which decodes, converts and then perform some image processing before final presentation. In this scenario, what is the best way to support DRM (I will use NDK's Crypto and DRM interfaces) given that documentation hints at only supporting MPEG-DASH format, which is not natively supported.
Clarify if any of my assumptions are incorrect or there are simple libraries (like libdash) which can solve the problem. Extreme solution in ExoPlayer but current infrastructure is built using C++ and NDK interface to leverage hardware decoders, which excludes that as an option.
If your image processing requires access to the raw image then unfortunately you won't (or you shouldn't!) be able to do this as encrypted video is designed to play via a secure media path which does not allow access to the raw video.
I have an app that I have written using Xamarin forms. I wanted to know if there is any media
class I could use to record audio as well as stream audio from a server. All articles I have found on the web are platform specific so far.
thanks in advance
There currently isn't any audio support in Xamarin.Forms. You will need to write platform specific code for handling the audio and use the XF DependencyService (or something similar) to call it from your shared code.
I'm trying to get a video playing on Chromecast - it's available as an MS Smooth Streaming manifest (example), but I can't specify format=mpd-time-csf (example), as it's not available in that format.
Directly passing the manifest URL to the Chromecast doesn't work yet, but will be available for the final SDK release, as stated by Les Vogel here:
Playing Smoothstreaming URL by providing Manifest file of smoothstreaming to Chromecast device
As I understand it can play dash/smooth videos by embedding the dash.js player into the receiver app. However, dash.js only plays smooth streaming videos if (format=mpd-time-csf) is specified - normal smooth manifests don't work.
Does this mean that in its current state, Chromecast only supports smooth video in the mpd-time-csf format? I assume the Netflix app uses Smooth for its Chromecast app - is this how they're doing it?
Currently, unless you write your own (javascript) player than can handle smooth streaming (i.e. parse manifest, fetch fragments, use MSE extension, etc), you cannot play smooth streaming content on chromecast.
Ali.
Just following up my own question in case anyone stumbles across this from Google - with the release of the SDK SmoothStreaming should be playable out of the box with the Media Player Library: https://developers.google.com/cast/docs/player.