Creating WWW Pages with RealAudio / RealVideo

By following the procedures in this user document, departmental Webmasters can create multimediaWeb page with RealAudio / RealVideo. This document contains two sections: 

  1. How to create RealAudio Web page
  2. How to create RealVideo Web page.


1. How to create RealAudio Web page

  1. Connect your audio input device to the sound recording device of your computer.
  2. Start the "RealAudio Encoder" program. (The following uses the Windows 95 version for illustration).

 

  1. At the "Source" section on the left pane of the RealAudio Encoder window:
  2. For most purposes, it is recommended at the present stage to record RA files in "RA2.0 -14.4kbps" compressed format rather than RA3.0 format, because files in RA2.0 format are ready to be played by most of the existing RealPlayer v2 and v3 programs, while files in RA3.0 format can only be played by RealPlayer v3 programs.
  3. At the "Destination" section on the right pane of the RealAudio Encoder window:
  4. Click on the "Start Encoding" button to start the recording or conversion.
  5. You can record the same sound source using a different compression format by choosing a different destination file name.
  6. Note: RA files with different compression formats are identified by different file names. You should use the proper file names according to the following table.

    Encoding Compression format  Filename  Suggested Usage 
    RealAudio 2.0 14.4 Mono  14_4.18  speech, talks 
    RealAudio 2.0 28.8 Mono  28_8.36  speech, talks 
    RealAudio 3.0 - 28.8 Mono, narrow response 
    RealAudio 3.0 - 28.8 Mono, medium response, 
    RealAudio 3.0 - 28.8 Mono, ful response 
    dnet.20  good quality broadcast, speech, talks 
    RealAudio 3.0 - 28.8 Stereo  dnet.25  good quality musical recording 
    RealAudio 3.0 - ISDN Mono, 
    RealAudio 3.0 - ISDN Stereo 
    dnet.50  high quality musical recording 
    RealAudio 3.0 - Dual ISDN Mono 
    RealAudio 3.0 - Dual ISDN Stereo 
    dnet.100  highest quality musical recording 

1.4 Upload the RA files to the HKU WWW Server and create an HTML file 

  1. Use FTP to upload the RA file(s) produced by the encoder to the HKU WWW server.
  2. Change the destination directory to /web/docs/account where account is the name of the WebMaster account.
  3. Create a new directory, say ratest, under the directory /web/docs/account/. (You can use any other directory name.)
  4. Put the RA files (e.g., 14_4.18, 28_8.36, .... or dnet.100) under the directory /web/docs/account/ratest/.
    Note:
  5. Create a file under /web/docs/account/ratest with name test.ram which contains only one statement:
    1. pnm://www.hku.hk/account/ratest

      Change the permission of the file to be readable by others using the following command:
      chmod 644 test.ram

  6. Create an HTML file which contains a pointer to the above ".ram" file. For example, you can create the file test.htm under the same directory /web/docs/account/ratest/. This file should at least contain the following statement which references the .ram file:
  7. <a href="test.ram">RealAudio Testing</a>

    Change the permission of the file to be readable by others using the following command:
    chmod 644 test.htm

1.5 Test the newly created web page

  • Start your Netscape browser (with RA Player installed) to visit the web page http://www.hku.hk/account/test.htm, and then click on the link to listen to the audio file. You should have RealPlayer installed, and it would start automatically to play the audio file.
  • 1.6 Further reference on RealAudio


    2. How to create RealVideo Web page

    2.1 Pre-requisites for creating web page with RealVideo

    2.4 Upload the RV files to the HKU WWW Server and create an HTML file 

    2.5 Test the newly created web page

  • Start your Netscape browser (with RealPlayer installed) to visit the web page http://www.hku.hk/account/test.htm, and then click on the link to view the video file. You should have RealPlayer installed, and it would start automatically to play the video file.
  • 2.6 Remarks for RealVideo Encoding

  • It is recommended to record video clips in AVI format first by using Adobe Primer, then use the RV Encoder to convert it to RealVideo rather than directly recording it using the RealVideo Encoder.
  • It is noted that the use of the "RealVideo Fractal" in the "Advanced" Template option menu takes at least 5 times longer than the default "RealVideo Standard" to compress a video clip, and the output will only be slightly better.
  • It is recommended to use a PC with Pentium 166 MHz or above CPU to record directly from a video playback source.
  • It is recommended to use a PC with Pentium 166 MHz or above CPU to convert from AVI or MOV file to RV file.
  • 2.7 Examples of RealVideo Encoded files

    Four examples RV files are encoded via different compression methods for the same (71 secs) AVI file, using a PC with Pentium Pro 200MHz CPU running RV Encoder as a background job.You can view each RV file by clicking on the appropriate links below. The time to finish the compression ranges from a few minutes to several hours, depending on which compression format is used. The subjective visual quality of the four files has some differences. As a producer of RV files, you have to trade off between quality, compressed file size, and time to compress.

    Example
    Compress Method & Option Compressed File Size Time to compress

    Example 1

    "High action 28.8 with music" option with RealVideo Standard compression. 230 K byte 40 sec

    Example 2

    "High action 56 with music" options with RealVideo Standard compression. 839 K byte 7minutes

    Example 3

    Customized settings -Total bandwidth 112Kbps with RealVideo Standard compression. 0.99M byte 8 minutes

    Example 4

    customized settings -Total bandwidth 256Kbps with RealVideo Standard compression. 2.43M byte 9 minutes

    Note: RV files created for 300Kbps bandwidth, on playback on a shared Ethernet, may have severe dropping of video frames and the video may appear jerky, depending on how busy the overall network traffic is.

    2.8 Further reference on RealVideo

    *** end of document ***