[FFmpeg-devel] [PATCH 0/2] RFC: TEXT subtitle decoder

Clément Bœsch ubitux at gmail.com
Sat May 26 00:07:32 CEST 2012

On Fri, May 25, 2012 at 11:58:29PM +0200, Hendrik Leppkes wrote:
> On Fri, May 25, 2012 at 10:50 PM, Clément Bœsch <ubitux at gmail.com> wrote:
> >
> >  - then just drop the {"S_TEXT/UTF8", CODEC_ID_TEXT} in matroska like you
> >   did the first time.
> >
> >
> Once you strip all timing metadata from the srt packets, there is nothing
> special about the packet anymore, they are just pure text.

HTML-like markup

> I would rather recommend to drop/deprecate CODEC_ID_SRT (its really more of
> a container to store text with timing info in a plain-text file), and use
> CODEC_ID_TEXT for all those cases.

Well I'd rather add one actually. Like CODEC_ID_SRT (complete subtitles
entry as it is now, with the X/Y positionning hack), and
CODEC_ID_MUXED_SRT or CODEC_ID_PURE_SRT with only the text markup.

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/20120526/ab8f5eb5/attachment.asc>

More information about the ffmpeg-devel mailing list