locked
multi-audio tracks support: Can not play back - MF_MEDIA_ENGINE_ERR_DECODE 0X80004004

    Question

  • media foundation multi-audio tracks support.(such as different languages)

    I write an avi media source(MyAviSource.dll) and an aac decoder MFT(MyAacDecMft.dll). They work well for playing video files that only has one audio track.

    and also can playback the video file with multi-audio tracks. But when I switch one file A with multi-audio tracks(aac type)to another file(whatever) frequently, the test APP maybe throw error, and vice versa. The error is random, about thirty percent of probability. error like this "Can not play back - MF_MEDIA_ENGINE_ERR_DECODE 0X80004004 ".

    Media extensions sampe as reference object for writing myself MFT.

    I test the problem in different cases. 
    Microsoft default AVI source + default AAC dec is ok.
      MyAviSource.dll + default AAC dec is ok. 
    Microsoft default AVI source + MyAacDecMft.dll is error. 
    MyAviSource.dll + MyAacDecMft.dll is error.

    so maybe it's because of MyAacDecMft.dll problem. But I don't know what is problem. Any help will be appreciated.

    Wednesday, September 12, 2012 9:30 AM

All replies

  • The Media team find a bug in the Media samples which cause DLLs to get unloaded too early. 

    http://social.msdn.microsoft.com/Forums/da-DK/winappswithnativecode/thread/8d83de16-e8d3-4e1e-a6d1-5d2f02f8e1f5

    I guess my MyAacDecMft.dll is another bug, some like the DLLs error.

    Wednesday, September 12, 2012 9:34 AM
  • Hello,

     

    Thanks for your feedback, I will involve more experts to investigate it.

     

    Best regards,

    Jesse


    Jesse Jiang [MSFT]
    MSDN Community Support | Feedback to us

    Thursday, September 13, 2012 6:25 AM
  •  I need you help, not only one message.  Thank you.

    Monday, September 24, 2012 7:02 AM