Click here to Skip to main content
15,891,689 members
Please Sign up or sign in to vote.
1.50/5 (2 votes)
See more:
Hello everyone, I need a class or a library to modify the music metadata, anyone knows how to do this?, thanks...
Posted
Comments
PhilLenoir 24-Sep-14 15:56pm    
No, not directly, but metadata is usually stored in alternate "streams" on the file. Multiple stream files are a not well publicized feature of Windows file systems. I'd do some research in that direction.
Sergey Alexandrovich Kryukov 24-Sep-14 16:38pm    
Right. The concrete recipe is impossible to give without knowing what exactly OP wants; the picture is much more complex. I tried to answer in general only on the first step; please see Solution 1.
—SA
Sergey Alexandrovich Kryukov 24-Sep-14 16:25pm    
A class..? Hm...

There is no such thing as "music file". Media is stored using container formats of different types. A container allows to combine several different types of the codecs, often limited subset of them. And inside the container, there are different parts and different streams, interlaced in some ways, or not. One of the parts is metadata, different types or different containers.
Now, you can learn all those types and decide what to work with and what not.

(And no, it is not directly related to so-called "filename extensions", which actually do not really exist. In the world of media, file name does not tell much about what's inside.)

—SA

1 solution

Please see my comment to the question.

I would recommend three open-source products (2nd and 3rd are basically the same thing, one being based on another one) which you can use to sort out what do you have or possibly can have. No, they won't solve your problem yet. They will help you just to understand the problem. And then you can decide what do you want to cover and then start looking for some solutions. Or asking about them, with proper clarifications.

Here:
http://en.wikipedia.org/wiki/Media_Player_Classic[^],
http://en.wikipedia.org/wiki/FFmpeg[^],
http://en.wikipedia.org/wiki/Libavcodec[^].

With Media Player Classic, see the media property of the media you come across. You can do the same with FFProbe.EXE, a utility which comes as a part of FFMpeg. There is libav as a separate product, also with corresponding utilities. And read the documentation of FFMPeg on supported set of standards, codecs, and… everything else.

See also:
^] (http://en.wikipedia.org/wiki/Digital_container_format),
http://en.wikipedia.org/wiki/Codec[^].

(We experience the problem of CodeProject anchors posts; first link is not "clickable"; sorry for the inconvenience.)

—SA
 
Share this answer
 
v6

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900