Audio/video streaming
How to RTSP stream QuickTime audio and video files.
Before you start, you need to get a streaming account.
Ask your liaison to set up your streaming account.
Step 1: Preparing Movies for RTSP Streaming: Hinting
a movie
1. Open the movie you want to stream in QuickTime
Pro.( All the computers in the ITC have QuickTime
Pro installed).
2. From the File menu, choose Export to open the
Export dialog.
2. From the Export pop-up menu, choose Movie
to Hinted Movie.
3. Click Save.
Step 2: Embedding and RTSP Movie in a Web Page
1. Upload your hinted movie that you created in Step
1 to the streaming server- Drag the movie to your
streaming folder > webpublish.haverford.edu
2. Open QuickTime Pro.
3. From the File menu, choose Open URL in New Player to display the Open URL dialog.
4. In the text box, type the URL of your RTSP movie
rtsp://stream.haverford.edu/~username/mymovie.mov
If you want to make the audio/movie file available
off campus, type
rtsp://stream.haverford.edu:554/~username/mymovie.mov
You need to replace username with your username,
and mymovie.mov with the name of your movie file.
Then click OK.
5. From the File menu, choose Save As to open the
Save dialog.
6. Click the Make movie self-contained radio button,
enter a file name with a .mov extension, specify
a new location and click Save.
This newly saved movie (reference movie ) does not contain the movie
data but rather the address of your RTSP movie. When a user opens it,
a connection to the RTSP server will be made, and the movie data will
be streamed.
Step 3: Adding an OBJECT Tag to Endure QuickTime
Playback
1. Copy the following code where you want the movie
to be on your HTML page.
<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="320" height="256" codebase="http://www.apple.com/qtactivex/qtplugin.cab">
<param name="SRC" value="mymovie.mov">
<param name="CONTROLLER" value="TRUE">
<param name="AUTOPLAY" value="FALSE">
<param name="CACHE" value="FALSE">
<embed src="mymovie.mov" width="320" height="256" controller="TRUE" autoplay="false" cache="FALSE" type="video/quicktime"
pluginspage="http://www.apple.com/quicktime/download/">
</embed>
</object>
2. Replace mymovie.mov with the name of the file
you saved in Step 2 and insert the proper values
for the WIDTH and HEIGHT attributes. In the case
of audio files, you can use width="160" height="16.”
3. Upload both your Webpage and the reference movie
you saved in Step 2 to your Web
Server (webpublish.haverford.edu).
