Axis M3005 Camera

If your firewall / router allows the devices to use NTP servers they should update on their own if you have the right Timezone and daylight savings options set right. If still out change the Timezone to the wrong one until the time is lining up. This is a security feature of onvif to stop hackers from playing back recorded network traffic to turn off your cameras. Most cameras don’t seem to care but some do.

Edit: we should diagnose the problem first but your previous post seemed to have the onvif replies cut short. Any ideas why and does the log show longer replies back from the camera when the binding first starts and connects to the camera?

Hi Matt - Once again Thank you for your help. Making progress.

1- Changed to Camera time to sync

Couple of additional errors.

2020-09-03 11:39:11.134 [DEBUG] [hab.binding.ipcamera.internal.Ffmpeg] - [hls @ 0000029239cb5080] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
2020-09-03 11:39:11.134 [DEBUG] [hab.binding.ipcamera.internal.Ffmpeg] - [rtsp @ 0000029239a4e700] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)
2020-09-03 11:39:11.135 [DEBUG] [hab.binding.ipcamera.internal.Ffmpeg] - [mpegts @ 000002923a424440] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
2020-09-03 11:39:11.135 [DEBUG] [hab.binding.ipcamera.internal.Ffmpeg] - [mpegts @ 000002923a424440] first pts value must be set
2020-09-03 11:39:11.135 [DEBUG] [hab.binding.ipcamera.internal.Ffmpeg] - av_interleaved_write_frame(): Invalid data found when processing input

Replay

2020-09-03 11:42:50.906 [DEBUG] [nding.ipcamera.onvif.OnvifConnection] - Openhabs UTC dateTime is:2020-09-03T10:42:50.905Z
2020-09-03 11:42:51.065 [TRACE] [nding.ipcamera.onvif.OnvifConnection] - Onvif reply is:<?xml version="1.0" encoding="UTF-8"?>
2020-09-03 11:42:51.066 [TRACE] [nding.ipcamera.onvif.OnvifConnection] - Unhandled Onvif reply is:<?xml version="1.0" encoding="UTF-8"?>
2020-09-03 11:42:56.267 [INFO ] [ing.ipcamera.handler.IpCameraHandler] - Binding has no snapshot url. Will now use your CPU and FFmpeg which must be installed to create snapshots from RTSP.
2020-09-03 11:42:56.268 [DEBUG] [hab.binding.ipcamera.internal.Ffmpeg] - Starting ffmpeg with this command now:C:\IPcamera\bin\FFmpeg.exe -rtsp_transport tcp -threads 1 -skip_frame nokey -hide_banner -loglevel warning -i rtsp://root:xxxx@192.168.1.250/onvif-media/media.amp?profile=profile_1_h264&sessiontimeout=60&streamtype=unicast -an -vsync vfr -update 1 http://127.0.0.1:6001/snapshot.jpg
2020-09-03 11:43:02.842 [DEBUG] [hab.binding.ipcamera.internal.Ffmpeg] - [swscaler @ 000001a90eb383c0] deprecated pixel format used, make sure you did set range correctly

So what happens now when you enter this url into any web browser?
http://openhabianpi:6001/ipcamera.jpg

Replace ‘openhabianpi’ with the IP address of openHAB if your not using openhabian on a pi or the url does not work.

I get a snapshot pic.

So now you need to give the binding the correct snapshot URL for your camera so it does not use ffmpeg anymore.

I would like to get to the bottom of why your onvif replies in the log are cut short. Are you cutting them off or is the binding not getting a full reply back from the camera? This could be the root of why your having issues as that will stop auto discovery of the URLs if the full reply is not reaching the binding.

2020-09-05 20:55:24.043 [DEBUG] [hab.binding.ipcamera.internal.Ffmpeg] - Starting ffmpeg with this command now:C:\IPcamera\bin\FFmpeg.exe -hide_banner -loglevel warning -i rtsp://root:xxx@192.168.1.250/onvif-media/media.amp?profile=profile_1_h264&sessiontimeout=60&streamtype=unicast -strict -2 -f lavfi -i aevalsrc=0 -acodec aac -vcodec copy -hls_flags delete_segments -hls_time 2 -hls_list_size 4 C:\IPcamera\Camera1\ipcamera.m3u8

Once again thank you for your help.

Updated config:

Thing ipcamera:ONVIF:AxisM3005 “Axis M3005” @ “Cameras”

