|
[ Getting
Started ] [ Server
Help ] [ Add
on Help ] [ Solution
] [ Trouble Shooting ]
PLEASE NOTE, THIS IS VERY OLD ARCHIVE
INFORMATION AND MAY NOT FUNCTION ON NEW SERVERS
Serving Real G2 Media
Now that you have successfully installed
and tested your RealServer, you
are ready to serve Real media content from your web site.
- Make sure that the web server on your
Virtual Server is configured to properly handle the Real media file extensions,
namely .rm, .ra, .ram, and optionally .rpm.
If your Virtual Server was set up later than December 15, 1997 then your
~/www/conf/mime.types file includes the necessary
MIME types.
If your Virtual Server was set up prior to December 15, 1997 then simply
add the following two lines to your ~/www/conf/mime.types file:
audio/x-pn-realaudio ram rm ra
audio/x-pn-realaudio-plugin rpm
If you download the ~/www/conf/mime.types file to your local computer using FTP, be sure you
upload it back to your Virtual Server in ASCII format. An alternative to
editing the ~/www/conf/mime.types file is to simply
copy the ~/www/conf/mime.types file from
the /usr/local/contrib directory on your Virtual Server host machine. To do this type:
% cp /usr/local/contrib/mime.types ~/www/conf
NOTE: You will need to restart your web server after making
changes to the mime.types file. Use the restart_apache
command:
% restart_apache
|
- Copy your encoded Real media files (files with
the .rm and .ra extensions) to your Virtual Server via FTP (save
these files in the following directory:
FreeBSD
~/usr/local/realserverg2/Content
BSD/OS
~/usr/local/pnserver-VERSION/content
These directories
are the "BasePath" where RealServer looks for Real media files. You can
change these by modifying your RealServer server.cfg file.
Be sure to FTP any Real media files in BINARY mode (not ASCII mode).
- Use a text editor to create a metafile containing a RealAudio or
RealVideo URL. The contents of your file should be in the following
form:
pnm://YOUR-DOMAIN.NAME/MEDIAFILE.rm
Change YOUR-DOMAIN.NAME to the domain name of your Virtual Server and
MEDIAFILE to the name of the Real media file
you uploaded to your content directory in the previous step.
- Next, save the above metafile as a text file with the .ram
extension, mediafile.ram, for example.
FTP the metafile to your Virtual Server (in ASCII mode since it is a
text file). Metafiles should be saved in your ~/www/htdocs directory
hierarchy.
- Finally, reference the metafile as a hyperlink in your HTML document.
For example:
<a href="mediafile.ram">
<a href="/support/addonhelp/multimedia/realserver/media/audio.ram">
If you do not already have the RealProducer or RealPlayer you can
get them here:
RealProducer Basic 8 ( For creation of Real Content )
RealPlayer Basic 8 ( For the play back of Real Content )
- RealFlash & RealPix ( examples at bottom of this page ) Require you to
link to them like so:
http://YOURDOMAIN.COM:8080/ramgen/media.smi
Notice the "port", 8080, and "ramgen" directory? When you upload your Real Content to your /usr/local/realserverg2/Content directory, the
directory called "Content" is the directory referenced by "ramgen".
Then any directories under that would be referenced in the url.
See the examples below.
Working G2 Server Examples
The following links are actual examples which implement the
instructions included on this page. Go ahead and try them out!
G2 Server Music
RealAudio G2 Music Codec was designed for
maximum quality at various Internet speeds. The Codec not only achieves
excellent reproduction of audio signals at specific frequencies, it also can
achieve broad frequency response at various data rates scaling
from 6kbps to 96kbps.
G2 Sure Stream Video
G2 Video - Does God Exist?
RealSystem G2 SureStream addresses real-world
issues of constrained and changing bandwidth conditions on the Internet.
SureStream dynamically scaled the bit-rate up or down to available bandwidth.
SureStream allows content providers to create on-demand content in a single
file for all data rates.
G2
RealPix A Nice House for sale!
G2
RealPix Images of Africa!
RealPix allows existing image formats like JPEG
to be easily added to presentations, offering powerful transition effects and
overlay capabilities. RealText allows both static
and live XML-compliant text to be added to presentations with powerful effects
like smooth scrolling, selectable fonts, and selectable colors. SMIL
(Synchronized Multimedia Integration Language) enables the server to deliver and
choreograph multiple live and pre-recorded events,
graphics, ads, and text feeds into a single compelling presentation.
G2 RealFlash
RealFlash combines the best web animation
technology from Macromedia and the leading streaming technology from
RealNetworks to deliver high quality, full-length
animated programs, synchronized with RealAudio over a 28.8 modem.
RealFlash is compatible with both RealSystem 5.0 and G2 RealPlayers. In
RealSystem G2, RealFlash can also be combined with other mediatypes or played
back in sequence, seamlessly before/after other streams.
PLEASE NOTE, THIS IS OLD ARCHIVE
INFORMATION AND MAY NOT FUNCTION ON NEW SERVERS
|