avcodec/webvttenc: add webvtt encoder
authorAman Gupta <ffmpeg@tmm1.net>
Fri, 23 May 2014 04:20:34 +0000 (21:20 -0700)
committerClément Bœsch <u@pkh.me>
Sun, 25 May 2014 01:04:14 +0000 (03:04 +0200)
commit4372fb7a5722a0b2aa126f4d4e6d617f237918f6
tree267baf1675fd2da3cdd8b5f45fb84f7fbe0d770f
parentd94e255dd114778e58b668968d99f5055112358d
avcodec/webvttenc: add webvtt encoder

Based off the srt encoder. The following features are unimplemented:

- fonts, colors, sizes
- alignment and positioning

The rest works well. For example, use ffmpeg to convert subtitles into the .vtt format:

  ffmpeg -i input.srt output.vtt

Signed-off-by: Aman Gupta <ffmpeg@tmm1.net>
Signed-off-by: Clément Bœsch <u@pkh.me>
Changelog
doc/general.texi
libavcodec/Makefile
libavcodec/allcodecs.c
libavcodec/version.h
libavcodec/webvttenc.c [new file with mode: 0644]
libavformat/webvttenc.c
tests/fate/subtitles.mak
tests/ref/fate/sub-webvttenc [new file with mode: 0644]