Post
by uiguy » Mon Jul 02, 2018 11:07 am
Hi,
I am getting the following error when trying to setup a local USB webcam
SQL-ERR 'SQLSTATE[HY000]: General error: 1366 Incorrect integer value: '' for column 'ServerId' at row 1', statement was 'insert into Monitors set LinkedMonitors = '', Name = 'Server', ServerId = '', Type = 'Local', Function = 'Monitor', Enabled = '1', RefBlendPerc = '6', AlarmRefBlendPerc = '6', AnalysisFPS = '', MaxFPS = '', AlarmMaxFPS = '', Protocol = '', Host = '', Port = '80', Options = '', Path = '', User = '', Pass = '', RTSPDescribe = '0', LabelFormat = '%N - %d/%m/%y %H:%M:%S', LabelX = '0', LabelY = '0', LabelSize = '1', ImageBufferCount = '50', WarmupCount = '25', PreEventCount = '25', PostEventCount = '25', StreamReplayBuffer = '1000', AlarmFrameCount = '1', EventPrefix = 'Event-', SectionLength = '600', FrameSkip = '0', MotionFrameSkip = '0', AnalysisUpdateDelay = '0', FPSReportInterval = '1000', DefaultView = 'Events', DefaultRate = '100', DefaultScale = '100', WebColour = 'red', Exif = '0', SignalCheckColour = '#0000c0', Device = '/dev/video0', Method = 'v4l2', Channel = '0', Format = '255', Palette = '1448695129', V4LMultiBuffer = '', V4LCapturesPerFrame = '1', Colours = '3', Width = '640', Height = '480', Orientation = '0', Deinterlacing = '0', Sequence = 18'
The camera is lcoated at /dev/video0
I am using Ubuntu 16.04. The camera is a Microsoft LifeCam HD-5001
Can anyone help?
Thanks