Saving Metadata corrupts audio file (mp3)

Music Converter | CD Ripper | Disc Burner
General discussion / Request help
Post Reply
noah42397
New User
Posts: 2
Joined: Sun Jun 16, 2024 7:44 pm
Contact:

Saving Metadata corrupts audio file (mp3)

Post by noah42397 » Sun Jun 16, 2024 8:47 pm

I just recently came across a batch of 14 mp3 files that when the meta data was added and saved, it resulted in the corruption of the source audio file. I originally downloaded the files in question from youtube to both my computer and phone. All of them were playable on my mobile phones music player as well as Windows media player before metadata was edited. I had read from Reddit that sometimes if you listened to the tracks while saving their meta data could cause this, so I copied the same tracks from my phone back to my computer to try again without listening to the tracks simultaneously. However this too resulted in their corruption. I updated the software to the latest version (11.5.3 as of 6-15-24), and the same problem persisted. I'm not sure if it was a file integrity issuse, as I stated before, I was able to play the files before saving the metadata. I have including the files if anyone is interested in seeing if they encounter the same issue. I have since began re-downloaded the files from Youtube using the same file downloader, and have so far been successful in editing the meta data and not corrupting the files. However, I have several files to go, and I don't know why these specific files out of the intial batch got corrupted and not the others. Any help would be appreciated!
User avatar
poiko
Site Admin
Site Admin
Posts: 4831
Joined: Sat Mar 11, 2006 8:31 pm
Location: https://www.poikosoft.com
Contact:

Re: Saving Metadata corrupts audio file (mp3)

Post by poiko » Mon Jun 17, 2024 9:14 am

Your troubleshoot files are MPEG-4 ISO FF (.mp4 .m4a) AAC files with WRONG file extension ".mp3". The correct file extensions is ".m4a".

However, these files also use MPEG-DASH format that does not seem to be handled correctly when saving metadata. I will investigate.
User avatar
poiko
Site Admin
Site Admin
Posts: 4831
Joined: Sat Mar 11, 2006 8:31 pm
Location: https://www.poikosoft.com
Contact:

Re: Saving Metadata corrupts audio file (mp3)

Post by poiko » Mon Jun 17, 2024 1:28 pm

I just added support for writing metadata to MPEG-4 ISO FF "DASH" format that your troubleshooting files are.Will be included in the next update.
noah42397
New User
Posts: 2
Joined: Sun Jun 16, 2024 7:44 pm
Contact:

Re: Saving Metadata corrupts audio file (mp3)

Post by noah42397 » Sat Jun 29, 2024 11:21 pm

Thank you for the assistance! I just downloaded the update today (6/29/24), and tried to reconvert the files. When I left the extension as .mp3, it still became corrupted when I saved the meta data. However, when I changed the extension to .m4a before loading the file into the application and saving the metadata, it was able to be played in windows media player, as well as my mobile device.
Just to clarify, the main reason why the files became corrupted was due to them having the wrong file extension correct? Also, if you don't mind me asking, what program did you use to identify what type of MPEG file it was?
User avatar
poiko
Site Admin
Site Admin
Posts: 4831
Joined: Sat Mar 11, 2006 8:31 pm
Location: https://www.poikosoft.com
Contact:

Re: Saving Metadata corrupts audio file (mp3)

Post by poiko » Sun Jun 30, 2024 9:54 am

noah42397 wrote: Sat Jun 29, 2024 11:21 pm Thank you for the assistance! I just downloaded the update today (6/29/24), and tried to reconvert the files. When I left the extension as .mp3, it still became corrupted when I saved the meta data. However, when I changed the extension to .m4a before loading the file into the application and saving the metadata, it was able to be played in windows media player, as well as my mobile device.
Just to clarify, the main reason why the files became corrupted was due to them having the wrong file extension correct? Also, if you don't mind me asking, what program did you use to identify what type of MPEG file it was?
It expects the file to be mp3 file if the file has the .mp3 extension and scans file for mpeg layer-3 audio data and writes id3v2 tag for metadata. If you write an id3v2 tag to mpeg4 iso ff (.mp4 .m4a) file it may come unreadable by players.

If you have the correct file extension; .mp4 or .m4a the file is handled correctly. It detects the format by reading the file header. It can now write metadata and at the same time it converts the file to regular mpeg-4 iso ff.
blabibo
Silver
Silver
Posts: 207
Joined: Mon Sep 17, 2012 11:21 am
Location: Belgium

Re: Saving Metadata corrupts audio file (mp3)

Post by blabibo » Sun Jun 30, 2024 11:05 am

noah42397 wrote: Sat Jun 29, 2024 11:21 pm what program did you use to identify what type of MPEG file it was?
You can probably use the free utility MediaInfo for that (https://mediaarea.net/en/MediaInfo).
User avatar
poiko
Site Admin
Site Admin
Posts: 4831
Joined: Sat Mar 11, 2006 8:31 pm
Location: https://www.poikosoft.com
Contact:

Re: Saving Metadata corrupts audio file (mp3)

Post by poiko » Mon Jul 01, 2024 12:36 am

blabibo wrote: Sun Jun 30, 2024 11:05 am
noah42397 wrote: Sat Jun 29, 2024 11:21 pm what program did you use to identify what type of MPEG file it was?
You can probably use the free utility MediaInfo for that (https://mediaarea.net/en/MediaInfo).
I can detect every file format by myself. I can do everything in C++ what MediaInfo does. EZ CD expects the file extension to be correct with few exceptions, but it can be changed to detect file contents If it would be general to use wrong file extensions.
Post Reply