Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Static image updates but no live video #709

Closed
sidharthb0 opened this issue Aug 3, 2020 · 19 comments
Closed

Static image updates but no live video #709

sidharthb0 opened this issue Aug 3, 2020 · 19 comments
Labels

Comments

@sidharthb0
Copy link

sidharthb0 commented Aug 3, 2020

Describe The Problem:
I’m using a TP LINK C100 with the Tested Configuration, except that I have removed the port number (554) in the rtsp url since that doesn’t work.

The thumbnail in the home app updates every couple seconds but when I click on the video I get the loading icon and in terminal the following output:

To Reproduce:
Use tested configuration of TP Link C100
Input RTSP stream without port number after IP Address

Logs:

Loading logs using native method...
File: /var/lib/homebridge/homebridge.log

6:33:16] [Camera FFmpeg] [Endeavour] 
[03/08/2020, 16:33:16] [Camera FFmpeg] [Endeavour] [rtsp @ 0x74f440] [verbose] setting jitter buffer size to 0
[03/08/2020, 16:33:16] [Camera FFmpeg] [Endeavour] 
[03/08/2020, 16:33:16] [Camera FFmpeg] [Endeavour] [rtsp @ 0x74f440] [verbose] setting jitter buffer size to 0
[03/08/2020, 16:33:16] [Camera FFmpeg] [Endeavour] 
[03/08/2020, 16:33:16] [Camera FFmpeg] [Endeavour] [h264 @ 0x7527b0] [verbose] Reinit context to 1920x1088, pix_fmt: yuvj420p
[03/08/2020, 16:33:16] [Camera FFmpeg] [Endeavour] 
[03/08/2020, 16:33:18] [Camera FFmpeg] [Endeavour] [warning] 
[03/08/2020, 16:33:18] [Camera FFmpeg] [Endeavour] Guessed Channel Layout for Input Stream #0.1 : mono
[03/08/2020, 16:33:18] [Camera FFmpeg] [Endeavour] [info] Input #0, rtsp, from 'rtsp://xxx:[email protected]/stream1':
[03/08/2020, 16:33:18] [Camera FFmpeg] [Endeavour] [info]   Metadata:
[03/08/2020, 16:33:18] [Camera FFmpeg] [Endeavour] [info]     title           : Session streamed by "TP-LINK RTSP Server"
[03/08/2020, 16:33:18] [Camera FFmpeg] [Endeavour] [info]     comment         : stream1
[03/08/2020, 16:33:18] [Camera FFmpeg] [Endeavour] [info]   Duration: N/A, start: 0.000000, bitrate: N/A
[03/08/2020, 16:33:18] [Camera FFmpeg] [Endeavour] [info]     Stream #0:0: Video: h264 (High), 1 reference frame, yuvj420p(pc, bt709, progressive, left), 1920x1080 (1920x1088), 15 fps, 14.92 tbr, 90k tbn, 30 tbc
[03/08/2020, 16:33:18] [Camera FFmpeg] [Endeavour] [info]     Stream #0:1: Audio: pcm_alaw, 8000 Hz, mono, s16, 64 kb/s
[03/08/2020, 16:33:18] [Camera FFmpeg] [Endeavour] [warning] Codec AVOption preset (Configuration preset) specified for output file #0 (srtp://192.168.1.100:57743?rtcpport=57743&localrtcpport=57743&pkt_size=188) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
[03/08/2020, 16:33:18] [Camera FFmpeg] [Endeavour] 
[03/08/2020, 16:33:18] [Camera FFmpeg] [Endeavour] [warning] Codec AVOption tune (Tune the encoding to a specific scenario) specified for output file #0 (srtp://192.168.1.100:57743?rtcpport=57743&localrtcpport=57743&pkt_size=188) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
[03/08/2020, 16:33:18] [Camera FFmpeg] [Endeavour] [info] Stream mapping:
[03/08/2020, 16:33:18] [Camera FFmpeg] [Endeavour] [info]   Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_omx))
[03/08/2020, 16:33:18] [Camera FFmpeg] [Endeavour] [info] Press [q] to stop, [?] for help
[03/08/2020, 16:33:18] [Camera FFmpeg] [Endeavour] 
[03/08/2020, 16:33:18] [Camera FFmpeg] [Endeavour] [h264 @ 0x76d4a0] [verbose] Reinit context to 1920x1088, pix_fmt: yuvj420p
[03/08/2020, 16:33:18] [Camera FFmpeg] [Endeavour] 
[03/08/2020, 16:33:18] [Camera FFmpeg] [Endeavour] [Parsed_scale_0 @ 0x769ed0] [verbose] w:1024 h:576 flags:'bicubic' interl:0
[03/08/2020, 16:33:18] [Camera FFmpeg] [Endeavour] 
[03/08/2020, 16:33:18] [Camera FFmpeg] [Endeavour] [graph 0 input from stream 0:0 @ 0x76a970] [verbose] w:1920 h:1080 pixfmt:yuvj420p tb:1/90000 fr:179/12 sar:0/1 sws_param:flags=2
[03/08/2020, 16:33:18] [Camera FFmpeg] [Endeavour] 
[03/08/2020, 16:33:18] [Camera FFmpeg] [Endeavour] [swscaler @ 0xe05a60] [warning] deprecated pixel format used, make sure you did set range correctly
[03/08/2020, 16:33:18] [Camera FFmpeg] [Endeavour] 
[03/08/2020, 16:33:19] [Camera FFmpeg] [Endeavour] [Parsed_scale_0 @ 0x769ed0] [verbose] 
[03/08/2020, 16:33:19] [Camera FFmpeg] [Endeavour] w:1920 h:1080 fmt:yuvj420p sar:0/1 -> w:1024 h:576 fmt:yuv420p sar:0/1 flags:0x4
[03/08/2020, 16:33:19] [Camera FFmpeg] [Endeavour] 
[03/08/2020, 16:33:19] [Camera FFmpeg] [Endeavour] ffmpeg exited with code: 255 and signal: null (Unexpected)
[03/08/2020, 16:33:21] [Camera FFmpeg] [Endeavour] Stopped video stream.
[03/08/2020, 16:35:38] [CMDswitch] Hyperpixel is off.
[03/08/2020, 16:35:39] [Bedroom Speakers] Current state for Sonos: paused
[03/08/2020, 16:35:39] [Camera FFmpeg] [Endeavour] Snapshot requested: 1280x720
[03/08/2020, 16:35:39] [Camera FFmpeg] [Endeavour] Sending snapshot: 1024x576
[03/08/2020, 16:35:39] [Camera FFmpeg] [Endeavour] Snapshot command: ffmpeg -rtsp_transport tcp -i rtsp://xxx:[email protected]/stream1 -frames:v 1 -vf scale=1024:576 -f image2 -
[03/08/2020, 16:35:50] [Camera FFmpeg] [Endeavour] Unable to get ipv4 address for 192.168.1.1! Falling back to public.
[03/08/2020, 16:35:50] [Camera FFmpeg] [Endeavour] Video stream requested: 1280x720, 30 fps, 299 kbps
[03/08/2020, 16:35:50] [Camera FFmpeg] [Endeavour] Starting video stream: 1024x576, 15 fps, 299 kbps
[03/08/2020, 16:35:50] [Camera FFmpeg] [Endeavour] Stream command: ffmpeg -rtsp_transport tcp -i rtsp://xxx:[email protected]/stream1 -map 0:0 -vcodec h264_omx -pix_fmt yuv420p -r 15 -f rawvideo -preset ultrafast -tune zerolatency -vf scale=1024:576 -b:v 299k -bufsize 598k -maxrate 299k -payload_type 99 -ssrc 9677771 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params XQjbvKqD0h6O8sHuwnmegGV0dC2NvRiHk90/IM6p srtp://192.168.1.6:61156?rtcpport=61156&localrtcpport=61156&pkt_size=188 -loglevel level+verbose
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] Received first frame.
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] [info] ffmpeg version 4.1.4-1+rpt7~deb10u1 Copyright (c) 2000-2019 the FFmpeg developers
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] [info]   built with gcc 8 (Raspbian 8.3.0-6+rpi1)
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] [info] 
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour]   configuration: --prefix=/usr --extra-version='1+rpt7~deb10u1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared --libdir=/usr/lib/arm-linux-gnueabihf --cpu=arm1176jzf-s --arch=arm
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] [info]   WARNING: library configuration mismatch
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] [info]   avutil      configuration: --prefix=/usr --extra-version='1+rpt7~deb10u1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] [info]   avcodec     configuration: --prefix=/usr --extra-version='1+rpt7~deb10u1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] [info]   avformat    configuration: --prefix=/usr --extra-version='1+rpt7~deb10u1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] [info]   avdevice    configuration: --prefix=/usr --extra-version='1+rpt7~deb10u1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] [info]   avfilter    configuration: --prefix=/usr --extra-version='1+rpt7~deb10u1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] [info]   avresample  configuration: --prefix=/usr --extra-version='1+rpt7~deb10u1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] [info]   swscale     configuration: --prefix=/usr --extra-version='1+rpt7~deb10u1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] [info]   swresample  configuration: --prefix=/usr --extra-version='1+rpt7~deb10u1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] [info]   postproc    configuration: --prefix=/usr --extra-version='1+rpt7~deb10u1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] [info]   libavutil      56. 22.100 / 56. 22.100
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] [info]   libavcodec     58. 35.100 / 58. 35.100
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] [info]   libavformat    58. 20.100 / 58. 20.100
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] [info]   libavdevice    58.  5.100 / 58.  5.100
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] [info]   libavfilter     7. 40.101 /  7. 40.101
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] [info]   libavresample   4.  0.  0 /  4.  0.  0
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] [info]   libswscale      5.  3.100 /  5.  3.100
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] [info]   libswresample   3.  3.100 /  3.  3.100
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] [info]   libpostproc    55.  3.100 / 55.  3.100
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] 
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] [tcp @ 0x9ef420] [verbose] Starting connection attempt to 192.168.1.23 port 554
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] 
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] [tcp @ 0x9ef420] [verbose] Successfully connected to 192.168.1.23 port 554
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] 
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] [rtsp @ 0x9ed440] [verbose] SDP:
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] v=0
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] o=- 34372621 1 IN IP4 192.168.1.23
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] s=Session streamed by "TP-LINK RTSP Server"
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] i=stream1
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] t=0 0
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] a=tool:TP-LINK Streaming Media v2015.05.12
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] a=type:broadcast
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] a=control:*
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] a=range:npt=0-
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] a=x-qt-text-nam:Session streamed by "TP-LINK RTSP Server"
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] m=video 0 RTP/AVP 96
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] c=IN IP4 0.0.0.0
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] b=AS:8192
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] a=rtpmap:96 H264/90000
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] a=fmtp:96 packetization-mode=1; profile-level-id=640029; sprop-parameter-sets=Z2QAKawa0A8ARPyzcBAQFAAAAwAEAAADAHo8UIqA,aO4ESSJA
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] a=control:track1
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] m=audio 0 RTP/AVP 8
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] c=IN IP4 0.0.0.0
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] b=AS:64
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] a=rtpmap:8 PCMA/8000
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] a=control:track2
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] 
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] 
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] [rtsp @ 0x9ed440] [verbose] setting jitter buffer size to 0
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] 
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] [rtsp @ 0x9ed440] [verbose] setting jitter buffer size to 0
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] 
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] [h264 @ 0x9f07b0] 
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] [verbose] Reinit context to 1920x1088, pix_fmt: yuvj420p
[03/08/2020, 16:35:51] [Camera FFmpeg] [Endeavour] 
[03/08/2020, 16:35:53] [Camera FFmpeg] [Endeavour] [warning] Guessed Channel Layout for Input Stream #0.1 : mono
[03/08/2020, 16:35:53] [Camera FFmpeg] [Endeavour] [info] Input #0, rtsp, from 'rtsp://xxx:[email protected]/stream1':
[03/08/2020, 16:35:53] [Camera FFmpeg] [Endeavour] 
[03/08/2020, 16:35:53] [Camera FFmpeg] [Endeavour] [info]   Metadata:
[03/08/2020, 16:35:53] [Camera FFmpeg] [Endeavour] [info]     title           : Session streamed by "TP-LINK RTSP Server"
[03/08/2020, 16:35:53] [Camera FFmpeg] [Endeavour] [info]     comment         : stream1
[03/08/2020, 16:35:53] [Camera FFmpeg] [Endeavour] [info]   Duration: N/A, start: 0.000000, bitrate: N/A
[03/08/2020, 16:35:53] [Camera FFmpeg] [Endeavour] [info]     Stream #0:0: Video: h264 (High), 1 reference frame, yuvj420p(pc, bt709, progressive, left), 1920x1080 (1920x1088), 15 fps, 14.92 tbr, 90k tbn, 30 tbc
[03/08/2020, 16:35:53] [Camera FFmpeg] [Endeavour] [info]     Stream #0:1: Audio: pcm_alaw, 8000 Hz, mono, s16, 64 kb/s
[03/08/2020, 16:35:53] [Camera FFmpeg] [Endeavour] 
[03/08/2020, 16:35:53] [Camera FFmpeg] [Endeavour] [warning] Codec AVOption preset (Configuration preset) specified for output file #0 (srtp://192.168.1.6:61156?rtcpport=61156&localrtcpport=61156&pkt_size=188) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
[03/08/2020, 16:35:53] [Camera FFmpeg] [Endeavour] 
[03/08/2020, 16:35:53] [Camera FFmpeg] [Endeavour] [warning] Codec AVOption tune (Tune the encoding to a specific scenario) specified for output file #0 (srtp://192.168.1.6:61156?rtcpport=61156&localrtcpport=61156&pkt_size=188) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
[03/08/2020, 16:35:53] [Camera FFmpeg] [Endeavour] 
[03/08/2020, 16:35:53] [Camera FFmpeg] [Endeavour] [info] Stream mapping:
[03/08/2020, 16:35:53] [Camera FFmpeg] [Endeavour] [info]   Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_omx))
[03/08/2020, 16:35:53] [Camera FFmpeg] [Endeavour] [info] Press [q] to stop, [?] for help
[03/08/2020, 16:35:53] [Camera FFmpeg] [Endeavour] 
[03/08/2020, 16:35:53] [Camera FFmpeg] [Endeavour] [h264 @ 0xa0b010] [verbose] Reinit context to 1920x1088, pix_fmt: yuvj420p
[03/08/2020, 16:35:53] [Camera FFmpeg] [Endeavour] 
[03/08/2020, 16:35:53] [Camera FFmpeg] [Endeavour] [Parsed_scale_0 @ 0xb3a750] [verbose] w:1024 h:576 flags:'bicubic' interl:0
[03/08/2020, 16:35:53] [Camera FFmpeg] [Endeavour] 
[03/08/2020, 16:35:53] [Camera FFmpeg] [Endeavour] [graph 0 input from stream 0:0 @ 0xa0dec0] [verbose] w:1920 h:1080 pixfmt:yuvj420p tb:1/90000 fr:179/12 sar:0/1 sws_param:flags=2
[03/08/2020, 16:35:53] [Camera FFmpeg] [Endeavour] [swscaler @ 0x10a1e90] [warning] deprecated pixel format used, make sure you did set range correctly
[03/08/2020, 16:35:53] [Camera FFmpeg] [Endeavour] 
[03/08/2020, 16:35:53] [Camera FFmpeg] [Endeavour] [Parsed_scale_0 @ 0xb3a750] [verbose] w:1920 h:1080 fmt:yuvj420p sar:0/1 -> w:1024 h:576 fmt:yuv420p sar:0/1 flags:0x4
[03/08/2020, 16:35:53] [Camera FFmpeg] [Endeavour] 
[03/08/2020, 16:35:53] [Camera FFmpeg] [Endeavour] ffmpeg exited with code: 255 and signal: null (Unexpected)
[03/08/2020, 16:35:53] [Camera FFmpeg] [Endeavour] Snapshot requested: 1280x720
[03/08/2020, 16:35:53] [Camera FFmpeg] [Endeavour] Sending snapshot: 1024x576
[03/08/2020, 16:35:53] [Camera FFmpeg] [Endeavour] Snapshot command: ffmpeg -rtsp_transport tcp -i rtsp://xxx:[email protected]/stream1 -frames:v 1 -vf scale=1024:576 -f image2 -
[03/08/2020, 16:35:57] [Camera FFmpeg] [Endeavour] Stopped video stream.
[03/08/2020, 16:36:37] [CMDswitch] Hyperpixel is off.
[03/08/2020, 16:36:38] [CMDswitch] Hyperpixel is off.
[03/08/2020, 16:36:38] [Bedroom Speakers] Current state for Sonos: paused
[03/08/2020, 16:36:58] [Camera FFmpeg] [Endeavour] Snapshot requested: 640x360
[03/08/2020, 16:36:58] [Camera FFmpeg] [Endeavour] Sending snapshot: 640x360
[03/08/2020, 16:36:58] [Camera FFmpeg] [Endeavour] Snapshot command: ffmpeg -rtsp_transport tcp -i rtsp://xxx:[email protected]/stream1 -frames:v 1 -vf scale=640:360 -f image2 -
[03/08/2020, 16:37:01] [CMDswitch] Hyperpixel is off.
[03/08/2020, 16:37:01] [Bedroom Speakers] Current state for Sonos: paused
[03/08/2020, 16:37:01] [Camera FFmpeg] [Endeavour] Unable to get ipv4 address for 192.168.1.1! Falling back to public.
[03/08/2020, 16:37:16] [Camera FFmpeg] [Endeavour] Video stream requested: 1280x720, 30 fps, 299 kbps
[03/08/2020, 16:37:16] [Camera FFmpeg] [Endeavour] Starting video stream: 1024x576, 15 fps, 299 kbps
[03/08/2020, 16:37:16] [Camera FFmpeg] [Endeavour] Stream command: ffmpeg -rtsp_transport tcp -i rtsp://xxx:[email protected]/stream1 -map 0:0 -vcodec h264_omx -pix_fmt yuv420p -r 15 -f rawvideo -preset ultrafast -tune zerolatency -vf scale=1024:576 -b:v 299k -bufsize 598k -maxrate 299k -payload_type 99 -ssrc 14814306 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params wwoh/TOhUU1YiVah1p38K9HygwYr/rO8VOR5g3KP srtp://192.168.1.29:59068?rtcpport=59068&localrtcpport=59068&pkt_size=188 -loglevel level+verbose
[03/08/2020, 16:37:16] [Camera FFmpeg] [Endeavour] Received first frame.
[03/08/2020, 16:37:16] [Camera FFmpeg] [Endeavour] [info] ffmpeg version 4.1.4-1+rpt7~deb10u1 Copyright (c) 2000-2019 the FFmpeg developers
[03/08/2020, 16:37:16] [Camera FFmpeg] [Endeavour] [info]   built with gcc 8 (Raspbian 8.3.0-6+rpi1)
[03/08/2020, 16:37:16] [Camera FFmpeg] [Endeavour] [info]   configuration: --prefix=/usr --extra-version='1+rpt7~deb10u1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared --libdir=/usr/lib/arm-linux-gnueabihf --cpu=arm1176jzf-s --arch=arm
[03/08/2020, 16:37:16] [Camera FFmpeg] [Endeavour] 
[03/08/2020, 16:37:16] [Camera FFmpeg] [Endeavour] [info]   WARNING: library configuration mismatch
[03/08/2020, 16:37:16] [Camera FFmpeg] [Endeavour] [info]   avutil      configuration: --prefix=/usr --extra-version='1+rpt7~deb10u1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
[03/08/2020, 16:37:16] [Camera FFmpeg] [Endeavour] [info]   avcodec     configuration: --prefix=/usr --extra-version='1+rpt7~deb10u1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
[03/08/2020, 16:37:16] [Camera FFmpeg] [Endeavour] [info]   avformat    configuration: --prefix=/usr --extra-version='1+rpt7~deb10u1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
[03/08/2020, 16:37:16] [Camera FFmpeg] [Endeavour] [info]   avdevice    configuration: --prefix=/usr --extra-version='1+rpt7~deb10u1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
[03/08/2020, 16:37:16] [Camera FFmpeg] [Endeavour] [info]   avfilter    configuration: --prefix=/usr --extra-version='1+rpt7~deb10u1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
[03/08/2020, 16:37:16] [Camera FFmpeg] [Endeavour] [info]   avresample  configuration: --prefix=/usr --extra-version='1+rpt7~deb10u1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
[03/08/2020, 16:37:16] [Camera FFmpeg] [Endeavour] [info]   swscale     configuration: --prefix=/usr --extra-version='1+rpt7~deb10u1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
[03/08/2020, 16:37:16] [Camera FFmpeg] [Endeavour] [info]   swresample  configuration: --prefix=/usr --extra-version='1+rpt7~deb10u1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
[03/08/2020, 16:37:16] [Camera FFmpeg] [Endeavour] [info]   postproc    configuration: --prefix=/usr --extra-version='1+rpt7~deb10u1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
[03/08/2020, 16:37:16] [Camera FFmpeg] [Endeavour] [info]   libavutil      56. 22.100 / 56. 22.100
[03/08/2020, 16:37:16] [Camera FFmpeg] [Endeavour] [info]   libavcodec     58. 35.100 / 58. 35.100
[03/08/2020, 16:37:16] [Camera FFmpeg] [Endeavour] [info]   libavformat    58. 20.100 / 58. 20.100
[03/08/2020, 16:37:16] [Camera FFmpeg] [Endeavour] [info]   libavdevice    58.  5.100 / 58.  5.100
[03/08/2020, 16:37:16] [Camera FFmpeg] [Endeavour] [info]   libavfilter     7. 40.101 /  7. 40.101
[03/08/2020, 16:37:16] [Camera FFmpeg] [Endeavour] [info]   libavresample   4.  0.  0 /  4.  0.  0
[03/08/2020, 16:37:16] [Camera FFmpeg] [Endeavour] [info]   libswscale      5.  3.100 /  5.  3.100
[03/08/2020, 16:37:16] [Camera FFmpeg] [Endeavour] [info]   libswresample   3.  3.100 /  3.  3.100
[03/08/2020, 16:37:16] [Camera FFmpeg] [Endeavour] [info]   libpostproc    55.  3.100 / 55.  3.100
[03/08/2020, 16:37:16] [Camera FFmpeg] [Endeavour] 
[03/08/2020, 16:37:16] [Camera FFmpeg] [Endeavour] [tcp @ 0x16de420] [verbose] Starting connection attempt to 192.168.1.23 port 554
[03/08/2020, 16:37:16] [Camera FFmpeg] [Endeavour] 
[03/08/2020, 16:37:16] [Camera FFmpeg] [Endeavour] [tcp @ 0x16de420] [verbose] Successfully connected to 192.168.1.23 port 554
[03/08/2020, 16:37:16] [Camera FFmpeg] [Endeavour] 
[03/08/2020, 16:37:16] [Camera FFmpeg] [Endeavour] Stopped video stream.
[03/08/2020, 16:37:16] [Camera FFmpeg] [Endeavour] ffmpeg exited with code: null and signal: SIGKILL (Expected)
[03/08/2020, 16:37:16] [Camera FFmpeg] [Endeavour] Unable to get ipv4 address for 192.168.1.1! Falling back to public.
[03/08/2020, 16:37:18] [Camera FFmpeg] [Endeavour] Stopped video stream.
[03/08/2020, 16:39:57] [CMDswitch] Hyperpixel is off.
[03/08/2020, 16:39:57] [Bedroom Speakers] Current state for Sonos: paused
[03/08/2020, 16:39:58] [Camera FFmpeg] [Endeavour] Unable to get ipv4 address for 192.168.1.1! Falling back to public.
[03/08/2020, 16:40:02] [Camera FFmpeg] [Endeavour] Stopped video stream.
[03/08/2020, 16:40:02] [Camera FFmpeg] [Endeavour] Snapshot requested: 640x360
[03/08/2020, 16:40:02] [Camera FFmpeg] [Endeavour] Sending snapshot: 640x360
[03/08/2020, 16:40:02] [Camera FFmpeg] [Endeavour] Snapshot command: ffmpeg -rtsp_transport tcp -i rtsp://xxx:[email protected]/stream1 -frames:v 1 -vf scale=640:360 -f image2 -
[03/08/2020, 16:40:26] [CMDswitch] Hyperpixel is off.
[03/08/2020, 16:40:26] [Bedroom Speakers] Current state for Sonos: paused
[03/08/2020, 16:44:30] [CMDswitch] Hyperpixel is off.
[03/08/2020, 16:44:30] [Bedroom Speakers] Current state for Sonos: paused
[03/08/2020, 16:44:31] [Camera FFmpeg] [Endeavour] Snapshot requested: 640x360
[03/08/2020, 16:44:31] [Camera FFmpeg] [Endeavour] Sending snapshot: 640x360
[03/08/2020, 16:44:31] [Camera FFmpeg] [Endeavour] Snapshot command: ffmpeg -rtsp_transport tcp -i rtsp://xxx:[email protected]/stream1 -frames:v 1 -vf scale=640:360 -f image2 -
[03/08/2020, 16:44:40] [CMDswitch] Hyperpixel is off.
[03/08/2020, 16:44:40] [Bedroom Speakers] Current state for Sonos: paused
[03/08/2020, 16:44:49] [Camera FFmpeg] [Endeavour] Unable to get ipv4 address for 192.168.1.1! Falling back to public.
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] Video stream requested: 1280x720, 30 fps, 299 kbps
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] Starting video stream: 1024x576, 15 fps, 299 kbps
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] Stream command: ffmpeg -rtsp_transport tcp -i rtsp://xxx:[email protected]/stream1 -map 0:0 -vcodec h264_omx -pix_fmt yuv420p -r 15 -f rawvideo -preset ultrafast -tune zerolatency -vf scale=1024:576 -b:v 299k -bufsize 598k -maxrate 299k -payload_type 99 -ssrc 13581517 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params mhlmAQHU5joX4gZXhpTBRt41iULioG1o0WmYc+4p srtp://192.168.1.29:61431?rtcpport=61431&localrtcpport=61431&pkt_size=188 -loglevel level+verbose
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] Received first frame.
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] [info] ffmpeg version 4.1.4-1+rpt7~deb10u1 Copyright (c) 2000-2019 the FFmpeg developers
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] [info]   built with gcc 8 (Raspbian 8.3.0-6+rpi1)
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] [info] 
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour]   configuration: --prefix=/usr --extra-version='1+rpt7~deb10u1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared --libdir=/usr/lib/arm-linux-gnueabihf --cpu=arm1176jzf-s --arch=arm
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] [info]   WARNING: library configuration mismatch
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] [info]   avutil      configuration: --prefix=/usr --extra-version='1+rpt7~deb10u1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] [info]   avcodec     configuration: --prefix=/usr --extra-version='1+rpt7~deb10u1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] [info]   avformat    configuration: --prefix=/usr --extra-version='1+rpt7~deb10u1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] [info]   avdevice    configuration: --prefix=/usr --extra-version='1+rpt7~deb10u1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] [info]   avfilter    configuration: --prefix=/usr --extra-version='1+rpt7~deb10u1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] [info]   avresample  configuration: --prefix=/usr --extra-version='1+rpt7~deb10u1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] [info]   swscale     configuration: --prefix=/usr --extra-version='1+rpt7~deb10u1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] [info]   swresample  configuration: --prefix=/usr --extra-version='1+rpt7~deb10u1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] [info]   postproc    configuration: --prefix=/usr --extra-version='1+rpt7~deb10u1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] [info]   libavutil      56. 22.100 / 56. 22.100
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] [info]   libavcodec     58. 35.100 / 58. 35.100
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] [info]   libavformat    58. 20.100 / 58. 20.100
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] [info]   libavdevice    58.  5.100 / 58.  5.100
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] [info]   libavfilter     7. 40.101 /  7. 40.101
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] [info]   libavresample   4.  0.  0 /  4.  0.  0
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] [info]   libswscale      5.  3.100 /  5.  3.100
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] [info]   libswresample   3.  3.100 /  3.  3.100
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] [info]   libpostproc    55.  3.100 / 55.  3.100
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] 
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] [tcp @ 0x1bb0420] [verbose] Starting connection attempt to 192.168.1.23 port 554
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] 
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] [tcp @ 0x1bb0420] [verbose] Successfully connected to 192.168.1.23 port 554
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] 
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] [rtsp @ 0x1bae440] [verbose] SDP:
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] v=0
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] o=- 34372621 1 IN IP4 192.168.1.23
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] s=Session streamed by "TP-LINK RTSP Server"
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] i=stream1
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] t=0 0
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] a=tool:TP-LINK Streaming Media v2015.05.12
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] a=type:broadcast
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] a=control:*
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] a=range:npt=0-
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] a=x-qt-text-nam:Session streamed by "TP-LINK RTSP Server"
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] m=video 0 RTP/AVP 96
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] c=IN IP4 0.0.0.0
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] b=AS:8192
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] a=rtpmap:96 H264/90000
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] a=fmtp:96 packetization-mode=1; profile-level-id=640029; sprop-parameter-sets=Z2QAKawa0A8ARPyzcBAQFAAAAwAEAAADAHo8UIqA,aO4ESSJA
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] a=control:track1
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] m=audio 0 RTP/AVP 8
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] c=IN IP4 0.0.0.0
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] b=AS:64
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] a=rtpmap:8 PCMA/8000
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] a=control:track2
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] 
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] 
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] [rtsp @ 0x1bae440] [verbose] setting jitter buffer size to 0
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] 
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] [rtsp @ 0x1bae440] [verbose] setting jitter buffer size to 0
[03/08/2020, 16:44:51] [Camera FFmpeg] [Endeavour] 
[03/08/2020, 16:44:52] [Camera FFmpeg] [Endeavour] [h264 @ 0x1bb17b0] [verbose] Reinit context to 1920x1088, pix_fmt: yuvj420p
[03/08/2020, 16:44:52] [Camera FFmpeg] [Endeavour] 
[03/08/2020, 16:44:54] [Camera FFmpeg] [Endeavour] [warning] Guessed Channel Layout for Input Stream #0.1 : mono
[03/08/2020, 16:44:54] [Camera FFmpeg] [Endeavour] 
[03/08/2020, 16:44:54] [Camera FFmpeg] [Endeavour] [info] Input #0, rtsp, from 'rtsp://xxx:[email protected]/stream1':
[03/08/2020, 16:44:54] [Camera FFmpeg] [Endeavour] [info]   Metadata:
[03/08/2020, 16:44:54] [Camera FFmpeg] [Endeavour] [info]     title           : Session streamed by "TP-LINK RTSP Server"
[03/08/2020, 16:44:54] [Camera FFmpeg] [Endeavour] [info]     comment         : stream1
[03/08/2020, 16:44:54] [Camera FFmpeg] [Endeavour] [info]   Duration: N/A, start: 0.000000, bitrate: N/A
[03/08/2020, 16:44:54] [Camera FFmpeg] [Endeavour] [info]     Stream #0:0: Video: h264 (High), 1 reference frame, yuvj420p(pc, bt709, progressive, left), 1920x1080 (1920x1088), 15 fps, 14.92 tbr, 90k tbn, 30 tbc
[03/08/2020, 16:44:54] [Camera FFmpeg] [Endeavour] [info]     Stream #0:1: Audio: pcm_alaw, 8000 Hz, mono, s16, 64 kb/s
[03/08/2020, 16:44:54] [Camera FFmpeg] [Endeavour] 
[03/08/2020, 16:44:54] [Camera FFmpeg] [Endeavour] [warning] Codec AVOption preset (Configuration preset) specified for output file #0 (srtp://192.168.1.29:61431?rtcpport=61431&localrtcpport=61431&pkt_size=188) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
[03/08/2020, 16:44:54] [Camera FFmpeg] [Endeavour] 
[03/08/2020, 16:44:54] [Camera FFmpeg] [Endeavour] [warning] Codec AVOption tune (Tune the encoding to a specific scenario) specified for output file #0 (srtp://192.168.1.29:61431?rtcpport=61431&localrtcpport=61431&pkt_size=188) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
[03/08/2020, 16:44:54] [Camera FFmpeg] [Endeavour] 
[03/08/2020, 16:44:54] [Camera FFmpeg] [Endeavour] [info] Stream mapping:
[03/08/2020, 16:44:54] [Camera FFmpeg] [Endeavour] [info]   Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_omx))
[03/08/2020, 16:44:54] [Camera FFmpeg] [Endeavour] [info] Press [q] to stop, [?] for help
[03/08/2020, 16:44:54] [Camera FFmpeg] [Endeavour] 
[03/08/2020, 16:44:54] [Camera FFmpeg] [Endeavour] [h264 @ 0x1be9780] [verbose] Reinit context to 1920x1088, pix_fmt: yuvj420p
[03/08/2020, 16:44:54] [Camera FFmpeg] [Endeavour] 
[03/08/2020, 16:44:54] [Camera FFmpeg] [Endeavour] [Parsed_scale_0 @ 0x1bccb70] [verbose] w:1024 h:576 flags:'bicubic' interl:0
[03/08/2020, 16:44:54] [Camera FFmpeg] [Endeavour] [graph 0 input from stream 0:0 @ 0x1bae320] [verbose] w:1920 h:1080 pixfmt:yuvj420p tb:1/90000 fr:179/12 sar:0/1 sws_param:flags=2
[03/08/2020, 16:44:54] [Camera FFmpeg] [Endeavour] 
[03/08/2020, 16:44:54] [Camera FFmpeg] [Endeavour] [swscaler @ 0x22640c0] [warning] deprecated pixel format used, make sure you did set range correctly
[03/08/2020, 16:44:54] [Camera FFmpeg] [Endeavour] 
[03/08/2020, 16:44:54] [Camera FFmpeg] [Endeavour] [Parsed_scale_0 @ 0x1bccb70] [verbose] w:1920 h:1080 fmt:yuvj420p sar:0/1 -> w:1024 h:576 fmt:yuv420p sar:0/1 flags:0x4
[03/08/2020, 16:44:54] [Camera FFmpeg] [Endeavour] 
[03/08/2020, 16:44:54] [Camera FFmpeg] [Endeavour] ffmpeg exited with code: 255 and signal: null (Unexpected)
[03/08/2020, 16:45:07] [Camera FFmpeg] [Endeavour] Stopped video stream.

