Word wrapping for caption in AWS Elemental MediaConvert

0

Hi all,

I am trying to burn in captions in clips I create using MediaConvert, but my caption text gets clipped and does not get word-wrapped if it is a lengthy one.

Here is the JSON setting - { "UserMetadata": {}, "Settings": { "TimecodeConfig": { "Source": "ZEROBASED" }, "OutputGroups": [ { "Name": "File Group", "Outputs": [ { "ContainerSettings": { "Container": "MP4", "Mp4Settings": {} }, "VideoDescription": { "CodecSettings": { "Codec": "H_264", "H264Settings": { "MaxBitrate": 1024000, "RateControlMode": "QVBR", "SceneChangeDetect": "TRANSITION_DETECTION" } } }, "AudioDescriptions": [ { "AudioSourceName": "Audio Selector 1", "CodecSettings": { "Codec": "AAC", "AacSettings": { "Bitrate": 96000, "CodingMode": "CODING_MODE_2_0", "SampleRate": 48000 } } } ], "CaptionDescriptions": [ { "CaptionSelectorName": "Captions Selector 1", "DestinationSettings": { "DestinationType": "BURN_IN", "BurninDestinationSettings": { "ShadowXOffset": 1, "OutlineSize": 2, "ShadowColor": "BLACK", "FontSize": 16, "FontColor": "WHITE", "OutlineColor": "BLACK", "ShadowYOffset": 1, "ShadowOpacity": 0, "StylePassthrough": "ENABLED" } } } ] } ], "OutputGroupSettings": { "Type": "FILE_GROUP_SETTINGS", "FileGroupSettings": { "Destination": "s3://sample/staging/project/122/clips/clip_1706574698" } } } ], "AdAvailOffset": 0, "Inputs": [ { "InputClippings": [ { "EndTimecode": "00:00:49:00", "StartTimecode": "00:00:31:00" } ], "AudioSelectors": { "Audio Selector 1": { "Tracks": [ 1 ], "Offset": 0, "DefaultSelection": "NOT_DEFAULT", "SelectorType": "TRACK", "ProgramSelection": 1 } }, "VideoSelector": { "ColorSpace": "FOLLOW" }, "FilterEnable": "AUTO", "PsiControl": "USE_PSI", "FilterStrength": 0, "DeblockFilter": "DISABLED", "DenoiseFilter": "DISABLED", "TimecodeSource": "ZEROBASED", "CaptionSelectors": { "Captions Selector 1": { "SourceSettings": { "SourceType": "SRT", "FileSourceSettings": { "SourceFile": "s3://sample/staging/project/122/custom-video/sample.srt" } } } }, "FileInput": "s3://sample/staging/project/122/custom-video/sample.mp4" } ] }, "BillingTagsSource": "JOB", "AccelerationSettings": { "Mode": "DISABLED" }, "StatusUpdateInterval": "SECONDS_60", "Priority": 0 }

Below I have attached a screenshot showing how the caption is getting clipped - screenshot showing how the caption is getting clipped

Thank you in advance for your help!

PS. Even the subtitle looks ugly but I will ask this question separately.

profile picture
asked 3 months ago171 views
1 Answer
0

It could be that the source captions file (sample.srt) is not be properly synced with the video source, nor contain line/spacing details. It is unusual to have a single caption line that would cover a full image.

Also, It may be helpful to look at the Teletext spacing and the Font size settings in the Closed Caption Burn-in settings. These may help adjust the burn-in text.

AWS
Mike-ME
answered 3 months 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