You can stream High Dynamic Range (HDR) video to YouTube Live. HDR lets you show more vibrant and realistic colors to your viewers on the growing number of devices that support HDR.
Eligibility for HRD
To stream HDR to YouTube Live:
- You need to produce compatible HDR content and use a compatible encoder.
- At this time, HDR streaming to YouTube is only supported with the H.265 (HEVC) video codec.
Live stream HDR gaming content
To live stream HDR gaming content, you need to:
- Play a game that supports HDR output.
- Turn on HDR in the game’s settings.
- Use a monitor or TV that supports HDR.
- Use a compatible encoder.
Live stream other HDR video content
To live stream other HDR video content, you need to:
- Use a compatible encoder.
- Use a camera that supports HDR video with either the PQ or HLG color standards. Check your camera’s manual to see if these standards are supported.
Viewing HDR live streams
Viewers will see your stream in HDR automatically on supported devices. Viewers on other devices will see your stream in Standard Dynamic Range. Supported HDR devices include:
- The YouTube app on HDR TVs.
- Casting to Chromecast Ultra devices connected to HDR TVs.
- Android-based mobile devices with an HDR display.
- Windows and Mac PCs with HDR graphics support and an HDR display. Viewers will see your stream in HDR if they have HDR enabled in their computer’s settings.
Note: The preview in the Live Control Room will not show HDR colors.
How to know if you’re watching in HDR
Set up an HDR Stream in YouTube Live Control Room
You can use RTMP(S) or HLS to stream in HDR. Note that you’ll need to keep the “Turn on manual resolution” setting unchecked.
To create a HDR stream via HLS, you’ll need to set your stream key’s protocol to HLS. Learn how to set up an HLS stream.
Compatible software encoders for RTMP
OBS
- When you open OBS, your computer must have at least one HDR source. With an HDR monitor, on Windows 11, you can turn on HDR even if the source video is not HDR via Auto HDR.
- In Settings, go to Stream and select YouTube RTMPS.
- In Settings, go to Output then click Encoder.
- Select your hardware HEVC encoder.
- Under Encoder Settings, change Profile to Main 10 (default is Main).
- In Settings click Advanced. Enable HDR and change Color Format to P010 (4:2:0).
- Change Color Space to either Rec 2100 PQ or HLG (We recommend HLG).
Compatible software encoders for HLS
Avermedia RECentral 4
AWS Elemental Live
Mirillis Action!
To encode HDR with Mirillis Action!, use version 4.12.2 or later and one of the following compatible graphics cards:
- NVIDIA GeForce GTX 10-series or later.
- AMD Radeon RX 5700 or later.
- Intel 10th Generation graphics or later.
To set up Mirillis Action! to work with YouTube Live HDR:
- From Action!, make sure you’re signed in to your YouTube account.
- Go to the Action! video recording tab.
- Make sure your stream key is using HLS protocol and has “Turn on manual settings” as unchecked (the default).
- In the “Live Streaming” tab, select YouTube as the streaming service.
- Action! will automatically create a broadcast when you start streaming.
You can also create and manage your broadcast in Live Control Room.
- Go to Live Control Room.
- Create or manage a live stream.
- Make sure your stream key is set to use HDR and has “Turn on manual settings” as unchecked (the default).
- Copy your stream key.
- In Action!, select Custom streaming service.
- Under “Server / URL,” enter the following URL and replace STREAMKEY with your YouTube stream key:
https://a.upload.youtube.com/http_upload_hls?cid=STREAMKEY©=0&file= - Leave the separate “Stream key” setting blank.
Note: Action! may not be compatible with some older HDR games.
Note: You can only encode in formats that are supported by your device.
OBS
To enable HDR on OBS
- When you open OBS, your computer must have at least one HDR source. With an HDR monitor, on Windows 11, you can turn on HDR even if the source video is not HDR via Auto HDR.
- In Settings go to Stream and select YouTube HLS ( “show all” and scroll down the list).
- In Settings, go to Output then click Encoder.
- Select your hardware HEVC encoder.
- Under Encoder Settings, change Profile to Main 10 (default is Main).
- In Settings click Advanced. Enable HDR and change Color Format to P010.
- Change Color Space to either Rec 2100 PQ or HLG (We recommend HLG).
Compatible hardware encoders
Common encoder configuration requirementsYouTube Live HDR requires using HLS output. Here are the common requirements for setting up an encoder on your device:
HDR Configurations:
- Video Codec: HEVC (you can only encode in formats that are supported by your device)
- Bit Depth: 10 bits
- Color Primaries: BT.2020 (must be compatible with your source)
- Transfer Characteristics: Either ST 2084 PQ or HLG, depending on which one your source produces.
- Matrix Coefficients: BT.2020 Non-Const Y (must be compatible with your source)
HLS output:
- Segment Duration: Between 1 - 4 seconds.
- Segment Format: must be TS (Transport Stream).
- Byte Range is not supported.
- Must use a rolling playlist with no more than 5 outstanding segments.
- Must use HTTPS POST/PUT.
- Encryption is not supported besides using HTTPS.
- URL: Enter the following URL and replace STREAMKEY with your YouTube stream key. For HDR, you must use a stream key that has HLS as as streaming protocol and “Turn on manual settings” setting as unchecked (the default).
- If using backup ingestion, the URL is: https://b.upload.youtube.com/http_upload_hls?cid=STREAMKEY©=1&file=
Cobalt encoders that support HEVC HDR are compatible with YouTube Live HDR. Check the product manual for your specific Cobalt model to see if it supports HEVC HDR.
Set up Cobalt for HEVC HDR
- Enter the following settings into the Cobalt encoder:
- Encoder mode: HEVC (you can only encode in formats that are supported by your device)
- Bit Depth: 10 Bits
- Chroma mode: 4:2:0
- On the “Advanced” page, set the video signal type options to the same type of HDR as your HDR camera or other HDR capture device. YouTube Live HDR supports only the settings listed below. Check your HDR camera’s manual or settings to see if it’s compatible with these Cobalt settings.
- Enable Video Signal Type: Checked
- Video Full Range: Enable only if your source produces full-range video.
- Color Primaries: Set to BT.2020 (must be compatible with your source).
- Transfer Characteristics: Set to either ST 2084 PQ or HLG, depending on which one your source produces.
- Matrix Coefficients: Set to BT.2020 Non-Const Y (must be compatible with your source.
- Next, set up HLS output to YouTube. Go to the “Output” tab and enter these settings:
- Output Protocol: “HLS”
- Server Location: Remote
- Transfer Protocol: HTTP/S
- Upload URL: https://a.upload.youtube.com/http_upload_hls?cid=STREAMKEY©=0&file=
In the URL above, replace STREAMKEY with your YouTube stream key. For HDR, you must use a stream key that has HLS as a streaming protocol and a “Turn on manual settings” setting as unchecked (the default).
- Enable Host Header: Unchecked
- Base File Name: “live”
- Segment (sec): Any number between 1 - 4
- Number of Segments: Choose any option
- Program Name: Leave as-is
The Lightspeed Live Stream encoder from Telestream is compatible with YouTube Live HDR.
Follow the instructions in the encoder’s user guide for setting up an HLS Channel with the following configurations:
- Segment Duration: Between 1 and 4 seconds
- Segment Format: Must be TS (Transport Stream)
- Enable Byte Range: False
- Playlist Type: Rolling
- Elements: 5
- Encryption: None
- Output Location: Push to CDN
- Publishing Point: https://a.upload.youtube.com/http_upload_hls?cid=STREAMKEY©=0&file=
In the URL above, replace STREAMKEY with your YouTube stream key. For HDR, you must use a stream key that has HLS as a streaming protocol and a “Turn on manual settings” setting as unchecked (the default).
- HTTP Method: Enable HTTP method and choose POST
To configure the HDR settings, you need to configure HEVC settings in the Encoder section of your device with these configurations:
- Enable 10 bit and then enable HDR Metadata.
- Color Primaries: Set to BT2020 (must be compatible with your source).
- Transfer Characteristics: Set to either SMPTE-ST-2084 (PQ) or ARIB-STD-B67 (HLG), depending on which one your source produces.
- Matrix Coefficients: Set to BT2020NC (must be compatible with your source).