-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[Support]: H.265 Can't Stream to Web UI #5509
Comments
as it says in the docs, Webrtc does not support h.265 https://deploy-preview-4055--frigate-docs.netlify.app/configuration/live |
Your second link explicitly has H265 (with an asterisk) in the WebRTC/Desktop Safari cell. I can't find the explicit thing that asterisk points to though. Maybe AlexxIT/Blog#5 ? I'm assuming my stream doesn't exactly match those formatting requirements then? Is that something Go2RTC/Frigate can correct, or does it have to come in the exact right format straight from the camera? Okay, what about my error with MSE in Safari? |
It is right below the chart, you have to enable it
Not sure, probably some safari specific issue. Might want to try the go2rtc dashboard to play and see if it behaves the same |
Ahhh, there we go. I didn't realize it was still an experimental feature that had to be enabled. The Chrome links all just say "it's done, and in Chrome 107". Btw, @NickM-27 I appreciate your help today. I hope I'm not being tooo annoying ;). |
Yeah, it really is "codec madness" lol
I am always happy to help |
Chromium + HEVC support (windows+linux) https://github.com/StaZhu/enable-chromium-hevc-hardware-decoding/releases For android, just i try browsers moderns, and work (if your device mobil have hevc hardware support) |
@NickM-27 I think it would be interesting to make a desktop app with integrated MPV, so that Frigate has full support with hevc videos and avoids recoding to h264 :) |
Describe the problem you are having
I have a smattering of Hikvision cameras, some H.264, some H.265. With all the H.264 cameras, I've got them setup going through go2rtc, WebRTC is set up and working, and restreaming them for Frigate. BUT, the H.265 cameras are having various issues. I have them set up to still use H.264 for the substream to reduce decoding requirements for motion and stuff, but the main stream is H.265 (with H.265+ turned OFF).
In the WebUI in Chrome, MSE and JSMPEG work just fine. WebRTC view the timer starts going, but nothing ever displays. I can't find any browser errors or problems with the web socket connections.
In Safari, MSE view will load the first frame at full resolution, but then says "error" down in the area where playback controls normally would be. Web inspector is showing continual binary messages are still coming through. The WebRTC view behaves the same as Chrome.
In Safari on iOS, MSE is not supported, and WebRTC behaves the same as the others.
There are zero errors in any of the Frigate, Go2RTC, or Nginx logs.
Version
0.12.0-27A31E7
Frigate config file
Relevant log output
FFprobe output from your camera
Frigate stats
Operating system
Debian
Install method
Docker Compose
Coral version
USB
Network connection
Wired
Camera make and model
Hikvision DS-2CD2183G0-IU 2.8mm
Any other information that may be helpful
Events are detected, and the recorded clips record and play back just fine.
The text was updated successfully, but these errors were encountered: