[FFmpeg-devel] [PATCH 0/2] Implement and use timing-less subrip decoder

Philip Langdale philipl at overt.org
Sun Aug 12 05:41:24 CEST 2012


In the last discussion no how to fix extraction of text subtitles
from matroska containers, we concluded that it was generally
desirable to have a subrip decoder that didn't rely on in-band
timing, and that this would be the right decoder to map to
matroska text subtitles.

Accordingly, these patches make it happen.

Philip Langdale (2):
  srtdec: Add timing-less "subrip" decoder.
  matroska: Mark S_TEXT/UTF-8 as Subrip encoded subtitles.

 libavcodec/Makefile    |    1 +
 libavcodec/allcodecs.c |    1 +
 libavcodec/avcodec.h   |    1 +
 libavcodec/srtdec.c    |   31 +++++++++++++++++++++++++++----
 libavcodec/version.h   |    2 +-
 libavformat/matroska.c |    3 +--
 6 files changed, 32 insertions(+), 7 deletions(-)

-- 
1.7.9.5



More information about the ffmpeg-devel mailing list