Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

obs-outputs: Enable HDR for HEVC over RTMP #9264

Merged
merged 1 commit into from
Jul 18, 2023

Conversation

nquah
Copy link
Contributor

@nquah nquah commented Jul 17, 2023

Removes flag guard to enable HDR streaming for HEVC over Enhanced RTMP. This functionality is currently only supported by YouTube. See github.com/veovera/enhanced-rtmp for the Enhanced RTMP spec.

Description

HDR support for RTMP was previously added in #8522, according to the Enhanced RTMP spec at github.com/veovera/enhanced-rtmp. This change partially removes the flag guard, to enable streaming HDR with HEVC over RTMP.

Motivation and Context

Enables streaming HDR with HEVC over RTMP to YouTube, which now supports this functionality.

How Has This Been Tested?

Tested against YouTube with Nvidia RTX 4090, Intel Arc A750, AMD RX 7900 XTX.

Known issues: HDR not correctly detected by YouTube on AMD encoder. Debugging in progress.

Types of changes

  • New feature (non-breaking change which adds functionality)

Checklist:

  • My code has been run through clang-format.
  • I have read the contributing document.
  • My code is not on the master branch.
  • The code has been tested.
  • All commit messages are properly formatted and commits squashed where appropriate.
  • I have included updates to all appropriate documentation.

Removes flag guard to enable HDR streaming for HEVC over Enhanced RTMP.
This functionality is currently only supported by YouTube.
See github.com/veovera/enhanced-rtmp for the Enhanced RTMP spec.
@derrod
Copy link
Member

derrod commented Jul 17, 2023

FWIW the AMD encoder issue is something that also affects recorded videos, see #9195. The AMD encoder wasn't meaningfully changed between those versions but ffmpeg itself also no longer detects it as HDR. A bitstream analyser still shows the correct data being set however.

Copy link
Member

@RytoEX RytoEX left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@RytoEX RytoEX added this to the OBS Studio (Next Release) milestone Jul 18, 2023
@RytoEX RytoEX added the New Feature New feature or plugin label Jul 18, 2023
@RytoEX RytoEX merged commit 8137eb5 into obsproject:master Jul 18, 2023
@flaeri
Copy link
Contributor

flaeri commented Aug 3, 2023

I can confirm that despite #9195, it seems to me to work fine streaming to YT via RTMPS with HDR. I believe that issue only affects the ffmpeg mux process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New Feature New feature or plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants