Streaming Media server ———— Linux (Ubuntu) environment run Easydarwin

Source: Internet
Author: User

Linux Compiled installation Easydarwin

First, installation of environmental monitoring
    • View Ubuntu version number: sudo lsb_release-a
    • GCC version views: gcc-v
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"
    • Parameter description:
-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. 
    • Push Flow results:

    • VLC Playback address:
RTSP:// server IP address/TEST.SDP,
    • Test results:

    • Debug command line output information

Streaming Media server ———— Linux (Ubuntu) environment run Easydarwin

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.