Linux Compiled installation Easydarwin
First, installation of environmental monitoring
- View Ubuntu version number: sudo lsb_release-a
Ubuntu14. It comes with the 4.8 version, and the latest 4. 9. 2 support for c++11 is better. Unfortunately direct sudo apt-get install gcc-4. 9 is not good, so you can install the update: sudo add-apt-repository PPA: ubuntu-toolchain-r/testsudo Apt-get updatesudo apt-get install gcc-4.9 sudo apt-get install g++-4.9
- With the PPA, the various versions can coexist. However, there is a problem, each time you need to use g++-4.9, if the direct use of g++ will run version 4.8, very troublesome. So you need to change the link under/usr/bin/:
sudo sucd. /.. /usr/-s/usr/bin/g++-4.9 /usr/bin/g++--s/usr/bin/gcc- 4.9/usr/bin/gcc-f
Second, compile, install? Download
HTTPS://github.com/easydarwin/easydarwin/archive/v7.0.5.zip
? Extract
Unzip V7. 0.5. zip
? Compile
CD easydarwin-7.0. 5/easydarwin/+x./Buildit. /buildit (There will be 86,Three, and debug versions). /buildit x64 (select 64-bit to compile)
? Compile error handling
/usr/lib/libstdc++.so. 6: Version glibcxx_3. 4.21 in File libstdc++.so. 6 with link time reference
Reason: Because the GCC version is too low, it is recommended to upgrade to more than 4.9, the test 5.3 version of the library is up-to-date, but not compatible, so the recommended version is greater than 4.9 less than the 5.3 version.
./easydarwin:relocation error:./easydarwin:symbol _ztvnst7__cxx1119basic_istringstreamicst11char_ Traitsicesaiceee, Version glibcxx_3. 4.21 in File libstdc++.so. 6 with link time reference
? To view the library files that C + + has installed
Strings/usr/lib/x86_64-linux-gnu/libstdc++.so. 6 | grep glibcxx
Third, open the service:? . Modify the configuration file
Local_ip_address: This address is the server public IP address
? Linux Debug Run
!!! Note: You must start with the root user:
554 . /easydarwin-c. /winntsupport/easydarwin.xml-d
Process View:
Ps-aux | grep easydarwin (lowercase here)
You can see that there will be even a process to start, no error.
? Linux Backend service mode run
./easydarwin-c/etc/streaming/easydarwin.xml &
Iv. ffmpeg push camera video to Easydarwin
Description: FFmpeg push, Easydarwin forwarding, VLC playback, realize the entire RTSP live
- Reference Address: http://www.easydarwin.org/article/EasyDarwin/30.html
- Test RSTP push Stream address:
FFmpeg "rtsp://192.168.18.240:554/onvif/live/1""rtsp://server IP address/ TEST.SDP"
-rtsp_transport TCP to stream RTSP in TCP://192.168.18.240:554/ONVIF/LIVE/1 Local camera address RTSP: // server IP address/TEST.SDP easydarwin server address.
RTSP:// server IP address/TEST.SDP,
- Debug command line output information
Streaming Media server ———— Linux (Ubuntu) environment run Easydarwin