IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Id3v2 In Flac Files?
moonshine
post Sep 2 2002, 06:06
Post #1





Group: Members
Posts: 6
Joined: 2-September 02
Member No.: 3267



Hello..

I've been testing out FLAC and Monkey lately and was really interested in FLAC's ability to use ID3v2 tags. I created a couple files with tags on then and everything worked fine. (Was able to play them with winamp, decompress them, etc)

Then I went and changed the genre on the tracks just to make sure everything was cool. After changing the ID3v2 tags the files were no longer able to be decoded. I tried several different taggers at that point and each had the same result.

So, are people sucessfully tagging ID3v2 tags on FLAC files? Making change to them? And if so what are you using to tag?

Thanks!
Go to the top of the page
+Quote Post
moonshine
post Sep 4 2002, 03:20
Post #2





Group: Members
Posts: 6
Joined: 2-September 02
Member No.: 3267



I guess I can assume that ID3V2 tags can't be updated in FLAC files..

If that's the case, then what lossless software supports tagging other then ID3v1 and APEtags?

(As ID3v1 has the 30 character limitations and APEtags don't have any Linux console program support sad.gif )
Go to the top of the page
+Quote Post
jcoalson
post Sep 4 2002, 09:09
Post #3


FLAC Developer


Group: Developer
Posts: 1526
Joined: 27-February 02
Member No.: 1408



QUOTE (moonshine @ Sep 2 2002 - 12:06 AM)
Then I went and changed the genre on the tracks just to make sure everything was cool.  After changing the ID3v2 tags the files were no longer able to be decoded.  I tried several different taggers at that point and each had the same result.


What was the error? I don't know why it shouldn't work.

Josh
Go to the top of the page
+Quote Post
moonshine
post Sep 4 2002, 15:52
Post #4





Group: Members
Posts: 6
Joined: 2-September 02
Member No.: 3267



Hello!

I just made a flac file with a ID3v2 tag. Played it fine with the Winamp2 plugin and decoded it fine to a wav. Then went and changed the genre in the ID3v2 tag on the file. At that point I get the following errors:

From flac itself trying to decode bace to a wav:

ERROR while decoding data: state=5: FLAC__FILE_DECODER_SEEKABLE_STREAM_DECODER_DECODER_ERROR

From the winamp2 plugin (if I already have the file up):

ERROR: invalid/missing FLAC metadata
READ ERROR processing frame
FLAC__FILE_DECODER_SEEKABLE_STREAM_DECODER_DECODER_ERROR

If I then close Winamp and try loading the listening to the file again:

Nullsoft waveout plug-in v2.3
The specified format is not supported or cannort be translated. Use the Capabilities function to determine the supported formats.

I've tried several taggers with the same result. Do you have one that you know works?

Thanks...

-James
Go to the top of the page
+Quote Post
jcoalson
post Sep 4 2002, 19:58
Post #5


FLAC Developer


Group: Developer
Posts: 1526
Joined: 27-February 02
Member No.: 1408



QUOTE (moonshine @ Sep 4 2002 - 09:52 AM)
I just made a flac file with a ID3v2 tag.  Played it fine with the Winamp2 plugin and decoded it fine to a wav.  Then went and changed the genre in the ID3v2 tag on the file.  At that point I get the following errors:

...

This might be a bug in the way the FLAC stream decoder tries to skip over id3v2 tags. It basically reads the size field that comes after 'ID3', version, and flag bytes, and then skips that many bytes. For people who know, look at the function "skip_id3v2_tag_" in the following file and let me know if there's something wrong:

stream_decoder.c

Josh
Go to the top of the page
+Quote Post
Sachankara
post Sep 6 2002, 14:02
Post #6





Group: Members
Posts: 336
Joined: 27-December 01
From: Stockholm, Sweden
Member No.: 780



QUOTE (jcoalson @ Sep 4 2002 - 07:58 PM)
QUOTE (moonshine @ Sep 4 2002 - 09:52 AM)
I just made a flac file with a ID3v2 tag.  Played it fine with the Winamp2 plugin and decoded it fine to a wav.  Then went and changed the genre in the ID3v2 tag on the file.  At that point I get the following errors:

...

This might be a bug in the way the FLAC stream decoder tries to skip over id3v2 tags. It basically reads the size field that comes after 'ID3', version, and flag bytes, and then skips that many bytes. For people who know, look at the function "skip_id3v2_tag_" in the following file and let me know if there's something wrong:

stream_decoder.c

Josh

Looks fine to me... Skips every eight bit as specified in the ID3v2 docs... I'll try later and see how the complier "handles it"... wink.gif (Since my skills in C/C++ aren't the best yet...)

moonshine, perhaps it's simply poor handling of the tags by the tag programs? A "dump" of the header would help to ensure that the tags are correctly made/written... (Use an hexeditor...)
Go to the top of the page
+Quote Post
moonshine
post Sep 7 2002, 06:03
Post #7





Group: Members
Posts: 6
Joined: 2-September 02
Member No.: 3267



Hello..

I gave it a shot again, ripping things with CDex and then changing the ID3v2 tag with Dr. Tag. Same results. I looked in theader with a hex editor but can't decipher much other then Dr. Tag seems to pad things a lot. I did notice in the original something that basically said "fLaC" in the header. Is this were the Flac file technically starts?

I did go on to find a linux console tagger (id3v2) and tried that and it worked fine! So thier is likely something up with Dr. Tag.

It's very hard to find taggers that even display/operate on files that aren't *.mp3. Does anyone have any other suggestions for a tagger with a gui that handles ID3v2 and files other then mp3 ?

Thanks!
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 22nd September 2014 - 14:14