[

IPADDRESS="192.168.1.250", PASSWORD="xxxx", USERNAME="root", 

SERVER_PORT=6001, ONVIF_PORT=80,

ONVIF_MEDIA_PROFILE=1,

SNAPSHOT_URL_OVERRIDE="http://192.168.1.200:6001/ipcamera.jpg",

STREAM_URL_OVERRIDE="http://192.168.1.200:6001/ipcamera.mjpeg",

FFMPEG_LOCATION="C:\\IPcamera\\bin\\FFmpeg.exe",

FFMPEG_INPUT="rtsp://192.168.1.250/onvif-media/media.amp?profile=profile_1_h264&sessiontimeout=60&streamtype=unicast",

FFMPEG_OUTPUT="C:\\IPcamera\\Camera1\\"

]

2020-09-05 21:05:07.915 [INFO ] [el.core.internal.ModelRepositoryImpl] - Refreshing model ‘IPcamera.things’
2020-09-05 21:05:07.936 [TRACE] [nding.ipcamera.onvif.OnvifConnection] - Sending ONVIF request:Unsubscribe
2020-09-05 21:05:07.956 [TRACE] [nding.ipcamera.onvif.OnvifConnection] - Onvif reply is:<?xml version="1.0" encoding="UTF-8"?>
2020-09-05 21:05:07.957 [TRACE] [nding.ipcamera.onvif.OnvifConnection] - Unhandled Onvif reply is:<?xml version="1.0" encoding="UTF-8"?>
2020-09-05 21:05:11.446 [DEBUG] [ing.ipcamera.handler.IpCameraHandler] - All Mjpeg streams have stopped, cleaning up now
2020-09-05 21:05:11.466 [DEBUG] [ing.ipcamera.handler.IpCameraHandler] - Possible NIC/IP match found:192.168.1.200
2020-09-05 21:05:11.470 [DEBUG] [ing.ipcamera.handler.IpCameraHandler] - File server for camera at 192.168.1.250 has started on port 6001 for all NIC’s.
2020-09-05 21:05:11.472 [TRACE] [nding.ipcamera.onvif.OnvifConnection] - Sending ONVIF request:GetSystemDateAndTime
2020-09-05 21:05:11.547 [TRACE] [nding.ipcamera.onvif.OnvifConnection] - Onvif reply is:<?xml version="1.0" encoding="UTF-8"?>
2020-09-05 21:05:11.547 [TRACE] [nding.ipcamera.onvif.OnvifConnection] - Sending ONVIF request:GetCapabilities
2020-09-05 21:05:11.548 [DEBUG] [nding.ipcamera.onvif.OnvifConnection] - Cameras UTC time is : 20:4:32
2020-09-05 21:05:11.548 [DEBUG] [nding.ipcamera.onvif.OnvifConnection] - Cameras UTC date is : 2020-9-5
2020-09-05 21:05:11.548 [DEBUG] [nding.ipcamera.onvif.OnvifConnection] - Openhabs UTC dateTime is:2020-09-05T20:05:11.548Z
2020-09-05 21:05:11.564 [TRACE] [nding.ipcamera.onvif.OnvifConnection] - Onvif reply is:<?xml version="1.0" encoding="UTF-8"?>
2020-09-05 21:05:11.564 [TRACE] [nding.ipcamera.onvif.OnvifConnection] - Unhandled Onvif reply is:<?xml version="1.0" encoding="UTF-8"?>
2020-09-05 21:08:47.873 [DEBUG] [hab.binding.ipcamera.internal.Ffmpeg] - Starting ffmpeg with this command now:C:\IPcamera\bin\FFmpeg.exe -hide_banner -loglevel warning -i rtsp://root:xxxx@192.168.1.250/onvif-media/media.amp?profile=profile_1_h264&sessiontimeout=60&streamtype=unicast -strict -2 -f lavfi -i aevalsrc=0 -acodec aac -vcodec copy -hls_flags delete_segments -hls_time 2 -hls_list_size 4 C:\IPcamera\Camera1\ipcamera.m3u8
2020-09-05 21:08:50.637 [DEBUG] [hab.binding.ipcamera.internal.Ffmpeg] - [hls @ 00000248b2b7c3c0] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
2020-09-05 21:08:50.637 [DEBUG] [hab.binding.ipcamera.internal.Ffmpeg] - [rtsp @ 00000248b2b3e700] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)
2020-09-05 21:08:50.637 [DEBUG] [hab.binding.ipcamera.internal.Ffmpeg] - [mpegts @ 00000248b2b95e40] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
2020-09-05 21:08:50.637 [DEBUG] [hab.binding.ipcamera.internal.Ffmpeg] - [mpegts @ 00000248b2b95e40] first pts value must be set
2020-09-05 21:08:50.637 [DEBUG] [hab.binding.ipcamera.internal.Ffmpeg] - av_interleaved_write_frame(): Invalid data found when processing input
2020-09-05 21:08:54.875 [DEBUG] [hab.binding.ipcamera.internal.Ffmpeg] - Starting ffmpeg with this command now:C:\IPcamera\bin\FFmpeg.exe -y -t 8 -rtsp_transport tcp -hide_banner -loglevel warning -i rtsp://root:xxxx@192.168.1.250/onvif-media/media.amp?profile=profile_1_h264&sessiontimeout=60&streamtype=unicast -r 2 -filter_complex scale=-2:360:flags=lanczos,setpts=0.5*PTS,split[o1][o2];[o1]palettegen[p];[o2]fifo[o3];[o3][p]paletteuse C:\IPcamera\Camera1\ipcamera.gif
2020-09-05 21:08:56.551 [DEBUG] [ing.ipcamera.handler.IpCameraHandler] - Recording 10 Seconds to MP4 format.
2020-09-05 21:08:56.551 [DEBUG] [hab.binding.ipcamera.internal.Ffmpeg] - Starting ffmpeg with this command now:C:\IPcamera\bin\FFmpeg.exe -y -t 10 -rtsp_transport tcp -hide_banner -loglevel warning -i rtsp://root:xxx@192.168.1.250/onvif-media/media.amp?profile=profile_1_h264&sessiontimeout=60&streamtype=unicast -c:v copy -c:a copy C:\IPcamera\Camera1\ipcamera.mp4
2020-09-05 21:09:03.674 [DEBUG] [hab.binding.ipcamera.internal.Ffmpeg] - [mp4 @ 000002359e957040] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
2020-09-05 21:09:03.675 [DEBUG] [hab.binding.ipcamera.internal.Ffmpeg] - [mp4 @ 000002359e957040] pts has no value
2020-09-05 21:09:03.675 [DEBUG] [hab.binding.ipcamera.internal.Ffmpeg] - [mp4 @ 000002359e957040] Non-monotonous DTS in output stream 0:0; previous: 0, current: 0; changing to 1. This may result in incorrect timestamps in the output file.
2020-09-05 21:09:03.675 [DEBUG] [hab.binding.ipcamera.internal.Ffmpeg] - [mp4 @ 000002359e957040] Non-monotonous DTS in output stream 0:0; previous: 1, current: 0; changing to 2. This may result in incorrect timestamps in the output file.
2020-09-05 21:09:06.487 [DEBUG] [hab.binding.ipcamera.internal.Ffmpeg] - [Parsed_palettegen_3 @ 00000203bfc47380] Dupped color: FF220400
2020-09-05 21:09:06.487 [DEBUG] [hab.binding.ipcamera.internal.Ffmpeg] - [Parsed_palettegen_3 @ 00000203bfc47380] Dupped color: FF4F0C00
2020-09-05 21:09:06.487 [DEBUG] [hab.binding.ipcamera.internal.Ffmpeg] - [Parsed_palettegen_3 @ 00000203bfc47380] Dupped color: FF661200
2020-09-05 21:09:06.487 [DEBUG] [hab.binding.ipcamera.internal.Ffmpeg] - [Parsed_palettegen_3 @ 00000203bfc47380] Dupped color: FF691F00
2020-09-05 21:09:06.487 [DEBUG] [hab.binding.ipcamera.internal.Ffmpeg] - [Parsed_palettegen_3 @ 00000203bfc47380] Dupped color: FF711800
2020-09-05 21:09:06.487 [DEBUG] [hab.binding.ipcamera.internal.Ffmpeg] - [Parsed_palettegen_3 @ 00000203bfc47380] Dupped color: FF7B2600
2020-09-05 21:09:07.665 [DEBUG] [hab.binding.ipcamera.internal.Ffmpeg] - Animated GIF has been created and is ready for use.
2020-09-05 21:09:09.679 [DEBUG] [hab.binding.ipcamera.internal.Ffmpeg] - MP4 has been created and is ready for use.
2020-09-05 21:09:15.411 [WARN ] [nding.ipcamera.onvif.OnvifConnection] - Camera did not report any ONVIF preset locations to the binding
2020-09-05 21:09:18.026 [DEBUG] [ing.ipcamera.handler.IpCameraHandler] - Trying to move with new PTZ Absolute move.
2020-09-05 21:09:18.026 [TRACE] [nding.ipcamera.onvif.OnvifConnection] - Sending ONVIF request:AbsoluteMove
2020-09-05 21:09:18.688 [DEBUG] [ing.ipcamera.handler.IpCameraHandler] - Trying to move with new PTZ Absolute move.
2020-09-05 21:09:18.688 [TRACE] [nding.ipcamera.onvif.OnvifConnection] - Sending ONVIF request:AbsoluteMove
2020-09-05 21:09:19.280 [DEBUG] [ing.ipcamera.handler.IpCameraHandler] - Trying to move with new PTZ Absolute move.
2020-09-05 21:09:19.280 [TRACE] [nding.ipcamera.onvif.OnvifConnection] - Sending ONVIF request:AbsoluteMove

