[FFmpeg-devel] Rendering text-based subtitles

Nicolas George nicolas.george at normalesup.org
Sun May 29 15:50:50 CEST 2011

L'octidi 8 prairial, an CCXIX, Chris Burel a écrit :
> Where does the rendering code really belong?  In the ass decoder?  In the
> ass encoder?  Somewhere else entirely?

IMHO, the most logical place would be libavfilter:

- one filter convert text subtitles to bitmap subtitles;

- one filter to forcefully compose overlapping bitmap subtitles;

- one filter to overlay bitmap subtitles on top of a video.

Currently, AFAIK, libavfilter has no support for subtitles filters, but it
does not seem very hard to add. Adding support for subtitles filters to the
ffmpeg command line tool would probably require a little more work.
Unfortunately, I fear that adding support for mixed subtitles+video filters
to the command line tool would be much harder.


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110529/81386c2b/attachment.asc>

More information about the ffmpeg-devel mailing list