Support for WebVTT in captions output for apple HLS not working

0

I am trying to convert an .mp4 file into an HLS output with captions/subtitles using AWS Mediaconvert. My end goal is to have multiple language selectors in the HLS video (ex. German and French) however I can only "Burn in" one set of captions. According to the AWS docs, if I am using .SRT file as input and HLS as my output container I should be able to also use WebVTT as a output caption format but when I go to create a template for that it gives me this error:

/outputGroups/0/outputs/0/captionDescriptions/0/destinationSettings/destinationType: Should be equal to one of the allowed values in ["BURN_IN","DVB_SUB","EMBEDDED","EMBEDDED_PLUS_SCTE20","SCTE20_PLUS_EMBEDDED","TELETEXT"]

According to another blog (https://www.vidbeo.com/blog/hls-subtitles-captions-webvtt/) it seems doable to insert subtitles into the .m3u8 manifest file like this:

#EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subs",NAME="English",DEFAULT=NO,AUTOSELECT=YES,FORCED=NO,LANGUAGE="en",CHARACTERISTICS="public.accessibility.transcribes-spoken-dialog",URI="subtitles_en.m3u8"

It doesn't seem like I can do this via mediaconvert without choosing the burn in option which wont meet my requirement. Any assistance is much appreciated!

已提問 1 年前檢視次數 515 次
2 個答案
0

Thank you for contacting AWS Re:post,

To answer your question, when selecting IMSC, TTML, or WebVTT as output captions, you need to NOTE that these are only supported as sidecar captions.

What that means is, for these 3 output caption formats, under your output group (say HLS in your case) you need to create separate caption-only outputs for as many caption languages as you need in your output. This is also known as DE-MUXING in media technical terms. To do this, you have to remove the Video and Audio from each caption output under your output-group.

Therefore, your output group should look like this:

Output-Group : HLS
     • Output-1 : Video (mp4) + Audio (xyz format)
     • Output-2 : Caption Eng (WebVTT)
     • Output-3 : Caption Ger (WebVTT)
        ...

Please check this public document that explains the above -> https://docs.aws.amazon.com/mediaconvert/latest/ug/ttml-and-webvtt-output-captions.html

AWS
支援工程師
已回答 1 年前
0

I have also run into this issue and the answer is not clear. Can you show us how this group is supposed to look using the media convert console? Enter image description here

We are trying to use an SRT file with our weather videos and are not trying to do burn-in. But we are currently burning in from the source.

Help would be greatly appreciated

Larry J
已回答 10 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南