[Bug]: Date is confusing timehandling date parsing #11845
-
Describe the problem you are havingIn my logs i have an error that indicates that the date / time handling is not international notation savvy. Steps to reproduceUnknown, but I have to manage reproducing it everytime I restart. Version0.13.2-6476F8A Frigate config filemqtt:
host: 192.168.68.119
user: xxx
password: xxx
topic_prefix: rp4-frigate-nvr
client_id: frigate
go2rtc:
streams:
carport:
- rtsp://admin:[email protected]:554/Streaming/Channels/101/
- "ffmpeg:carport#audio=opus"
carport_sub:
- rtsp://admin:[email protected]:554/Streaming/Channels/102/
- "ffmpeg:carport_sub#audio=opus"
voordeur:
- rtsp://YYYY:[email protected]:554/videoMain
carportcam:
- rtsp://192.168.68.37:554/user=XXXXX_password=YYYYY_channel=0_stream=0.sdp?real_stream
woonkamer:
- rtsp://XXXX:[email protected]:88/videoMain
ffmpeg:
hwaccel_args: preset-rpi-64-h264 #Enable Hardware Acceleration
cameras:
CarportCam: # ICSee R80X20-PQ
onvif:
host: 192.168.68.37
port: 8899
user: XXXXX
password: YYYY
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/carportcam
roles:
- record
- detect
- rtmp
- audio
detect:
enabled: True # Detection is enabled
width: 1280 # The Camera's resolution
height: 720 # The Camera's resolution
fps: 3
stationary:
interval: 200
threshold: 400
record:
enabled: True
retain:
days: 7
mode: all
events:
pre_capture: 1
post_capture: 3
objects:
- person
- dog
- car
- cat
- motorcycle
- bicycle
- face
- license_plate
- amazon
- fedex
- ups
- package
snapshots:
enabled: true
timestamp: true
retain:
default: 2
quality: 70
voordeur: # Foscam
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/voordeur
roles:
- record
- detect
- rtmp
input_args:
- -rtsp_transport
- tcp # Or udp if you want to try UDP transport
- -analyzeduration
- '20000000' # Increased analyze duration
- -probesize
- '20000000' # Increased probe size
- -loglevel
- debug
- -fflags
- +genpts+igndts # Flags to handle PTS and DTS issues
detect:
enabled: True # Detection is enabled
width: 1280 # The Camera's resolution
height: 720 # The Camera's resolution
fps: 3
stationary:
interval: 200
threshold: 400
record:
enabled: True
retain:
days: 7
mode: all
events:
pre_capture: 1
post_capture: 3
objects:
- person
- dog
- car
- cat
- motorcycle
- bicycle
- face
- license_plate
- amazon
- fedex
- ups
- package
snapshots:
enabled: true
timestamp: true
retain:
default: 2
quality: 70
onvif:
host: 192.168.68.30
port: 888
user: XXX
password: YYYY
carport: #Name for your comment
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/carport_sub #The Stream you want to monitor
roles:
- detect
- audio
input_args:
- -use_wallclock_as_timestamps
- '1'
- path: rtsp://127.0.0.1:8554/carport
roles:
- record
- rtmp
input_args:
- -use_wallclock_as_timestamps
- "1"
output_args:
record: preset-record-generic-audio-aac
detect:
enabled: True # Detection is disabled
width: 1280 # The Cameras resolution
height: 720 # The Cameras resolution
fps: 3
stationary:
interval: 200
threshold: 400
record:
enabled: True
retain:
days: 7
mode: all
events:
pre_capture: 1
post_capture: 3
objects:
- person
- dog
- car
- cat
- motorcycle
- bicycle
- face
- license_plate
- amazon
- fedex
- ups
- package
snapshots:
enabled: true
timestamp: true
retain:
default: 2
quality: 70
audio:
enabled: true
max_not_heard: 30
min_volume: 400
listen:
- bark
- fire_alarm
- scream
- speech
- yell
- laughter
- music
- thunder
- thunderstorm
- rain
- car
- motor_vehicle
- emergency_vehicle
- door
motion:
threshold: 200
contour_area: 150
frame_alpha: 0.0025
frame_height: 80
improve_contrast: True
mqtt_off_delay: 20
objects:
track:
- person
- dog
- car
- cat
- motorcycle
- bicycle
- face
- license_plate
- amazon
- fedex
- ups
- package
filters:
person:
min_area: 0
max_area: 24000000
min_ratio: 0
max_ratio: 24000000
min_score: 0.6
threshold: 0.7
dog:
min_area: 0
max_area: 2400000
min_ratio: 0
max_ratio: 2400000
min_score: 0.4
threshold: 0.5
cat:
min_area: 0
max_area: 240000
min_ratio: 0
max_ratio: 240000
min_score: 0.4
threshold: 0.5
car:
min_area: 0
max_area: 24000000
min_ratio: 0
max_ratio: 24000000
min_score: 0.4
threshold: 0.6
motorcycle:
min_area: 0
max_area: 24000000
min_ratio: 0
max_ratio: 24000000
min_score: 0.5
threshold: 0.6
bicycle:
min_area: 0
max_area: 24000000
min_ratio: 0
max_ratio: 24000000
min_score: 0.6
threshold: 0.7 Relevant log output2024-06-10 08:44:53.487221801 [2024-06-10 08:44:53] zeep.xsd.types.simple ERROR : Error during xml -> python translation
2024-06-10 08:44:53.487233431 Traceback (most recent call last):
2024-06-10 08:44:53.487237320 File "/usr/local/lib/python3.9/dist-packages/zeep/xsd/types/simple.py", line 79, in parse_xmlelement
2024-06-10 08:44:53.487248487 return self.pythonvalue(xmlelement.text)
2024-06-10 08:44:53.487252172 File "/usr/local/lib/python3.9/dist-packages/zeep/xsd/types/builtins.py", line 44, in _wrapper
2024-06-10 08:44:53.487258005 return func(self, re.sub(r"[\n\r\t ]", " ", value).strip())
2024-06-10 08:44:53.487330468 File "/usr/local/lib/python3.9/dist-packages/zeep/xsd/types/builtins.py", line 180, in pythonvalue
2024-06-10 08:44:53.487334098 return isodate.parse_datetime(value)
2024-06-10 08:44:53.487337301 File "/usr/local/lib/python3.9/dist-packages/isodate/isodatetime.py", line 55, in parse_datetime
2024-06-10 08:44:53.487466505 tmpdate = parse_date(datestring)
2024-06-10 08:44:53.487477505 File "/usr/local/lib/python3.9/dist-packages/isodate/isodates.py", line 201, in parse_date
2024-06-10 08:44:53.487484208 return date(sign * int(groups['year']),
2024-06-10 08:44:53.487486282 ValueError: day is out of range for month Operating systemRPi OS Install methodDocker Compose Network connectionMixed Camera make and modelICSee, Foscam, EZVIZ Any other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Answered by
hawkeye217
Jun 10, 2024
Replies: 1 comment
-
This is a duplicate of #11496 It happens during an ONVIF interview, probably of your Foscam camera. I think this is an error that you should be able to safely ignore as Frigate doesn't utilize anything with dates through your camera's ONVIF capabilities. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
NickM-27
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a duplicate of #11496
It happens during an ONVIF interview, probably of your Foscam camera.
I think this is an error that you should be able to safely ignore as Frigate doesn't utilize anything with dates through your camera's ONVIF capabilities.