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

Clément Bœsch ubitux at gmail.com
Fri Aug 31 14:59:53 CEST 2012

On Fri, Aug 31, 2012 at 02:27:55PM +0200, Wolfram Gloger wrote:
> Clément Bœsch <ubitux at gmail.com> writes:
> > 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).
> So you're saying there exists an ASS style which will produce no markup
> at all on the output text?

There are a lot of styles ASS has that SubRip doesn't support. These will
likely get ignored.

Try for instance ffmpeg -i in.ass -c srt out.srt with a random ASS file
and see by yourself.

>                             What would the subtitle_header look like for
> that simplest case?

what returns ff_ass_subtitle_header_default()?


Am I really answering your questions?

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/72e86036/attachment.asc>

More information about the ffmpeg-devel mailing list