Thread: ID3v1 /ID3v2 Tags @ mp3s

  1. #1
    Registered User
    Join Date
    Dec 2003
    Posts
    7

    ID3v1 /ID3v2 Tags @ mp3s

    Hiho,
    i have got a questiion about these tags. Well, I want to write a little program to be able to make customable mp3 lists. Due to that i need to know how to modify the mp3 tags. When i use my Texteditor to edit an mp3 i can see the ID3v1 (at the end) and the ID3v2 (at start) Tag, but if i modify them the file is broken. So, how can i do that? what is the key of editing these tags?

  2. #2
    5|-|1+|-|34|) ober's Avatar
    Join Date
    Aug 2001
    Posts
    4,429
    be warned that if you write a program that deals with MP3s, you have to pay royalties/fees to the MP3 patent owners.

  3. #3
    Registered User
    Join Date
    Dec 2003
    Posts
    7
    its only for private use

  4. #4
    Originally posted by ober5861
    be warned that if you write a program that deals with MP3s, you have to pay royalties/fees to the MP3 patent owners.
    Also if you make a program that just plays an mp3 and reads the tag and stuff and offer it for free?

    Maybe I should read the license agreement, but hey Asking the obe is much easyer

  5. #5
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    >>be warned that if you write a program that deals with MP3s, you have to pay royalties/fees to the MP3 patent owners.

    if you sell it. They can't make you pay money becuase you wrote a program.
    PHP and XML
    Let's talk about SAX

  6. #6
    Registered User
    Join Date
    Dec 2003
    Posts
    7
    by the way: does anyone have got an answer to my question?

  7. #7
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    could be a problem with DOS vs Unix text files....try www.wotsit.org for more help
    PHP and XML
    Let's talk about SAX

  8. #8
    5|-|1+|-|34|) ober's Avatar
    Join Date
    Aug 2001
    Posts
    4,429
    Originally posted by Waldo2k2
    if you sell it. They can't make you pay money becuase you wrote a program.
    True. But he never said before I posted that that it was only for personal use.

    Oh, and sorry, but I don't know the answer to your question.

  9. #9
    Registered User
    Join Date
    Dec 2003
    Posts
    7
    The mp3 Link at www.wotsit.org links to a site, to which i dont have access: http://home.swipnet.se/grd/mp3info/

  10. #10
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    well just use google man
    PHP and XML
    Let's talk about SAX

  11. #11
    Registered User
    Join Date
    Dec 2003
    Posts
    7
    Well...do you really think i would register at an "unknown" Forum if i havent looked for it with google before?
    All i can find with google are thousands of programs which edit these tags, but no single explaination how to do it by code. Maybe ya know a keyword which is very useful for it which i didnt use.
    After i looked for some time i thought: Hey look for a programmers forum, they have to know it...well, here i am...

  12. #12
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    >>do you really think i would register at an "unknown" Forum if i havent looked for it with google before?


    LMAO!
    Do you have any idea how many people do just that??
    We can't help but assume, sorry.

    and btw, when i went to wotsit, here's the first hit i had:
    http://www.id3.org/

    so, like I said, most people register at an "unknown" forum before really searching for anything...
    PHP and XML
    Let's talk about SAX

  13. #13
    Registered User
    Join Date
    Dec 2003
    Posts
    7
    Found that page, too. Most of the things i could find there were interesting...but to say the truth: i dont understand most of it. There is information about hexcodes and about lots of things at mpgs and so on. And i dont really want to programm "sites" in their kinda "html" ID3v2 language. I just want to modify the ID3v1 or IDv2 tag with my c++ Builder.
    To Bring it to a point: There is 100% of information. There is 10% of information which i really understand..and there is 1% of information i am looking for. English is not my native language. Compared with all the information which i dont understand there is a 99% Chance that i read the information which i am looking for and dont recognize it.
    I am just a junior programmer who learned to programm mostly at school. Due to the big mass at mp3 tag programms i think there has to be an easy solution to change them. I hope that there IS an easy way and that i can find it.

    Thanks anyways.

  14. #14
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    html??
    you're $hitting me right?

    I'll ignore that one.....

    anyway, lets get this straight. You don't understand what you're reading, you don't want to program it, you just want to edit it in a text file, and you don't want to use the plethora of tools that work...so let me ask, why the hell not just use the tools if you're not going to program it?

    Also, if you get how this works, the same way you'd edit it with a program is the same way you'd edit it by hand. The info is all there.
    PHP and XML
    Let's talk about SAX

  15. #15
    Registered User
    Join Date
    Dec 2003
    Posts
    7
    Maybe you should read more correctly what i have written (or is my english that bad? *g*).

    It is not html but kinda html
    From the link: Parsers will ignore code they dont know, ya can put pictures into it and so on.

    And no, i dont just edit it with a text editor, but i want to program it. But if i know how to edit it by a text editor i know how to edit it wit c++, too (with "fopen" and so on)

    I have got a programm for mass-re-tagging mp3 files. But i need a category how good the file is and a second genre. Of course i could do that with this program too, but it would be more comfortable with an own program for which i have to know how to read these files anyways.

    If i have got all these informations in that files, i dont need to have a databank which is hard to synchronise with the changing of files and so on.

    I want to start the program and then tell it "I want a playlist: medium and better Gothic and good metal. Now it will check the files wether they can be used or not for the playlist and thats it (in general).

    All that circumstances for that little $$$$? Ya're askin? Well, if i got an concrete answer 3 days ago the program could have been ready now (or maybe not, depends on the answer).
    I have holidays and nothing to do, heh.

    Asked in 2 other forums now. If i get an useful anser i will post it here.

    Well, thanks for yar time, even when it didn't help very much, heh

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Vista core audio apis for playing mp3s
    By elmutt in forum Windows Programming
    Replies: 0
    Last Post: 06-03-2008, 04:12 PM
  2. HTML tags validator
    By Terrorist in forum C Programming
    Replies: 24
    Last Post: 05-09-2008, 02:14 AM
  3. Modifying MP3 tags (ID3v1)
    By yourbuddypal in forum C++ Programming
    Replies: 5
    Last Post: 07-18-2006, 11:12 AM
  4. Replies: 2
    Last Post: 04-16-2004, 04:58 AM