Homebridge Config:

{
    "bridge": {
        "name": "xxx",
        "username": "xxx",
        "port": xxx,
        "pin": "xxx"
    },
    "accessories": [
        {
            "name": "Bedroom Speakers",
            "room": "Rokits",
            "groupCacheLifetime": 15,
            "deviceCacheLifetime": 3600,
            "accessory": "Sonos"
        }
    ],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "platform": "config",
            "sudo": true,
            "log": {
                "method": "native",
                "path": "/var/lib/homebridge/homebridge.log"
            },
            "sessionTimeout": 28800
        },
        {
            "name": "TPLink",
            "platform": "TplinkSmarthome"
        },
        {
            "platform": "cmdSwitch2",
            "name": "CMDswitch",
            "switches": [
                {
                    "name": "Hyperpixel",
                    "on_cmd": "python ~/Pimoroni/hyperon.py",
                    "off_cmd": "python ~/Pimoroni/hyperoff.py"
                }
            ]
        },
        {
            "name": "Camera FFmpeg",
            "interfaceName": "192.168.1.1",
            "cameras": [
                {
                    "name": "Endeavour",
                    "manufacturer": "TP-Link",
                    "model": "C100",
                    "motion": false,
                    "videoConfig": {
                        "source": "-rtsp_transport tcp -i rtsp://xxx:[email protected]/stream1",
                        "stillImageSource": "-rtsp_transport tcp -i rtsp://xxx:[email protected]/stream1",
                        "maxStreams": 2,
                        "maxWidth": 1024,
                        "maxHeight": 576,
                        "maxFPS": 15,
                        "maxBitrate": 300,
                        "vcodec": "h264_omx",
                        "packetSize": 188,
                        "audio": false,
                        "debug": true
                    }
                }
            ],
            "platform": "Camera-ffmpeg"
        }
    ]
}

