How to input the raw data stream to a decoder after enumerating all the decoders? RRS feed

  • Question

  • Hi Evry1,


    I just want to know a way to input the raw data streams after demultiplexing to a decoder using the Source Reader architecture?

    What I understand from the MSDN documentation is that after enumerating the decoders & demultiplexing the streams, I can set the output type & set the subtype on the streams and the framework takes care of decoding the streams using the appropriate decoder itself. But, I want to avoid that and input the raw data streams myself to one of the enumerated decoders and get the decoded output stream so as to do some processing on the decoded stream.


    Please let me a know to do this.


    Thanx in advance...


    Tuesday, August 30, 2011 7:09 AM

All replies

  • If you set the current type of the source reader to the native type, the source reader will provide you with raw compressed samples.  You can then do whatever you want with the compressed samples. 
    Wednesday, September 21, 2011 10:53 PM