Replies: 4 comments 8 replies
-
When I set the resolution lower, the codec is set to h264 and events playback without issue in the ZM event viewer. So, I guess its something to do with H265 event playback? new
|
Beta Was this translation helpful? Give feedback.
-
There is a dev version of chrome that will natively play back h265. However I really do need to improve zms playback. |
Beta Was this translation helpful? Give feedback.
-
I thought newer chrome releases generally had h265 playback, I think linux can only use HW decoding (no SW decoding at all)? As it turns out, its an oversight on my part. I assumed newer AMD iGPU's had HEVC HW decoding, but apparently not The weird thing is, how did the stream load at all? When I try and play test HEVC videos from test sites, they dont even load, just the audio track comes through. Is zmc/zms using ffmpeg to do some magic? Android has HEVC HW decoding support in chrome, when testing, it has the same playback issue as desktop for events. So, it probably is as you described for that. For now, the lower res h264 stream is fine for me. However, the new reolink Duo 3 (16MP) main stream is H265 only, so anyone using one of those pixel vacuums will have issues with event playback in frontend, just FYI. Unrelated topic, really glad to see MQTT working, opens up all sorts of avenues for things to integrate. |
Beta Was this translation helpful? Give feedback.
-
Apparently firefox 136 just dropped and includes hwaccel for linux on amd gpus... might be interesting to try out. |
Beta Was this translation helpful? Give feedback.
-
I don't have web dev experience, so I am not equipped to debug this myself. I am running master branch from latest commit: c04b4b9
All other monitors and events work as expected. Just installed a reolink duo 2v, the one with dual lenses that exposes a single rtsp stream with both streams stitched together to create a 180 degree wide view. I am running CBR 9216kbps, constant 20 fps, 5120x1552 resolution on the main stream.
The events are stored on a dedicated SAS3 SSD with an
iostat
util%
of 7 infrequently, so IO doesn't seem to be an issue. Host server has 10G link on LAN, so that also rules out a bandwidth issue (I host via WAN 1Gbit, but have the same behaviour on LAN).Streaming directly from the camera is fine and instant, it is just video playback. Tested using chrome and FF. Videos are pass through with H264. VLC can play the downloaded event video without problem.
In dev tools > network, I can see it repeatedly requesting xhr chunks of 493 B ->

The playback fps bounces between 0.xx - 7 ish fps.
Not sure what I should be looking at to help debug/fix further, any input is appreciated.
Edit: forgot to mention it is H265 HEVC codec
ffprobe
outputBeta Was this translation helpful? Give feedback.
All reactions