Screenshots:
None

Environment:

  • Node.js Version: v10.21.0
  • NPM Version: 6.14.5
  • Homebridge Version: 1.1.1
  • Homebridge Camera FFmpeg Version: homebridge-camera-ffmpeg v2.4.3
  • Homebridge Config UI X Plugin Version: homebridge-config-ui-x v4.23.2
  • Operating System: Raspbian
@Sunoo
Copy link
Collaborator

Sunoo commented Aug 3, 2020

I haven’t had a chance to go through your logs yet, but the value you have for interfaceName is definitely wrong. It looks like you used your gateway address, but it should be set to the name of the network interface. On Raspbian that would typically be eth0 for Ethernet or wlan0 for WiFi. It also shouldn’t be needed at all unless you have multiple network interfaces active.

@sidharthb0
Copy link
Author

Right, my bad. I didn’t see that. I don’t currently have an Ethernet cable plugged in as well so I’ll just get rid of it. Thanks.

Looking forward to your thoughts on the stream issue. Cheers!

@Sunoo
Copy link
Collaborator

Sunoo commented Aug 3, 2020

Not a big deal, if that is set to a bad value, the code will fall back to trying to autodetect, the same as if you had nothing set at all. So that really shouldn't be your problem or anything.

As for your logs, I think I'm gonna have to trace through the code a bit. Can you tell me if you did anything to stop the stream, or if ffmpeg exited with code: 255 and signal: null (Unexpected) comes up without any interaction from you when trying to watch the video?

