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

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.

  • 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.

  • MP3 IDv2 Tag Viewer & File Renamer

    Just a simple perl script that views and renames files based on mp3 tags. It supports UTF-8. If any one interested check it out.
    Find ID3v2 tags inside mp3 files under linux/unix environment with perl and MP3::Tag module installed.
    Usage: ./mp3nfo.pl /dir/file.mp3
    Source: https://github.com/GoTux/Perl/blob/master/mp3nfo.pl
    You can also find exe/dll/ocx meta viewer script and few others if any one care: http://wiki.gotux.net/code
    Last edited by TuxLyn (2012-12-19 10:28:18)

    TuxLyn wrote:Alright, thanks mate. Move it.
    Done

  • Displayed Album Art Is Not the Correct Embedded Art

    I have album art for most of the songs in my library embedded into the MP3 or AAC file, however, my iPhone occasionally displays different artwork for a song. How do I fix this?

    i have had the same problem.
    I go to Amazon.com music to check thespelling on artist, album, and song name and if that does not work i drag the album pict to the song. easy but time consuming. it is often a spelling issue like (Three doors down greatest hits vs. 3 doors down Greatest Hits)
    Good luck
    M@T

  • MP3 ID3 tags

    I'm looking for some free shareware software to do MP3 ID3 tags to use along with itunes. Can anyone suggest a good one to use?
    Thanks.

    import java.io.*;
    public class ReadID3 {
        public static void main(String[] arguments) {
            try {
                File song = new File(arguments[0]);
                FileInputStream file = new FileInputStream(song);
                int size = (int)song.length();
                file.skip(size - 128);
                byte[] last128 = new byte[128];
                file.read(last128);
                String id3 = new String(last128);
                String tag = id3.substring(0, 3);
                if (tag.equals("TAG")) {
                    System.out.println("Title: " + id3.substring(3, 32));
                    System.out.println("Artist: " + id3.substring(33, 62));
                    System.out.println("Album: " + id3.substring(63, 91));
                    System.out.println("Year: " + id3.substring(93, 97));
                } else
                    System.out.println(arguments[0] + " does not contain"
                         + " ID3 info."); 
                file.close();
            } catch (Exception e) {
                System.out.println("Error &#8212; " + e.toString());
    }source : - http://www.informit.com/library/content.asp?b=STY_Java2_24hours&seqNum=218&rl=1

  • Getting MP3 comments tag to show in iTunes

    Hi
    It seems when writing an MP3 Comment tag that iTunes needs the language to be specified with the correct three character code, or else left unused.
    However Windows which I am also trying to support requires the language of the comment to be specified moreover the comment won't be visible
    unless the specified language matches with the language Windows  is running in. The solution for that is to define the language of the comment as xxx.
    That means a messy solution is needed of writing two comments frames. Why I am asking here is to find out if iTunes accepts any three character codes for unspecified languge and if it could support xxx so that developers would not have to choose whether to support Windows or iTunes.

    I can drag it to a playlist,
    If it gets added to this playlist, it is in iTunes library.
    Select it in iTunes, right click - Show in Finder to see where it is on your HD.
    If it is not in the location shown in iTunes prefs > Advanced. make sure *Copy files to iTunes media folder when adding to library* is ticked.
    Spotlight shows it residing in my Music Library,
    What do you mean you *Music library*? There is no folder named *Music library*.

  • 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)

  • 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  

  • Is there a way to add album art without it being embedded in the MP3 file?

    The reason for my question is that I don't have the color display on my 20gb iPod, so I don't want to waste space by adding album art to the mp3/aac file. But, it'd be cool to have the art within iTunes on my computer.
    I just read in another thread that the way iTunes 7 takes care of the album art does not actually attach it to the track. Is this true?

    There is not.
    Even with the high res art from the iTune Store, I believe the file size increase is less than 2%, at least for my library.

  • Removing album art from MP3s on the Z

    I've been reading around on the forums and haven't found a definiti've for my problem.
    The problem that I have is when I transfer MP3s to my Zen Vision:M, these MP3s somehow get edited with album art. The original files show no evidence of album art, as I have tried numerous programs to try to find it and delete it. Windows Media Player 0, MusicMatch, iTunes, and a few other programs show that these files do not contain album art, yet when I transfer these files to my ZVM they somehow get embedded with album art.
    I tried using the Media Explorer to delete the album art once the files are transferred to the ZVM, but you can't edit it. I set Media Explorer to show the album art, but you can't right click or do anything on the album art that is shown.
    Does anyone have any solutions to this? Somehow the album art isn't placed onto the file until I transfer onto the ZVM. And it only adds album art to files which have have no album information in its tag or has album art.

    You can use Zortam MP3 Media Studio 6.0 to remove album art that is in the ID3 tag. It cost around $25, but it seems to be a good program.
    http://www.zortam.com
    Why would you want to get rid of the album art?

  • Embedded Art Shows Fine - "Get Album Artwork" Won't Transfer

    I have a MacBook Pro with OS 10.4.11, and iPod Classic v1.1.1, and I'm having a problem:
    Any artwork that I retrieved using iTunes' "Get Album Artwork" option DOES NOT show up on my iPod. All the artwork I manually retrieved from Google (copy & pasted) shows fine.
    I'm told that copying and pasting artwork embeds the image file right into the mp3 file itself. The artwork that iTunes retrieves is NOT stored in each mp3 file, but rather in its own separate database. Somehow that database doesn't seem to be transferring to the iPod.
    Anyone else having this problem? Any way to let Apple know directly?

    *How to find tracks without artwork*
    To find all the tracks without embedded artwork so that you can update them you can try http://www.stum.de/itunes-find-tracks-without-artwork/ for Windows or http://dougscripts.com/itunes/scripts/scripts13.php for Macs. Use Google, Amazon, Discogs etc. to locate relevant jpeg images. Ideally these should be square, 320x320 pixels or above and borderless to give the best results in the various menus. If you have artwork for some tracks of an album, but not others, select a track with artwork, right-click (Option-Click for Macs) on the art & click copy, then select all the tracks of the abum, use CTRL-I or Option-I to *Get Info* and then paste the image into the artwork box. This should also let you embed iTMS downloaded artwork.
    I don't know how well these tools work with a manually-managed iPod since I maintain my full library on an external drive & sync from that.
    tt2

  • Mp3 meta tags

    I've only had a couple of minutes to play with released version of Soundbooth but it appears to 'lose' the mp3 meta data between opening and saving an mp3 file. I also cannot see how to edit the meta data. Am I missing something obvious?

    I think it would be a great option to have various levels of metadata editing options as selectable by the user. I mean, sure, Bridge is great, but it's a little over the top, and kind of inconvenient to have as a separate program for metadata editing. If, in the options, you could set Soundbooth to either automatically remove metadata on saving, or to keep it the same and have a link in the menu to editing JUST the tag information that is there (i.e., if it's got ID3v1 and/or ID3v2, bring up a window for editing both). Then, you could either have a third level for the in-depth metadata editing (like in Audition), or you could leave it in a separate program, like Bridge or Audition.
    Of course, implementing that sort of thing could be a nightmare, and it could be even more confusing to some than just having all the metadata editing options all rolled into one package. That's just the way I'd have it.
    Or, you could just have Soundbooth edit popular tag info (ID3, etc.) that people would use for their media playing, and have an option in the menu to remove all metadata. That would be perfect.

  • MP3 ID3 tags in non standard character set

    Hello,
    I'm curious as to how I can rip a cd as mp3 and read the tags that have been encoded in a non western or unicode character set. Right now I'm using the LANG environment variable and setting it to the locale that matches the character set, ripping the songs, and then writing the tags using easytag as unicode before resetting the LANG variable. This is fine, but it gets annoying as once I change the language a lot of my programs also start using that language and I would like them to remain english.
    Is there a simpler and more straight-forward way of doing this?
    --Nan

    nan wrote:
    Hello,
    I'm curious as to how I can rip a cd as mp3 and read the tags that have been encoded in a non western or unicode character set. Right now I'm using the LANG environment variable and setting it to the locale that matches the character set, ripping the songs, and then writing the tags using easytag as unicode before resetting the LANG variable. This is fine, but it gets annoying as once I change the language a lot of my programs also start using that language and I would like them to remain english.
    Is there a simpler and more straight-forward way of doing this?
    --Nan
    Just guessing, but what if you only set LC_CTYPE to whatever language you need?

Maybe you are looking for

  • Transformation - Fields Missing!!

    Hello Experts, I am facing a strange issue in the transformation beteen DSO to Cube. My DSO Contains 148 fields while in the transformation I can see only 131 fields. IN thedevelopment Box the transformation appears fine but in the Acceptace box the

  • Controlling the agilent 89441A under Labview

    I am trying to communicate with our 89441A Vector Signal Analyzer via GPIB under Labview 7.1. I downloaded the intstrument driver (v1.2) from the National Instruments website. The application example works fine. But this example uses the instrument m

  • Album Artwork Showing in iTunes buy not on Apple TV

    I noticed that some of the Album artwork that shows in iTunes is not showing up when I go to that album in Apple TV. Am I missing something? Thanks.

  • Number of times a Query is Run

    Hi Experts, I would like to find out: 1. what are the query names that are on my infocube(s) have been used most? 2. how many times each of these queires have run? 3. who are the users who ran these queries? 4. When was the last time each of these qu

  • Two problems  1 changing default return email  2 fillable forms in adobe x mobile

    Hi can anyone tell me how to change the default return email form forms?  during intial set up of live cycle I mistyped the return email address and every form I go to build now wants to send the information back to a non existent address.... I can't