AACelerator and the QuickTime Streaming Server
AACelerator provides the easiest and quickest way to prepare streaming MPEG-4 audio files for use with the QuickTime Streaming Server. When used in combination, you can quickly create MPEG-4 playlists to stream across your local network or through the internet. This quick tutorial will provide some tips on how to configure AACelerator to encode optimal MPEG-4 audio files and serve them using Apple's QuickTime Streaming Server.
Setting up QTSS
If you don't already have the QTSS installed, the first step is to download the latest distribution of the installer from Apple's web site [download 8.5MB]. After running the installer, start the QTTS setup assistant by double-clicking the application "QuickTime Streaming Server" in your "Applications" folder.
If you need help configuring the server, here are some excellent resources to get you started:
- O'Reilly's MacDevCenter article on setting up a Home Web Radio
- Apple Document QuickTime Streaming Server Administrator's Guide
- Apple's QTSS Homepage
Setting up AACelerator
- Start AACelerator and drop some audio files into the file & folder list.
- Set the type of hinted track you want created for the MPEG-4 files by selecting either Basic or Optimized from the Streaming Options pop-up. Most often, the Basic hinting track is more than adequate. If you require Optimized hinting tracks, select this option, but be aware that the resulting file size can be almost doubled.
- Select a data rate for the encoded files using these guidelines as a starting point:
- Lan: 128 - 192 kBytes/sec
- DSL/Cable: 90 - 128 kBytes/sec
- 56k Dial-Up: 24 - 32 kBytes/sec
- Set the destination folder for the encoded files to the QTSS Media Directory. The default location of this directory on Mac OS X is:
-
/Library/QuickTimeStreaming/Movies

QuickTime Streaming Server Administration Web Page - This clipping from a screen shot shows what you will see when you select the General Settings option from the server administration site. Here you can view and set the media directory for the QuickTime Streaming Server.
Creating MPEG-4 Audio Play Lists
Now let's create a new playlist with the media we've encoded. Click on the Playlists link in the main QTSS Admin page and when the Playlists page is loaded, click "New Movie Playlist".

Type in a name and mount point (we always keep these the same) for the new playlist. In the "Available Media" list, you will see the list of folders in your media directory. Double-click the folders to see contents of the folders. You can drag folders or individual songs over to the list of items for the playlist.
Set the Play Mode for this play list to either Sequential, Sequential Looped, or Random. Details on these options can be found in the QuickTime Streaming Server Help. When you're finished setting the options for this playlist, click the "Save Changes" button at the bottom of the page.

Once the playlist is added, you must tell QTSS to start playing the songs in the playlist. Simply click the play button icon in the list item for this playlist. The status will update indicating that the playlist has successfully started playing.

There are a couple caveats worth noting. First is that the playlist will fail to start playing if there are any MP3 formatted audio files included in the playlist. The QuickTime Streaming Server has a completely separate mechanism for streaming MP3s. This mechanism uses the shoutcast/icecast method of streaming MP3 audio and you cannot mix MPEG-4 and MP3 audio files in the same playlist.
The second limitation is that you must encode all MPEG-4 media in the playlist with either the Basic or Optimized streaming option in AACelerator, otherwise the QTSS will not be able to start playing the playlist.
You can tune into your new playlist by opening the QuickTime Player application and opening a the URL for the movie in a new player. The URL will depend on how your network is setup, but should look something like:
-
rtsp://qtsservername.yourdomain.com:8000/Jazz
enjoy!
mac:method