No direct match for the selected palette .. and target colorspace ...

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
BigKuma
Posts: 9
Joined: Fri Jan 21, 2022 8:48 pm

No direct match for the selected palette .. and target colorspace ...

Post by BigKuma »

What an involved program! I was going to just setup up a simple "cloud payment free" video monitoring using an extra laptop, and came across this.
Now I am buying all sorts of equipment...

The forum has been great to get me started, I have a video feed, it's a little glitchy, but functional. I still need to work on the number of alarm frames. It's either I get an alarm every minute or I get none. But, that's understandable since I am using a built in Dell ( MicroDia brand) webcam. Seems like most people buy actual video cameras for this program, that's why I can't get these last few things sorted out:

Zone Minder version: 1.37.9 <= Sorry, I must have grabbed the wrong distribution. There isn't even a forum for it!
Ubuntu 20.04 LTS
Inspiron 14 3452 with built in 32GB eMMC drive.
(On order is a nice IR dome USB camera)

Current settings for "Source":
Device Format : Pal B
Capture Palette : *MJPEG <= What does * mean ? Autodetected ?
Multi Buffering : Use Config Value
Captures Per Frame : 1
Target colorspace : 32 bit color (suggested from other USB cam users on forum)
Capture Resolution (pixels) : 1280x720 , 1280x720 (720p)
Preserve Aspect Ratio : (no)
Orientation : Normal
Deinterlacing : Disabled


A)
2022-01-21 13:41:41 zmc_dvideo0 371135 ERR Failed to set video standard 1: 25 Inappropriate ioctl for device zm_local_camera.cpp 721
Does this matter ? I tried every possible video standard, but I am pretty sure all the listed options are for old TV standards (NTSC and PAL), and I have 1280x720 (720p), which is what ? HDTV ?

B)
2022-01-21 13:41:41 zmc_dvideo0 371135 WAR Failed to get JPEG compression options: Inappropriate ioctl for device zm_local_camera.cpp 603

This I have no idea. I installed v4l-ctl, and forced the camera from 640x480 YUUV to 1280x720 MJPEG with this command:
v4l2-ctl --set-fmt-video=width=1280,height=720,pixelformat=MJPG
Here is what I get out of the camera now:
v4l2-ctl -V

Format Video Capture:
Width/Height : 1280/720
Pixel Format : 'MJPG' (Motion-JPEG)
Field : None
Bytes per Line : 0
Size Image : 1843789
Colorspace : sRGB
Transfer Function : Rec. 709
YCbCr/HSV Encoding: ITU-R 601
Quantization : Default (maps to Full Range)
Flags :

C)
2022-01-21 13:41:41 zmc_dvideo0 371135 INF No direct match for the selected palette (14) and target colorspace (04). Format conversion is required, performance penalty expected

This is the most concerning, even though it's a warning. The laptop has Intel Celeron Dual Core Processor, and with some settings enabled it pegs out at 90% utilization, I am only running the ZoneMinder and X-windows. So, I would like to fix something that would help it run smoother.

Thanks !
Last edited by BigKuma on Sun Jan 23, 2022 7:20 am, edited 1 time in total.
dougmccrary
Posts: 545
Joined: Sat Aug 31, 2019 7:35 am

Re: No direct match for the selected palette .. and target colorspace ...

Post by dougmccrary »

There isn't even a forum for it!
viewforum.php?f=44

You might want to go back to a release version.
BigKuma
Posts: 9
Joined: Fri Jan 21, 2022 8:48 pm

Re: No direct match for the selected palette .. and target colorspace ...

Post by BigKuma »

Ok, thanks for the forum pointer.
User avatar
iconnor
Posts: 1913
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: No direct match for the selected palette .. and target colorspace ...

Post by iconnor »

Also please choose auto for the palette options.
Post Reply