Results 1 to 3 of 3

Thread: MP3 and ID3 size.

  1. #1
    Senior Member
    Join Date
    Aug 2003
    Posts
    6,585
    Thanks
    0
    Thanked
    246 times in 208 posts

    MP3 and ID3 size.

    I keep a backup of my music, and every now and then, I will make a check between what I have in my backup and what I have in my 'active' drive. Whenever I change the tag from my active drive, the file size will, obviously, change a little. For some reason though, I find that the file size of an MP3 after being added a rating (using Foobar2k) is consistantly smaller than the original file by a little.

    I would very much appreciate if someone could just make a little test which should take no more than 2 minutes:

    1. Take an MP3 you have with some ID3v2 tags in it and note the file size.

    2. Make copy of the file, add a meta tag 'RATING=5' and note the file size.

    3. Make a copy of it the file, strip the recently added tag, and note the file size.

    I would expect 1. and 3. to be of the same size, and to a lesser extent, 2. to be larger than 1. and 3.; yet the file with the most metadata ended up being the smallest. Well, here is an example of my results:

    1. Original file: 11,074,958 bytes
    2. With the rating tag: 11,073,184 bytes
    3. After the rating tag is stripped: 11,073,168 bytes

    [The above are actual size, not space on disk]

    Minor differences, but consistent, most of my files get smaller as soon as I add that field. If this occurs to others, then I'll just accept it. Otherwise, I'll have to look to see if my player is not actually eating away my files =/

    Cheers.

  2. #2
    Does he need a reason? Funkstar's Avatar
    Join Date
    Aug 2005
    Location
    Aberdeen
    Posts
    19,874
    Thanks
    630
    Thanked
    965 times in 816 posts
    • Funkstar's system
      • Motherboard:
      • Gigabyte EG45M-DS2H
      • CPU:
      • Intel Core2Quad Q9550 (2.83GHz)
      • Memory:
      • 8GB OCZ PC2-6400C5 800MHz Quad Channel
      • Storage:
      • 650GB Western Digital Caviar Blue
      • Graphics card(s):
      • 512MB ATI Radeon HD4550
      • PSU:
      • Antec 350W 80+ Efficient PSU
      • Case:
      • Antec NSK1480 Slim Mini Desktop Case
      • Operating System:
      • Vista Ultimate 64bit
      • Monitor(s):
      • Dell 2407 + 2408 monitors
      • Internet:
      • Zen 8mb
    I take it you are using FooBar2000 to add and remove the tags?

    It is probably re-writing the entire ID3 data and removing some padding while it is at it. Either that or it is stripping sone non-valid data that was included during the initial ripping and tagging.

  3. #3
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,027 times in 678 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS
    i suspect you'd need an mp3 frame viewer to confirm it, but here's my hypothesis:

    ID3v2 tags can appear anywhere in a file - and in multiple places in a file (e.g. musicmusicmusicmusictagmusicmusictagmusicmusictag). this is one reason why getting tag info from v2 files takes longer than v1 - because your media player needs to scan the whole file

    foobar is probably removing all previous tag values, then sticking them together into a single frame (rather than spread through the file)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Portable MP3 Player Advice
    By Gunbuster in forum Consumer Electronics
    Replies: 1
    Last Post: 15-01-2006, 02:36 PM
  2. Free auto ID3 tagging software?
    By Shogun in forum Consumer Electronics
    Replies: 4
    Last Post: 02-12-2004, 10:21 AM

Posting Permissions

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