[FFmpeg-devel] [PATCH v2] avcodec/webvttenc: add webvtt encoder

Aman Gupta ffmpeg at tmm1.net
Fri May 23 05:31:43 CEST 2014


>
> Sorry I was ready to apply but I realized you kept the <font> tag
> generation from srt. Are you sure this tag is supported the same in
> WebVTT? I wouldn't want FFmpeg to generate .vtt sub file invalid because
> of this.

Appears not, according to http://quuz.org/webvtt/

Styles can be applied via a <c> tag and ::cue CSS selectors, but
afaict one cannot provide CSS rules inline within the vtt file.

I'll rip out the font tags and re-roll the patch with your other changes.


More information about the ffmpeg-devel mailing list