- Newest
- Most votes
- Most comments
This issue appears to be related to how AWS MediaPackage handles audio tracks during packaging. Based on the information provided, it seems that MediaPackage is indeed changing the default audio track to the first one in the list, regardless of the original configuration from MediaConvert.
This behavior is likely a limitation or default setting in MediaPackage rather than a configuration issue in your workflow. MediaPackage may not be preserving the DEFAULT and AUTOSELECT attributes from the original HLS manifest when it repackages the content.
To work around this issue, you have a few potential options:
-
Reorder your audio tracks in MediaConvert: Place the Indonesian audio track (which you want as default) as the first track in your MediaConvert output configuration. This way, when MediaPackage selects the first track as default, it will align with your desired outcome.
-
Check MediaPackage settings: Review your MediaPackage packaging configuration to see if there are any settings related to audio track selection or default language preservation. There might be options to maintain the original manifest's audio track attributes.
-
Post-processing: If possible, consider implementing a post-processing step after MediaPackage to modify the manifest and set the correct DEFAULT and AUTOSELECT attributes for your audio tracks.
-
Contact AWS Support: If none of the above solutions work, it may be worth reaching out to AWS Support to inquire about this behavior and whether there are any planned improvements or workarounds specifically for MediaPackage.
For now, the most straightforward solution would likely be to reorder your audio tracks in MediaConvert, placing the Indonesian track first. This should ensure it remains the default audio after packaging with MediaPackage.
Sources
MediaPackage VOD examples using AWS CLI - AWS SDK Code Examples
MediaPackage will honor the track ordering of the renditions coming in. Please try changing the order of the output tracks in your MediaConvert job such that Indonesian comes before English.
Relevant content
- asked 4 years ago
- AWS OFFICIALUpdated 2 years ago
