One of my project with my OrangePI is to setup the device as a basic IP security camera server ,
the OrangePI zero , will connect to RTSP flux of the IP camera , and dump the stream on to an external disk , where it will be kept for 7 days before getting automaticly deleted
At a latter date i will run a motion detection program on these files and send a mail if motion is detected on a specific part of the frame.
after a little research , i found that a lot of people are using a program called openRTSP to record their RTSP stream to disk
But , after connecting on my OrangePi zero and trying to look for the program i found out that it’s not part of the default installation of armbian stable.
I tried to install the package using apt install openRTSP
I went to google and searched , openRTSP package ,and found out , on the debian website that openRTSP is part of the livemedia-utils package,
I went back to my SSH session and typed apt-get install livemedia-utils
There is no man pages associated with the program , you have to rely on the developer website to understand all the different options . The documentation is available here : http://www.live555.com/openRTSP/ or here if the website is down.
but as usual , in the officials repositories you only get dated version
you might want to compile the source code to have the last version available:
as root
Go to /usr/src: cd /usr/src
Get the live555 liveMedia source code: wget http://www.live555.com/liveMedia/public/live555-latest.tar.gz
Unpack it: tar -xzf live555-latest.tar.gz
Go into the unpacked directory: cd live
Generate the make files: ./genMakefiles linux
Build the code: make
Install the latest version: make install