Cant't add usb camera to Zoneminder 1.34.19-focal1

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
User avatar
bkjaya1952
Posts: 282
Joined: Sat Aug 25, 2018 3:24 pm
Location: Sri Lanka

Cant't add usb camera to Zoneminder 1.34.19-focal1

Post by bkjaya1952 »

You can't add usb camera to Zoneminder 1.34.19-focal1 issued 1 hour ago .

This problem prevails in versions 1.34.17 to 1.34.19

Screenshot from 2020-08-11 22-52-49.png
Screenshot from 2020-08-11 22-52-49.png (207.23 KiB) Viewed 1531 times
User avatar
bkjaya1952
Posts: 282
Joined: Sat Aug 25, 2018 3:24 pm
Location: Sri Lanka

Re: Cant't add usb camera to Zoneminder 1.34.19-focal1

Post by bkjaya1952 »

USB camera can be added to Zoneminder 1.34.19 ,when you copy the codes of device format and capture pallet from Zoneminder 1,34.16 to Zoneminder 1.34.19 ,( using the Inspect Element (Q) in the web browser).
Screenshot from 2020-08-12 15-41-52.png
Screenshot from 2020-08-12 15-41-52.png (260.77 KiB) Viewed 1501 times

The codes of device format and capture pallet of Zoneminder 1.34.16 , 1.34.19 and Zoneminder master 1.35.5 are attached herewith for comparison
zm16-vs-zm19-zmmaster 1.35.5.txt
(6.24 KiB) Downloaded 128 times
Note:- There is no problem in adding USB camera in Zoneminder 1.34.16 and Zoneminder master 1.35.5 . The problem is only in Zoneminder 1.34.17 to 1.34.19
IgRiK
Posts: 1
Joined: Thu Aug 13, 2020 9:02 am

Re: Cant't add usb camera to Zoneminder 1.34.19-focal1

Post by IgRiK »

All of kind time of day.
I ask to excuse for translation. I do not know English.
Tried so to correct. It has turned out. Many thanks.
I hope in following release this problem it will be corrected.
User avatar
bkjaya1952
Posts: 282
Joined: Sat Aug 25, 2018 3:24 pm
Location: Sri Lanka

Re: Cant't add usb camera to Zoneminder 1.34.19-focal1

Post by bkjaya1952 »

IgRiK wrote: Thu Aug 13, 2020 11:33 am All of kind time of day.
I ask to excuse for translation. I do not know English.
Tried so to correct. It has turned out. Many thanks.
I hope in following release this problem it will be corrected.
I have got the following link from Mr knight-of-ni ( where Mr Isaac Connor has fixed the problem ). I have tested and found OK.

https://github.com/ZoneMinder/zoneminde ... f7e64d76ab

You will have to edit your monitor.php according to the Mr Isaac Connor's fix at the link

Open the Ubuntu terminal and run to open monitor.php for editing

sudo gedit /usr/share/zoneminder/www/skins/classic/views/monitor.php

Then delete the line 778 to 780 of the opend file for editing .( Which are highlighted in pink color in the file at link )

Then copy the codes highlighted in green in the file at link and paste at line 778 of the opened file for editing.

Then save monitor.php

Restart Zoneminder.

Then you can add the USB camera monitor as usual.

Acknowledgements:-
Thanks to Mr knight-of-ni for informing me about the Mr Isaac Connor's fix
Thanks to Mr Isaac Connor for fixing the problem
Post Reply