qtdemux: Add support for wvtt (WebVTT) subtitles.
authorJan Schmidt <jan@centricular.com>
Fri, 4 Jun 2021 17:13:52 +0000 (03:13 +1000)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 19 Oct 2021 08:56:58 +0000 (08:56 +0000)
commit6cada5b0644c3e456b583872d0cbd6e549dadb87
tree994a6fa98df86acd41d479836adf09c6177db6ca
parent41d6f47f2bd99e3395ad68750fbd18cf5a9b6d82
qtdemux: Add support for wvtt (WebVTT) subtitles.

WebVTT in ISO MP4 is specified in ISO 14496-30,
and needed for DASH support. It's stored in an
mp4 specific format. To handle it compatibly,
the wvtt boxes are converted back into WebVTT text
and pushed as application/x-subtitle-vtt

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1182>
subprojects/gst-plugins-good/gst/isomp4/fourcc.h
subprojects/gst-plugins-good/gst/isomp4/meson.build
subprojects/gst-plugins-good/gst/isomp4/qtdemux-webvtt.c [new file with mode: 0644]
subprojects/gst-plugins-good/gst/isomp4/qtdemux-webvtt.h [new file with mode: 0644]
subprojects/gst-plugins-good/gst/isomp4/qtdemux.c
subprojects/gst-plugins-good/gst/isomp4/qtdemux_types.c