diff options
author | Aman Gupta <ffmpeg@tmm1.net> | 2014-05-23 08:20:34 +0400 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2014-05-25 05:04:14 +0400 |
commit | 4372fb7a5722a0b2aa126f4d4e6d617f237918f6 (patch) | |
tree | 267baf1675fd2da3cdd8b5f45fb84f7fbe0d770f /tests/fate | |
parent | d94e255dd114778e58b668968d99f5055112358d (diff) |
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>
Diffstat (limited to 'tests/fate')
-rw-r--r-- | tests/fate/subtitles.mak | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/fate/subtitles.mak b/tests/fate/subtitles.mak index 33d798e64c..0c7188272f 100644 --- a/tests/fate/subtitles.mak +++ b/tests/fate/subtitles.mak @@ -52,6 +52,9 @@ fate-sub-vplayer: CMD = md5 -i $(TARGET_SAMPLES)/sub/VPlayer_capability_tester.t FATE_SUBTITLES_ASS-$(call DEMDEC, WEBVTT, WEBVTT) += fate-sub-webvtt fate-sub-webvtt: CMD = md5 -i $(TARGET_SAMPLES)/sub/WebVTT_capability_tester.vtt -f ass +FATE_SUBTITLES_ASS-$(call ENCMUX, WEBVTT, WEBVTT) += fate-sub-webvttenc +fate-sub-webvttenc: CMD = md5 -i $(TARGET_SAMPLES)/sub/SubRip_capability_tester.srt -f webvtt + FATE_SUBTITLES_ASS-$(call ALLYES, MICRODVD_DEMUXER MICRODVD_DECODER ICONV) += fate-sub-charenc fate-sub-charenc: CMD = md5 -sub_charenc cp1251 -i $(TARGET_SAMPLES)/sub/cp1251-subtitles.sub -f ass |