common issue?

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
alanm
Posts: 9
Joined: Thu Oct 31, 2024 10:04 pm

common issue?

Post by alanm »

I'm sure this has been asked and solved a thousand times but I cant find the answer in the forum.

My ZM 1.36.35 is working just fine and now I've setup a sbc in kiosk mode to view the montage page.

Setting up the kiosk is not the issue. I can see the live feed but the event recordings don't play.
When the sbc boots up it auto starts
/usr/bin/chromium --password-store=basic "https://zoneminder.local/zm/index.php?view=montage" -kiosk

And I can see the monitors but when I click to view the events I get the "The video could not be loaded ...." error.

If I copy the mp4 file to the sbc I can view it with vlc but I can't view it in Chromium.

I guess I'm missing some plugins or something?



output running vlc

Code: Select all

[user@sbc:] vlc 10391-video.mp4
[0000556aea14b550] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0000556aea253340] mp4 demux: Fragment sequence discontinuity detected 1 != 0
[00007f0eb00063d0] gl gl: Initialized libplacebo v4.208.0 (API v208)
libva info: VA-API version 1.17.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_17
libva info: va_openDriver() returns 0
[00007f0eb00063d0] gl gl: Initialized libplacebo v4.208.0 (API v208)
libva info: VA-API version 1.17.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_17
libva info: va_openDriver() returns 0
[0000556aeae5acf0] avcodec decoder: Using OpenGL/VAAPI backend for VDPAU for hardware decoding
[hevc @ 0x556aeaf34840] Failed setup for format vdpau: hwaccel initialisation returned error.
[0000556aeae5acf0] avcodec decoder error: existing hardware acceleration cannot be reused
[00007f0eb00063d0] gl gl: Initialized libplacebo v4.208.0 (API v208)
libva info: VA-API version 1.17.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_17
libva info: va_openDriver() returns 0
[00007f0eb00063d0] gl gl: Initialized libplacebo v4.208.0 (API v208)
User avatar
iconnor
Posts: 3360
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: common issue?

Post by iconnor »

The video is likely h265. In 1.37 we auto-detec and fall back to decoding to jpeg first.

Go into monitors and Set Monitor->Misc->DefaultCodec and set it to jpeg.
alanm
Posts: 9
Joined: Thu Oct 31, 2024 10:04 pm

Re: common issue?

Post by alanm »

Thanks iconnor that resolved my issue.
Post Reply