Skip to content

Instantly share code, notes, and snippets.

@mcNETDev
Created April 25, 2024 18:31
Show Gist options
  • Save mcNETDev/a896d83207b1b80ebeaec228b5abf28e to your computer and use it in GitHub Desktop.
Save mcNETDev/a896d83207b1b80ebeaec228b5abf28e to your computer and use it in GitHub Desktop.
✔ 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 1/1
✔ Container unifiproxy-unifi-cam-proxy-1 Stopped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment