ffmpeg uses the subtitles filter to add subtitles on top of the input video.
ffmpeg uses the libsrt library to add SRT subtitles on top of the input video.
ffmpeg uses the subtitles filter and the libass library to add ASS subtitles on top of the input video.
ffmpeg —version
returns:
ffmpeg version 6.1.1-3ubuntu5 Copyright (c) 2000-2023 the FFmpeg developers ... --enable-libass ...
NOTE: If you can see —-enable-libass in the configuration, libass is enabled.
ffmpeg —version
returns:
ffmpeg version 6.1.1-3ubuntu5 Copyright (c) 2000-2023 the FFmpeg developers ... --enable-libsrt ...
NOTE: If you can see —-enable-libsrt in the configuration, libsrt is enabled.