Page 1 of 1
[Solved ]Can't add usb camera to Zoneminder master 1.35.5~20200714143209-focal
Posted: Wed Jul 15, 2020 5:07 pm
by bkjaya1952
Zoneminder master 1.35.5~20200714143209-focal
When I try to add USB camera monitor to ZM-Consol , I have got a popup message stating "Palette must be set to a valid value & Format must be set to a valid value" .
I have set Device format = 255 & Capture palette to 0
Re: Can't add usb camera to Zoneminder master 1.35.5~20200714143209-focal
Posted: Thu Jul 16, 2020 4:19 pm
by DVB Hardware
Pallet to me also means color ?
8 bit grey, 24, 36 bit color
did the camera work with a previous version of ZM
Jimmy
Re: Can't add usb camera to Zoneminder master 1.35.5~20200714143209-focal
Posted: Fri Jul 17, 2020 6:40 am
by bkjaya1952
DVB Hardware wrote: ↑Thu Jul 16, 2020 4:19 pm
Pallet to me also means color ?
8 bit grey, 24, 36 bit color
did the camera work with a previous version of ZM
Jimmy
Yes ,It is possible with previous version of ZM , as you get letters in the cages of Device format and the Capture palette so that you can easily select . In the Zm master issued on 14/7 and 16/7 , in those cages you get only numbers .At present , I have created web cam monitor on zoneminder using the url of camera streaming using Motion Linux.
Re: Can't add usb camera to Zoneminder master 1.35.5~20200714143209-focal
Posted: Tue Jul 21, 2020 7:49 am
by aparajit
Yes, same here with v1.35.5~20200716162846-focal
Small hake for now.
Click on browser Inspect option and find this.
Code: Select all
<tr>
<td>Device Format</td>
<td>
<select name="newMonitor[Format]">
<option value="PAL">255</option>
<option value="NTSC">45056</option>
<option value="PAL B">1</option>
<option value="PAL B1">2</option>
<option value="PAL G">4</option>
<option value="PAL H">8</option>
<option value="PAL I">16</option>
<option value="PAL D">32</option>
<option value="PAL D1">64</option>
<option value="PAL K">128</option>
<option value="PAL M">256</option>
<option value="PAL N">512</option>
<option value="PAL Nc">1024</option>
<option value="PAL 60">2048</option>
<option value="NTSC M">4096</option>
<option value="NTSC M JP">8192</option>
<option value="NTSC 443">16384</option>
<option value="NTSC M KR">32768</option>
<option value="SECAM B">65536</option>
<option value="SECAM D">131072</option>
<option value="SECAM G">262144</option>
<option value="SECAM H">524288</option>
<option value="SECAM K">1048576</option>
<option value="SECAM K1">2097152</option>
<option value="SECAM L">4194304</option>
<option value="SECAM LC">8388608</option>
<option value="ATSC 8 VSB">16777216</option>
<option value="ATSC 16 VSB">33554432</option>
</select>
</td>
</tr>
For now manually alter values in browser Dev Tools (Chrome).For both "Device Format" and "Capture Palette".
Code: Select all
<select name="newMonitor[Format]">
<option value="255">PAL</option>
<option value="45056">NTSC</option>
---
</select>
Code: Select all
<select name="newMonitor[Palette]">
<option value="0">Auto</option>
<option value="1497715271">Grey</option>
---
</select>
Note: Only change the option that you need to select.
Re: Can't add usb camera to Zoneminder master 1.35.5~20200714143209-focal
Posted: Tue Jul 21, 2020 1:25 pm
by bkjaya1952
aparajit wrote: ↑Tue Jul 21, 2020 7:49 am
Yes, same here with v1.35.5~20200716162846-focal
Small hake for now.
Hi aparajit
Thank you very much for providing us a good solution

. Now the monitor is working !.
Re: Can't add usb camera to Zoneminder master 1.35.5~20200714143209-focal
Posted: Wed Jul 22, 2020 12:58 pm
by bkjaya1952
This problem has been solved by Mr. iconnor and included in the latest release of Zoneminder 1.35.5~20200721193536-focal . Now the USB Camera monitor can be added without any problem.
Re: Can't add usb camera to Zoneminder master 1.35.5~20200714143209-focal
Posted: Thu Jul 23, 2020 7:28 am
by aparajit
Thanks.

Re: Can't add usb camera to Zoneminder master 1.35.5~20200714143209-focal
Posted: Mon Aug 17, 2020 7:55 pm
by Greg_Talyor
I have the same problem here.
I'm quite certain that
Device Format = 255
Capture Palette = 0
are for correct for my webcam. When I try to save from Monitor > Source, Zoneminder 1.34.19 complains
Palette must be set to a valid value
Format must be set to a valid value
Same problem when I install afresh or upgrade from 1.34.16. Perhaps it was a trivial bug introduced somewhere in between.
With 1.34.16, it works just fine. My operating system is Debian 10.5 Buster.
Thanks all for your good work.
Re: Can't add usb camera to Zoneminder master 1.35.5~20200714143209-focal
Posted: Wed Aug 19, 2020 12:42 pm
by knight-of-ni
Make this change by hand to your system:
https://github.com/ZoneMinder/zoneminde ... f7e64d76ab
It'll be part of the 1.34.20 release, which will be "soon".
Re: Can't add usb camera to Zoneminder master 1.35.5~20200714143209-focal
Posted: Thu Aug 20, 2020 6:49 am
by bkjaya1952
Thank you !
The error has aready been corrected in Zoneminder master 1.35.5~20200816200911-focal latest release .