HOWTO produce and puplish AV-Streams (with Darwin Streaming Server)
Publish a mpeg-stream or playlist on a webpage with quicktime plugin
create a textfile with:
save it as:
filename.mov and copy it to your web-directory
then copy the following code to your webpage and modify height, width an the filenames
Add a hint track (to stream with Darwin Streaming Server):
# Hinting. (with open-source mp4creator)
( http://mpeg4ip.sourceforge.net/docs/ )
To stream a file that has audio and video using a streaming server like the Darwin streaming server, you will need to hint the file.
You can use the mp4creator's hint option. With this option, you need to specify a track number. Use the mp4info utility to get this information.
Track Type Info
1 od Object Descriptors
2 scene BIFS
201 video MPEG-4, 166.633 secs, 262 kbps, 320x240 @ 14.16 fps
101 audio MPEG-4, 166.528 secs, 49 kbps, 32000 Hz
Then use the mp4creator command line options to add the hint tracks:
mp4creator -hint=201 file.mp4
mp4creator -hint=101 file.mp4
Adding a hint track with QuickTime Player (Pro version)
( http://www.publicsource.apple.com/projects/streaming/StreamingServerHelp/pgs/ss03.html )
You can use the Pro version of QuickTime Player on most Mac OS-based and Windows-based computers. Check the QuickTime Web site for information on system requirements and installation instructions for QuickTime Pro.
When you use QuickTime Player to export a movie as a hinted movie, QuickTime adds the appropriate number of hint tracks automatically.
To export a QuickTime movie as a hinted movie:
1 Open the Pro version of QuickTime Player on a Mac OS-based or Windows-based computer.
2 Choose Export from the File menu.
3 Choose "Movie to Hinted Movie" from the pop-up menu, then type a new file name.
4 Click Options in the export dialog box.
5 Select Optimize Hints For Server.
6 Click OK.
7 Click Save.
For detailed information on hinting movies, see the following site:
• QuickTime authoring Web site
www.apple.com/quicktime/authoring/