• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 16. Preparing Movies for Streami... > Preparing Movies for Mixed RTSP and ...

Preparing Movies for Mixed RTSP and HTTP Streaming

You may have a movie containing some tracks that you want to be served via RTSP (video and audio tracks, for example) and other tracks can be served only via HTTP (3D and sprite tracks, for example). You can use QuickTime Player to prepare such a movie for streaming.

To prepare a movie in which some tracks will be served via RTSP and some tracks will be served via HTTP:

1.
Split the movie into two movies: one containing the tracks you want to stream via RTSP and the other containing the tracks you can serve only through HTTP.

To do so, use the Extract Tracks and Delete Tracks commands as described in “Extracting Tracks” and “Deleting Tracks” in Chapter 7. You can, for example, extract all the tracks intended for HTTP serving (Figure 16.14) and then delete them from the original movie (Figure 16.15), leaving a movie with only the tracks you want to be served via RTSP.

Figure 16.14. To split your movie into two movies, you can extract the tracks intended for HTTP serving (or those intended for RTSP serving).


Figure 16.15. Delete whatever tracks you extract, leaving only the other type of tracks.


2.
Prepare the movie that you want to stream via RTSP as described in “Preparing Movies for RTSP Streaming” earlier in this chapter.

3.
Prepare the other movie as described in “Preparing Movies for HTTP Streaming” earlier in this chapter.

4.
Upload the RTSP movie to your streaming QuickTime server.

5.
In QuickTime Player, choose File > Open URL, and in the Open URL dialog box, type the URL of the RTSP movie that you uploaded in step 4 (Figure 16.16); then click OK.

Figure 16.16. When the movie with the tracks for RTSP streaming is prepared properly (hinted) and uploaded to a QuickTime streaming server, use the Open URL command in the File menu to open it over the network.


QuickTime Player starts receiving the RTSP stream.

6.
Choose Edit > Select All; then choose Edit > Copy (Figure 16.17).

Figure 16.17. Select all the data in the movie opened over the network, and choose Edit > Copy.


7.
Open the movie that you prepared for HTTP streaming, and move the Current Selection indicator to where you want the RTSP tracks to start playing (usually, the beginning).

8.
From the Edit menu, choose Add (Figure 16.18).

Figure 16.18. Open the movie with the tracks for HTTP streaming, and add the data from the RTSP movie that you opened over the network. The Add command appears in the Edit menu.


The visual portion of the RTSP movie is placed in the top-left corner of the window (Figure 16.19). If you want to change the location of the visual portion of the RTSP movie, use the Size and Layer panels, as described in Chapter 8; all the data for the RTSP movie is in the track labeled “Streaming Track” in the Properties window.

Figure 16.19. The RTSP movie is added to the HTTP movie. Immediately after adding the data, you’ll see only the QuickTime logo until the connection has been made.


9.
From the File menu, choose Save As, and save the movie as a self-contained file with a new name (with a .mov extension).

10.
Upload the movie that you saved in step 9 to your HTTP server.

11.
If you want to embed this movie on a Web page, follow the instructions in “Embedding an HTTP QuickTime Movie on a Web Page” in Chapter 17.

When a viewer opens this movie over the Internet, it will link to your RTSP server automatically and play the tracks from the RTSP movie that you uploaded in step 4.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint