Closed mcNETDev closed 1 month ago
I dont know how to Format the Log with line endings, here ist a gist: https://gist.github.com/mcNETDev/a896d83207b1b80ebeaec228b5abf28e
Update: I tried the :dev image. Unfortunately the same error
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Camera
Urmet 5M PLUS AI
Firmware version of the camera
No response
Description
hi, I can't get this camera to work. After I finally found the rtsp path, I now have another error in the log. It shows up in Protect and I have a still image. Unfortunately nothing more happens.
How to reproduce
No response
Expected behaviour
No response
Screenshots
No response
Additional information
docker-compose.yaml
`version: "3.9" services: unifi-cam-proxy: restart: unless-stopped image: keshavdv/unifi-cam-proxy volumes:
Log from Docker:
✔ Container unifiproxy-unifi-cam-proxy-1 Created 0.0s Attaching to unifi-cam-proxy-1 unifi-cam-proxy-1 | 2024-04-25 17:59:34 ac34fdec1c46 RTSPCam[1] INFO Spawning stream for snapshots: ffmpeg -nostdin -y -re -rtsp_transport tcp -i "rtsp://10.99.1.240:554/ch01/0" -r 1 -update 1 /tmp/tmpuf56qqaj/screen.jpg unifi-cam-proxy-1 | 2024-04-25 17:59:34 ac34fdec1c46 Core[1] INFO Creating ws connection to wss://10.99.1.1:7442/camera/1.0/ws?token=EcepguKFUnu7SMnslZXGIPrK4El0DSdi unifi-cam-proxy-1 | 2024-04-25 17:59:34 ac34fdec1c46 RTSPCam[1] INFO Adopting with token [EcepguKFUnu7SMnslZXGIPrK4El0DSdi] and mac [AABBCCDDEEFF] unifi-cam-proxy-1 | 2024-04-25 17:59:34 ac34fdec1c46 RTSPCam[1] INFO Processing [ubnt_avclient_hello] message unifi-cam-proxy-1 | 2024-04-25 17:59:35 ac34fdec1c46 RTSPCam[1] INFO Processing [ubnt_avclient_paramAgreement] message unifi-cam-proxy-1 | 2024-04-25 17:59:35 ac34fdec1c46 RTSPCam[1] INFO Processing [StopService] message unifi-cam-proxy-1 | 2024-04-25 17:59:35 ac34fdec1c46 RTSPCam[1] INFO Processing [ChangeVideoSettings] message unifi-cam-proxy-1 | ffmpeg version 4.1.6 Copyright (c) 2000-2020 the FFmpeg developers unifi-cam-proxy-1 | built with gcc 8.3.0 (Alpine 8.3.0) unifi-cam-proxy-1 | configuration: --prefix=/usr --enable-avresample --enable-avfilter --enable-gnutls --enable-gpl --enable-libass --enable-libmp3lame --enable-libvorbis --enable-libvpx --enable-libxvid --enable-libx264 --enable-libx265 --enable-libtheora --enable-libv4l2 --enable-postproc --enable-pic --enable-pthreads --enable-shared --enable-libxcb --disable-stripping --disable-static --disable-librtmp --enable-vaapi --enable-vdpau --enable-libopus --disable-debug unifi-cam-proxy-1 | libavutil 56. 22.100 / 56. 22.100 unifi-cam-proxy-1 | libavcodec 58. 35.100 / 58. 35.100 unifi-cam-proxy-1 | libavformat 58. 20.100 / 58. 20.100 unifi-cam-proxy-1 | libavdevice 58. 5.100 / 58. 5.100 unifi-cam-proxy-1 | libavfilter 7. 40.101 / 7. 40.101 unifi-cam-proxy-1 | libavresample 4. 0. 0 / 4. 0. 0 unifi-cam-proxy-1 | libswscale 5. 3.100 / 5. 3.100 unifi-cam-proxy-1 | libswresample 3. 3.100 / 3. 3.100 unifi-cam-proxy-1 | libpostproc 55. 3.100 / 55. 3.100 unifi-cam-proxy-1 | 2024-04-25 17:59:35 ac34fdec1c46 RTSPCam[1] INFO Spawning ffmpeg for video2 (3lhFbvPLMrbnUUtx): ffmpeg -nostdin -loglevel error -y -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -stimeout 15000000 -rtsp_transport tcp -i "rtsp://10.99.1.240:554/ch01/0" -c:v libx264 -ar 22050 -metadata streamname=3lhFbvPLMrbnUUtx -f flv - | /usr/local/bin/python -m unifi.clock_sync | nc 10.99.1.1 7550 unifi-cam-proxy-1 | 2024-04-25 17:59:35 ac34fdec1c46 RTSPCam[1] INFO Processing [ubnt_avclient_hello] message unifi-cam-proxy-1 | 2024-04-25 17:59:35 ac34fdec1c46 RTSPCam[1] INFO Processing [ChangeDeviceSettings] message unifi-cam-proxy-1 | 2024-04-25 17:59:35 ac34fdec1c46 RTSPCam[1] INFO Processing [ChangeVideoSettings] message unifi-cam-proxy-1 | ffmpeg version 4.1.6 Copyright (c) 2000-2020 the FFmpeg developers unifi-cam-proxy-1 | built with gcc 8.3.0 (Alpine 8.3.0) unifi-cam-proxy-1 | configuration: --prefix=/usr --enable-avresample --enable-avfilter --enable-gnutls --enable-gpl --enable-libass --enable-libmp3lame --enable-libvorbis --enable-libvpx --enable-libxvid --enable-libx264 --enable-libx265 --enable-libtheora --enable-libv4l2 --enable-postproc --enable-pic --enable-pthreads --enable-shared --enable-libxcb --disable-stripping --disable-static --disable-librtmp --enable-vaapi --enable-vdpau --enable-libopus --disable-debug unifi-cam-proxy-1 | libavutil 56. 22.100 / 56. 22.100 unifi-cam-proxy-1 | libavcodec 58. 35.100 / 58. 35.100 unifi-cam-proxy-1 | libavformat 58. 20.100 / 58. 20.100 unifi-cam-proxy-1 | libavdevice 58. 5.100 / 58. 5.100 unifi-cam-proxy-1 | libavfilter 7. 40.101 / 7. 40.101 unifi-cam-proxy-1 | libavresample 4. 0. 0 / 4. 0. 0 unifi-cam-proxy-1 | libswscale 5. 3.100 / 5. 3.100 unifi-cam-proxy-1 | libswresample 3. 3.100 / 3. 3.100 unifi-cam-proxy-1 | libpostproc 55. 3.100 / 55. 3.100 unifi-cam-proxy-1 | 2024-04-25 17:59:35 ac34fdec1c46 RTSPCam[1] INFO Spawning ffmpeg for video3 (89tavI4zGjF5FP9u): ffmpeg -nostdin -loglevel error -y -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -stimeout 15000000 -rtsp_transport tcp -i "rtsp://10.99.1.240:554/ch01/0" -c:v libx264 -ar 22050 -metadata streamname=89tavI4zGjF5FP9u -f flv - | /usr/local/bin/python -m unifi.clock_sync | nc 10.99.1.1 7550 unifi-cam-proxy-1 | 2024-04-25 17:59:35 ac34fdec1c46 RTSPCam[1] INFO Processing [NetworkStatus] message unifi-cam-proxy-1 | 2024-04-25 17:59:35 ac34fdec1c46 RTSPCam[1] INFO Processing [GetSystemStats] message unifi-cam-proxy-1 | 2024-04-25 17:59:35 ac34fdec1c46 RTSPCam[1] INFO Processing [ubnt_avclient_paramAgreement] message unifi-cam-proxy-1 | 2024-04-25 17:59:36 ac34fdec1c46 RTSPCam[1] INFO Processing [ChangeVideoSettings] message unifi-cam-proxy-1 | ffmpeg version 4.1.6 Copyright (c) 2000-2020 the FFmpeg developers unifi-cam-proxy-1 | built with gcc 8.3.0 (Alpine 8.3.0) unifi-cam-proxy-1 | configuration: --prefix=/usr --enable-avresample --enable-avfilter --enable-gnutls --enable-gpl --enable-libass --enable-libmp3lame --enable-libvorbis --enable-libvpx --enable-libxvid --enable-libx264 --enable-libx265 --enable-libtheora --enable-libv4l2 --enable-postproc --enable-pic --enable-pthreads --enable-shared --enable-libxcb --disable-stripping --disable-static --disable-librtmp --enable-vaapi --enable-vdpau --enable-libopus --disable-debug unifi-cam-proxy-1 | libavutil 56. 22.100 / 56. 22.100 unifi-cam-proxy-1 | libavcodec 58. 35.100 / 58. 35.100 unifi-cam-proxy-1 | libavformat 58. 20.100 / 58. 20.100 unifi-cam-proxy-1 | libavdevice 58. 5.100 / 58. 5.100 unifi-cam-proxy-1 | libavfilter 7. 40.101 / 7. 40.101 unifi-cam-proxy-1 | libavresample 4. 0. 0 / 4. 0. 0 unifi-cam-proxy-1 | libswscale 5. 3.100 / 5. 3.100 unifi-cam-proxy-1 | libswresample 3. 3.100 / 3. 3.100 unifi-cam-proxy-1 | libpostproc 55. 3.100 / 55. 3.100 unifi-cam-proxy-1 | 2024-04-25 17:59:36 ac34fdec1c46 RTSPCam[1] INFO Spawning ffmpeg for video1 (bxt8XAeVHHpBK8D0): ffmpeg -nostdin -loglevel error -y -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -stimeout 15000000 -rtsp_transport tcp -i "rtsp://10.99.1.240:554/ch01/0" -c:v libx264 -ar 22050 -metadata streamname=bxt8XAeVHHpBK8D0 -f flv - | /usr/local/bin/python -m unifi.clock_sync | nc 10.99.1.1 7550 unifi-cam-proxy-1 | 2024-04-25 17:59:36 ac34fdec1c46 RTSPCam[1] INFO Processing [GetRequest] message unifi-cam-proxy-1 | 2024-04-25 17:59:36 ac34fdec1c46 RTSPCam[1] WARNING Snapshot file /tmp/tmpuf56qqaj/screen.jpg is not ready yet, skipping upload unifi-cam-proxy-1 | Traceback (most recent call last): unifi-cam-proxy-1 | File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main unifi-cam-proxy-1 | return _run_code(code, main_globals, None, unifi-cam-proxy-1 | File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code unifi-cam-proxy-1 | exec(code, run_globals) unifi-cam-proxy-1 | File "/app/unifi/clock_sync.py", line 167, in <module> unifi-cam-proxy-1 | main() unifi-cam-proxy-1 | File "/app/unifi/clock_sync.py", line 157, in main unifi-cam-proxy-1 | write(read_bytes(source, payload_size)) unifi-cam-proxy-1 | File "/app/unifi/clock_sync.py", line 87, in write unifi-cam-proxy-1 | sys.stdout.buffer.write(data) unifi-cam-proxy-1 | BrokenPipeError: [Errno 32] Broken pipe unifi-cam-proxy-1 | av_interleaved_write_frame(): Broken pipe unifi-cam-proxy-1 | Traceback (most recent call last): unifi-cam-proxy-1 | File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main unifi-cam-proxy-1 | return _run_code(code, main_globals, None, unifi-cam-proxy-1 | File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code unifi-cam-proxy-1 | exec(code, run_globals) unifi-cam-proxy-1 | File "/app/unifi/clock_sync.py", line 167, in <module> unifi-cam-proxy-1 | main() unifi-cam-proxy-1 | File "/app/unifi/clock_sync.py", line 157, in main unifi-cam-proxy-1 | write(read_bytes(source, payload_size)) unifi-cam-proxy-1 | File "/app/unifi/clock_sync.py", line 87, in write unifi-cam-proxy-1 | sys.stdout.buffer.write(data) unifi-cam-proxy-1 | BrokenPipeError: [Errno 32] Broken pipe unifi-cam-proxy-1 | Traceback (most recent call last): unifi-cam-proxy-1 | File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main unifi-cam-proxy-1 | return _run_code(code, main_globals, None, unifi-cam-proxy-1 | File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code unifi-cam-proxy-1 | exec(code, run_globals) unifi-cam-proxy-1 | File "/app/unifi/clock_sync.py", line 167, in <module> unifi-cam-proxy-1 | main() unifi-cam-proxy-1 | File "/app/unifi/clock_sync.py", line 157, in main unifi-cam-proxy-1 | write(read_bytes(source, payload_size)) unifi-cam-proxy-1 | File "/app/unifi/clock_sync.py", line 87, in write unifi-cam-proxy-1 | sys.stdout.buffer.write(data) unifi-cam-proxy-1 | BrokenPipeError: [Errno 32] Broken pipe unifi-cam-proxy-1 | av_interleaved_write_frame(): Broken pipe unifi-cam-proxy-1 | av_interleaved_write_frame(): Broken pipe unifi-cam-proxy-1 | Last message repeated 1 times unifi-cam-proxy-1 | Error writing trailer of pipe:: Broken pipe unifi-cam-proxy-1 | Last message repeated 1 times unifi-cam-proxy-1 | Error writing trailer of pipe:: Broken pipe unifi-cam-proxy-1 | Last message repeated 1 times unifi-cam-proxy-1 | Error writing trailer of pipe:: Broken pipe unifi-cam-proxy-1 | 2024-04-25 17:59:40 ac34fdec1c46 RTSPCam[1] INFO Processing [ChangeIspSettings] message unifi-cam-proxy-1 | 2024-04-25 17:59:40 ac34fdec1c46 RTSPCam[1] INFO Processing [ChangeOsdSettings] message unifi-cam-proxy-1 | 2024-04-25 17:59:40 ac34fdec1c46 RTSPCam[1] INFO Processing [ChangeSoundLedSettings] message unifi-cam-proxy-1 | 2024-04-25 17:59:40 ac34fdec1c46 RTSPCam[1] INFO Processing [ChangeVideoSettings] message unifi-cam-proxy-1 | 2024-04-25 17:59:40 ac34fdec1c46 RTSPCam[1] INFO Processing [ChangeSmartMotionSettings] message unifi-cam-proxy-1 | 2024-04-25 17:59:40 ac34fdec1c46 RTSPCam[1] INFO Processing [EnableLogging] message unifi-cam-proxy-1 | 2024-04-25 17:59:40 ac34fdec1c46 RTSPCam[1] INFO Processing [ChangeDeviceSettings] message unifi-cam-proxy-1 | 2024-04-25 17:59:40 ac34fdec1c46 RTSPCam[1] INFO Processing [ChangeDeviceSettings] message unifi-cam-proxy-1 | 2024-04-25 17:59:40 ac34fdec1c46 RTSPCam[1] INFO Processing [SmartMotionTest] message unifi-cam-proxy-1 | 2024-04-25 17:59:40 ac34fdec1c46 RTSPCam[1] INFO Processing [ChangeVideoSettings] message unifi-cam-proxy-1 | 2024-04-25 17:59:40 ac34fdec1c46 RTSPCam[1] INFO Processing [AudioAgentChangeTuning] message unifi-cam-proxy-1 | 2024-04-25 17:59:40 ac34fdec1c46 RTSPCam[1] INFO Processing [UpdateUsernamePassword] message unifi-cam-proxy-1 | 2024-04-25 17:59:40 ac34fdec1c46 RTSPCam[1] INFO Processing [ChangeVideoSettings] message Gracefully stopping... (press Ctrl+C again to force) Stopping ✔ Container unifiproxy-unifi-cam-proxy-1 Stopped