By using AWS re:Post, you agree to the Terms of Use
/Encoding HLS with WEBVTT or DFXP as subtitles inputs/

Encoding HLS with WEBVTT or DFXP as subtitles inputs

0

With mediaconvert, I ave some issue setting up a job that support an sidecar input subtitle other than SRT.
When I use a subtitle TTML, I get the error :

Failed to initialize pipeline []. (IS)

So I tried to setup a job with DFXP (subset of TTML) the type DFXP is not available in the web console.
The same goes for the WEBVTT. is not available.
Meanwhile the caption filename validator does give the following error :

/inputs/0/captionSelectors/Captions Selector 1/sourceSettings/fileSourceSettings/sourceFile: Should match the pattern: /^((s3://(.*?)\.(scc|SCC|ttml|TTML|dfxp|DFXP|stl|STL|srt|SRT|xml|XML|smi|SMI))|(https?://(.*?)\.(scc|SCC|ttml|TTML|dfxp|DFXP|stl|STL|srt|SRT|xml|XML|smi|SMI)(\?([^&=]+=[^&]+&)*[^&=]+=[^&]+)?))$/

It seams from the regex mediaconvert should be able to support TTML, DFXP.
webVTT would be a nice addtition.

Joel

asked 2 years ago4 views
8 Answers
0

Hi Joel,

Thank you for opening this forum post! As you mentioned, DFXP is a text based subset of TTML, and the regex does suggest that a DFXP extension is supported. Can you confirm if you have tried a TTML caption selector with a .dfxp file extension? I think this should parse correctly. If not please let me know and I can look into it further. Thank you.

Regards,
Ben

answered 2 years ago
0

Hello Ben,
I tried a DFXP with the TTML subtitle profil but mediaconvert createjob validation forms reject it, It limit the extention to TTML.
when I use a file with the extension TTML the job is created but I dont have a subtitle in the outputed HLS...

answered 2 years ago
0

Hi jbrun, apologies for the mis-information there. I have passed your request to our engineering team to add the dxfp extension support to the service. Regarding the TTML to HLS output, can you PM me an example job ID / region / account ID for this please? I will review the logs. Thank you.

Regards,
Ben

answered 2 years ago
0

Hello Ben, I replied with a PM.

Thank you.

answered 2 years ago
0

Hello, I retested some mediaconvert jobs with differentr sidecar Subtitles.

  1. when the input is TTML I get the error :
    Failed to initialize pipeline []. (IS)
    Error Code : 1010

  2. When I try the subtitle input WebVTT the validator rejects it.

  3. Only the sidecar subtitle input SRT works.

do you have the same issues ?

answered 2 years ago
0

Hi Joel,

I ran a test using the settings from the Job ID you provided via PM, and my own example MP4 / TTML files. The job completed successfully so the settings are ok. It's possible the TTML is malformed or there is a timecode mismatch between the caption file and video file. Would it be possible to send me a copy of the details you just mentioned? IE, Job ID, source MP4 and source TTML? This should allow me to reproduce the same fault and I can check in more detail what the issue is. If you can generate a presigned URL for these and send via private message that would be helpful. Thanks!

Regards,
Ben

answered 2 years ago
0

Hi Joel, do let me know if you are still having issues with this workflow and I'll be happy to review your MP4 / TTML sources if you are able to provide them. Thanks!

Regards,
Ben

answered 2 years ago
0

We finnally choose to convert our sidecar subtitles to SRT as an input.

answered 2 years ago

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