hhhmmm not right :slight_smile: You need to tell the binding where it can get the snapshot and mjpeg stream from. The snapshot is probably easy, just run the ‘Onvif Device Manager’ program and it should display the url for snapshots. The mjpeg stream you will be best to google for it.

Just be sure to test that the URLS work in a browser first before you expect the binding to use bad or broken links.

All of this would not be necessary if we worked out why the auto detection is failing. It does not make sense as the ONVIF replys are clearly working otherwise the binding would not be displaying the date and time that the camera reports. Can you give some trace log that shows the full startup and connecting to the camera for the first time. All the logs are not showing the beginning of making a connection.

2020-09-24 18:15:51.693 [TRACE] [camera.internal.onvif.OnvifDiscovery] - Device replied to discovery with:DatagramPacket(/192.168.1.150:3702 => /0.0.0.0:59779, PooledUnsafeDirectByteBuf(ridx: 0, widx: 1442, cap: 2048))
2020-09-24 18:15:51.694 [INFO ] [camera.internal.onvif.OnvifDiscovery] - Camera found at xAddr:http://192.168.1.150/onvif/device_service
2020-09-24 18:15:51.785 [TRACE] [camera.internal.onvif.OnvifDiscovery] - Cameras Login page is: Index page Your browser has JavaScript turned off.
For the user interface to work, you must enable JavaScript in your browser and reload/refresh this page.
2020-09-24 18:15:51.786 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘ipcamera:onvif:1921681150’ to inbox.
2020-09-24 18:15:51.787 [TRACE] [camera.internal.onvif.OnvifDiscovery] - Device replied to discovery with:DatagramPacket(/192.168.1.150:3702 => /0.0.0.0:59779, PooledUnsafeDirectByteBuf(ridx: 0, widx: 1442, cap: 2048))
2020-09-24 18:15:51.787 [INFO ] [camera.internal.onvif.OnvifDiscovery] - Camera found at xAddr:http://192.168.1.150/onvif/device_service
2020-09-24 18:15:51.866 [TRACE] [camera.internal.onvif.OnvifDiscovery] - Cameras Login page is: Index page Your browser has JavaScript turned off.
For the user interface to work, you must enable JavaScript in your browser and reload/refresh this page.
2020-09-24 18:15:56.893 [TRACE] [camera.internal.onvif.OnvifDiscovery] - Device replied to discovery with:DatagramPacket(/192.168.1.150:3702 => /0.0.0.0:59779, PooledUnsafeDirectByteBuf(ridx: 0, widx: 1442, cap: 2048))
2020-09-24 18:15:56.894 [INFO ] [camera.internal.onvif.OnvifDiscovery] - Camera found at xAddr:http://192.168.1.150/onvif/device_service
2020-09-24 18:15:56.976 [TRACE] [camera.internal.onvif.OnvifDiscovery] - Cameras Login page is: Index page Your browser has JavaScript turned off.
For the user interface to work, you must enable JavaScript in your browser and reload/refresh this page.
2020-09-24 18:15:56.977 [TRACE] [camera.internal.onvif.OnvifDiscovery] - Device replied to discovery with:DatagramPacket(/192.168.1.150:3702 => /0.0.0.0:59779, PooledUnsafeDirectByteBuf(ridx: 0, widx: 1442, cap: 2048))
2020-09-24 18:15:56.978 [INFO ] [camera.internal.onvif.OnvifDiscovery] - Camera found at xAddr:http://192.168.1.150/onvif/device_service
2020-09-24 18:15:57.067 [TRACE] [camera.internal.onvif.OnvifDiscovery] - Cameras Login page is: Index page Your browser has JavaScript turned off.
For the user interface to work, you must enable JavaScript in your browser and reload/refresh this page.
2020-09-24 18:15:57.070 [TRACE] [camera.internal.onvif.OnvifDiscovery] - Device replied to discovery with:DatagramPacket(/192.168.1.101:1900 => /0.0.0.0:59781, PooledUnsafeDirectByteBuf(ridx: 0, widx: 292, cap: 2048))
2020-09-24 18:15:57.071 [TRACE] [camera.internal.onvif.OnvifDiscovery] - Device replied to discovery with:DatagramPacket(/192.168.1.101:1900 => /0.0.0.0:59781, PooledUnsafeDirectByteBuf(ridx: 0, widx: 301, cap: 2048))
2020-09-24 18:15:57.071 [TRACE] [camera.internal.onvif.OnvifDiscovery] - Device replied to discovery with:DatagramPacket(/192.168.1.101:1900 => /0.0.0.0:59781, PooledUnsafeDirectByteBuf(ridx: 0, widx: 295, cap: 2048))
2020-09-24 18:15:57.072 [TRACE] [camera.internal.onvif.OnvifDiscovery] - Device replied to discovery with:DatagramPacket(/192.168.1.101:1900 => /0.0.0.0:59781, PooledUnsafeDirectByteBuf(ridx: 0, widx: 292, cap: 2048))
2020-09-24 18:15:57.072 [TRACE] [camera.internal.onvif.OnvifDiscovery] - Device replied to discovery with:DatagramPacket(/192.168.1.101:1900 => /0.0.0.0:59781, PooledUnsafeDirectByteBuf(ridx: 0, widx: 301, cap: 2048))
2020-09-24 18:15:57.072 [TRACE] [camera.internal.onvif.OnvifDiscovery] - Device replied to discovery with:DatagramPacket(/192.168.1.101:1900 => /0.0.0.0:59781, PooledUnsafeDirectByteBuf(ridx: 0, widx: 295, cap: 2048))

