Over the past few months, one of our wizards in the workshop has built Rema, Line 21's own video encoder. It now runs by default across every Line 21 account, for both RTMP and HLS streams. I want to use its release to explain how live captions travel with video across the main streaming protocols, and why we decided this part of the workflow belonged inside our own infrastructure.
Why is it called Rema?
One member of the team asked with a straight (if wistful) expression if this was a reference to REM and making dreams take shape; it turns out the creator was thinking of tidal currents and the importance of flow. So we're proud to introduce Rema, the dream flow for our Line 21 platform. (I'm not surrendering my interpretation.)
Where encoding sits in a captioned stream
A captioned live stream starts as two separate things: the video and audio from the event, and the caption text produced from that audio by an AI engine or a human CART captioner. The encoder is where they are combined. For most streaming destinations, captions are written into the video itself as CEA-608 or CEA-708 data, which is what lets a viewer switch them on with the CC button in the player. The older of the two standards, CEA-608, is still often called Line 21 captioning (teehee), after the line of the television signal that originally carried it.
Until recently, this step in our workflow was handled by an outside service. Captions were produced on our platform and then passed on to be joined to the video. Each handover added a little delay, and when an issue came up, timezones (we're UK based) and curious service plans (please hold for 3 hours after the beep) presented unnecessary obstacles.
RTMP
RTMP remains the most common way to send a live stream to a platform. Most production tools, from OBS to hardware encoders, can push RTMP, and destinations including YouTube, Vimeo, Facebook Live and LinkedIn Live accept it. YouTube, for example, lets the stream owner select embedded 608/708 captions in the stream settings, so the captions arrive inside the video signal.
The details vary by platform. YouTube currently displays one caption track, even though the 608/708 standard allows up to four. On Vimeo, live caption options depend on the plan, and Vimeo's own automated live captions are limited to Premium and Enterprise customers. Checking these settings before an event saves troubleshooting on the day.
In a typical Line 21 setup, the client sends their stream to us, we add the captions, and the stream continues to its destination with captions embedded.
HLS
With HLS, the player matters as much as the stream, because captions only reach the viewer if the player reads them correctly. For HLS events, Line 21 provides the video player, and we can also host the page the player sits on. Clients can embed our player on their own site, or send their audience to a page we host, with captions already in place. We find this flows better than asking you to pick up a third-party video hosting account.
For captioning, this makes the alignment between caption timing and video segments especially important. With Rema doing the encoding and our own player handling playback, we look after that alignment from the caption source to the viewer's screen.
And as we've been asking for feature requests in project management recently, we continue to build on our video player asks: with or without chat, viewer engagement statistics, still image pre-event, and more!
What bringing encoding in-house changes
Rema handles caption encoding for RTMP and HLS within our own infrastructure. Captions and video are combined in one place, which reduces delay and keeps captions more closely in sync with the speaker. We can monitor the full path from caption to stream, so we can find and fix problems ourselves. We can also update the encoder on our own schedule as platforms change their requirements.
Stability mattered to us as much as timing. Our clients run town halls, conferences and broadcasts where a dropped stream or drifting captions is noticed by everyone watching. With encoding in-house, we are confident in the stability of the whole chain, from the caption source to the stream the audience receives.
For clients, very little changes. Rema is now on by default, with nothing to select or install, and it works with every caption source we offer: AI captioning, machine translation and human CART.
Questions to ask before your next stream
- Which protocol does your destination accept, and does it display embedded 608/708 captions?
- How many caption languages can the player show at once?
- For this event, does latency or reliability matter more?
- Who will monitor the captions during the stream?
Our thanks to Fabrizio for the work behind Rema.
If you are planning a captioned stream to YouTube, Vimeo or a broadcast destination and want to talk through the setup, get in touch! And if you are new to Line 21, explore our generous free trial (really).
