-
-
Notifications
You must be signed in to change notification settings - Fork 274
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
H265 not working in event view #950
Comments
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you follow the issue template or I may not respond. |
Open up a chrome browser on your mobile device, go to ZM console and try playing the same video. Does it play? If not, zmNinja won't play either. Your idea of mjpeg is worth investigation. What is the URL when you play using mpeg? |
It doesn't play. Chrome browser doesn't support h265, only safari supports it... The url is: |
Okay, so that is the old style playback. Good idea. How about I add a per monitor setting in the monitors screen that force plays the video in mpeg format even if its mp4? Then you can change on a per monitor basis. I assume thumbnails show correctly, only playback is the issue. |
Per monitor basis would be perfect. I also have h264 camera's and h265 camera's so that would fit like a charm, thanx |
I have a desktop version for you to test first - can you let me know which OS you can try? |
I'm using Ubuntu 20.04 on my laptop and Android 10 on my Galaxy Note 9. |
https://drive.google.com/file/d/15-p_xu55mXYmNspHwbUws3Kc42t3MpM8/view?usp=sharing then try it out |
Ok, I did test it and I can confirm it works, thank you! In the mean time I configured all cameras as H264 so for me the issue is now fixed. Hopefully H265 will be implemented to android webview and chrome in the future. |
Sounds good. I’ll make this part of the next release in a few weeks. I assume you are not waiting for it urgently as you have switched to 264? |
Yes, no urgency at the moment. Thanx for your support! |
I have the same issue. iOS 13.5.1 (iPhone X), Windows 10 1809, MacOS Catalina 10.15.5 My ZM is on Debian 10 Buster, v1.34.15 |
The best use case is to use h264. H265 is not supported by many browsers and due to licensing it is probably not going to be supported also. That's why Facebook and YouTube don't use h265 but VP9 which is license free. But with the mjpeg option you can view your h265 recordings but no sound on that case. Altough you can download the video and play it in a h265 supporting video player with sound. It would be nice if zmninja could use a h265 library on top of the browser functionality to show h265, but that is a major change. |
@withanhdammit The feature I added to mitigate this is to stream those cameras via MJPEG. ZM supports this functionality. |
Closing this as #951 addresses this via ZM side MJPEG transcoding |
I am recording video using this method. The camera supports both H264 and H265 streams. If i use H264 the video plays fine in zmninja, however with H265 the video is blank only the audio comes through. H265 consumes only half the storage which is very useful for 24x7 recording. My device is Samsung Note9 and is able to play the HEVC mp4 file natively. Is there any way we can use the native capabilities of the device? |
The version of zmNinja you are reporting:
The version and OS of ZoneMinder you are using:
Platform zmNinja is running on
Did you build the package from source code yourself?
N
Describe the bug
When I use h265 cameras, live view works fine, but playback of events fail.
I only hear audio but don't see any video.
Debug logs
Screenshots
Additional context
When playing events in zm webpage I have to use mjpeg instead of mp4
When I download the video in zmninja and open it with vlc the video works fine.
A fast temporary workaround would be to have a setting to use mjpeg instead of mp4.
The text was updated successfully, but these errors were encountered: