AdaptationSet has the wrong mimetype for my text track. Is this a bug with azure media services?

Jason Wisener 26 Reputation points
2023-06-01T14:37:45.0733333+00:00

We have encoded a video assest (using DRM, playread and widevine), the video and audio work fine, but the azure media player (amp) is throwing console errors when it comes to the captions/subtitles:

azuremediaplayer.min.js:13 [14:44:34.651] error: azureHtml5JS: manifestParser: Stream type not supported: text

The following: AdaptationSet

<AdaptationSet id="3" group="3" profiles="ccff" bitstreamSwitching="false" segmentAlignment="true" contentType="text" mimeType="application/mp4" codecs="stpp.ttml.im1t" lang="en-us"><SegmentTemplate timescale="10000000" media="QualityLevels($Bandwidth$)/Fragments(subt_en-us=$Time$,format=mpd-time-csf)" initialization="QualityLevels($Bandwidth$)/Fragments(subt_en-us=i,format=mpd-time-csf)"><SegmentTimeline>

The contentType looks correct, however; the mimeType appears to be wrong.

Is this a bug with azure media services?

Azure Media Services
Azure Media Services
A group of Azure services that includes encoding, format conversion, on-demand streaming, content protection, and live streaming services.
317 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. brtrach-MSFT 16,506 Reputation points Microsoft Employee
    2023-06-02T02:31:52.54+00:00

    It seems that the mimeType specified in the AdaptationSet is incorrect. The mimeType should be set to "application/ttml+xml" for text tracks. You can try changing the mimeType to "application/ttml+xml" and see if that resolves the issue.

    If that does not resolve this issue, please reply to this message so we can put you in touch with support to see if there is a platform issue.

    We look forward to your reply.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.