[FFmpeg-devel] [PATCH 0/4] improve text subtitles muxing/demuxing

Aurelien Jacobs aurel
Tue Jul 6 22:54:42 CEST 2010


The following series improve text subtitles muxing/demuxing support.

It implements a SubRip (SRT) muxer and demuxer.
The framing is done in a parser.

It also implements an ASS parser, which is based on a copy of the ASS
demuxer. For now, I haven't touched the ASS demuxer, but after this series
is applied, I will work on it so that it uses the parser, to avoid code
duplication.

Finally, it implements support for subtitles in AVI demuxer. It doesn't
contain anything specific to a subtitle format. It uses other demuxers
probe function to detect subtitle codec id (using CODEC_ID_PROBE) and
it trusts parsers to do the framing and timestamping. I have tested this
successfully with SRT and ASS embedded in AVI.

Aurel



More information about the ffmpeg-devel mailing list