Also, even though I don't see videoProcessor defined in your config, it appears that it is using the system version of ffmpeg instead of the one packaged with the plugin. Can you tell me how you installed the plugin? Was it manually from the terminal, or from within Config UI X? Could you run file /usr/lib/node_modules/homebridge-camera-ffmpeg/node_modules/ffmpeg-for-homebridge/ffmpeg and tell me what you get?

@sidharthb0
Copy link
Author

sidharthb0 commented Aug 3, 2020

The stream ends unexpectedly when I tap on the thumbnail inside the home app and I get a spinner on the image. That’s when the code: 255 error is thrown.

I installed it using the config-ui-x plugin manager.

Also I tried running your command and I get ‘file not found’. I manually went into that folder and I don’t see an ffmpeg file. The only files there are

index.js

install.sh

package.json

readme

@Sunoo
Copy link
Collaborator

Sunoo commented Aug 3, 2020

Interesting, looks like it was unable to download FFmpeg for some reason. Typically that’s because of a permission issue, but Config UI X should have handled those properly.

You said you’re on Raspbian, could you tell me which model of Raspberry Pi you’re running on? Could you also open a terminal and run npm install ffmpeg-for-homebridge and tell me the results, and the results of file node_modules/ffmpeg-for-homebridge/ffmpeg afterwards? That npm command will create a package-lock.json file and a node_modules folder, both of which can be deleted after running it.

