CAF Error throw when chromecasting media with mpeg-cenc - google-cast

Above is error's screenshot which described what I got when I try to chromecast one media whose format is mpeg-dash and ContentProtection is "Common Encryption"
It works well when I chromecasting mpeg-dash with Widevine or hls media.
Any help would be appreciated, thanks!

Related

Azure Media Player HLS support

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.

Getting mp3 from Azure Media Services

I'm using Azure Media Services and I need to encode input audio files to mp3 output files. I've used Standart Encoder for encoding video files, but it seems Standart Encoder can't produce mp3 (I understand that it can encode audio with AAC and produce mp4 file with the audio but unfortunately I need exactly mp3).
So I'm trying to use Media Encoder Premium Workflow. In the documentation, I see that I need to use Workflow Designer tool but can't understand where I can get it. Could you please point me out where I can find it? Or maybe you can suggest other solution for getting mp3 after processing audio using Azure Media Services?
I see that you have considered Azure Functions. Since that does not appear to address your needs, please contact us via mepd#microsoft.com
We'll provide you the instructions on how to download the Workflow Designer, and use it.

PlayReady for offline content protection in Azure Media Services

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

How to do Azure Video Watermarking / Overlay

Can anyone please guide me, step by step how to watermark/Overlay a video in Azure as I am new to Azure. If Possible please guide me with a tutorial or Video tutorial for the same. I have uploaded a .mp4 video in Azure and streamed it and able to view it in azure media player. Please guide me for watermarking or overlaying a video in azure.
Also I need to understand, azure is providing watermarking / overlay as a service so is there a way to do water marking directly with an Azure interface without visual studio C# coding.
Thanks in advance..
Do you need to overlay an image onto a video? Or do you want to overlay a video over another video? For the former case, the image will have to overlaid on the input video during the encoding process. There is a basic example documented here. In that example, the output contains a single MP4 at 640x360 resolution, which is sufficient for delivery via progressive download. Since you need to stream your video, you should update the Codecs section in that example with additional video bitrates - such as the one showed here.
You also mention needing to do this without writing code. If you have a PC, then you can install and run AMS Explorer (https://aka.ms/amse). Browse to the input video you want to process, hit "Ctl+R" and you will see tabs to specify the encoding settings, and others for advanced features including overlays.

Is it actually possible to play SmoothStreaming videos on Chromecast without using (format=mpd-time-csf)?

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.

Resources