[FFmpeg-devel] [updated PATCH] Make srtenc accept text-only (type SUBTITLE_TEXT) subtitles
ubitux at gmail.com
Fri Aug 31 13:15:35 CEST 2012
On Fri, Aug 31, 2012 at 01:08:57PM +0200, Wolfram Gloger wrote:
> Thanks for your comment.
> Clément Bœsch <ubitux at gmail.com> writes:
> > Currently, we make all the text decoders output to SUBTITLE_ASS (the
> > common internal format), and actually it seems no subtitles text encoder
> > will deal very well with SUBTITLE_TEXT (no git grep match all over the
> > code base). Is it too much pain to make the decoder output ASS? See
> > lavc/subviewerdec.c for a simple example using the ASS helpers.
> Ok, will try.
> I am not sure my TV supports ASS markup, though.
> With plain UTF8 text, it surely works well.
What do you mean by that? If your decoder outputs ASS, the SubRip encoder
& SRT muxer will be able to produce a full text subtitles (with SubRip
markup though when possible iirc, such as <i>, <b> etc).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 490 bytes
Desc: not available
More information about the ffmpeg-devel