SoFunction
Updated on 2025-04-12

Complete introduction tutorial on setting up a movie video server in Internet cafe

First of all, the hardware aspect.

The following points should be paid attention to when selecting video server hardware:

1. No high-frequency CPU is required.

When providing services, video servers are mainly reflected in continuous I/O operations. CPU resources do not occupy a large amount. In my experience, a 50-machine Internet cafe with PIII is very competent.

2. High stability.

High stability is very important. Video servers will generally be turned on for 10 days to more than one month. If you are interested in watching the down machine, it will be unfavorable to your Internet cafe image. If you have a good budget, you can consider choosing a 64-bit bandwidth server motherboard, which is very beneficial for continuous and large I/O operations.

However, this type of motherboard usually costs more than 2,000 yuan, which is a bit expensive from the budget. So you generally consider ordinary PC motherboards with a good reputation or you are very confident in their stability. Don’t chase the newly launched models. The author recommends 2 motherboards, Meet 6BA+IV, and AbitBH6. These 2 models are old BX motherboards, and the price may be between 600-700 yuan or less. However, their stability is impeccable.

3. Storage subsystem.

The storage subsystem is the key to the video server.

In order to adapt to the long-term large number of I/O operations of video servers, it is absolutely not advisable to share a hard disk with the system and video files. A separate disk or disk array must be used to store video files. If you choose a server motherboard with SCSI interface when choosing a motherboard, you can consider using a SCSI hard disk. Of course, the price is high. A 30G ordinary SCSI hard disk is also priced at around 2,700. So we choose IDE RAID. Please check the relevant documents for yourself about what RAID is.

Highpointtech and promise both provide us with suitable raid products. Generally, products with market prices above 400 yuan can be well suited for such working environments. Be careful not to buy some "soft" raid cards, as this is the case, although the purchase price is lower, its performance is poor and will consume a lot of system resources. Iwill's SIDE RAID100 is a good choice. It is recommended to use a 5400-rpm model for hard disks. Because after using RAID to build an IDE array, the overall disk performance will be nearly n times that of a single hard disk. This depends on the number of hard disks.

The 7200-rpm hard drive has a heat generated too much after running for a long time, and its performance is higher than the 5400-rpm hard drive, and it seems useless after being amplified by RAID. And its price is significantly higher than the 5400-rpm hard drive. This is the reason why the 7200-rpm hard drive is not used.

Using IDE Raid requires at least 2 hard drives. Add one hard drive to install the operating system, and the storage subsystem will cost you

raid card ¥480

Hard disk × 3 ¥1600

If you are really short of budget, you can abandon IDE RAID and use only a 7200-rpm hard drive to store video files. Note: The author strongly reminds you not to place the operating system and video files on the same hard drive.

4. Network part

Don’t use cheap 8139-class network cards. It is recommended to use Intel 10/100M Pro+. About ¥250.

The video server should be connected to the backbone switch in the Internet cafe.

If you are still using a 10M network, you should first upgrade your network.


Software part.

1. Operating system Win2000 server or advanced server version. (If you can build the platform using Linux or FreeBSD, then you don't need to continue reading this article.)

Server IIS5.0

3. RealSystem RealServer 8.0+ and Windows Media Server

Install Win2000, IIS is installed by default when installing W2k. You only need to select three components: Web services, public documents and server management. Media Server is not installed by default. Remember to select it. Pay attention to installing the system on a hard disk specially prepared for the system, and place the streaming media files on a hard disk or hard disk array specially prepared for the streaming media files. Create a directory called Media as the subsequent RealServer mount point. It is best not to put other things here.

RealServer has to be downloaded in many places. It comes with 10 user licenses. When installing, you need to set the username and password of the management interface. After installation, two icons will be generated on the desktop. Run RealServer 8.0 Administrator

Enter the configuration interface. You need to enter the user password at this time, which is the user password you set when the installation was just now.

Select Configure-->General Setup-->Connection Control, and change the Maximum Client Connections setting item to the maximum number of your licenses supported. The Maximum Licensed Client is the maximum number of your licenses.

Configure-->General Setup-->Mount Points, fill in the virtual directory name you want to access the video stream in the box below Edit Mount Point. Assume it is Movie, then fill in /Movie/ and then fill in the local path of your video file in the box below BasePath. Assume it is E:\\Media, then fill in E:\\Media. Then click the Edit button and then click the Apply button. The pop-up tells you that the modification is successful and you need to restart RealServer. Restart. Click the top Restart Server. For about 20 seconds, restart it. Now copy any rm format video file into e:\\Media\\,

Let's assume that it is. Then assume that your IP address is 192.168.1.118. Start RealPlayer, select the open position in the file menu, and fill in the rtsp://192.168.1.118/Movie/ point to confirm.

If nothing unexpected happens, you will see that RealPlayer is buffering, and it will start playing in a few seconds. Now please go back to the configuration interface of RealServer and click Monitor. You will see the operation of RealServer. Player connected shows how many users are currently connected, File Usage shows the number of different stream files currently on demand. CPU usage shows Realserver CPU usage, Memory usage shows the memory usage, and bandwidth usage indicates bandwidth usage.

At this point, the RealServer's streaming server installation has been completed.