Subtitle
SubtitleClipMaker
Bases: TextClipMaker
A clip maker for subtitle assets.
The subtitle clip maker performs these transformations:
- Execute the text clip maker process
- Position the subtitle at the top, bottom, or center of the video
- Return the subtitle clip
Note
For further details, refer to the TextClipMaker documentation.
Examples:
# Create a basic subtitle clip
maker = SubtitleClipMaker(duration=5.0, video_resolution=(1920, 1080))
clip = maker.make_clip(subtitle_asset)