User Tools

Site Tools


ffmpeg:subtitles:check_if_ffmpeg_supports_manipulating_subtitles

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.


ffmpeg/subtitles/check_if_ffmpeg_supports_manipulating_subtitles.txt · Last modified: 2024/12/30 21:28 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki