Closed IvanGri2 closed 2 years ago
Have you tried just unifi-cam-proxy -v -H 192.168.100.19 -i 192.168.103.1 -c client.pem -t bTcKGElkFnicqgAP hikvision -u admin -p 87654321Qwe
?
Вы только что пробовали
unifi-cam-proxy -v -H 192.168.100.19 -i 192.168.103.1 -c client.pem -t bTcKGElkFnicqgAP hikvision -u admin -p 87654321Qwe
?
If I write this command: unifi-cam-proxy -v -H 192.168.100.19 -i 192.168.103.1 -c client.pem -t bTcKGElkFnicqgAP hikvision -u admin -p 87654321Qwe
I just have a camera in UniFi, but the live stream does not load and does not record.
Can you run ffprobe rtsp://admin:87654321Qwe@192.168.103.1:554/ISAPI/Streaming/Channels/101
and share the output?
Можете ли вы запустить
ffprobe rtsp://admin:87654321Qwe@192.168.103.1:554/ISAPI/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 [rtsp @ 0x5570530d9e80] UDP timeout, retrying with TCP [rtsp @ 0x5570530d9e80] method PAUSE failed: 551 Option not supported [rtsp @ 0x5570530d9e80] Could not find codec parameters for stream 0 (Video: h264, none): unspecified size Consider increasing the value for the 'analyzeduration' and 'probesize' options Input #0, rtsp, from 'rtsp://admin:87654321Qwe@192.168.103.1:554/ISAPI/Streaming/Channels/101': Metadata: title : Media Presentation Duration: N/A, bitrate: N/A Stream #0:0: Video: h264, none, 90k tbr, 90k tbn, 180k tbc
What model camera are you using? From the ffprobe output, that RTSP url looks incorrect based on the errors it reports. You might want to try a few listed on https://www.ispyconnect.com/camera/hiwatch
Maybe try unifi-cam-proxy --host 192.168.100.19 --cert client.pem --token bTcKGElkFnicqgAP rtsp -s rtsp://admin:87654321Qwe@192.168.103.1:554/ISAPI/Streaming/Channels/102
Camera model DS-i 200. Tried different options. The stream started, but the video jumps a second forward and two back.
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.
I'm trying to connect a HiWatch camera to UniFi Video unifi-cam-proxy running on ubuntu (not docker) the command to start the stream is as follows: unifi-cam-proxy --host 192.168.100.19 --cert client.pem --token bTcKGElkFnicqgAP rtsp -s rtsp://admin:87654321Qwe@192.168.103.1:554/ISAPI/Streaming/Channels/101
the command through which the recording is made: unifi-cam-proxy -H 192.168.100.19 -i 192.168.103.1 -c client.pem -t bTcKGElkFnicqgAP hikvision -u admin -p 87654321Qwe --ffmpeg-args '-c:v copy -vbsf "h264_metadata=tick_rate=50" '
There are only two problems: 1) no simultaneous recording and broadcasting 2) there is no way to watch the record, you have to download the record
I'm not good at this and I'm asking for help