Use Red5 to build real-time monitoring video to support web playback

Source: Internet
Author: User

Use Red5 to build real-time monitoring video to support web playback

1. Download red5:https://github.com/red5/red5-server/releases

Download Red5 1.0.6 Release zip archive, unzip, add java_home environment variable, click Red5.bat

In the browser, type: http://localhost:5080.

The installation started successfully when you saw the page

2. Installing Oflademo

Click on the Scarlet Letter to enter Http://localhost:5080/installer

Select Ofla Demo in the list to install. Restart the RED5 background service after the installation is complete.

(If the wall, you may not be able to automatically install Oflademo, you can download from here, put in the WebApp directory)

Execute the following command at the command line:

Ffmpeg-i "Rtsp://admin:[email protected]/ch1/sub"-F flv-r 15-s 352x288-an "RTMP://192.168.1.124/OFLADEMO/HK"

3. Edit the configuration file

Modify the webapps\oflademo\index.html file in the Red5 installation directory to change the Jwplayer property to "HK".

4. Enter the address in the browser: http://localhost:5080/oflaDemo/index.html

Click Play to see the results

Use Red5 to build real-time monitoring video to support web playback

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.