Results 1 to 5 of 5

Thread: Mp3 Tag reading and writing

  1. #1

    Thread Starter
    Fanatic Member Lasering's Avatar
    Join Date
    May 2006
    Location
    Lisboa
    Posts
    559

    Mp3 Tag reading and writing

    Hi!!

    I've been looking in the forum and i find a Class that is capable of reading Mp3 tags Thread. But now i wanted to be able to edit them, or write them. How can i do that?

    Thks
    Controls: XPCC|Quantum
    Windows API'sLINQ to XML SamplesRegex Tutorial

    Albert Einstein:
    "Imagination is more important than knowledge."
    "Everything should be made as simple as possible, but not simpler."
    "Great spirits have often encountered violent opposition from weak minds."

  2. #2
    Frenzied Member
    Join Date
    Jul 2005
    Posts
    1,521

    Re: Mp3 Tag reading and writing

    Visual Studio Team Edition 2005
    GDI+ Links: Bob Powell VB.Net Heaven
    API Links: All API Pinvoke.Net
    VB6 to VB.Net: Visual Basic 6 to .NET Function Equivalents (Thread)

  3. #3
    Fanatic Member Jumpercables's Avatar
    Join Date
    Jul 2005
    Location
    Colorado
    Posts
    592

    Re: Mp3 Tag reading and writing

    I have recently been working on reading and writing MP3 tags. There are two types of tags that mp3 may have ID3v1 or ID3v2. While most mp3s now are using ID3v2 some still have ID3v1.

    ID3v1 is very simple to read and write you just need to write the information into an 128 byte buffer at the end of the mp3 file.

    However, ID3v2 gets much more complicated and you should visit the ID3 website for more information.

    The basic overview of an ID3v2 tag is composed of a header, extended header and frames which hold the information such as title, artist, etc.

    C# - .NET 1.1 / .NET 2.0

    "Take everything I say with a grain of salt, sometimes I'm right, sometimes I'm wrong but in the end we've both learned something."
    _____________________
    Regular Expressions Library
    Connection String
    API Functions
    Database FAQ & Tutorial

  4. #4
    Lively Member
    Join Date
    May 2002
    Posts
    94

    Re: Mp3 Tag reading and writing

    Have you had any luck in properly decoding the header section of an ID3v2 mp3 file? I have been at this for a while. I can grab info out of the file but as the frames go on, there not in sync or somthing. I grab the first 10 bytes which has the frame info & size, but in some frames the size doesn't match up and all that I receive at that point is trash data.

    Do you happen to have any example code that i could look at to see how your processing this data?
    If your post is resolved, mark it as such using the thread tools, Keep the forums tidy.

  5. #5

    Thread Starter
    Fanatic Member Lasering's Avatar
    Join Date
    May 2006
    Location
    Lisboa
    Posts
    559

    Re: Mp3 Tag reading and writing

    Lol!

    I've been in vacations so I havent doing anything and yet i'm just collecting information so when i have all i need i can start work on it!
    Controls: XPCC|Quantum
    Windows API'sLINQ to XML SamplesRegex Tutorial

    Albert Einstein:
    "Imagination is more important than knowledge."
    "Everything should be made as simple as possible, but not simpler."
    "Great spirits have often encountered violent opposition from weak minds."

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width