Re: Help rendering uncompressed video in IWMReaderCallback::OnSa

From: Jeremy Noring (somewhere_at_thenet.com)
Date: 07/26/04


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?


Relevant Pages

  • Re: How to extract an audio track out of a video clip ?
    ... DirectShow is a format-agnostic foundation, while QT is a higher level layer ... you can add them as a separate video track or as Line-21 captions. ... Unless I know more about the format and what kind of control ... I meant you could use the SampleGrabber filter in the ...
    (microsoft.public.multimedia.directx.dshow.programming)
  • Re: Create ASF File Using XVID Codecs
    ... WM ASF writer DS filter property page only enumeres profiles with codecs. ... WM ASF writer support IWMWriterAdvanced2 interface. ... >> For this I think resonably to use DirectShow. ...
    (microsoft.public.windowsmedia.sdk)
  • Re: how to use the BDA tuner and filter for DTV broadcasting DVB-H T-DMB
    ... these days i read all the help and MSDN in DDKWindows SDKand DirectX SDK. ... i also install the win 2003 sp1 ddk i read the Europa sample i can follow it write tuner filter my own but i think Microsoft use BDA only support DVB and ATSC and media source only MPEG2 TS. ... do not compatible with directshow. ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: How to develop DirectShow filter on Windows CE 6.0?
    ... If i want to write a DirectShow application to test my ... create a subproject that can be built with the OS ... Directshow filter ... My idea is to build an OS design first. ...
    (microsoft.public.windowsce.app.development)
  • Re: Source Filter - What to do when no sample is available?
    ... I'm currently implementing a video conferencing application using ... I've got a DirectShow source filter ... which reads data (compressed audio or video) from the network and passes it ...
    (microsoft.public.win32.programmer.directx.video)

Quantcast