ZM 1.33.14~20190920082028-buster local monitors not working

Forum for questions and support relating to 1.33.x development only.
Locked
clipo
Posts: 101
Joined: Sat Sep 06, 2008 9:55 am
Location: Manchester, UK
Contact:

ZM 1.33.14~20190920082028-buster local monitors not working

Post by clipo »

Fresh install of ZM 1.33.14~20190920082028-buster via the guide and ZMRepo on Debian 10

Using a BT878 capture board and local camera ZM refuses to start to capture the video, it functions correctly in VLC.

Using a local USB Webcam I have the same errors.

Monitor is not capturing. We will be unable to provide an image

Downgrading to ZM 1.33.14~20190906171559-buster and all seems to be working correctly

logs have the following errors

2019-10-20 21:02:50
zmc_dvideo0

2814
FAT
Failed to set camera source 3: Invalid argument
zm_local_camera.cpp
938
2019-10-20 21:02:45
zmfilter_2

2793
WAR
No filter found for SELECT * FROM `Filters` WHERE `Id` = ? AND( `AutoArchive` = 1 or `AutoVideo` = 1 or `AutoUpload` = 1 or `AutoEmail` = 1 or `AutoMessage` = 1 or `AutoExecute` = 1 or `AutoDelete` = 1 or `UpdateDiskSpace` = 1 or `AutoMove` = 1 or `AutoCopy` = 1 ) ORDER BY `Name` with values(2)
zmfilter.pl

2019-10-20 21:02:45
zmc_dvideo0

2796
FAT
Failed to set camera source 3: Invalid argument
zm_local_camera.cpp
938
2019-10-20 21:02:45
zmdc

2756
ERR
'zmc -d /dev/video0' exited abnormally, exit status 255
zmdc.pl

2019-10-20 20:59:32
zmdc

701
ERR
'zmc -d /dev/video0' exited abnormally, exit status 255
zmdc.pl

2019-10-20 20:59:32
zmc_dvideo0

2482
FAT
Failed to set camera source 3: Invalid argument
zm_local_camera.cpp
938

2019-10-20 20:59:13
zmdc

701
WAR
Can't find process with command of 'zmc -d /dev/video0'
zmdc.pl

2019-10-20 20:59:13
zmwatch

749
WAR
Restarting capture daemon for Monitor-1, no image since startup. Startup time was 1571601531 - now 1571601553 > 5
zmwatch.pl

2019-10-20 20:59:03
zmdc

701
INF
Command 'zmc -d /dev/video0' removed from pending list at 19/10/20 20:59:03
zmdc.pl

2019-10-20 20:59:03
zmwatch

749
WAR
Restarting capture daemon for Monitor-1, no image since startup. Startup time was 1571601531 - now 1571601543 > 5
zmwatch.pl

2019-10-20 20:58:51
zmdc

701
ERR
'zmc -d /dev/video0' exited abnormally, exit status 255
zmdc.pl

2019-10-20 20:58:51
zmc_dvideo0

2388
FAT
Failed to set camera source 3: Invalid argument
zm_local_camera.cpp
938
2019-10-20 20:58:51
zmc_dvideo0

2388
INF
Starting Capture version 1.33.14
zmc.cpp
223
2019-10-20 20:58:50
zmc_dvideo0

2388
INF
No direct match for the selected palette (0x00000004) and target colorspace (03). Format conversion is required, performance penalty expected
zm_local_camera.cpp
447
User avatar
iconnor
Posts: 2881
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: ZM 1.33.14~20190920082028-buster local monitors not working

Post by iconnor »

You seem to be telling it to tune to channel 3. usb webcams typically only have 1 channel. (Capture cards have many, typically 4 per bttv chip).
clipo
Posts: 101
Joined: Sat Sep 06, 2008 9:55 am
Location: Manchester, UK
Contact:

Re: ZM 1.33.14~20190920082028-buster local monitors not working

Post by clipo »

I have 2 BTTV cards in the system.

I plugged in a webcam to see if there was an issue with the BTTV cards.

This was a fully working system using Debian 10 and a previous version of ZM 1.33 from the ZMrepo.

I was reinstalling fresh getting ready to deploy of the system.

I have rolled the version back to 1.33.14~20190906171559-buster and all is working again, with only a few errors in the logs.

No filter found for SELECT * FROM `Filters` WHERE `Id` = ? AND( `AutoArchive` = 1 or `AutoVideo` = 1 or `AutoUpload` = 1 or `AutoEmail` = 1 or `AutoMessage` = 1 or `AutoExecute` = 1 or `AutoDelete` = 1 or `UpdateDiskSpace` = 1 or `AutoMove` = 1 or `AutoCopy` = 1 ) ORDER BY `Name` with values(1) zmfilter.pl

zmfilter_1 771 ERR Error parsing Sql. skipping filter 'PurgeWhenFull' zmfilter.pl

zmfilter_1 771 WAR No query in Filter!

If you need more information I can upgrade the version and provide anything you need to locate the problem.
User avatar
iconnor
Posts: 2881
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: ZM 1.33.14~20190920082028-buster local monitors not working

Post by iconnor »

THe filter issue is due to your db not being up to date. Please run:
mysql -u zmuser -p zm < /usr/share/zoneminder/db/zm_update-1.33.14.sql
Locked