Closed phillipkujawa closed 1 year ago
Whenever I start unifi-cam-proxy I get the following error: BrokenPipeError: [Errno 32] Broken pipe
BrokenPipeError: [Errno 32] Broken pipe
The RTSP client I'm using on the raspberry Pi is: https://github.com/cdgriffith/pi_streaming_setup
See my Unif-Cam-Proxy logs below:
2022-06-12 20:56:33 Fixnode-WebServer RTSPCam[16364] INFO Processing [ChangeVideoSettings] message ffmpeg version 3.4.11-0ubuntu0.1 Copyright (c) 2000-2022 the FFmpeg developers built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04) configuration: --prefix=/usr --extra-version=0ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared libavutil 55. 78.100 / 55. 78.100 libavcodec 57.107.100 / 57.107.100 libavformat 57. 83.100 / 57. 83.100 libavdevice 57. 10.100 / 57. 10.100 libavfilter 6.107.100 / 6.107.100 libavresample 3. 7. 0 / 3. 7. 0 libswscale 4. 8.100 / 4. 8.100 libswresample 2. 9.100 / 2. 9.100 libpostproc 54. 7.100 / 54. 7.100 2022-06-12 20:56:33 Fixnode-WebServer RTSPCam[16364] WARNING Previous ffmpeg process for video2 died. 2022-06-12 20:56:33 Fixnode-WebServer RTSPCam[16364] INFO Spawning ffmpeg for video2 (hPFp4Q0fPWa4ZAsc): ffmpeg -nostdin -loglevel error -y -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -stimeout 15000000 -rtsp_transport tcp -i "rtsp://192.168.1.23:8554/streaming" -c:v copy -ar 32000 -ac 1 -codec:a aac -b:a 32k -metadata streamname=hPFp4Q0fPWa4ZAsc -f flv - | /usr/bin/python3.8 -m unifi.clock_sync | nc 192.168.1.108 7550 2022-06-12 20:56:33 Fixnode-WebServer RTSPCam[16364] INFO Processing [ChangeVideoSettings] message ffmpeg version 3.4.11-0ubuntu0.1 Copyright (c) 2000-2022 the FFmpeg developers built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04) configuration: --prefix=/usr --extra-version=0ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared libavutil 55. 78.100 / 55. 78.100 libavcodec 57.107.100 / 57.107.100 libavformat 57. 83.100 / 57. 83.100 libavdevice 57. 10.100 / 57. 10.100 libavfilter 6.107.100 / 6.107.100 libavresample 3. 7. 0 / 3. 7. 0 libswscale 4. 8.100 / 4. 8.100 libswresample 2. 9.100 / 2. 9.100 libpostproc 54. 7.100 / 54. 7.100 2022-06-12 20:56:33 Fixnode-WebServer RTSPCam[16364] WARNING Previous ffmpeg process for video1 died. 2022-06-12 20:56:33 Fixnode-WebServer RTSPCam[16364] INFO Spawning ffmpeg for video1 (dpscWcAciMgIqoz6): ffmpeg -nostdin -loglevel error -y -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -stimeout 15000000 -rtsp_transport tcp -i "rtsp://192.168.1.23:8554/streaming" -c:v copy -ar 32000 -ac 1 -codec:a aac -b:a 32k -metadata streamname=dpscWcAciMgIqoz6 -f flv - | /usr/bin/python3.8 -m unifi.clock_sync | nc 192.168.1.108 7550 Traceback (most recent call last): File "/usr/lib/python3.8/runpy.py", line 192, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.8/runpy.py", line 85, in _run_code exec(code, run_globals) File "/usr/local/lib/python3.8/dist-packages/unifi/clock_sync.py", line 167, in <module> main() File "/usr/local/lib/python3.8/dist-packages/unifi/clock_sync.py", line 161, in main write(read_bytes(source, payload_size)) File "/usr/local/lib/python3.8/dist-packages/unifi/clock_sync.py", line 87, in write sys.stdout.buffer.write(data) BrokenPipeError: [Errno 32] Broken pipe Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'> BrokenPipeError: [Errno 32] Broken pipe Traceback (most recent call last): File "/usr/lib/python3.8/runpy.py", line 192, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.8/runpy.py", line 85, in _run_code exec(code, run_globals) File "/usr/local/lib/python3.8/dist-packages/unifi/clock_sync.py", line 167, in <module> main() File "/usr/local/lib/python3.8/dist-packages/unifi/clock_sync.py", line 161, in main write(read_bytes(source, payload_size)) File "/usr/local/lib/python3.8/dist-packages/unifi/clock_sync.py", line 87, in write sys.stdout.buffer.write(data) BrokenPipeError: [Errno 32] Broken pipe Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'> BrokenPipeError: [Errno 32] Broken pipe
Same as #199
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.
Whenever I start unifi-cam-proxy I get the following error:
BrokenPipeError: [Errno 32] Broken pipe
The RTSP client I'm using on the raspberry Pi is: https://github.com/cdgriffith/pi_streaming_setup
See my Unif-Cam-Proxy logs below: