Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to build a Live Video streaming Server under Linux

2025-03-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

In this issue, the editor will bring you about how to build a live video streaming server under Linux. The article is rich in content and analyzed and described from a professional point of view. I hope you can get something after reading this article.

Goal:

Build a webcast streaming media server system (Linux operating system)

Background:

A set of streaming media server system for OTT-TV large concurrent live broadcast and VOD. A server-side solution that supports N x 24-hour recording and live streaming.

Solution:

L Microsoft Windows Media Services

L server software: Windows Media Server

L platform: Windows

L file format: ASF, WMV

L Apple's Quick Time series

L server software: QuickTime Streaming Server (open source version is Darwin Streaming Server)

L platform: MacOS X, Linux, Windows

L file format: MOV, MP4

L Adobe Media Server of Adobe

L server software: Adobe Media Server

L platform: Windows,Linux

L file format: FLV

L 800Li Media Server of eight hundred miles company (domestic scheme)

Server software: eight hundred miles streaming media server system

L platform: Windows,Linux (CentOS and Redhat)

L file format: FLV

The following is to introduce how to build a streaming media server system under Linux (take eight hundred miles live streaming system as an example) the first step: before installation

1. Log in to the linux server with administrator account privileges

2. Turn off the firewall; (some ports need to be opened)

3. The server should be configured with a fixed IP, which cannot be set to obtain IP automatically.

4. Confirm that the operating system is Centos or Redhat6 version or above.

Step 2: preparation before installation

Open the terminal and set up the cached data folders required for the four modules: edge, live, storage and transcode (path is set to / home/workspace/live). The specific steps are as follows:

Step 3: installation steps

First, go to the folder directory where the installation package is located (/ opt), and extract the installation files of each module.

Go to the folder where the files are unzipped to install

Make the relevant settings according to the prompts (set the port, generally you only need to default)

During the installation process, you will be prompted to establish an account login, taking 800li as an example. Set the password for the newly established 800li account after installation:

Open and access the local IP address of http:// through the browser after installation: web management server port.

Common operation commands of Linux

1. Cd enters the folder

2 、 cd. Enter the current folder

3 、 cd.. Go to the previous folder

4. Mkdir set up a folder

5. Ll to view the contents of the detailed catalogue

6. Ls to view all directory names

7. Tar-zxf File name to be unzipped

8. / install installation files

9. Df to view partition directories

10. Rm-r-f deletes directories and subordinate files

11. The up arrow shows the previous command

12. Alt+F1 creates a terminal window on the server

13. Ctrl+C reinstall files

14. Cp source files destination folder copy files to destination folder

15. Cp-R source directory destination directory copy the source folder to the destination folder

16. Mv source directory destination directory cut the source folder to the destination folder

17. Pwd displays the current entire directory name

18. Cd ~ go back to the root directory

19. Netstat-ltno to see if some ports are listening

20. Service iptables stop turn off the firewall

21. Change password for account name command: passwd account name (such as passwd 800li)

This is how to build a live video streaming server under Linux shared by Xiaobian. If you happen to have similar doubts, please refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 203

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report