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

Hendrik Leppkes h.leppkes at gmail.com
Fri May 25 23:58:29 CEST 2012


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.
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.

Note that CODEC_ID_TEXT is not ttxt (as in MPEG4 Timed Text), thats
CODEC_ID_MOV_TEXT.


More information about the ffmpeg-devel mailing list