Subtitle workflows¶
Add a selectable track¶
pyffmpegcore subtitles add --video lesson.mp4 --subtitle captions.srt --output lesson-captioned.mp4 --language eng
Extract an embedded track¶
Burn text into video¶
Selectable subtitles can be preserved separately; burned subtitles permanently change video pixels. The FFmpeg build must provide the relevant subtitle decoder/muxer and the subtitles filter for burning. Paths embedded in filter syntax receive separate escaping from normal process arguments.