Re: Help rendering uncompressed video in IWMReaderCallback::OnSa
From: Jeremy Noring (somewhere_at_thenet.com)
Date: 07/26/04
- Next message: Ken: "Re: indexing question"
- Previous message: Eric Hoffert: "SDK for Macintosh OS X for Windows Media"
- In reply to: DirectShowNewbie: "Re: Help rendering uncompressed video in IWMReaderCallback::OnSa"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 26 Jul 2004 13:42:58 -0600
"DirectShowNewbie" <aaaaa@bbbbbbbb> wrote in message
news:d69b6ebf2d4767074abf5aca0dd1c2fd@localhost.talkaboutsoftware.com...
> Thanks for your suggestion.
>
> Actually, I would also like to use DirectShow to solve the problem.
> However, I was not able to find filters that accept an IStream source.
As far as I know, there aren't any filters that take an IStream as a source
included in DirectShow. The best way would be to make your own source
filter, and then inside the filter include your code with the IStream stuff.
You can pass on the INSSBuffer you get from GetNextSample or OnSample
(depending upon whether or not you're using the sync or async reader) to the
output pin on your custom source filter.
I'd read the sections inside of the DXSDK devoted to writing filters, and
browse the sample filters included (specifically, the ball filter or the
push source filter).
-- Where am I going? And why am I in this handbasket?
- Next message: Ken: "Re: indexing question"
- Previous message: Eric Hoffert: "SDK for Macintosh OS X for Windows Media"
- In reply to: DirectShowNewbie: "Re: Help rendering uncompressed video in IWMReaderCallback::OnSa"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|