General comments on CAB files and streaming video
There are two ways you can stream video:
1. Stream stored videos (video-on-demand type solution) and
2. Stream live video
The Streaming Video HTML sample, located at: ..\Examples\ltmm\html\SampleVideoStreaming.htm sample shows you how to stream stored video. In order to stream video on every user’s computer, we chose to show you how you use Windows Media Player to stream Ogg files.
We created a CAB file containing the following files:
H.264 Decoder Also known as a decompressor, this is a module or algorithm to decompress data.decompressor Also known as a decoder, this is a module or algorithm to decompress data., this is a module or algorithm to decompress data.decompressor , this is a module or algorithm to decompress data. (DirectShow )
H.264 Decoder (DMO)
H.264 Decoder Kernel (required for both DirectShow and DMO)
Ogg splitter (required to play Ogg files in Media Player)
Vorbis decoder (required to play Vorbis audio data)
Q: Why do I need both the DMO and DirectShow H.264 decoders?
A: Media Player 9 and earlier will play video in AVI and Ogg files if it has a DirectShow or VFW decoder. The files in our sample web pages use Ogg files, so we added the DirectShow decoder.
If the H.264 video is inside Windows Media files (WMV or WMA), then you need to use a DMO or Video For Windows (VFW) decoder. We do not have a VFW H.264 decoder, so we included the DMO decoder in the cab file for simplicity. This way, you can stream Windows Media, AVI or Ogg files using the same CAB file. Contact sales@leadtools.com for license information.
Note: You are not licensed to put release decoders in a CAB file unless you get a license from LEAD Technologies, Inc. If you don’t have such a license, just put the eval decoders in the cab file.
Q: How do I stream live video?
A: To stream live video, we recommend you use Windows Media Server technologies. At the time we created this document, information on Windows Media Server could be found at http://www.microsoft.com/windows/windowsmedia/9series/server.aspx. If this link no longer exists, simply search for Windows Media Server on Microsoft’s web site (www.microsoft.com).
For information on how to use the LEAD H.264 encoder Also known as compressor, this is a module or algorithm to compress data. Playing that data back requires a decompressor, or decoder. with Windows Media Server, refer to Using H264 DMO Encoder with Windows Media Server.htm.
Notes on how to generate your own cab file (if you decide to use the CAB file we installed, you can skip this section).
Both the DirectShow and DMO H.264 decoders require the kernel to be present when you register the DLLs. We have included a sample file (H264OGG.INF) which you can modify and use when creating your own CAB file.