Publishing RealPlayer Presentations - Flash

Now that you know how to tailor your content to RealPlayer, and how to calculate the available bandwidth for tuned Flash files, we show you how to publish RealPlayer content directly from Flash 5. We walk-through the format settings within the Publish Settings dialog.

  1. In Flash, create or open the movie that you want to publish. Make sure you have removed or disabled all Event Sync audio.
  2. Choose File➪Publish Settings.
  3. In the Format tab, check Flash and RealPlayer. You cannot publish RealPlayer files without having the Flash .SWF format checked.
  4. Click the Flash tab. In the Version drop-down menu, select Flash 4 or Flash 3 if your Web server has RealServer 8 installed. If you have an earlier version of RealServer, then you will need to select Flash 2. Change the Audio Stream settings to export Raw audio with a sample rate of 11, 22, or 44 kHz
  5. Click the RealPlayer tab of the Publish Settings dialog, shown below. In the Flash Bandwidth Tuning area, check Export Tuned Flash. The tuned .SWF file will automatically be given a “t” suffix at the end of the filename, before the .SWF extension. Then select (or type) a bit rate for the tuned Flash file.
  6. This can be any value between 1 and 100. Finally, if you want to be able to reselect (or reenter) a bit rate at the time of publishing, check the Adjust Bit Rate on Publish option. If this is checked, then Flash will prompt you to select a bit rate each time you publish your Flash movie. Otherwise, it will use the setting here for the tuned Flash file.

    The RealPlayer tab of the Publish Settings dialog

    The RealPlayer tab of the Publish Settings dialog

  7. In the RealAudio section of the RealPlayer tab, select Export Audio. Depending on your distribution method, choose a RealAudio streaming file type:
    • Single Rate streams sound for one target audience only. You can only check one connection speed with this file type.
    • SureStream streams sound for multiple target audiences. SureStream automatically switches to a lower bit rate during poor network conditions and/or for slower connection speeds.
  8. In the Format menu, select a codec to use for the streaming sound compression:
    • Voice Only applies compression suitable for voiceover soundtracks. If you choose a target audience option of 28.8KB, then the audio track will be sampled at 8 kHz. If you choose target audience option of 56KB or Single ISDN, then the audio will be sampled at 16 kHz. All higher connection speeds will sample the audio track at 22 kHz.
    • Voice With Background Music uses the same codec as Voice Only. The only difference from Voice Only is that the Single ISDN target audience option will also produce 22 kHz audio.
    • Music should be used for mono music soundtracks. The Music codec requires more bandwidth bit rate than the Voice codecs at all speeds except 28.8KB. If you select 28.8KB as the target audience, then this codec will sample audio at 8 kHz. At all other speeds, the audio will sample at 44 kHz with a frequency response of 20 kHz.
    • Stereo Music lets you encode the left and right channels of the audio track separately. At 56KB modem speeds, Stereo Music will sample the audio track at 11 kHz with a low frequency response of 5 kHz. At Single ISDN through Corporate LAN speeds, this codec will sample audio at 22 kHz with a slightly higher frequency response of 8 kHz. A 256KB DSL/cable modem speed will sample the audio at 44 kHz with a frequency response of 16 kHz, and all higher speeds will sample at 44 kHz with a 20 kHz frequency response.
  9. Depending on the Format and available bandwidth, choose a target audience option (the connection speed that audiences will connect at). If you selected SureStream you may select more than one target audience. RealServer G2 or 8 can compress SureStream files on the fly to maximize the available bandwidth.
  10. Select Export SMIL to export a .SMIL file with the published movie. The SMIL file synchronizes playback of the tuned Flash file and the RealAudio stream in the RealPlayer. If you exported RealAudio, you will need to export a .SMIL file.
  11. The .SMIL file is an XML (extensible markup language) based file that the RealPlayer reads to layout the RealMedia tracks. This text file can be further edited in Dreamweaver or in a text editor such as BB Edit. Click the Project Properties button to add information about the project with the published movie. In the Project Properties dialog, enter information in the specified text fields to identify the movie by title, author, copyright data, keywords, and description, and click OK.

  12. At this point, you can publish the files immediately by clicking the Publish button, or you can click OK and return to the Flash authoring environment to further edit your Flash movie. When you’re ready to publish, choose File➪ Publish (Shift+F12).
  13. If you place all files associated with the RealPlayer movie (the .SWF, .RM, and .SMIL files) in the same directory on your RealServer-enabled Web site, then the SMIL generated by Flash 5 contains all the code needed to stream the movie. However, if you place the .SMIL file on the HTTP server and the .RM and .SWF files on the RealServer, you need to modify the links in the .SMIL file to reference the content files on the RealServer.

All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd Protection Status

Flash Topics