Nasty ID3V2 tag bug

This is for any of the Apple team. I discovered a pretty bad ID3V2 bug in iTunes for Windows, 6.0.4.2.
It has to do with the way the frame data length is encoded, or rather, in this case, not encoded. The result is that any tag data>127 bytes in length will likely break the entire tag.
The length of the data for a 2.4 version tag is the first 4 bytes after the ID field(TPE1, TIT1, etc). These bytes are syncsafe, meaning that the highest bit is always 0. So each byte actually encodes 7 bits. I had a frame that was 467 bytes in length. Its length was stored as "0x01d3". That equals 467. But it is supposed to be sync-safed, so it should actually be 0x0363. As a result, 0x01d3 actually decodes to only 211 bytes. When a tag parser jumps 211 to what should be the next tag, t'aint nothing there! So all subsequent frames are then lost.
This can get pretty nasty on Unicode tags which can then only store 64 characters before it breaks things.
iTunes and presumably the iPod and any other Apple supplied tools will probably read that data correctly as I am assuming they use a common library. But...it will break any third party tools. Not good.
Mac Mini   Windows XP Pro  

This is quite possibly the most annoying iTunes/iPod bug, and it's still kicking around in the latest iTunes version.
Note that all ID3v2 frames found in the tag prior to a frame with length greater than 127 bytes are read just fine. Once iTunes hits the syncsafe integer it gets lost.
ID3v2 frames can appear in the tag in any order. This means if you have a tag editor that lets you specify the order the frames appear in the ID3v2 tag and set it to put all frames which are "most likely" to be larger than 127 bytes (e.g. APIC, TIPL, TMCL), you can at least get iTunes/iPod to recognize a larger subset of the information. But granted, as you stated, that doesn't really help the unicode case.
  Windows XP  

