MediaTailor multilingual Ad configuration

0

I have a URL for content that directs to an HLS stream which has multiple outputs configured one for video and three for audio, and another URL for an ad decision server which has VAST XML having mediaFile tag points to a different HLS stream. The Ad media file content also has multiple outputs configured one for video and three for audio. Also, I have tried an mp4 having three audio tracks as a media file in the VAST XML.

Using these, when I create a mediaTailor configuration and play the URL, the language chosen on the HLS player during the content playback is not preserved language during the Ad playback. Could you explain why this is happening? Is there a requirement for additional configuration?

P.S: I have already read about the player parameters configuration - https://docs.aws.amazon.com/mediatailor/latest/ug/variables-player.html. In my case, the scenario is completely SSAI and should work on any player.

  • In AWS MediaTailor, preserving the audio language track selection during ad playback can be tricky because the player typically treats content and ads as separate streams, which can result in the loss of the selected audio track information when transitioning from content to ad playback and back.

  • Thanks for your comment. Is there any other way at all to configure this without having client dependency?

  • I have explored further here. I could see the #EXT-X-CUE-OUT:0, #EXT-X-CUE-IN tags properly on both audio and video playlists. My Ad decision server points to another HLS segment that has the proper audio and video segments. But when mediaTailor stitches, it manipulates and adds only ts segments to both. Still couldn't understand why?

asked a year ago240 views
1 Answer
0

Matching Audio Track Information Ensure that the audio tracks in both your content and ad HLS streams have identical language codes and attributes.

MediaTailor Configuration Verify that your MediaTailor configuration supports multi-language audio tracks and that the ad decision server (ADS) delivers VAST responses with matching audio tracks.

profile picture
answered a year ago
profile picture
EXPERT
reviewed a year ago
  • Thanks for your reply.

    Here's my content playlist:

    #EXTM3U #EXT-X-VERSION:4 #EXT-X-INDEPENDENT-SEGMENTS #EXT-X-STREAM-INF:BANDWIDTH=3310624,AVERAGE-BANDWIDTH=1703017,CODECS="avc1.640028,mp4a.40.2",RESOLUTION=1920x1080,FRAME-RATE=25.000,AUDIO="program_audio" contentVideo_1.m3u8 #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="program_audio",LANGUAGE="eng",NAME="English",AUTOSELECT=YES,DEFAULT=YES,CHANNELS="2",URI="contentAudio%201.m3u8" #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="program_audio",LANGUAGE="deu",NAME="German",AUTOSELECT=YES,DEFAULT=NO,CHANNELS="2",URI="contentAudio%202.m3u8"

    And here's the Ad playlist: #EXTM3U #EXT-X-VERSION:4 #EXT-X-INDEPENDENT-SEGMENTS #EXT-X-STREAM-INF:BANDWIDTH=513704,AVERAGE-BANDWIDTH=513704,CODECS="avc1.640028,mp4a.40.2",RESOLUTION=1920x1080,FRAME-RATE=25.000,AUDIO="program_audio" Ad1Video_1.m3u8 #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="program_audio",LANGUAGE="eng",NAME="English",AUTOSELECT=YES,DEFAULT=YES,CHANNELS="2",URI="Ad1Audio%201.m3u8" #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="program_audio",LANGUAGE="deu",NAME="German",AUTOSELECT=YES,DEFAULT=NO,CHANNELS="2",URI="Ad1Audio%202.m3u8" In MediaTailor configuration, I'm providing the VAST XML having mediaFile tag which points to Ad content m3u8 playlist as an Ad decision server. What other configuration MediaTailor needs for it to detect the appropriate Language based Ad?

  • @Basel Mohamed
    Could you please expand in detail how to achieve this?

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions