Directshow filter in Windows Media Player Mobile on WM5.0

Hi,

I have written a directshow filter for WM5.0 to play YUV files.I can play YUV Files with this filter perfectly with an application that calls RenderFile() but when i try to open files in Windows Media Player (i am able to associate files with Windows Media Player) I am not able to see the playing I just a message saying Opening.....

Is there any particular format for video in Windows Media Player Mobile

Thanks,




Answer this question

Directshow filter in Windows Media Player Mobile on WM5.0

  • Steve Jensen

    Hi Rahul

    I am planing to write directshow filters for WM5 using VisualStudio2005, can u please tell me how to create the filter using visual studio2005 or if any extra tools are requred please let me know.....

    Lohith



  • Jacus83

    Today I debugged my directshow workspace to play YUV files in windows Media player 10 Mobile on WM5.0 and found that CSourceStream:: FillBuffer() is being called only once and after getting first sample to render it is neher rendering that sample nor coming back to CSourceStream:: FillBuffer() .
    I am using MyFilter class derived from CSource Filter and its output pin is derived from CSourceStream. I am using output media type as {MEDIATYPE_Video,MEDIASUBTYPE_RGB565 }, I even tried with MEDIASUBTYPE_RGB24 but i am getting the same result. It is working perfectly with RenderFile() but not playing inside WMP10 Mobile.
    Can you please guide me what could be wrong here
    Thanks and Regards,


  • Nikolay Georgiev

    WMP10 Mobile unfortunately does not use DirectShow graphs to play media. It uses what appears to be DMO filters directly and so far I was not able to see any extensibility path, i.e. you are stuck with the formats currently supported

  • REche

    But if in am try to play only Audio from a MP4 file with my directshow filter it is working correctly. That means WMP 10 Mobile do accept directshow filters. I feel that for video display i am missing something.

    I am giving RGB565 output from my filter to video renderer as input, could this be an issue

    Regards,



  • Directshow filter in Windows Media Player Mobile on WM5.0