DSS Build Mobile Media server

Source: Internet
Author: User
Tags perl interpreter

DSS is a cross-platform software that can be deployed on Linux, Mac OSX, or Windows.

One, the DSS Windows installation Tutorial:
  1. From: Http://dss.macosforge.org/downloads/DarwinStreamingSrvr5.5.5-Windows.exe (only 5.5) download DSS for Windows here
  2. After downloading the extract, you will see a install.bat file, directly run it will be installed to C:\Program Files\darwin streaming server\ and will add a number in the system service Darwin Streaming Server service program, this is the DSS server.
  3. Next you will install the PERL interpreter, which can be downloaded from http://www.perl.org/get.html and installed
  4. After you've installed Perl, you can use Perl **.pl to run the program under CMD.
  5. Next, under CMD, do the following:
    • # Follow the prompts to create WebAdmin's account and password
    • C:\Program Files\darwin streaming Server>perl winpasswdassistant.pl
    • # Run WebAdmin Manager
    • C:\Program Files\darwin streaming Server>perl streamingadminserver.pl
    • # Now you can open the http://127.0.0.1:1220/to manage the DSS server
  6. In the DSS WebAdmin, change the general Settings Media directory, change it to your media catalog, or you can use the default to put your own video file to C:\Program Files\dar Win streaming server\movies inside
  7. Now you can use QuickTime or VLC to open rtsp://127.0.0.1:554/sample_100kbit.mp4 to test the video,(note sample_ 100kbit.mp4 is the DSS 5.5.5 comes with the video)
Second, how to convert your own video into streaming media format?

The study of this thing cost me a great effort, at first did not know the video and specifically for streaming media, think as long as the video into the appropriate format with MediaCoder, such as: MPEG4 + AAC + MP4/MPEG4 + AAC + 3GP can be put, repeatedly put on the server to test, V Both LC and QuickTime cannot be opened. Then use the tool to open the DSS with a few examples of video to see their format, repeatedly converted to try different video and audio coding and shell, or not ... I'm so depressed!

In the DSS mailing list to find relevant articles, found that it seems to use special tools to hint video, and then can be used in RTSP, said can be used with QuickTime Pro or VLC conversion, I used VLC to try, File menu called " Flow (s) "function, but tried or not, did not see the file has changed.

So then along the Hint keyword in Google to find articles, found the Nokia forum inside, see this article: http://discussion.forum.nokia.com/forum/showthread.php?t=125540 You can use Mp4box to hint the video.

So I downloaded to the http://www.videohelp.com/tools/mp4box here Mp4box (do not download the GUI, directly with the command line operation, just one name)

After the download to the extract there will be a call Mp4box.exe, use it to run under the command line

C:\Program Files\darwin streaming server\movies> mp4box Mymovie.mp4-hint

Results appear:

Hinting file with PATH-MTU 1450 Bytes
Hinting track ID 201-type "mp4v:mp4v" (mp4v-es)-BW Kbps
Hinting track ID 101-type "mp4a:mp4a" (mpeg4-generic)-BW Kbps
Saving mymovie. mp4:0.500 secs interleaving

Streaming video will be converted, and now the file size will be changed, a little bigger.

Then, use VLC or QuickTime to open the rtsp://127.0.0.1:554/mymovie.mp4 and try to play it! If you have a 3G mobile phone, you can open this address directly with your phone and try it.

Iii. Additional Resources
    • Apple ' s Darwin streaming Server on Centos 5.2 (How to install DSS under CentOS 5.2)

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.