====== ffmpeg - Subtitles - Check if ffmpeg supports manipulating subtitles ====== ffmpeg uses the **subtitles** filter to add subtitles on top of the input video. * The subtitles filter requires a build with libavcodec and libavformat to convert the passed subtitle files. ffmpeg uses the **libsrt** library to add SRT subtitles on top of the input video. * The **libsrt** library is a portable subtitle renderer for the SRT subtitle format. * It converts the input subtitle file to an SRT file. ffmpeg uses the **subtitles** filter and the **libass** library to add ASS subtitles on top of the input video. * The **libass** library is a portable subtitle renderer for the ASS subtitle format. * It converts the input subtitle file to an ASS file. ---- ===== Check if libass Is enabled ===== 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. ---- ===== Check if libsrt 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. ----