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

Philip Langdale philipl at overt.org
Wed May 23 07:10:18 CEST 2012

Based on the discussion over the last few days, here is an initial
pass at a TEXT decoder. It's probably not in a condition to go in
directly, as we'd probably want to rename srtdec to textdec, and
someone's going to want me to modify the SRT demuxer to emit this
TEXT format rather than raw SRT packets (which I don't really mind
but I'd rather not hold up the decoder on redoing the demuxer)

Philip Langdale (2):
  matroskadec: Write duration into packet for TEXT subtitles.
  srtdec: Add TEXT subtitle decoding mode.

 libavcodec/allcodecs.c    |    1 +
 libavcodec/srtdec.c       |   25 ++++++++++++++++++++++---
 libavformat/matroskadec.c |    2 +-
 3 files changed, 24 insertions(+), 4 deletions(-)


More information about the ffmpeg-devel mailing list