none
using directshow to play mp3 file on wince! RRS feed

  • Question

  • Hi all,

    I try to use directshow to play mp3 file on my wince platform, but it cant work. I think this is because there isn't  any mp3 decoder in my wince platform. So maybe i need add a mp3 decoder into my OS, but i dont know where i can get a mp3 decoder and whether it is free? And i also dont know how to add a directshow filter into my OS (I know how to do this on Windows XP).

    Can anybody help me? Thanks a lot!


    • Moved by Jesse Jiang Tuesday, July 19, 2011 7:15 AM (From:Visual Studio Smart Device Development - Native C++ Project)
    Monday, July 18, 2011 3:52 AM

All replies

  • Hi ,

     

    I think your issue should be raised in the Windows Embedded Compact Platform Development. I believe they will know more information of this issue than us, and I will move this one to that forum.

     

    Thanks for your understanding,

     

    Best regards,

    Jesse


    Jesse Jiang [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Tuesday, July 19, 2011 7:15 AM
  • MP3 Decoder is available as a OS component in WinCE.In order to include mp3 decoder to the WinCE OS,you should have Platform builder installed in your development PC to Build the OS with new component.Platform Builder is available as free to evalute in the windows embedded site.Also download this preparation kit to know how to build a new OS.

     

    http://www.microsoft.com/windowsembedded/en-us/develop/windows-embedded-ce-6-certification-prep-kit.aspx

     

    Once you install the PB to your dev PC,you would be able to access the code sample of CEPLAYIT which is DShow based player.

    WINCE600\PUBLIC\DIRECTX\SDK\SAMPLES\DSHOW\PLAYERS\CEPLAYIT

    Regards,
    Prabu [eMVP]
    http://prabukumar.wordpress.com/
    www.e-consystems.com
    Tuesday, July 19, 2011 10:31 AM
  • the mp3 codec is typically included in the OS at build time; if you created the OS using Platform Builder you can add the codec yourself.

    If the device is a COTS,  since Windows CE is an embedded componentized OS the OEM can include/exclude whatever feature. Probably the OS in your device does not include an mp3 codec (maybe including it implies a more expensive runtime license).

    I do not know if there are free standalone mp3 codecs but you may be able to find free media players which may include an mp3 codec.

    About DirectShow programming, the concepts are the same as the desktop. See http://msdn.microsoft.com/en-us/library/aa451350.aspx for more information


    Luca Calligaris lucaDOTcalligarisATeurotechDOTcom www.eurotech.com Check my blog: http://lcalligaris.wordpress.com
    Tuesday, July 19, 2011 10:42 AM