[FFmpeg-devel] [PATCH 0/2] RFC: TEXT subtitle decoder
Philip Langdale
philipl at overt.org
Fri May 25 19:24:01 CEST 2012
On 25.05.2012 09:47, Clément Bœsch wrote:
>
> Why do you hack into srtdec? srt is a SubRip format, and AFAIK is not
> related at all to TEXT (TTXT?). Shouldn't you instead write a new
> lavc/ttxtdec.c (which can be reused into mov/mp4 as well)?
Well, the reality is that srtdec should be replaced by a textdec - I
discussed
that already - by having the srt demuxer produce proper text packets.
ttext/tx3g/movtext is MPEG4 Part 17. Although it's tempting to say its
just
text, the standard goes way beyond that, and the pascal style strings
have to
be accounted for as well. I intend to introduce separate encoders and
decoders
for it. This change set has no direct relationship to this work - it's
a precursor
to ensure you can get srt out of mkv files sanely.
--phil
More information about the ffmpeg-devel
mailing list