Phan Đức Bình
Phan Đức Bình

Reputation: 141

Azure Media Player displays caption names incorrectly

I add two captions (English and Japanese) to the asset. However, the Azure Media Player shows caption names incorrectly. The caption popup showed IMSC1 instead of English and Japanese.

enter image description here

https://i.sstatic.net/iw0ac.png

How I can show the caption names for English and Japanese correctly ?

Upvotes: 0

Views: 162

Answers (3)

truongth91
truongth91

Reputation: 3

maybe I'm late for the party but here is my solution:

  1. The thing is when you add a text track - in this case: a VTT file, and set its player visibility to Visible. Then you create the stream locator with the policy StreamAndDownload. With this stream locator URL, the Azure Media Player will understand that this video is IMSC1 available, and it will:
  • Align the close caption to the left (instead of center)
  • The label in the setting is IMSC1 instead of Japanese or English
  1. Solutions:
  1. Some of my personal thought:

Upvotes: 0

SnehaAgrawal-MSFT
SnehaAgrawal-MSFT

Reputation: 237

You may try to use links to VTT text tracks as per https://amp.azure.net/libs/amp/latest/samples/dynamic_selectTextTrack.html

Edit: Sure, will relay your feedback to team, As of now (4/4/23) It is a known issue for Azure Media Player and only support one IMSC1 caption at the current stage.

But you could use the same way to add track and playback with players support multiple IMSC1 captions such as HLS.js.

Upvotes: 0

Tim
Tim

Reputation: 11

You can use this AMP https://azuremediaplayerdemo.azurewebsites.net to add the IMSC1 captions, but unfortunately it currently works for one caption.

Img: Add language code for IMSC1
Img: The caption popup shows the correct caption name

Upvotes: 1

Related Questions