SMIL supported subtitle formats ?

0

Hello For MEDIAPACKAGE-VOD, It seems that only the SRT subtitle format is supported as an input.

I tried using a DFXP and the outputted HLS package did not have any subtitles.

<?xml version="1.0" encoding="utf-8"?>
<!-- Chairytale video DV + SUBTITLE EN -->
<smil>
  <body>
    <switch>
      <video name="DV_a_chairy_tale_(NFB_-_HD_720_-_WEB_(H264_2500)).mp4" systemLanguage="eng" audioName="English"/>
      <video name="DV_a_chairy_tale_(NFB_-_SD_Large_-_WEB_MBL_(H264_1500)).mp4" systemLanguage="eng " audioName="English"/>
      <video name="DV_a_chairy_tale_(NFB_-_SD_Small_-_WEB_MBL_(H264_900)).mp4" systemLanguage="eng" audioName="English"/>
      <video name="DV_a_chairy_tale_(NFB_-_Basic_Small_-_WEB_MBL_(H264_400)).mp4" systemLanguage="eng" audioName="English"/>
      <textstream src="a_chairy_tale.dfxp" systemLanguage="eng" subtitleName="English"/>
    </switch>
  </body>
</smil
>```

does MEDIAPACKAGE-VOD supports any other input subtitles format ?  
WEBVTT, TTML ?  
  
Joel
Joel
已提问 4 年前402 查看次数
8 回答
0

Hello Joel,

Thank you for your question. VOD ingest of a MP4 stream referenced by a .smil file supports only SRT captions on the input. If your VOD asset is of HLS input type, then MediaPackage supports WebVTT subtitles. A list of supported codecs and input types for VOD is detailed here: https://docs.aws.amazon.com/mediapackage/latest/ug/supported-inputs-vod.html

Let me know if this answers your question.

AWS
已回答 4 年前
0

hello, it seems that WEBVTT is also supported.
I tried a mediapackage-vod with WEBVTT and the outputted HLS package and CMAF contained the subtitle.

Is it a feature that is fully supported but not already documented ?
what about other format of subtitle like DFXP ?

Joel

Joel
已回答 4 年前
0

Hello Joel,

Can you please let me know your input type for VOD on MediaPackage: SMIL/MP4 or HLS?

If the input type is SMIL/MP4, then SRT captions is the only format supported. If input type is HLS, then MediaPackage supports WebVTT subtitles.

If you could private message me the Output URL for your VOD asset, then I can take a look and provide you with more info regarding your asset.

AWS
已回答 4 年前
0

My input are SMIL/MP4. and I test with SRT and VTT.
with SRT no uses the output contains subtitles.
but I mainly DPFX, TTXT and VTT files.
so I tried a SMIL/MP4/VTT

<?xml version="1.0" encoding="utf-8"?>
<!-- Chairytale video DV + SUBTITLE EN -->
<smil>
 <body>
   <switch>
     <video name="DV_a_chairy_tale_(NFB_-_HD_720_-_WEB_(H264_2500)).mp4" systemLanguage="eng" audioName="English"/>
     <video name="DV_a_chairy_tale_(NFB_-_SD_Large_-_WEB_MBL_(H264_1500)).mp4" systemLanguage="eng " audioName="English"/>
     <video name="DV_a_chairy_tale_(NFB_-_SD_Small_-_WEB_MBL_(H264_900)).mp4" systemLanguage="eng" audioName="English"/>
     <video name="DV_a_chairy_tale_(NFB_-_Basic_Small_-_WEB_MBL_(H264_400)).mp4" systemLanguage="eng" audioName="English"/>
     <textstream src="il-etait-une-chaise_1_2awllltk.vtt" systemLanguage="eng" subtitleName="English"/>
   </switch>
 </body>
</smil>

and I got the asset output 8cf80b39fb5d440faca4f2cd3cc7c82a
and the urls are :

please let me know what you found.

Joel
已回答 4 年前
0

Hello Joel,

Like I mentioned in my first comment, SRT is the only caption format supported on the input when the input is of type SMIL/MP4.

https://docs.aws.amazon.com/mediapackage/latest/ug/supported-inputs-vod.html#suported-inputs-codecs-vod

AWS
已回答 4 年前
0

Ok, is there any plans/roadmap to support newer subtitle format ?
just wondering how the service would evolve.

Joel

Joel
已回答 4 年前
0

Joel,

As a general rule, we don't comment on the future direction of the service. I would recommend you visit the "What's New with AWS" page periodically for details on new features being added into the service.

AWS
已回答 4 年前
0
Joel
已回答 4 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则

相关内容