Wednesday, January 14, 2009

Streaming QuickTime

The other day one of my clients requested us to re-encode one of the video into a streaming quicktime format. Easy enough, I thought. All you need is the quicktime Pro to do the work if you have a raw movie to work with. :( Guess what.. I cannot find the raw file. So what I have to do is to use a helper software, e.g., a video converter software to do the work. I pull the encoded movie file (in a *.wmv format) from a streaming server and convert it to a *.mp4. Then, I open quicktime pro and export it as *.mov. The triggy part for a streaming quicktime is that you need to select the option and make sure the "Prepare for Internet Streaming" box is checked. You also need to choose "Hinted Streaming." I just leave the rest as is.

Creating a pointer file for streaming quicktime is another issue. There is no such thing as you would normally do with windows media player (asx) or real player (ram). You have two options for streaiming quicktime -- link directly to a "rtsp://...." protocol or embed the movie.

Here is an example:

1. Link directly

Quick time streaming

2. Embed

2.1 Create an xml file first:





save the xml file as "yourpointer.mov"

2.2 In the HTML Editor insert the following chunk of code:









The issue with #1 method is that how do you force it to open in a quicktime player and not real player or other player set as the default player on your machine. Well, there is no easy way. I search on the Internet and somebody suggested to disable the "RTSP (Real Time Streaming Protocol) under Media Type Preferences in Real Player. This may work. The downside is what would happen to the *.ram file which also uses "rtsp://..." protocol?

I have no idea at the moment.

No comments: