How to extract Album Art of audio file?

Help
Sarah
2011-04-20
2012-12-11
  • Sarah

    Sarah - 2011-04-20

    Hi everybody,

    I just know how to get text properties of audio file using MediaInfo.dll. But I don't know how to extract binary data of Album Art from audio file. Is it possible to use MediaInfo library to get that information? If possible then how to?

    Please help me.

    Thank you

     
  • Jerome Martinez

    Jerome Martinez - 2011-04-20

    MediaInfo::Get(Stream_General, 0, "Cover_Data");

    You receive the cover in Base64 format, you need then to "transform" the base64 to binary (there are a lot of functions on the net for this)

     
  • shaheer

    shaheer - 2012-05-31

    Can I dump the binary data into some jpeg/png file and use it?

     
  • Jerome Martinez

    Jerome Martinez - 2012-05-31

    What is the problem with converting Base64 to binary data and save it into a file?
    This is the kind of stuff easily doable from command line or C/C++/… It is not related to MediaInfo.

     
  • shaheer

    shaheer - 2012-05-31

    There is no problem sir.
    I was just confirming whether the converted binary data generated is directly usable or not.
    Thanks for reply.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks