Video Encoding Fails with Error Resulting In Invalid Captions Format Error in Playback
Symptoms
- Video fails with
Invalid captions formatduring playback. - Video Center clip failed to encode with error:
transcoder.m3u8vtt.postprocessCause
There is an illegal character in your clip’s closed captions that causes the error. All XML reserved characters including ", <, >, & ' should not be included in the .vtt file.
Solution
-
Go to the video and make sure the subtitle is failing, that means this guide will cover the scenario, look for
Invalid captions formaterror -
Get video UUID
-
Use to curl to get s3 subtitle path
- Remember to change “replace_with_uuid” in the URL
- First time you might need to install jq
brew install jq -
Look for the WEB_VTT file (“url” is an s3 path)
-
In the WEB_VTT file, look for any bad or illegal characters
-
If you cannot find any and are still having issues, submit an Arc XP Customer Support ticket