From 191c264f109bd324ed375988f708d3639dbc0b92 Mon Sep 17 00:00:00 2001 From: Tai Date: Thu, 24 Dec 2020 18:22:41 -0800 Subject: [PATCH] Updated FTP fix for ReoLink Cameras in ShinobiCCTV --- shinobi/README.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/shinobi/README.md b/shinobi/README.md index 84908f7..834c24e 100644 --- a/shinobi/README.md +++ b/shinobi/README.md @@ -1,4 +1,8 @@ -Docker-compose was generated by the follow script below. You should install shinobi via the script below. The docker-compose.yml shown below is just an example and may not work for you. +It is recommended to do a native install or on a VM for shinobiCCTV using "The Shinobi Way" script. + +But if you want to give docker a shot these are my notes for the installation. + +The docker-compose.yml was generated by the follow script below. If you're going to docker you should install shinobi via the ShinobiInstall.sh below. The docker-compose.yml shown below is just an example and may not work for you. # ShinobiInstall.sh ``` @@ -132,8 +136,8 @@ networks: name: caddy_net ``` -# Gotchas and Whys -Why did I do ports 521:521? Well I wanted to enable FTP inside the docker with port 521 open (see below). After that I port forwarded on my router to open 521 to my docker host machine. +# Why port 521 Open? +Why did I do ports 521:521? Well I wanted to enable FTP inside the docker with port 521 open (see below). You don't have to choose 521 this is arbitrary make sure your conf.json matches.. I will assume no port forward is needed on the router because Cameras and Shinobi NVR is on the sane LAN. # shinobi/config/conf.json @@ -149,7 +153,7 @@ Here I added the following lines to conf.json to enable FTP. # Camera specific notes You may need to port forward RTSP or RTMP ports for your cameras. -# Reolink Specific (RLC-410-5MP) Gotchas +# Reolink Specific (RLC-410-5MP and RLC-520) Gotchas ### RTMP Main Stream (High Bit Rate 1024Kbps ~ 8192Kbps) rtmp://[USERNAME]:[PASSWORD]@CAMERAIPADDRESS:PORT/bcs/channel0_main.bcs?token=sdasdasc&channel=0&stream=0&user=[USERNAME]&password=[PASSWORD] @@ -158,15 +162,11 @@ Token value entered doesn't matter just need to put something. Only lines before ### RTMP Sub Stream (Lower Bit Rate 64Kbps ~ 512Kbps) rtmp://[USERNAME]:[PASSWORD]@CAMERAIPADDRESS:PORT/bcs/channel0_sub.bcs?token=sdasdasc&channel=0&stream=0&user=[USERNAME]&password=[PASSWORD] -You can use the main stream for recording while using the sub stream for streaming both at the same time in shinobi. +You can use the main stream for recording while using the sub stream for streaming both at the same time in shinobi. This still hasn't worked for me and I've been trying to figure this one out ever since. If you know a solution let me know. I can't get split LQ stream and HQ recording right, for the life of me. Reference: https://hub.shinobi.video/articles/view/w8azEAI2peYeNul ### RMTP FTP Motion Detection - You can also designate motion detection to the cameras instead of shinobi to reduce load. Reference: https://hub.shinobi.video/articles/view/LyCI3yQsUTouSAJ -ONE BIG GOTCHA... Do not use firmware v3.0.0.65_2007100 because FTP does not work on that firmware. Use firmware v2.0.0.647_20031401 (RLC-410-5MP_647_20031401.zip in this repo) which does work. - - - +ONE BIG GOTCHA... It took me a long time to figure out, but in order for FTP to work with Reolink Cameras. In your Reolink Client when setting up FTP there is an an option called Transport Mode. Make sure you select PORT instead of AUTO otherwise FTP won't work. \ No newline at end of file