Starting tmp_unifi-cam-proxy_1 ... done Attaching to tmp_unifi-cam-proxy_1 unifi-cam-proxy_1 | 2023-08-30 19:13:40 9039a196c822 RTSPCam[1] INFO Spawning stream for snapshots: ffmpeg -nostdin -y -re -rtsp_transport tcp -i "rtsp://admin:passmarkedforissue@10.10.30.51:554/live" -r 1 -update 1 /tmp/tmpisa9jy9y/screen.jpg unifi-cam-proxy_1 | 2023-08-30 19:13:40 9039a196c822 Core[1] INFO Creating ws connection to wss://10.10.50.1:7442/camera/1.0/ws?token=tokenmarkedforissue unifi-cam-proxy_1 | 2023-08-30 19:13:41 9039a196c822 RTSPCam[1] INFO Adopting with token [tokenmarkedforissue] and mac [92:00:00:00:00:11] unifi-cam-proxy_1 | 2023-08-30 19:13:41 9039a196c822 RTSPCam[1] INFO Processing [ubnt_avclient_hello] message unifi-cam-proxy_1 | 2023-08-30 19:13:41 9039a196c822 RTSPCam[1] INFO Processing [ubnt_avclient_paramAgreement] message unifi-cam-proxy_1 | 2023-08-30 19:13:41 9039a196c822 RTSPCam[1] INFO Processing [StopService] message unifi-cam-proxy_1 | 2023-08-30 19:13:41 9039a196c822 RTSPCam[1] INFO Processing [ubnt_avclient_hello] message unifi-cam-proxy_1 | 2023-08-30 19:13:41 9039a196c822 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 | 2023-08-30 19:13:41 9039a196c822 RTSPCam[1] INFO Spawning ffmpeg for video1 (uMnfQlbI6ZmQZGXu): ffmpeg -nostdin -loglevel error -y -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -stimeout 15000000 -rtsp_transport tcp -i "rtsp://admin:passmarkedforissue@10.10.30.51:554/live" -c:v copy -ar 32000 -ac 1 -codec:a aac -b:a 32k -metadata streamname=uMnfQlbI6ZmQZGXu -f flv - | /usr/local/bin/python -m unifi.clock_sync | nc 10.10.50.1 7550 unifi-cam-proxy_1 | 2023-08-30 19:13:41 9039a196c822 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 | 2023-08-30 19:13:41 9039a196c822 RTSPCam[1] INFO Spawning ffmpeg for video3 (8mjdWBSEcmvuj1IW): ffmpeg -nostdin -loglevel error -y -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -stimeout 15000000 -rtsp_transport tcp -i "rtsp://admin:passmarkedforissue@10.10.30.51:554/live" -c:v copy -ar 32000 -ac 1 -codec:a aac -b:a 32k -metadata streamname=8mjdWBSEcmvuj1IW -f flv - | /usr/local/bin/python -m unifi.clock_sync | nc 10.10.50.1 7550 unifi-cam-proxy_1 | 2023-08-30 19:13:41 9039a196c822 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 | 2023-08-30 19:13:41 9039a196c822 RTSPCam[1] INFO Spawning ffmpeg for video2 (71P11m1kEZaXYpBx): ffmpeg -nostdin -loglevel error -y -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -stimeout 15000000 -rtsp_transport tcp -i "rtsp://admin:passmarkedforissue@10.10.30.51:554/live" -c:v copy -ar 32000 -ac 1 -codec:a aac -b:a 32k -metadata streamname=71P11m1kEZaXYpBx -f flv - | /usr/local/bin/python -m unifi.clock_sync | nc 10.10.50.1 7550 unifi-cam-proxy_1 | 2023-08-30 19:13:42 9039a196c822 RTSPCam[1] INFO Processing [ubnt_avclient_paramAgreement] message unifi-cam-proxy_1 | 2023-08-30 19:13:42 9039a196c822 RTSPCam[1] INFO Processing [UpdateFirmwareRequest] message unifi-cam-proxy_1 | 2023-08-30 19:13:42 9039a196c822 RTSPCam[1] INFO Reconnecting... unifi-cam-proxy_1 | 2023-08-30 19:13:42 9039a196c822 RTSPCam[1] INFO Cleaning up instance unifi-cam-proxy_1 | 2023-08-30 19:13:42 9039a196c822 RTSPCam[1] INFO Stopping stream video1 unifi-cam-proxy_1 | 2023-08-30 19:13:42 9039a196c822 RTSPCam[1] INFO Stopping stream video3 unifi-cam-proxy_1 | 2023-08-30 19:13:42 9039a196c822 RTSPCam[1] INFO Stopping stream video2 unifi-cam-proxy_1 | 2023-08-30 19:13:42 9039a196c822 Core[1] INFO Backing off connect(...) for 2.0s (True) 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 unifi-cam-proxy_1 | main() unifi-cam-proxy_1 | File "/app/unifi/clock_sync.py", line 153, in main unifi-cam-proxy_1 | write(create_script_tag("onClockSync", data, timestamp)) 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 | Exception ignored in: <_io.TextIOWrapper name='' mode='w' encoding='utf-8'> unifi-cam-proxy_1 | BrokenPipeError: [Errno 32] 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 | 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 unifi-cam-proxy_1 | main() unifi-cam-proxy_1 | File "/app/unifi/clock_sync.py", line 153, in main unifi-cam-proxy_1 | write(create_script_tag("onClockSync", data, timestamp)) 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 | Exception ignored in: <_io.TextIOWrapper name='' mode='w' encoding='utf-8'> unifi-cam-proxy_1 | BrokenPipeError: [Errno 32] 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 | 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 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 | Exception ignored in: <_io.TextIOWrapper name='' mode='w' encoding='utf-8'> unifi-cam-proxy_1 | BrokenPipeError: [Errno 32] Broken pipe unifi-cam-proxy_1 | av_interleaved_write_frame(): Broken pipe unifi-cam-proxy_1 | Error writing trailer of pipe:: Broken pipe unifi-cam-proxy_1 | 2023-08-30 19:13:44 9039a196c822 Core[1] INFO Creating ws connection to wss://10.10.50.1:7442/camera/1.0/ws?token=tokenmarkedforissue unifi-cam-proxy_1 | 2023-08-30 19:13:45 9039a196c822 RTSPCam[1] INFO Adopting with token [tokenmarkedforissue] and mac [92:00:00:00:00:11] unifi-cam-proxy_1 | 2023-08-30 19:13:45 9039a196c822 RTSPCam[1] INFO Processing [ubnt_avclient_hello] message unifi-cam-proxy_1 | 2023-08-30 19:13:45 9039a196c822 RTSPCam[1] INFO Processing [ubnt_avclient_paramAgreement] message unifi-cam-proxy_1 | 2023-08-30 19:13:45 9039a196c822 RTSPCam[1] INFO Processing [StopService] message unifi-cam-proxy_1 | 2023-08-30 19:13:45 9039a196c822 RTSPCam[1] INFO Processing [ubnt_avclient_hello] message unifi-cam-proxy_1 | 2023-08-30 19:13:46 9039a196c822 RTSPCam[1] INFO Processing [ubnt_avclient_paramAgreement] message unifi-cam-proxy_1 | 2023-08-30 19:13:46 9039a196c822 RTSPCam[1] INFO Processing [ChangeVideoSettings] message unifi-cam-proxy_1 | 2023-08-30 19:13:46 9039a196c822 RTSPCam[1] INFO Processing [ChangeDeviceSettings] message unifi-cam-proxy_1 | 2023-08-30 19:13:46 9039a196c822 RTSPCam[1] INFO Processing [NetworkStatus] message unifi-cam-proxy_1 | 2023-08-30 19:13:46 9039a196c822 RTSPCam[1] INFO Processing [GetSystemStats] message unifi-cam-proxy_1 | 2023-08-30 19:13:50 9039a196c822 RTSPCam[1] INFO Processing [GetRequest] message unifi-cam-proxy_1 | 2023-08-30 19:13:50 9039a196c822 RTSPCam[1] INFO Spawning stream for snapshots: ffmpeg -nostdin -y -re -rtsp_transport tcp -i "rtsp://admin:passmarkedforissue@10.10.30.51:554/live" -r 1 -update 1 /tmp/tmpisa9jy9y/screen.jpg unifi-cam-proxy_1 | 2023-08-30 19:13:50 9039a196c822 RTSPCam[1] WARNING Snapshot file /tmp/tmpisa9jy9y/screen.jpg is not ready yet, skipping upload unifi-cam-proxy_1 | 2023-08-30 19:13:51 9039a196c822 RTSPCam[1] INFO Processing [ChangeIspSettings] message unifi-cam-proxy_1 | 2023-08-30 19:13:51 9039a196c822 RTSPCam[1] INFO Processing [ChangeOsdSettings] message unifi-cam-proxy_1 | 2023-08-30 19:13:51 9039a196c822 RTSPCam[1] INFO Processing [ChangeAudioEventsSettings] message unifi-cam-proxy_1 | 2023-08-30 19:13:51 9039a196c822 RTSPCam[1] INFO Processing [ChangeSoundLedSettings] message unifi-cam-proxy_1 | 2023-08-30 19:13:51 9039a196c822 RTSPCam[1] INFO Processing [ChangeVideoSettings] message unifi-cam-proxy_1 | 2023-08-30 19:13:51 9039a196c822 RTSPCam[1] INFO Processing [ChangeSmartMotionSettings] message unifi-cam-proxy_1 | 2023-08-30 19:13:51 9039a196c822 RTSPCam[1] INFO Processing [EnableLogging] message unifi-cam-proxy_1 | 2023-08-30 19:13:51 9039a196c822 RTSPCam[1] INFO Processing [ChangeDeviceSettings] message unifi-cam-proxy_1 | 2023-08-30 19:13:51 9039a196c822 RTSPCam[1] INFO Processing [ChangeDeviceSettings] message unifi-cam-proxy_1 | 2023-08-30 19:13:51 9039a196c822 RTSPCam[1] INFO Processing [SmartMotionTest] message unifi-cam-proxy_1 | 2023-08-30 19:13:51 9039a196c822 RTSPCam[1] INFO Processing [ChangeVideoSettings] message unifi-cam-proxy_1 | 2023-08-30 19:13:51 9039a196c822 RTSPCam[1] INFO Processing [UpdateUsernamePassword] message unifi-cam-proxy_1 | 2023-08-30 19:13:51 9039a196c822 RTSPCam[1] INFO Processing [ChangeVideoSettings] message unifi-cam-proxy_1 | 2023-08-30 19:13:53 9039a196c822 RTSPCam[1] INFO Processing [NetworkStatus] message unifi-cam-proxy_1 | 2023-08-30 19:13:53 9039a196c822 RTSPCam[1] INFO Processing [GetSystemStats] message unifi-cam-proxy_1 | 2023-08-30 19:13:54 9039a196c822 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 | 2023-08-30 19:13:54 9039a196c822 RTSPCam[1] WARNING Previous ffmpeg process for video2 died. unifi-cam-proxy_1 | 2023-08-30 19:13:54 9039a196c822 RTSPCam[1] INFO Spawning ffmpeg for video2 (71P11m1kEZaXYpBx): ffmpeg -nostdin -loglevel error -y -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -stimeout 15000000 -rtsp_transport tcp -i "rtsp://admin:passmarkedforissue@10.10.30.51:554/live" -c:v copy -ar 32000 -ac 1 -codec:a aac -b:a 32k -metadata streamname=71P11m1kEZaXYpBx -f flv - | /usr/local/bin/python -m unifi.clock_sync | nc 10.10.50.1 7550 ^CGracefully stopping... (press Ctrl+C again to force) Stopping tmp_unifi-cam-proxy_1 ... done