Closed offlinesurfer closed 2 years ago
Perhaps someone is smarter than me and can help me to figure this out. Thanks for any help! I have the following issue:
I get a picture of the stream and it will be refreshed every 50 sec.
I have tried
sudo docker run --rm -v "/home/manager/unifi-cam/client.pem:/client.pem" keshavdv/unifi-cam-proxy unifi-cam-proxy --verbose --ip 172.16.10.9 --host 192.168.7.254 --mac 'AA:BB:CC:00:00:01' --cert /client.pem --token P9brQo92pVkanEbsGnVzTKStfcy8AIA5 rtsp -s rtsp://admin:password#@192.168.7.102/Streaming/Channels/101/
sudo docker run --rm -v "/home/manager/unifi-cam/client.pem:/client.pem" keshavdv/unifi-cam-proxy unifi-cam-proxy --verbose --ip 172.16.10.9 --host 192.168.7.254 --mac 'AA:BB:CC:00:00:01' --cert /client.pem --token P9brQo92pVkanEbsGnVzTKStfcy8AIA5 hikvision -u admin -p password --ffmpeg-args '-c:v copy -vbsf "h264_metadata=tick_rate=15" '
sudo docker run --rm -v "/home/manager/unifi-cam/client.pem:/client.pem" keshavdv/unifi-cam-proxy unifi-cam-proxy --verbose --ip 172.16.10.9 --host 192.168.7.254 --mac 'AA:BB:CC:00:00:01' --cert /client.pem --token P9brQo92pVkanEbsGnVzTKStfcy8AIA5 hikvision -u admin -p password
CAM: Hikivision DS-2CD2142FWD-I
ffprobe rtsp://admin:password@172.16.10.9/Streaming/Channels/101/ ffprobe version 4.2.4-1ubuntu0.1 Copyright (c) 2007-2020 the FFmpeg developers built with gcc 9 (Ubuntu 9.3.0-10ubuntu2) configuration: --prefix=/usr --extra-version=1ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --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-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared 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 libavresample 4. 0. 0 / 4. 0. 0 libswscale 5. 5.100 / 5. 5.100 libswresample 3. 5.100 / 3. 5.100 libpostproc 55. 5.100 / 55. 5.100 Input #0, rtsp, from 'rtsp://unifi:ara2x1bica-1@172.16.10.9/Streaming/Channels/101/': Metadata: title : Media Presentation Duration: N/A, start: 0.440000, bitrate: N/A Stream #0:0: Video: h264 (Main), yuvj420p(pc, bt709, progressive), 1280x720 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
used docker-compose to redeploy the installation. Also the issue is Not present in the unifi protect app
Perhaps someone is smarter than me and can help me to figure this out. Thanks for any help! I have the following issue:
I get a picture of the stream and it will be refreshed every 50 sec.
I have tried
sudo docker run --rm -v "/home/manager/unifi-cam/client.pem:/client.pem" keshavdv/unifi-cam-proxy unifi-cam-proxy --verbose --ip 172.16.10.9 --host 192.168.7.254 --mac 'AA:BB:CC:00:00:01' --cert /client.pem --token P9brQo92pVkanEbsGnVzTKStfcy8AIA5 rtsp -s rtsp://admin:password#@192.168.7.102/Streaming/Channels/101/
sudo docker run --rm -v "/home/manager/unifi-cam/client.pem:/client.pem" keshavdv/unifi-cam-proxy unifi-cam-proxy --verbose --ip 172.16.10.9 --host 192.168.7.254 --mac 'AA:BB:CC:00:00:01' --cert /client.pem --token P9brQo92pVkanEbsGnVzTKStfcy8AIA5 hikvision -u admin -p password --ffmpeg-args '-c:v copy -vbsf "h264_metadata=tick_rate=15" '
sudo docker run --rm -v "/home/manager/unifi-cam/client.pem:/client.pem" keshavdv/unifi-cam-proxy unifi-cam-proxy --verbose --ip 172.16.10.9 --host 192.168.7.254 --mac 'AA:BB:CC:00:00:01' --cert /client.pem --token P9brQo92pVkanEbsGnVzTKStfcy8AIA5 hikvision -u admin -p password
CAM: Hikivision DS-2CD2142FWD-I
ffprobe rtsp://admin:password@172.16.10.9/Streaming/Channels/101/ ffprobe version 4.2.4-1ubuntu0.1 Copyright (c) 2007-2020 the FFmpeg developers built with gcc 9 (Ubuntu 9.3.0-10ubuntu2) configuration: --prefix=/usr --extra-version=1ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --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-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared 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 libavresample 4. 0. 0 / 4. 0. 0 libswscale 5. 5.100 / 5. 5.100 libswresample 3. 5.100 / 3. 5.100 libpostproc 55. 5.100 / 55. 5.100 Input #0, rtsp, from 'rtsp://unifi:ara2x1bica-1@172.16.10.9/Streaming/Channels/101/': Metadata: title : Media Presentation Duration: N/A, start: 0.440000, bitrate: N/A Stream #0:0: Video: h264 (Main), yuvj420p(pc, bt709, progressive), 1280x720 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc