5 Low-Cost Ways to Provide Closed Captions for VOD Streams
I recently had a conversation with Hugh Murphy, product marketing and development manager for Success magazine, about the publication’s captioning process with Rev. The majority of the magazine’s content is video on demand (VOD)—or subscription video on demand (SVOD)—and hosted on YouTube. While YouTube doesn’t automatically handle the creation of captions, you can upload and/ or create captions using YouTube’s account tools. With services like Rev and 3Play Media, you can upload videos and purchase transcriptions of your audio as sidecar files to associate with the video file during playback.
The conversation with Murphy gave me the impetus to review the captioning options for both live and-on demand content. In the U.S., there are multiple federal regulations that can impact your video content and distribution, particularly with accessibility requirements. It’s beyond the scope of this column to review Section 508 and FCC requirements, but I advise all my clients that intend to grow large libraries of video content to explore their obligations under local and national laws. (Note that there is a distinction between closed captions and subtitles, and for the purposes of this column, I’m referring mainly to closed captions.)
As most of my work with video solutions architects revolves around HLS content distribution and streaming media servers like Wowza Streaming Engine or Red5 Pro, I am most familiar with integrated server-side techniques for including closed captions. There are multiple ways to provide closed captions with your video:
- Sidecar WebVTT (Web Video Text Tracks) files: Captions are stored in a separate text file with WebVTT formatting, which indicates start and stop times for captions. The video player loading the stream also loads the sidecar file for the language(s) provided.
- Integrated CEA-608/708 captions: Apple HLS can deliver captions using the same CEA-608 (Line 21) captions provided with TV broadcast streams. Newer digital TV transmission uses CEA-708 captions. If your VOD or live programming already has CEA-608 or -708 captions, you’ll likely be able to reuse them over Apple HLS or DASH. Captions are injected into H.264 SEI messages of manifest chunks.
- iOS WebVTT: An HLS manifest can also reference a separate captioning manifest that refers to the text tracks associated with a video stream. Unlike the integrated captions discussed in the previous bullet point, these captions are handled outside of the H.264 chunks. For multiple-language support on iOS, you may want to explore using WebVTT manifests instead of integrated captions.
- 3GPP Timed Text: MP4 files can embed captions as separate tracks within the actual file. Not all web browsers and/or players will be able to read the timed text tracks, but most server-side streaming solutions can extract these tracks and convert to the caption options mentioned previously.
- <iframe> embed: This approach displays captions below the video player as a separate HTML element on the webpage (or native application). The drawback to this approach is that when the video is displayed fullscreen, the captions may not be visible or accessible to the viewer.
For VOD content, you have the time and luxury to process captions with any or all of the above methods at relatively low cost. For live streaming, though, you’ll need to use encoders or server-side injection techniques that push captions into the live stream (or caption manifest). Some third-party paid services can offer a real-time operator to provide the text transcription in a variety of formats that you can then integrate with your video playback. For my live-streaming production services, I’ve often integrated my iPhone with an XLR output from the audio mixer to dial directly to the transcriber for a captioning feed.
Whatever method you use to distribute your video content, be sure to include paths to providing captioning capabilities in your road map.
[This article appears in the September 2019 issue of Streaming Media Magazine as "Considering Closed Captions."]
Live video gets a little more inclusive, as YouTube brings automatic English captioning to live streams. Also, location tags let viewers search by geography.
Publishers can add standard pre-written captions or work with third-party providers to insert real-time captions into the live stream.
Whether it's to make your videos accessible to hearing-impaired viewers or to increase SEO, you should be captioning your videos. Here's a look at the tools and services you can use to get started.
Government regulations spell out exactly what online video needs to be captioned. Learn the laws to avoid fines and lawsuits.
Companies and Suppliers Mentioned