How to Stream HDR Content to YouTube Using the Cobalt 9992-ENC
White Paper from Cobalt Digital
Wed 16, 12 2020
YouTube recently announced support for HDR content. The Cobalt 9992-ENC is capable of transmitting live HDR content to YouTube, both in HD and 4K resolutions. While HDR is available for both H.264 (AVC) and H.265 (HEVC), YouTube elected to support it only for HEVC.
In order to stream live HDR to YouTube, you need the following:
- A 9992-ENC with appropriate licensing to work in HEVC mode. This can be:
- Model 9992-ENC-4K-HEVC.
- Model 9992-ENC with the optional +HEVC license.
- An HDR video source in PQ10 format. If you have an HDR source in some other format, or if you have an SDR source that want to convert to HDR (by using inverse tone mapping), you can use the Cobalt 9904-UDX-4K with the SDR/HDR Conversion Options (+HDR-TCHCLR-4K, +HDR-TCHCLR).
- A YouTube account enabled for live streaming.
Prior to starting the encoder, you need to create a live broadcast at YouTube. Go to your channel, click on the indicated icon at the top of the page, and select Go Live:
Once you select this, the following page opens:
The most important part is the Stream Key, which is required for the 9992-ENC configuration. Also note that the Stream URL part is not used – we will be streaming HEVC content, which is not supported by RTMP. The streaming will be through HLS, and the URL is different.
While the 9992-ENC supports HDR for both AVC and HEVC, YouTube only supports it for HEVC. Therefore, the first step is to configure the 9992-ENC for HEVC support. This is done in the Encoder Mode tab, as shown below.
The other settings in this tab can be chosen to suit your needs.
Encoder Video Configuration
HDR operation requires 10-bit encoding mode. This is selected in the encoder Basic tab, under Video Parameters:
YouTube requires appropriate video signal metadata. This can be done in the encoder Advanced tab. When you check the Enable Video Signal Type box, the other parameters will become available. Here are the appropriate settings:
However, make sure that the Color Primaries match the actual signal.
Encoder Quality Optimization
These settings are not required for interoperation with YouTube, but are recommended to get the best quality out of your 9992-ENC. They are found in the encoder Advanced tab and are illustrated below.
Encoder Output Configuration
Since HEVC is not supported by RTMP, the stream has to be supplied to YouTube as an HLS stream. The standard way to send HLS streams to a remote server is through HTTP Push. These selections are made in the encoder Output tab, illustrated below:
The steps are:
- In the Output tab, select HLS in the Output Protocol drop down (step 1 above).
- For Server Location, select Remote (step 2 above).
- For Transfer Protocol, select HTTP/S (step 3 above).
- In the Upload URL field, enter the following:
Replace xxxx-xxxx-xxxx-xxxx-xxxx with your YouTube stream key, which you obtained from the YouTube web site (see YouTube Configuration above).
- Leave the Enable Host Header box unchecked. The Base File Name field can also be left at the default value of “live” (YouTube does not care what this is, but a value must be supplied).
- Choose a suitable segment duration (in the Segment (sec) field). YouTube prefers a value between 2 and 4 seconds. Larger values are more robust to varying network conditions.
- Any of the choices for the Number of Segments will work. YouTube prefers 5.
- YouTube does not use the Program Name. This field can be left untouched.
Once you have all of this configured, start the encoder. Note that it may take YouTube up to 30 seconds to start showing the video.
Based on your recent activity and preferences we recommend the following pieces of content
SummaryZEGO assists global enterprises rapidly acquire stable and high-quality live streaming capabilities in more than 200 regions. To better serve their 500+ million...
Many of us would recall when even a simple task, like webpage loading, appeared to be a lifetime wait. In the last two decades, web browsing experience has come a long...
By Amit Singh, Zenlayer yesterday
The Customer MOG has been providing high-quality, cost-effective solutions for OBVans Production for years. More than ever, Broadcasters and Media Companies need to op...
Case Study from MOG Technologies2 days ago
University of Southern California’s Annenberg School for Communication & Journalism with The Julie Chen/Leslie Moonves and CBS Media Center “The Master of Sci...
IABM8 days ago
In this episode of the mini-interview series, we invited Mark from Axello to talk about the media streaming landscape in Europe, China, and Southeast Asia. In the inte...
By Evelyne Kuo, Content Strategist, BaishanCloud8 days ago
We are joined by Chris Wood, CTO and Founder at Spicy Mango to find out more about the company and how they have built a business model around professional services. W...
IABM9 days ago
On Demand Webinar - Leveraging AI for Efficiency in M&E WorkflowsIn this webinar we discussed how to:Import media into TranceCreate, view and edit transcripts in a...
IABM12 days ago
On Demand Webinar - Monitor your broadcast content anytime, and anywhereIn this webinar we discussed how to:Remotely view your content from anywhere on any deviceDeep ...
IABM12 days ago