Streaming media is actually a kind of multimedia file, which is used in the process of network transmission. The so-called flow technology, is to complete the image and sound data after the compressed processing stored in the Web server, users can download edge to obtain information, so no need to download the entire compressed file after the network transmission technology. Today, I will tell you how to use Gnump3d to build a streaming media server in Linux environment.
Introduction of Gnump3d
Gnump3d is a compact and Easy-to-use streaming media server that supports formats such as MP3, OGG, movies and other media formats.
Product Features:
1) compact, easy to install and use, safe and stable;
2 Cross-platform support for UNIX and Windows;
3) Support the random playback, support by author, date index, support search, etc.
4) Support statistics.
GNUMP3D Official homepage Address: Http://www.gnu.org/software/gnump3d
Gnump3d software that can build streaming media server
Second, installation and configuration
1, download
You can download to the Http://www.gnu.org/software/gnump3d/home page, with UNIX version and Windows version.
2, decompression installation
[Root@localhost opt]# tar zxvf gnump3d-2.9.5.tar.gz
[Root@localhost opt]# CD gnump3d-2.9.5
[Root@localhost gnump3d-2.9.5]# make install
Program installation location is as follows:
Execute command is installed to/usr/bin directory: Gnump3d gnump3d2 gnump3d-index gnump3d-top
Theme is installed into the/USR/SHARE/GNUMP3D directory;
The configuration file is installed to:
/etc/gnump3d
/etc/gnump3d/mime.types
/etc/gnump3d/gnump3d.conf
Library files are installed to:/usr/lib/perl5/5.8.6/gnump3d directory
Man is installed to:
/usr/man/man1/gnump3d.1
/usr/man/man1/gnump3d-index.1
/usr/man/man1/gnump3d-top.1
/usr/man/man1/gnump3d.conf.1
3, configuration
The gnump3d configuration file is stored in/etc/gnump3d/gnump3d.conf and we can modify the configuration file.
Gnump3d's themes is stored in the/usr/share/gnump3d/directory, so you can specify it in gnump3d.conf if you want to change theme.
Media files are stored in the directory gnump3d.conf, are/home/mp3, you can also change to your media file directory, or in/home to build a mp3 directory, all the media files to the past.
4. Run Gnump3d Streaming Media server
[Root@localhost gnump3d-2.9.5]# gnump3d&
Or
[Root@localhost gnump3d-2.9.5]# gnump3d2&
5, access to gnump3d streaming media server
Visit the address is:: 8888/, you can also let the other LAN computer to access, of course, to change the localhost to your machine's IP address, for example, if your streaming media server on the computer IP is 192.168.1.6, then, the LAN access address should be:
http://192.168.1.6:8888
Configuration page for properties:
: 8888/prefs/
6, Chinese theme to make the interface into Chinese
We can theme our favorite, the interface into Chinese, Chinese is very simple, because theme is an HTML page, theme stored in the/usr/share/gnump3d/directory.
For streaming media servers, it should be said that Helix server is the most famous and most powerful. Gnump3d Although not much function, but enough for us to set up their own streaming media server in the LAN application.