Re: From RGB frames to stream
- From: "Alessandro Angeli [MVP::DigitalMedia]" <nobody@xxxxxxxxxxxxxxxxxx>
- Date: Wed, 20 Apr 2005 18:38:35 +0200
juky wrote:
> I have an application where I can capture single frames
> in RGB format. Now I need to generate a real stream and
> watch it remotely by using WMP. Is WME SDK able to
> generate such stream starting from single RGB frame?
> I've never used WME SDK before, so any good link or
> example in VC++ would be fine.
You can use the WMWriter object in the WMFSDK. Start by
reading the programming guides in the SDK docs and from the
UncompAVIToWMV sample. This sample reads RGB pictures from
an AVI, but you can change that part to read them from
anywhere else.
If you need to stream the result instead of saving it to a
local file, you can use the WMWriterNetworkSink which will
set up a pseudo-streaming HTTP server just like
WindowsMediaEncoder to which WMP can connect.
--
// Alessandro Angeli
// MVP :: Digital Media
// a dot angeli at psynet dot net
.
- References:
- From RGB frames to stream
- From: juky
- From RGB frames to stream
- Prev by Date: Encoder push and OnAcquireCredentials
- Next by Date: Re: commandline parameters/switches
- Previous by thread: From RGB frames to stream
- Next by thread: Errors with scripts in WMEnc 7 ang MPEG1 in WMPlayer
- Index(es):
Relevant Pages
|