[Camera Support]: Onvif connection to JPP_camera-in failed #12530
-
Describe the problem you are havingI have two cameras, with the firstJPP_camera-out, no problem. But for the second JPP_camera-in, impossible to use the PTZ of my camera (cloudcam) with frigate. PTZ works with viewcam on Mac for my two cameras. VersionSYSTEM 0.13.2-6476F8A Frigate config filemqtt:
enabled: true
host: 192.168.0.44
#host: 172.29.8.2
port: 1883
user: jpp
password: freehp
topic_prefix: frigate
client_id: frigate
logger:
# default: debug
logs:
frigate.ptz.onvif: debug
birdseye:
enabled: True
mode: continuous
cameras:
JPP_camera-in:
detect:
fps: 5
enabled: False
enabled: true
onvif:
host: 192.168.0.204
port: 80
ffmpeg:
inputs:
- path: rtsp://192.168.0.204:554/rtsp
roles:
- detect
JPP_camera-out:
detect:
# width: 1280
# height: 720
fps: 5
enabled: true
onvif:
host: 192.168.0.243
port: 8899
user: admin
password: admin
ffmpeg:
inputs:
- path: rtsp://rphnkjhkjh:[email protected]/channel=1_stream=1.sdp
roles:
- detect
objects:
track:
- person
- bird
- cat
- dog
filters:
bird:
min_score: 0.7
person:
min_score: 0.75
record:
enabled: True
retain:
days: 5
mode: motion
events:
retain:
default: 10
mode: motion
snapshots:
enabled: True
retain:
default: 10 Relevant log output2024-07-21 06:33:21.359399334 [INFO] Preparing Frigate...
2024-07-21 06:33:21.383893557 [INFO] Starting Frigate...
2024-07-21 06:33:23.808119793 [2024-07-21 06:33:23] frigate.app INFO : Starting Frigate (0.13.2-6476f8a)
2024-07-21 06:33:29.516684934 [2024-07-21 06:33:29] peewee_migrate.logs INFO : Starting migrations
2024-07-21 06:33:29.523143486 [2024-07-21 06:33:29] peewee_migrate.logs INFO : There is nothing to migrate
2024-07-21 06:33:29.700080486 [2024-07-21 06:33:29] frigate.ptz.onvif ERROR : Onvif connection to JPP_camera-in failed: Unknown error: The CapabilityCategory type doesn't accept collections as value
2024-07-21 06:33:30.000647856 [2024-07-21 06:33:29] frigate.app INFO : Recording process started: 305
2024-07-21 06:33:30.005223554 [2024-07-21 06:33:30] frigate.app INFO : go2rtc process pid: 101
2024-07-21 06:33:30.051793652 [2024-07-21 06:33:30] detector.cpu INFO : Starting detection process: 315
2024-07-21 06:33:30.052014329 [2024-07-21 06:33:30] frigate.detectors WARNING : CPU detectors are not recommended and should only be used for testing or for trial purposes.
2024-07-21 06:33:30.055440532 [2024-07-21 06:33:30] frigate.app INFO : Output process started: 317
2024-07-21 06:33:30.074455462 [2024-07-21 06:33:30] frigate.app INFO : Camera processor started for JPP_camera-in: 321
2024-07-21 06:33:30.082267219 [2024-07-21 06:33:30] frigate.app INFO : Camera processor started for JPP_camera-out: 323
2024-07-21 06:33:30.097643403 [2024-07-21 06:33:30] frigate.app INFO : Capture process started for JPP_camera-in: 324
2024-07-21 06:33:30.112247774 [2024-07-21 06:33:30] frigate.app INFO : Capture process started for JPP_camera-out: 329
2024-07-21 06:34:33.464591883 [2024-07-21 06:34:33] frigate.ptz.onvif ERROR : Onvif is not setup for JPP_camera-in FFprobe output from your cameraInput #0, rtsp, from 'rtsp://192.168.0.204:554/rtsp':
Metadata:
title : h264.mp4
comment : TAS-Tech Live Cast
Duration: N/A, start: 0.735000, bitrate: N/A
Stream #0:0: Video: h264 (Main), yuv420p(progressive), 1920x1080, 8 fps, 25 tbr, 90k tbn, 16 tbc Frigate stats{
"cameras": {
"JPP_camera-in": {
"audio_dBFS": 0,
"audio_rms": 0,
"camera_fps": 5.1,
"capture_pid": 324,
"detection_enabled": 0,
"detection_fps": 0,
"ffmpeg_pid": 332,
"pid": 321,
"process_fps": 5.1,
"skipped_fps": 0
},
"JPP_camera-out": {
"audio_dBFS": 0,
"audio_rms": 0,
"camera_fps": 5.1,
"capture_pid": 329,
"detection_enabled": 1,
"detection_fps": 0.5,
"ffmpeg_pid": 335,
"pid": 323,
"process_fps": 5.1,
"skipped_fps": 0
}
},
"cpu_usages": {
"1": {
"cmdline": "/package/admin/s6/command/s6-svscan -d4 -- /run/service",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"15": {
"cmdline": "s6-supervise s6-linux-init-shutdownd",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"17": {
"cmdline": "/package/admin/s6-linux-init/command/s6-linux-init-shutdownd -c /run/s6/basedir -g 3000 -C -B",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"24": {
"cmdline": "s6-supervise s6rc-oneshot-runner",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"25": {
"cmdline": "s6-supervise s6rc-fdholder",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"26": {
"cmdline": "s6-supervise frigate",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"27": {
"cmdline": "s6-supervise frigate-log",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"28": {
"cmdline": "s6-supervise go2rtc",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"29": {
"cmdline": "s6-supervise go2rtc-healthcheck",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"30": {
"cmdline": "s6-supervise go2rtc-log",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"31": {
"cmdline": "s6-supervise nginx",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"32": {
"cmdline": "s6-supervise nginx-log",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"39": {
"cmdline": "/package/admin/s6-2.11.3.2/command/s6-fdholderd -1 -i data/rules",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"42": {
"cmdline": "/package/admin/s6/command/s6-ipcserverd -1 -- /package/admin/s6/command/s6-ipcserver-access -v0 -E -l0 -i data/rules -- /package/admin/s6/command/s6-sudod -t 30000 -- /package/admin/s6-rc/command/s6-rc-oneshot-run -l ../.. --",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"80": {
"cmdline": "s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/nginx",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"81": {
"cmdline": "s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/frigate",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"82": {
"cmdline": "s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/go2rtc",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"101": {
"cmdline": "/usr/local/go2rtc/bin/go2rtc -config=/dev/shm/go2rtc.yaml",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"111": {
"cmdline": "python3 -u -m frigate",
"cpu": "1.4",
"cpu_average": "1",
"mem": "0.8"
},
"116": {
"cmdline": "bash ./run.user go2rtc-healthcheck",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"131": {
"cmdline": "nginx: master process nginx",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"134": {
"cmdline": "nginx: worker process",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"136": {
"cmdline": "nginx: worker process",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"137": {
"cmdline": "nginx: worker process",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"138": {
"cmdline": "nginx: worker process",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"139": {
"cmdline": "nginx: cache manager process",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"295": {
"cmdline": "frigate.logger ",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.3"
},
"305": {
"cmdline": "frigate.recording_manager",
"cpu": "0.7",
"cpu_average": "0",
"mem": "0.4"
},
"314": {
"cmdline": "/usr/bin/python3 -c from multiprocessing.resource_tracker import main;main(45)",
"cpu": "0.2",
"cpu_average": "0",
"mem": "0.0"
},
"315": {
"cmdline": "frigate.detector.cpu ",
"cpu": "18.6",
"cpu_average": "103",
"mem": "0.4"
},
"317": {
"cmdline": "frigate.output ",
"cpu": "0.8",
"cpu_average": "0",
"mem": "0.4"
},
"321": {
"cmdline": "frigate.process:JPP_camera-in",
"cpu": "1.6",
"cpu_average": "1",
"mem": "0.4"
},
"322": {
"cmdline": "ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1920x1080 -i pipe: -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.2"
},
"323": {
"cmdline": "frigate.process:JPP_camera-out",
"cpu": "1.5",
"cpu_average": "1",
"mem": "0.4"
},
"324": {
"cmdline": "frigate.capture:JPP_camera-in",
"cpu": "4.9",
"cpu_average": "4",
"mem": "0.4"
},
"328": {
"cmdline": "ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 640x720 -i pipe: -f mpegts -s 640x720 -codec:v mpeg1video -q 8 -bf 0 pipe:",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.1"
},
"329": {
"cmdline": "frigate.capture:JPP_camera-out",
"cpu": "1.4",
"cpu_average": "1",
"mem": "0.4"
},
"332": {
"cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -user_agent FFmpeg Frigate/0.13.2-6476f8a -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://192.168.0.204:554/rtsp -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/JPP_camera-in@%Y%m%d%H%M%S%z.mp4 -r 5 -vf fps=5,scale=1920:1080 -threads 2 -f rawvideo -pix_fmt yuv420p pipe:",
"cpu": "8.4",
"cpu_average": "6",
"mem": "0.2"
},
"335": {
"cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -user_agent FFmpeg Frigate/0.13.2-6476f8a -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://*:*@192.168.0.243/channel=1_stream=1.sdp -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/JPP_camera-out@%Y%m%d%H%M%S%z.mp4 -r 5 -vf fps=5,scale=640:720 -threads 2 -f rawvideo -pix_fmt yuv420p pipe:",
"cpu": "4.5",
"cpu_average": "4",
"mem": "0.1"
},
"337": {
"cmdline": "ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1280x720 -i pipe: -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.1"
},
"2853": {
"cmdline": "sleep 30s",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
}
},
"detection_fps": 0.5,
"detectors": {
"cpu": {
"detection_start": 0,
"inference_speed": 153.3,
"pid": 315
}
},
"processes": {
"go2rtc": {
"pid": 101
},
"logger": {
"pid": 295
},
"recording": {
"pid": 305
}
},
"service": {
"last_updated": 1721537691,
"latest_version": "0.13.2",
"storage": {
"/dev/shm": {
"free": 59.2,
"mount_type": "tmpfs",
"total": 64,
"used": 4.8
},
"/media/frigate/clips": {
"free": 1656705.4,
"mount_type": "ext4",
"total": 2080491.9,
"used": 423258.5
},
"/media/frigate/recordings": {
"free": 1656705.4,
"mount_type": "ext4",
"total": 2080491.9,
"used": 423258.5
},
"/tmp/cache": {
"free": 953.3,
"mount_type": "tmpfs",
"total": 953.7,
"used": 0.4
}
},
"temperatures": {
},
"uptime": 1281,
"version": "0.13.2-6476f8a"
}
} Operating systemOther Linux Install methodDocker Compose Object DetectorCPU (no coral) Network connectionWired Camera make and modelcloudcam Any other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 5 replies
-
There are several known issues with ONVIF handling in Frigate 0.13. This has been greatly improved in 0.14, currently in beta. |
Beta Was this translation helpful? Give feedback.
-
hi, I just upgraded to 0.14b4, and I still have the same problem: 2024-07-21 19:12:05.123226189 [INFO] Preparing Frigate... |
Beta Was this translation helpful? Give feedback.
-
yes, I tested with another software and did an analysis via Wireshark Frame 990: 1116 bytes on wire (8928 bits), 1116 bytes captured (8928 bits) on interface en0, id 0 |
Beta Was this translation helpful? Give feedback.
-
there is no login/password on this camera model! |
Beta Was this translation helpful? Give feedback.
-
I added |
Beta Was this translation helpful? Give feedback.
I added
user: admin
password: admin
and it's OK !!!
PS : I can put any password, it works