[FFmpeg-devel] [updated PATCH] Make srtenc accept text-only (type SUBTITLE_TEXT) subtitles

Clément Bœsch 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:
> Hi,
> 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).


Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120831/0e094ad1/attachment.asc>

More information about the ffmpeg-devel mailing list