@sidharthb0
Copy link
Author

I’m using a Pi 3A+ to run homebridge.

I installed ffmpeg-for-homebridge using npm and it created a node_modules and package.json file but there is no ffmpeg file inside the ffmpeg-for-homebridge folder, again. It has the same 4 files I posted in the previous comment.

@Sunoo
Copy link
Collaborator

Sunoo commented Aug 4, 2020

Can you share the full output of that npm install command? Also, could you share the output of npm config list? Really trying to figure out why that binary isn't getting pulled down. Thanks.

@sidharthb0
Copy link
Author

sidharthb0 commented Aug 4, 2020

Sure. Here it is:

pi@home:~ $ sudo npm install ffmpeg-for-homebridge

[email protected] install /home/pi/node_modules/ffmpeg-for-homebridge
node install.js

Failed to download ffmpeg binary.
If you are installing this plugin as a global module (-g) make sure you add the --unsafe-perm flag to the install command.

The homebridge plugin has been installed, however you may need to install ffmpeg separately.

npm WARN saveError ENOENT: no such file or directory, open '/home/pi/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
npm WARN pi No description
npm WARN pi No repository field.
npm WARN pi No README data
npm WARN pi No license field.

+ [email protected]
updated 1 package, moved 15 packages and audited 30 packages in 12.666s