That is discovery not what happens when the camera connects to the binding and goes from offline to online. If you change a config it will trigger this to occur.

11:57:22.392 [INFO ] [smarthome.event.ThingUpdatedEvent ] - Thing ‘ipcamera:onvif:001’ has been updated.
11:57:22.488 [TRACE] [camera.internal.onvif.OnvifConnection] - Onvif reply is:<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV=“http://www.w3.org/2003/05/soap-envelope” xmlns:SOAP-ENC=“http://www.w3.org/2003/05/soap-encoding” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xmlns:xsd=“http://www.w3.org/2001/XMLSchema” xmlns:c14n=“http://www.w3.org/2001/10/xml-exc-c14n#” xmlns:wsu=“http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd” xmlns:ds=“http://www.w3.org/2000/09/xmldsig#” xmlns:wsse=“http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd” xmlns:wsa5=“http://www.w3.org/2005/08/addressing” xmlns:xmime=“http://tempuri.org/xmime.xsd” xmlns:xop=“http://www.w3.org/2004/08/xop/include” xmlns:wsrfbf=“http://docs.oasis-open.org/wsrf/bf-2” xmlns:wstop=“http://docs.oasis-open.org/wsn/t-1” xmlns:tt=“http://www.onvif.org/ver10/schema” xmlns:acert=“http://www.axis.com/vapix/ws/cert” xmlns:wsrfr=“http://docs.oasis-open.org/wsrf/r-2” xmlns:aa=“http://www.axis.com/vapix/ws/action1” xmlns:acertificates=“http://www.axis.com/vapix/ws/certificates” xmlns:aev=“http://www.axis.com/vapix/ws/event1” xmlns:ali1=“http://www.axis.com/vapix/ws/light/CommonBinding” xmlns:ali2=“http://www.axis.com/vapix/ws/light/IntensityBinding” xmlns:ali3=“http://www.axis.com/vapix/ws/light/AngleOfIlluminationBinding” xmlns:ali4=“http://www.axis.com/vapix/ws/light/DayNightSynchronizeBinding” xmlns:ali=“http://www.axis.com/vapix/ws/light” xmlns:apc=“http://www.axis.com/vapix/ws/panopsiscalibration1” xmlns:arth=“http://www.axis.com/vapix/ws/recordedtour1” xmlns:aweb=“http://www.axis.com/vapix/ws/webserver” xmlns:tan1=“http://www.onvif.org/ver20/analytics/wsdl/RuleEngineBinding” xmlns:tan2=“http://www.onvif.org/ver20/analytics/wsdl/AnalyticsEngineBinding” xmlns:tan=“http://www.onvif.org/ver20/analytics/wsdl” xmlns:tds=“http://www.onvif.org/ver10/device/wsdl” xmlns:tev1=“http://www.onvif.org/ver10/events/wsdl/NotificationProducerBinding” xmlns:tev2=“http://www.onvif.org/ver10/events/wsdl/EventBinding” xmlns:tev3=“http://www.onvif.org/ver10/events/wsdl/SubscriptionManagerBinding” xmlns:wsnt=“http://docs.oasis-open.org/wsn/b-2” xmlns:tev4=“http://www.onvif.org/ver10/events/wsdl/PullPointSubscriptionBinding” xmlns:tev=“http://www.onvif.org/ver10/events/wsdl” xmlns:timg=“http://www.onvif.org/ver20/imaging/wsdl” xmlns:tptz=“http://www.onvif.org/ver20/ptz/wsdl” xmlns:trt=“http://www.onvif.org/ver10/media/wsdl” xmlns:ter=“http://www.onvif.org/ver10/error” xmlns:tns1=“http://www.onvif.org/ver10/topics” xmlns:tnsaxis=“http://www.axis.com/2009/event/topics”>SOAP-ENV:Bodytds:GetSystemDateAndTimeResponsetds:SystemDateAndTimett:DateTimeTypeManual</tt:DateTimeType>tt:DaylightSavingstrue</tt:DaylightSavings>tt:TimeZonett:TZGMT0BST,M3.5.0/1,M10.5.0</tt:TZ></tt:TimeZone>tt:UTCDateTimett:Timett:Hour10</tt:Hour>tt:Minute57</tt:Minute>tt:Second23</tt:Second></tt:Time>tt:Datett:Year2020</tt:Year>tt:Month9</tt:Month>tt:Day25</tt:Day></tt:Date></tt:UTCDateTime>tt:LocalDateTimett:Timett:Hour11</tt:Hour>tt:Minute57</tt:Minute>tt:Second23</tt:Second></tt:Time>tt:Datett:Year2020</tt:Year>tt:Month9</tt:Month>tt:Day25</tt:Day></tt:Date></tt:LocalDateTime></tds:SystemDateAndTime></tds:GetSystemDateAndTimeResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
11:57:22.489 [TRACE] [camera.internal.onvif.OnvifConnection] - Sending ONVIF request:GetCapabilities
11:57:22.489 [DEBUG] [camera.internal.onvif.OnvifConnection] - Cameras UTC time is : 10:57:23
11:57:22.490 [DEBUG] [camera.internal.onvif.OnvifConnection] - Cameras UTC date is : 2020-9-25
11:57:22.490 [DEBUG] [camera.internal.onvif.OnvifConnection] - Openhabs UTC dateTime is:2020-09-25T10:57:22.490Z
11:57:22.508 [TRACE] [camera.internal.onvif.OnvifConnection] - Onvif reply is:<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV=“http://www.w3.org/2003/05/soap-envelope” xmlns:SOAP-ENC=“http://www.w3.org/2003/05/soap-encoding” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xmlns:xsd=“http://www.w3.org/2001/XMLSchema” xmlns:c14n=“http://www.w3.org/2001/10/xml-exc-c14n#” xmlns:wsu=“http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd” xmlns:ds=“http://www.w3.org/2000/09/xmldsig#” xmlns:wsse=“http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd” xmlns:wsa5=“http://www.w3.org/2005/08/addressing” xmlns:xmime=“http://tempuri.org/xmime.xsd” xmlns:xop=“http://www.w3.org/2004/08/xop/include” xmlns:wsrfbf=“http://docs.oasis-open.org/wsrf/bf-2” xmlns:wstop=“http://docs.oasis-open.org/wsn/t-1” xmlns:tt=“http://www.onvif.org/ver10/schema” xmlns:acert=“http://www.axis.com/vapix/ws/cert” xmlns:wsrfr=“http://docs.oasis-open.org/wsrf/r-2” xmlns:aa=“http://www.axis.com/vapix/ws/action1” xmlns:acertificates=“http://www.axis.com/vapix/ws/certificates” xmlns:aev=“http://www.axis.com/vapix/ws/event1” xmlns:ali1=“http://www.axis.com/vapix/ws/light/CommonBinding” xmlns:ali2=“http://www.axis.com/vapix/ws/light/IntensityBinding” xmlns:ali3=“http://www.axis.com/vapix/ws/light/AngleOfIlluminationBinding” xmlns:ali4=“http://www.axis.com/vapix/ws/light/DayNightSynchronizeBinding” xmlns:ali=“http://www.axis.com/vapix/ws/light” xmlns:apc=“http://www.axis.com/vapix/ws/panopsiscalibration1” xmlns:arth=“http://www.axis.com/vapix/ws/recordedtour1” xmlns:aweb=“http://www.axis.com/vapix/ws/webserver” xmlns:tan1=“http://www.onvif.org/ver20/analytics/wsdl/RuleEngineBinding” xmlns:tan2=“http://www.onvif.org/ver20/analytics/wsdl/AnalyticsEngineBinding” xmlns:tan=“http://www.onvif.org/ver20/analytics/wsdl” xmlns:tds=“http://www.onvif.org/ver10/device/wsdl” xmlns:tev1=“http://www.onvif.org/ver10/events/wsdl/NotificationProducerBinding” xmlns:tev2=“http://www.onvif.org/ver10/events/wsdl/EventBinding” xmlns:tev3=“http://www.onvif.org/ver10/events/wsdl/SubscriptionManagerBinding” xmlns:wsnt=“http://docs.oasis-open.org/wsn/b-2” xmlns:tev4=“http://www.onvif.org/ver10/events/wsdl/PullPointSubscriptionBinding” xmlns:tev=“http://www.onvif.org/ver10/events/wsdl” xmlns:timg=“http://www.onvif.org/ver20/imaging/wsdl” xmlns:tptz=“http://www.onvif.org/ver20/ptz/wsdl” xmlns:trt=“http://www.onvif.org/ver10/media/wsdl” xmlns:ter=“http://www.onvif.org/ver10/error” xmlns:tns1=“http://www.onvif.org/ver10/topics” xmlns:tnsaxis=“http://www.axis.com/2009/event/topics”>SOAP-ENV:Header<wsse:Security SOAP-ENV:mustUnderstand=“true”>wsse:UsernameTokenwsse:Usernameroot</wsse:Username><wsse:Password Type=“http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest”>FZ/5ashTTTjcCF/7qmGjCpS7LCM=</wsse:Password>wsse:NonceLTExMTIxMzgyMTk=</wsse:Nonce>wsu:Created2020-09-25T10:57:22.489Z</wsu:Created></wsse:UsernameToken></wsse:Security></SOAP-ENV:Header>SOAP-ENV:BodySOAP-ENV:FaultSOAP-ENV:CodeSOAP-ENV:ValueSOAP-ENV:Sender</SOAP-ENV:Value>SOAP-ENV:SubcodeSOAP-ENV:Valueter:NotAuthorized</SOAP-ENV:Value></SOAP-ENV:Subcode></SOAP-ENV:Code>SOAP-ENV:Reason<SOAP-ENV:Text xml:lang=“en”>Sender not authorized</SOAP-ENV:Text></SOAP-ENV:Reason>SOAP-ENV:DetailSOAP-ENV:TextThe action requested requires authorization and the sender is not authorized</SOAP-ENV:Text></SOAP-ENV:Detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
11:57:26.391 [DEBUG] [mera.internal.handler.IpCameraHandler] - Binding has no snapshot url. Will use your CPU and FFmpeg to create snapshots from the cameras RTSP.
11:57:26.393 [DEBUG] [nhab.binding.ipcamera.internal.Ffmpeg] - Starting ffmpeg with this command now:-rtsp_transport tcp -threads 1 -skip_frame nokey -hide_banner -loglevel warning -i rtsp://root:root@192.168.1.45:554/ISAPI/Streaming/channels/401 -an -vsync vfr -update 1 http://127.0.0.1:54324/snapshot.jpg

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.