[FFmpeg-devel] [PATCH] WebM muxer writes WebVTT subtitle track

Michael Niedermayer michaelni at gmx.at
Tue Jul 9 03:16:01 CEST 2013

On Mon, Jul 08, 2013 at 04:25:30PM -0700, Matthew Heaney wrote:
> The Matroska muxer now allows WebVTT subtitle tracks to be written
> while in WebM muxing mode.
> WebVTT subtitle tracks have four kinds: "subtitles", "captions",
> "descriptions", and "metadata". Each text track kind has a distinct
> Mastroska CodecID and track type, as described in the temporal
> metadata guidelines here:
> http://wiki.webmproject.org/webm-metadata/temporal-metadata/webvtt-in-webm
> When the stream has codec id AV_CODEC_ID_WEBVTT, the stream packet is
> serialized per the temporal metadata guidelines cited above. The
> WebVTT cue is written as a Matroska block group. The block frame
> comprises the WebVTT cue id, followed by the cue settings, followed by
> the cue text.  (The block timestamp is synthesized from the cue
> timestamp.)
> ---
>  libavformat/matroska.h    |  1 +
>  libavformat/matroskaenc.c | 97 ++++++++++++++++++++++++++++++++++++++++-------
>  2 files changed, 85 insertions(+), 13 deletions(-)

patch applied


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The educated differ from the uneducated as much as the living from the
dead. -- Aristotle 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130709/2907c649/attachment.asc>

More information about the ffmpeg-devel mailing list