FilterGraph.AddSourceFilters fails (0x80040266) for WMV and MP4 files on WES7. Help? RRS feed

  • Question

  • I have an app on Windows Embedded Standard 7 using Directshow to play back media files. Audio file types work fine but both WMV and MP4 files fail at:

    filterGraph.AddSourceFilter(fileSource, fileSource, out sourceFilter)  // Using DirectShowLib-2005

    with HResult = 80040266

    I've added the "premium Codecs", "Audio and Video Engines and Media Foundation", and "DirectX and Windows Device Experience" Feature Packs. Not sure how to resolve this. 


    (Cross Posted to

     UPDATE: Adding the "Windows Media Player" feature pack resolves the error for WMV files but not for MP4 files. So I'm still trying to resolve this...

    • Edited by GCoder Sunday, July 10, 2011 10:05 AM New findings
    Sunday, July 10, 2011 6:04 AM

All replies

  • Does the application work on Windows 7?

    -Sean / /, Book Author - ProGuide to WES 7, XP Embedded Advanced, WEPOS / POS for .NET Step-by-Step
    Sunday, July 10, 2011 4:03 PM