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 30.2 Beta 1 - NVENC HEVC encoder fails with mediamtx whip server #3435

Closed
1 of 13 tasks
Fxzzi opened this issue Jun 8, 2024 · 2 comments · Fixed by #3492
Closed
1 of 13 tasks

OBS 30.2 Beta 1 - NVENC HEVC encoder fails with mediamtx whip server #3435

Fxzzi opened this issue Jun 8, 2024 · 2 comments · Fixed by #3492
Labels
enhancement New feature or request webrtc

Comments

@Fxzzi
Copy link

Fxzzi commented Jun 8, 2024

Which version are you using?

v1.8.2

Which operating system are you using?

  • Linux amd64 standard
  • Linux amd64 Docker
  • Linux arm64 standard
  • Linux arm64 Docker
  • Linux arm7 standard
  • Linux arm7 Docker
  • Linux arm6 standard
  • Linux arm6 Docker
  • Windows amd64 standard
  • Windows amd64 Docker (WSL backend)
  • macOS amd64 standard
  • macOS amd64 Docker
  • Other (please describe)

Describe the issue

NVENC HEVC encoder fails with mediamtx whip server. Continual disconnect and reconnect to the server as shown by OBS notifications:
image

Describe how to replicate the issue

  1. Use OBS beta
  2. Set streaming settings to mediamtx server
  3. Ensure video encoder is nvenc hevc
  4. attempt to stream and notice failures to stream

Did you attach the server logs?

yes: mediamtx.log

Did you attach a network dump?

no

OBS discord notified me that this looks like a mediamtx issue. They advised I send you the OBS debug log too. Here you go: obs-verbose.log

@aler9
Copy link
Member

aler9 commented Jun 19, 2024

Hello, as clearly mentioned in the README we don't support using H265 with WebRTC, mainly because the great majority of browsers do not support it.

The OBS team decided to unlock the WebRTC-H265 combination last month (see obsproject/obs-studio#10577) , therefore we can add support for ingesting H265 streams with WebRTC, but not for reading them from the server.

@aler9 aler9 added enhancement New feature or request webrtc labels Jun 19, 2024
aler9 added a commit that referenced this issue Jun 19, 2024
IMPORTANT NOTE: this doesn't allow to read H265 tracks with WebRTC,
just to publish them. The inability to read H265 tracks with WebRTC is
not in any way related to the server but depends on browsers and on the
fact that they are not legally entitled to embed a H265 decoder inside
them.
aler9 added a commit that referenced this issue Jun 19, 2024
IMPORTANT NOTE: this doesn't allow to read H265 tracks with WebRTC,
just to publish them. The inability to read H265 tracks with WebRTC is
not in any way related to the server but depends on browsers and on the
fact that they are not legally entitled to embed a H265 decoder inside
them.
Copy link
Contributor

github-actions bot commented Jul 7, 2024

This issue is mentioned in release v1.8.4 🚀
Check out the entire changelog by clicking here

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

Successfully merging a pull request may close this issue.

2 participants