[FFmpeg-devel] [PATCH 0/2] RFC: TEXT subtitle decoder
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
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
text, the standard goes way beyond that, and the pascal style strings
be accounted for as well. I intend to introduce separate encoders and
for it. This change set has no direct relationship to this work - it's
to ensure you can get srt out of mkv files sanely.
More information about the ffmpeg-devel