MP3 programming

Moderators: Sephiroth
Number of threads: 182
Number of posts: 407

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
losing all tags Posted by fineware on 28 May 2006 at 11:06 AM
I am looking for a simple piece of code that will allow me to extract everything EXCEPT the tags. In otherwords, I want to either read into memory or create a file that has none of the tags. I can detect whether it has either type 1 or type 2 tags, and I understand that the type 1 tag is at the end and is something like 127 bytes if present. While the type 2 tag is at the front but is a varying length.

So, TAG2 & data & TAG1... right?

All I want is 'data' from the middle.


Report
Re: losing all tags Posted by Mojojojo on 4 Sept 2006 at 2:47 AM
: I am looking for a simple piece of code that will allow me to extract everything EXCEPT the tags. In otherwords, I want to either read into memory or create a file that has none of the tags. I can detect whether it has either type 1 or type 2 tags, and I understand that the type 1 tag is at the end and is something like 127 bytes if present. While the type 2 tag is at the front but is a varying length.
:
: So, TAG2 & data & TAG1... right?
:
: All I want is 'data' from the middle.
:
:
:

I think you can search for the frames and copy them. Search for the sync bits in the frame header should do the trick.



 

Recent Jobs