[FFmpeg-devel] [PATCH] lavc: add text encoder

Moritz Barsnick barsnick at gmx.net
Thu Dec 17 13:28:16 CET 2015


On Thu, Dec 17, 2015 at 12:30:27 +0100, Clément Bœsch wrote:
> ---
>  libavcodec/Makefile        |   1 +
>  libavcodec/allcodecs.c     |   2 +-
>  libavcodec/srtenc.c        |  37 +++++++-
>  libavcodec/version.h       |   2 +-
>  tests/fate/subtitles.mak   |   3 +
>  tests/ref/fate/sub-textenc | 213 +++++++++++++++++++++++++++++++++++++++++++++
>  6 files changed, 253 insertions(+), 5 deletions(-)
>  create mode 100644 tests/ref/fate/sub-textenc

It this encoding, strictly spreaking, still SRT encoding, without the
ASS style formatting?

That's what I thought from a quick glimpse at the code. I was wondering
whether the SRT encoder should have just gained an option to disable
the styling, without making it a new codec named "text".

Just wondering, no deeper knowledge (than from an arbitrary search
engine),
Moritz


More information about the ffmpeg-devel mailing list