2 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

and

pi@home:~ $ npm config list
; cli configs
metrics-registry = "https://registry.npmjs.org/"
scope = ""
user-agent = "npm/6.14.5 node/v10.21.0 linux arm"

; builtin config undefined
globalconfig = "/etc/npmrc"
globalignorefile = "/etc/npmignore"
prefix = "/usr/local"

; node bin location = /usr/bin/node
; cwd = /home/pi
; HOME = /home/pi
; "npm config ls -l" to show all defaults.

Do I have to install globally or inside the homebridge user specifically?

@Sunoo
Copy link
Collaborator

Sunoo commented Aug 4, 2020

If you're running it with sudo, you'll need to include --unsafe-perm. That was just a test to try to see what errors you were getting. To actually have it get used by the plugin, you'll need to force reinstall the entire plugin: sudo npm install --force -g homebridge-camera-ffmpeg --unsafe-perm.

@sidharthb0
Copy link
Author

I’ve done that now. This is the output:

[email protected] updated 1 package in 19.063s

Reboot and that’s it?

@Sunoo
Copy link
Collaborator

Sunoo commented Aug 4, 2020

I don't understand what is going on with your setup, it should have had similar output to your previous install.

Maybe just try removing it sudo npm remove -g homebridge-camera-ffmpeg and reinstalling sudo npm install -g homebridge-camera-ffmpeg --unsafe-perm?

@sidharthb0
Copy link
Author

I’ve done that now. Seems to have installed correctly.

pi@home:~ $ sudo npm remove -g homebridge-camera-ffmpeg
removed 94 packages in 5.537s
pi@home:~ $ sudo npm install -g homebridge-camera-ffmpeg --unsafe-perm

> [email protected] install /usr/local/lib/node_modules/homebridge-camera-ffmpeg/node_modules/ffmpeg-for-homebridge
> node install.js

ffmpeg version 4.2.2-d1e8be3 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 6.3.0 (Raspbian 6.3.0-18+rpi1+deb9u1) 20170516
  configuration: --pkgconfigdir=/build/workspace/lib/pkgconfig --prefix=/build/workspace --pkg-config-flags=--static --extra-cflags=-I/build/workspace/include --extra-ldflags=-L/build/workspace/lib --extra-libs='-lpthread -lm' --enable-static --disable-debug --disable-shared --disable-ffplay --disable-doc --enable-openssl --enable-gpl --enable-version3 --enable-nonfree --enable-pthreads --enable-libvpx --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libx264 --enable-runtime-cpudetect --enable-libfdk-aac --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enable-decoder=h264 --enable-network --enable-protocol=tcp --enable-libspeex --enable-demuxer=rtsp --enable-omx-rpi --enable-mmal --enable-indev=alsa --enable-outdev=alsa
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100