Similar Messages

  • ITunes corrupts ID3v2 tags in mp3

    First - I couldn't find any form for a bug report on this site, so I'm using this forum. If it is wrong please feel free to redirect me to correct place.
    Well, the story is the following: I've tried to add a directory with it's subdirectories containing mp3's to playlist, but iTunes found only 30% of all files! Okay, I have the winamp's .m3u list of the same directory and iTunes can import it(at least there's such menu item). After I've opened m3u in iTunes it showed all the songs with national(Russian) letters in their name as <-)-< e.g. it doesn't understand this characters(winamp's m3u list is stored in plaintext, not in the unicode). After I've tried to play some of these mp3's their names displayed right. Great, I've started to play all these mp3's with "bad" names to correct them. I've uploaded them to iPod and was happy. Till I've launched winamp again. It showed all the songs names as giberish! And notice, only song names, artist name and album remained the same. I've found that iTunes replaced all the names in ID3v2 tags with their unicode variant! Why??? I really don't understand this. And I didn't found any checkbox like "don't corrupt my id3 tags".
    What I need now is to return my tags to their previos state. I think that iTunes developers should 1)fix this bug 2)write an utility to restore the tags (it is their fault that the tags were corrupted).
    Thanks for reading.
    Waiting for response from developers.
    --ss

    I should have been said that I'm using iTunes for windows.
    And this link http://www.apple.com/feedback/itunes.html leads to the "Request Music" page.
    I know that "plaintext" is not an encoding(the real encoding of my m3u is win1251), I've just tried to say that winamp's playlist is not in unicode.
    Okay, unicode is great. But why it converted only song's title, but not artist or album name?
    I still would like to hear answers to my questions:
    1. why iTunes skipped a lot of mp3's when I've tried to add a whole directory with it's subdirectories?
    2. why it converts only song's name and not the reset?
    3. will they publish some utility to recover id3 tags? (it is not hard to write such a programm)

  • ID3v2 tags don't work properly on zen microph

    I e-mailed tech support on this one, but it seemed like they spent 2 seconds reading it and then sending a template reply.
    I have a lot of older mp3 files which I only used ID3V2 tags on, because that was the field with most info when right-clicking files in winamp.
    When I try looking for a file which only has id3v2 tags, things don't work properly. Let's say I have this info in the id3v2 tag: "Mr.Artist - Mr. Track - Mr.Album".
    Now let's turn the player on. Artists: "Mr.Artist" shows. When clicking on "Mr.Artist", "Mr.Album" shows. BUT, when clicking on the album, where the hell is "Mr. Track"? I only see blank space! I have to click "all tracks" and scroll my way to "mr. track" to find it.
    This is a highly unneccesary hassle. I've updated the firmware, but that didn't do anything at all. I download a lot of unsigned, free music, which only has id3v2 information in it.
    Id3v tags on the other hand, work just like they should.
    Please help me out on this one. It would be greatly apreciated.Message Edited by Rognalf on 06-09-20070:57 AM
    Message Edited by Rognalf on 06-09-2007:00 AM

    From my own experience it seems that ID3v2 tags seem to cause problems like this with most mp3 players. I'm guessing because it's newer. I've heard that ID3v2 is more flexible but ID3v is more compatible.

  • Nepomuk/Strigi: id3v2 tags are not indexed

    I'm using nepomuk to index my music collection, but I noticed that the id3v2 tags are not indexed: dolphin does not show the information from the tags neither do bangarang. However, id3v1 tags are present. I don't know where to look at in order to find out what's wrong. Here are the relevant id3 tag support libraries, which I have installed:
    $ pacman -Ss id3 | grep installed
    extra/id3lib 3.8.3-11 [installed]
    extra/id3v2 0.1.12-1 [installed]
    extra/libid3tag 0.15.1b-6 [installed]
    community/kid3 1.6-1 [installed]
    Any help is appreciated! Thanks.
    Dimitar
    Last edited by dimitar (2011-06-21 17:57:15)

    Ok, I tried with an empty $HOME and the problem is not present... obviously, my home directory is getting older and needs some clean-up But then, I removed my music folder from nepomuk several times and I expected that it will be reindexed... How can I force strigi/nepomuk to reread the meta data from the files??
    Last edited by dimitar (2011-06-21 19:28:32)

  • Finder's Nasty Inherited ACL Bug (aka Error -41)

    CNET, MacFixit, and a few other technical blogs recently reported on an apparent ACL issue which seems to have existed in OS X Snow Leopard since OS X 10.6.0, but has gotten particularly bad in OS X 10.6.5, 10.6.6, and 10.6.7 (both client and server versions). The symptom is that when inherited ACLs are present in an OS X 10.6.x system, it's possible to overflow the ACLs with "crud" (unwarranted extraneous ACEs) by performing simply copy / clone operations in the Finder, AppleScript and other "Finder-like" programs that can eventually overflow the 128 entry limit per ACL.
    In reading the original posters postings (www.brunerd.com/blog/2011/03/22/finders-nasty-inherited-acl-bug-aka-error-41/ and openradar.appspot.com/9160099) I got really worried about our production OS X servers, but after some experimentation discovered a happy accident: it’s quite easy to overflow ACLs when performing repeated copy or duplicate operations on folder hierarchies on locally attached filesystems (whether attached on a client or server), but in actually it's much harder to make that happen with AFP-mounted filesystems having to do with a slower growth curve of the "crud" that develops as users copy / duplicate folders.
    Since ACLs tend to be fairly rarely deployed on OS X client systems, you also don't tend to run into the problem (I point out Drop Boxes as a possible exception), but IT administrators can run into this problem quite easily when cloning fairly deep server-side folder hierarchies in the Finder on an OS X Server.
    If your users are encountering "Finder -41" errors when performing seemingly simple operations in the Finder, this type of ACL overflow may be explanation. You might want to read up on the thread developing at www.brunerd.com/blog/2011/03/22/finders-nasty-inherited-acl-bug-aka-error-41/ for further details.

    This has been an ongoing issue since 10.6.5. See this thread: http://discussions.apple.com/thread.jspa?threadID=2686643&tstart=0
    The only real fix is to downgrade the clients to 10.6.4. What I've been doing is reapplying the ACL's from the server admin tool after each tape rotation. That way I'm not using up extra tapes since NetVault will back up the files again if the ACL has changed. The other thing I have some users doing is opening up the file they want to copy and doing a save as to the destination. That way doesn't seem to duplicate the permissions.

  • [svn:fx-trunk] 5318: * Vector tag bug fix.

    Revision: 5318
    Author: [email protected]
    Date: 2009-03-16 08:02:21 -0700 (Mon, 16 Mar 2009)
    Log Message:
    * Vector tag bug fix.
    tests Passed: checkintests
    Needs QA: YES
    Needs DOC: NO
    Bug fixes: SDK-19835
    API Change: NO
    Reviewer: Gaurav
    Code-level description of changes:
    builder/DocumentBuilder.java
    rep/Vector.java
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-19835
    Modified Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/DocumentBuilder.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/Vector.java

    error dateField not selecion date 27/11/2002 ?
    This is bug flex 3 ?
    thanks

  • ID3V2 tags with iTunes

    Hello,
    I have a podcast with mp3. I added ID3V2 tags to it. However, when I view the podcast on iTunes the ID3V2 information does not automatically populate. Is there anything I need to do to see that information?
    Thanks

    Hello,
    If you mean the info button, I did click that. However, the comments that I made on the ID3V2 are not visible.

  • ITunes 6.0.4 Lossless to MP3 Convert Bad ID3 Tag Bug (Intel Only?)

    Hello all,
    I usually rip my CDs to Apple Lossless, name it the way I want, include Album Artwork, then switch rip preference to MP3 (224kbps), highlight the lossless files and choose "Convert Selection to MP3" in the Advanced menu. I do this to save the time of having to rip things twice.
    Up through 6.0.3 it created proper ID3 tags with the album artwork just fine, but upgrading to 6.0.4 (Intel - I haven't verified this with my G4 Powerbook running 6.0.4) I do my usual process, the information is in the iTunes window, matching the Lossless files, but as soon as I delete the items from iTunes (but not the files themselves) and drag the MP3 files back to iTunes, the tracks show up in iTunes without ANY of the ID3 info, but WITH the album artwork.
    The name lists the filename in the Song Name field as if there weren't any ID3 info.
    The reason this came up is I rip to one drive, but keep the MP3s on another drive.
    Anyone else out there with this problem/can verify this problem?
    Thanks!
    John V
    Intel iMac 20"   Mac OS X (10.4.5)   2GB RAM 10.4.5

    There have been a lot of recent posts about tags not being updated properly in iTunes, and I am starting to think that it's a bug.
    In your case, you might want to consider using Max to rip and encode. You can configure the application to rip your CDs and encode to multiple formats at once, using any of the iTunes encoders plus about twenty others, including LAME MP3. The tag information will remain intact, and the output files can be directly added to your iTunes library if desired.
    Also, you may want to try Max's file encoding function for Apple Lossless files you already have stored on your HDD. You can batch encode them to MP3, keeping the tags and album art.

  • How to squash a nasty screen blackout bug

    Hi Mac experts,
    I've been trying, without success, to squash a nasty Mac bug that causes my screen to black out during work or causes it to never wake up after sleep, the latter being more frequent. It's supremely annoying since it interrupts work a couple of times a week and, embarrassingly, happens more often during public presentations, possibly due to the 2nd screen. In some cases a single hard reset revives the MacBook, in others I have to reset several times for the screen to become accessible again. When the bug happens, the OS is still running (key feedback sound, keyboard backlighting can be adjusted) but the screen is completely black.
    It's been an unfixed bug through several OS versions from 10.8, 10.9, to the latest 10.10 (Yosemite). The usual remedies suggested in forums did not work (see below). I'm out of ideas here, hopefully you are not.
    My specs: MacBook Pro Retina 15'', purchased 2012.
    My recent crash reports can be viewed here: https://drive.google.com/folderview?id=0B_EEMeI_SbKxMlZSVHhXdm1QZWs&usp=sharing
    I have tried the following:
    udpates did nothing; crashes under all OSs (10.8, 10.9, 10.10)
    reinstalled 10.9 fresh and migrated my data; still bugged
    startup in Safe mode (disables kernel extensions); crash on the same day
    adjusting the energy prefs (disable switching, deactive all additional wake up conditions); did nothing
    SMC and NVRAM resets did nothing
    This is a bug shared by many users. Apple obviously is not fixing it. One user reported that in his specific case it wasn't a hardware issue. Replacing the motherboard did nothing (http://bit.ly/1E5cEAR). Here are some related reports:  forums.macrumors.com/showthread.php?t=1722832 (2014-4; solution: detaching from ext. screen before sleep), discussions.apple.com/thread/6014780?start=0&tstart=0 (2014-03; not resolved), discussions.apple.com/thread/5665501 (2013-12, not resolved), discussions.apple.com/thread/5548226 (2013-11 to 2014, not resolved), forums.macrumors.com/showthread.php?t=1553654 (2013-03; solution: removal of Bresink driver), bit.ly/1wdVO1C (2012-8, problem w Bluetooth, fixed by OS update 10.8.1),..
    I hope somebody has a suggestion. Looking forward to your expert insights.
    All the best

    skywalkr,
    Have you taken some screen captures of the trap and dump information?
    ThinkPads: S30, T43, X60t, X1, W700ds, IdeaPad Y710, IdeaCentre: A300, IdeaPad K1
    Mark Hopkins
    Program Manager, Lenovo Social Media (Services)
    twitter @lenovoforums
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество

  • Conditional Build Tags Bug

    I have several problems with RoboHelp9. I am using Windows7 and 64bit. This is the one causing the most trouble.
    Conditional build tags apply themselves unwanted and unassigned.
    The deletion of conditional build tags at the topic properties tag (right side window) does not work.
    I have to repeatedly go back and forth to the dialog and keep selecting and deleting.
    Some of the conditional build tags go clear, most don't.
    I go into the topic directly in the wysiwyg view and manually try to select and delete them, and they delete only with difficulty.
    After running through a long topic and using every method available to clear conditional build tags, I saved the project, then went in to manually apply cbtags, of which I am only using two.
    After applying them, and switching to the html window to adjust image sizes manually (because thru the wysiwyg interface the process takes too long), I find that the conditional build tag I applied to several tables and texts at the top of my topic have now applied themselves unasked to a number of the texts and even tables which I had cleared of all cbtags.
    I have just about had it with this program.
    This is only one of the many problems and bugs I have found and been trying to work around.
    I suppose that the solution to my problem is to not use conditional build tags at all, but I am working with about five years' worth of legacy technical documents that have all been upgraded to RH9 and as I am looking at them to make the standard revisions, I am noticing this phenomenon of wrongly applied cbtags in other projects.
    I would rate this as a bug of very high and critical importance.
    Has anyone seen this under the consitions stated? (RH9, upgraded RH7 projects, Windows7, 64bit).

    Sorry, I should have said see the Announcements.
    http://forums.adobe.com/community/robohelp/robohelp_general_discussion
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Embedded art in MP3 ID3v2 tags

     
    Apologies if the title is confusing. Hopefully the explanation is less so.
    I've a pet project where I'd like to display embedded MP3 album art. Using TagLib#, implemented the standard methods (ID3v1 was straightforward and ID3v2 only slightly more complicated). However discovered most of my collection does not have standard embedded
    art. I only believed it did, because Windows displays it (both in the folder view and inside Media Player.
    After much googling, discovered WMP uses private (PRIV) frames, rather than the standard (APIC) for attached pictures in ID3v2. Nowhere can I find these documented. After spending hours attempting to guess which frames were used and the format, decided this
    might merit input from the heavy hitters here.
    I had realized Microsoft "did their own thing" with tags, having trouble keeping my collection in sync between machines, turned off automatic tag updating long ago. Just never needed to understand technical details until now.

    As far as I know, WMP doesn't use PRIV frames for storing album art. Rather, it stores the album art as hidden JPG files alongside the music files. If you don't see these files in Windows Explorer, make sure that it's set to show hidden files and folders,
    and to show protected system files.
    Note that album art that is manually added by the user (e.g. Paste album art) gets both embedded as an APIC frame and stored as JPG, while album art from WMP's automatic lookups only gets stored as JPG.
    Tim De Baets
    http://www.bm-productions.tk

  • Face Tagging bug report

    Bug report: when using the Face Tagging function if the collection of images to search includes images that are too large ('File size is too large' icon), Elements crashes.

    Fred,
    Thanks for posting that its good to share such discoveries. You could also send the bug report directly to Adobe, since they dont guarantee to pay attention to these forums (though there are a number of employees or contractors who do post here frequently without attribution). See the link at the bottom of this page:
    http://www.adobe.com/support/photoshopelements/

  • JDev903 custom tag (bug?)-JDev Team please respond

    JDeveloper is continually hanging while working with custom tags. For example, I will select Add Tag and nothing will happen and JDeveloper stops responding. If I go to End Task, I am told that JDeveloper is waiting for a response, but by then JDev is just a gray window. This behavior becomes more frequent after a change, i.e. change a tag name, try to delete a tag or library. In fact, I have had to completely start over in the creation of a tag library when I notice a necessary change within a tag due to the hanging and disappearance of menu items. Please see previous post, Re: 10.1.3.1 xpath-functions.xml
    Please look into this issue. Our team feels that custom tags could be a valuable tool, but we are RAPID and we don't have time to constantly shut-down and restart our IDE.
    Thanks,
    Deb

    David,
    One thing to try would be JPublisher from the command line. If your problem persists with JPublisher from the command line, then the bug needs to be filed against that product. If not, then the problem is with us.
    In either case, please post your code so we can try to reproduce the error.
    The JPublisher command line facility is documented in the JPublisher User's Guide, available from the Oracle8i 8.1.6 documentation pages on OTN.
    Thanks!

  • Video geo-tagging bug?

    Hi everybody,
    today, while i was updating my iPhoto's library, i discovered that all my video (made by an iPhone 4) have a geo-tag in the South African Ocean. Ok, this is impossible, of course it is an error... but why did it happen? All my video, not 1 or 2.. I think this is a bug.
    Does anybody have this problem, too?

    Red Hen is a weird outfit. It's great software but weird. I have seen nothing similar for Quicktime.
    We have a few copies of Red Hen's products in our environmental group. The GPS data is encoded onto an audio track as noise pulses and recovered by the software during viewing. It can then be superimposed over the video and burned in or used as a reference track. However, it's an audio track, not a streaming database so the map has to be synced to the video and you will probably do that by hand. That is, I know of no way to play a Red Hen-encoded video file and have a mapping application read the data in real time. Although, come to think of it, the data from the video should look just like a stream of GPS coordinates as far as the mapping software is concerned.
    Sorry not to have any useful information for you. Please come back and close the thread if you figure something out. We'd all like to know how you solve this. With geotagging common on consumer still images, you'd think somebody would have a user friendly video-based system.
    bogiesan

  • Really Annoying Tag Bug

    For some time (before the 10.5.2 update) I've had an obnoxious bug in tag entry system-wide (and in places such as Address Book). I can enter the first tag just fine, but on the second the system begins to duplicate whatever I type (so if I was trying to type "hello" I would end up with "hhehelhelhellhello". This makes tagging things in apps such as Journler and Together difficult and editing my Address Book impossible. Anyone know how to fix it?

    Hi AyjayTee,
    This forum is used to discuss the questions about developing for Windows Phone apps, for your question, please try to post it in this Windows Phone forum on here:http://answers.microsoft.com/en-us/winphone
    Thanks for your understanding.
    Best Regards,
    Amy Peng
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for