In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article introduces the knowledge of "how to use live555 to build a VOD server". Many people will encounter this dilemma in the operation of actual cases, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Server side
The server mainly downloads and installs live555, and the process is relatively simple, which is mainly divided into the following steps:
Download the live555 source code
Wget wget http://www.live555.com/liveMedia/public/live555-latest.tar.gztar-xvf live555-latest.tar.gz
Source code compilation and installation
Cd live./genMakefiles linux-64bitmake
When the compilation is complete, a folder for mediaServer is generated.
Verify that it is successful
Cd mediaServerls
At this time, an executable program named live555MediaServer will be generated, and this is the streaming media server of live555. If the executable file is generated normally, it means that our installation is successful and we can start the server.
Start
Next, start the live555 server
. / live555MediaServer &
The appearance of a successful startup
Preparation of VOD video files
Prepare the video source file and put it in the same level directory as live555MediaServer, where the author uploads an h364 file named EuroTruckSimulator2_1920x1080_60.264
Player (client)
Then you can test it, using vlc or ffplay.
Ffplay pull stream mode
Ffpaly rtsp://192.17.1.200/EuroTruckSimulator2_1920x1080_60.264
Successful playback
Play it again using vlc
Successful playback
After the live555-based VOD service is built, you can upload your video resource files to the server's directory at the same level as live555MediaServer, and then you can perform VOD through the player and request playback. Try it quickly, so easy!
"how to use live555 to build a VOD server" content is introduced here, thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
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: 0
*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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.