ffmpeg has been downloaded to /usr/local/lib/node_modules/homebridge-camera-ffmpeg/node_modules/ffmpeg-for-homebridge/ffmpeg
Thank you for using https://github.com/homebridge/ffmpeg-for-homebridge

+ [email protected]
added 94 packages from 57 contributors in 89.11s

@Sunoo
Copy link
Collaborator

Sunoo commented Aug 4, 2020

Great, now that we've resolved that, any chance your video is working now?

@sidharthb0
Copy link
Author

Unfortunately not. Here's the log:

[04/08/2020, 20:18:35] [CMDswitch] Hyperpixel is off.
[04/08/2020, 20:18:35] [Bedroom Speakers] Current state for Sonos: stopped
[04/08/2020, 20:18:35] [Camera FFmpeg] [Endeavour] Snapshot requested: 1280x720
[04/08/2020, 20:18:35] [Camera FFmpeg] [Endeavour] Sending snapshot: 1024x576
[04/08/2020, 20:18:35] [Camera FFmpeg] [Endeavour] Snapshot command: /usr/local/lib/node_modules/homebridge-camera-ffmpeg/node_modules/ffmpeg-for-homebridge/ffmpeg -rtsp_transport tcp -i rtsp://user:[email protected]/stream1 -frames:v 1 -vf scale=1024:576 -f image2 -
[04/08/2020, 20:18:41] [Camera FFmpeg] [Endeavour] Video stream requested: 1280x720, 30 fps, 299 kbps
[04/08/2020, 20:18:41] [Camera FFmpeg] [Endeavour] Starting video stream: 1024x576, 15 fps, 299 kbps
[04/08/2020, 20:18:41] [Camera FFmpeg] [Endeavour] Stream command: /usr/local/lib/node_modules/homebridge-camera-ffmpeg/node_modules/ffmpeg-for-homebridge/ffmpeg -rtsp_transport tcp -i rtsp://user:[email protected]/stream1 -map 0:0 -vcodec h264_omx -pix_fmt yuv420p -r 15 -f rawvideo -preset ultrafast -tune zerolatency -vf scale=1024:576 -b:v 299k -bufsize 598k -maxrate 299k -payload_type 99 -ssrc 9457834 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params C62t9TjIxldny4nigLfyhFr76dl5WQ9S2U7sCYiU srtp://192.168.1.100:65099?rtcpport=65099&localrtcpport=65099&pkt_size=188 -loglevel level+verbose
[04/08/2020, 20:18:41] [Camera FFmpeg] [Endeavour] Received first frame.
[04/08/2020, 20:18:41] [Camera FFmpeg] [Endeavour] [info] ffmpeg version 4.2.2-d1e8be3 Copyright (c) 2000-2019 the FFmpeg developers
[04/08/2020, 20:18:41] [Camera FFmpeg] [Endeavour] [info]   built with gcc 6.3.0 (Raspbian 6.3.0-18+rpi1+deb9u1) 20170516
[04/08/2020, 20:18:41] [Camera FFmpeg] [Endeavour] [info]   configuration: --pkgconfigdir=/build/workspace/lib/pkgconfig --prefix=/build/workspace --pkg-config-flags=--static --extra-cflags=-I/build/workspace/include --extra-ldflags=-L/build/workspace/lib --extra-libs='-lpthread -lm' --enable-static --disable-debug --disable-shared --disable-ffplay --disable-doc --enable-openssl --enable-gpl --enable-version3 --enable-nonfree --enable-pthreads --enable-libvpx --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libx264 --enable-runtime-cpudetect --enable-libfdk-aac --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enable-decoder=h264 --enable-network --enable-protocol=tcp --enable-libspeex --enable-demuxer=rtsp --enable-omx-rpi --enable-mmal --enable-indev=alsa --enable-outdev=alsa
[04/08/2020, 20:18:41] [Camera FFmpeg] [Endeavour] 
[04/08/2020, 20:18:41] [Camera FFmpeg] [Endeavour] [info]   libavutil      56. 31.100 / 56. 31.100
[04/08/2020, 20:18:41] [Camera FFmpeg] [Endeavour] [info]   libavcodec     58. 54.100 / 58. 54.100
[04/08/2020, 20:18:41] [Camera FFmpeg] [Endeavour] [info]   libavformat    58. 29.100 / 58. 29.100
[04/08/2020, 20:18:41] [Camera FFmpeg] [Endeavour] [info]   libavdevice    58.  8.100 / 58.  8.100
[04/08/2020, 20:18:41] [Camera FFmpeg] [Endeavour] [info]   libavfilter     7. 57.100 /  7. 57.100
[04/08/2020, 20:18:41] [Camera FFmpeg] [Endeavour] [info]   libswscale      5.  5.100 /  5.  5.100
[04/08/2020, 20:18:41] [Camera FFmpeg] [Endeavour] [info]   libswresample   3.  5.100 /  3.  5.100
[04/08/2020, 20:18:41] [Camera FFmpeg] [Endeavour] [info]   libpostproc    55.  5.100 / 55.  5.100
[04/08/2020, 20:18:41] [Camera FFmpeg] [Endeavour] 
[04/08/2020, 20:18:41] [Camera FFmpeg] [Endeavour] [tcp @ 0x2498fb0] [verbose] Starting connection attempt to 192.168.1.23 port 554
[04/08/2020, 20:18:41] [Camera FFmpeg] [Endeavour] 
[04/08/2020, 20:18:41] [Camera FFmpeg] [Endeavour] [tcp @ 0x2498fb0] [verbose] Successfully connected to 192.168.1.23 port 554
[04/08/2020, 20:18:41] [Camera FFmpeg] [Endeavour] 
[04/08/2020, 20:18:41] [Camera FFmpeg] [Endeavour] [rtsp @ 0x2496f50] [verbose] SDP:
[04/08/2020, 20:18:41] [Camera FFmpeg] [Endeavour] v=0
[04/08/2020, 20:18:41] [Camera FFmpeg] [Endeavour] o=- 33674000 1 IN IP4 192.168.1.23
[04/08/2020, 20:18:41] [Camera FFmpeg] [Endeavour] s=Session streamed by "TP-LINK RTSP Server"
[04/08/2020, 20:18:41] [Camera FFmpeg] [Endeavour] i=stream1
[04/08/2020, 20:18:41] [Camera FFmpeg] [Endeavour] t=0 0
[04/08/2020, 20:18:41] [Camera FFmpeg] [Endeavour] a=tool:TP-LINK Streaming Media v2015.05.12
[04/08/2020, 20:18:41] [Camera FFmpeg] [Endeavour] a=type:broadcast
[04/08/2020, 20:18:41] [Camera FFmpeg] [Endeavour] a=control:*
[04/08/2020, 20:18:41] [Camera FFmpeg] [Endeavour] a=range:npt=0-
[04/08/2020, 20:18:41] [Camera FFmpeg] [Endeavour] a=x-qt-text-nam:Session streamed by "TP-LINK RTSP Server"
[04/08/2020, 20:18:41] [Camera FFmpeg] [Endeavour] m=video 0 RTP/AVP 96
[04/08/2020, 20:18:41] [Camera FFmpeg] [Endeavour] c=IN IP4 0.0.0.0
[04/08/2020, 20:18:41] [Camera FFmpeg] [Endeavour] b=AS:8192
[04/08/2020, 20:18:41] [Camera FFmpeg] [Endeavour] a=rtpmap:96 H264/90000
[04/08/2020, 20:18:41] [Camera FFmpeg] [Endeavour] a=fmtp:96 packetization-mode=1; profile-level-id=640029; sprop-parameter-sets=Z2QAKawa0A8ARPyzcBAQFAAAAwAEAAADAHo8UIqA,aO4ESSJA
[04/08/2020, 20:18:41] [Camera FFmpeg] [Endeavour] a=control:track1
[04/08/2020, 20:18:41] [Camera FFmpeg] [Endeavour] m=audio 0 RTP/AVP 8
[04/08/2020, 20:18:41] [Camera FFmpeg] [Endeavour] c=IN IP4 0.0.0.0
[04/08/2020, 20:18:41] [Camera FFmpeg] [Endeavour] b=AS:64
[04/08/2020, 20:18:41] [Camera FFmpeg] [Endeavour] a=rtpmap:8 PCMA/8000
[04/08/2020, 20:18:41] [Camera FFmpeg] [Endeavour] a=control:track2
[04/08/2020, 20:18:41] [Camera FFmpeg] [Endeavour] 
[04/08/2020, 20:18:41] [Camera FFmpeg] [Endeavour] 
[04/08/2020, 20:18:41] [Camera FFmpeg] [Endeavour] [rtsp @ 0x2496f50] [verbose] setting jitter buffer size to 0
[04/08/2020, 20:18:41] [Camera FFmpeg] [Endeavour] [rtsp @ 0x2496f50] [verbose] setting jitter buffer size to 0
[04/08/2020, 20:18:41] [Camera FFmpeg] [Endeavour] 
[04/08/2020, 20:18:41] [Camera FFmpeg] [Endeavour] [h264 @ 0x249a3e0] [verbose] Reinit context to 1920x1088, pix_fmt: yuvj420p
[04/08/2020, 20:18:41] [Camera FFmpeg] [Endeavour] 
[04/08/2020, 20:18:42] [Camera FFmpeg] [Endeavour] Stopped video stream.
[04/08/2020, 20:18:42] [Camera FFmpeg] [Endeavour] ffmpeg exited with code: null and signal: SIGKILL (Expected)
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] Video stream requested: 1280x720, 30 fps, 299 kbps
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] Starting video stream: 1024x576, 15 fps, 299 kbps
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] Stream command: /usr/local/lib/node_modules/homebridge-camera-ffmpeg/node_modules/ffmpeg-for-homebridge/ffmpeg -rtsp_transport tcp -i rtsp://user:[email protected]/stream1 -map 0:0 -vcodec h264_omx -pix_fmt yuv420p -r 15 -f rawvideo -preset ultrafast -tune zerolatency -vf scale=1024:576 -b:v 299k -bufsize 598k -maxrate 299k -payload_type 99 -ssrc 8612338 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params odvdsZ8o2IXyPMrRuIg/5/yX8XqWZdRHLsH0PwvL srtp://192.168.1.100:58321?rtcpport=58321&localrtcpport=58321&pkt_size=188 -loglevel level+verbose
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] Received first frame.
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] [info] ffmpeg version 4.2.2-d1e8be3 Copyright (c) 2000-2019 the FFmpeg developers
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] [info]   built with gcc 6.3.0 (Raspbian 6.3.0-18+rpi1+deb9u1) 20170516
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] [info]   configuration: --pkgconfigdir=/build/workspace/lib/pkgconfig --prefix=/build/workspace --pkg-config-flags=--static --extra-cflags=-I/build/workspace/include --extra-ldflags=-L/build/workspace/lib --extra-libs='-lpthread -lm' --enable-static --disable-debug --disable-shared --disable-ffplay --disable-doc --enable-openssl --enable-gpl --enable-version3 --enable-nonfree --enable-pthreads --enable-libvpx --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libx264 --enable-runtime-cpudetect --enable-libfdk-aac --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enable-decoder=h264 --enable-network --enable-protocol=tcp --enable-libspeex --enable-demuxer=rtsp --enable-omx-rpi --enable-mmal --enable-indev=alsa --enable-outdev=alsa
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] 
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] [info]   libavutil      56. 31.100 / 56. 31.100
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] [info]   libavcodec     58. 54.100 / 58. 54.100
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] [info]   libavformat    58. 29.100 / 58. 29.100
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] [info]   libavdevice    58.  8.100 / 58.  8.100
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] [info]   libavfilter     7. 57.100 /  7. 57.100
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] [info]   libswscale      5.  5.100 /  5.  5.100
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] [info]   libswresample   3.  5.100 /  3.  5.100
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] [info]   libpostproc    55.  5.100 / 55.  5.100
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] 
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] [tcp @ 0x2dedfb0] [verbose] Starting connection attempt to 192.168.1.23 port 554
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] 
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] [tcp @ 0x2dedfb0] [verbose] Successfully connected to 192.168.1.23 port 554
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] 
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] [rtsp @ 0x2debf50] [verbose] SDP:
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] v=0
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] o=- 33674000 1 IN IP4 192.168.1.23
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] s=Session streamed by "TP-LINK RTSP Server"
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] i=stream1
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] t=0 0
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] a=tool:TP-LINK Streaming Media v2015.05.12
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] a=type:broadcast
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] a=control:*
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] a=range:npt=0-
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] a=x-qt-text-nam:Session streamed by "TP-LINK RTSP Server"
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] m=video 0 RTP/AVP 96
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] c=IN IP4 0.0.0.0
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] b=AS:8192
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] a=rtpmap:96 H264/90000
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] a=fmtp:96 packetization-mode=1; profile-level-id=640029; sprop-parameter-sets=Z2QAKawa0A8ARPyzcBAQFAAAAwAEAAADAHo8UIqA,aO4ESSJA
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] a=control:track1
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] m=audio 0 RTP/AVP 8
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] c=IN IP4 0.0.0.0
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] b=AS:64
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] a=rtpmap:8 PCMA/8000
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] a=control:track2
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] 
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] 
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] [rtsp @ 0x2debf50] [verbose] setting jitter buffer size to 0
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] 
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] [rtsp @ 0x2debf50] [verbose] setting jitter buffer size to 0
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] 
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] [h264 @ 0x2def3e0] [verbose] Reinit context to 1920x1088, pix_fmt: yuvj420p
[04/08/2020, 20:18:43] [Camera FFmpeg] [Endeavour] 
[04/08/2020, 20:18:44] [Camera FFmpeg] [Endeavour] Stopped video stream.
[04/08/2020, 20:18:44] [Camera FFmpeg] [Endeavour] ffmpeg exited with code: null and signal: SIGKILL (Expected)

@sidharthb0
Copy link
Author

@Sunoo I see this has been consolidated into one issue with regards to ffmpeg. Any luck or ideas there?

@Sunoo
Copy link
Collaborator

Sunoo commented Aug 7, 2020

That was a different project referencing a bunch of issues, though I do plan to consolidate over here too when I have a second. No resolution yet, but me and a bunch of camera plugin developers are trying to get to the bottom of this.

@sidharthb0
Copy link
Author

Alright thanks. Will await an update.

@sidharthb0
Copy link
Author

@Sunoo I’ve tried everything from changing config settings to reinstalling raspbian, homebridge and subsequently this plugin. Everything I do brings me back to the same error.

Any luck on your end?

@github-actions
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants