This bug appears when using "Write tag" on AAC encoded sound (possibly others, but have only tested with AAC) in a M4A container, and seem to mess up the file header rendering the file unusable (overwriting the atoms, metadata).
- The file as m4a loads and plays fine as long as "write tag" is never used.
- It does not happen when the same exact container file is renamed to have .aac extension using "Write tag" (this is of course not a raw aac file, but VDJ seem to detect/parse binary content for audio itself, but using extension to determine where to write the tag data).
Diff hex dump of the original (stored as .bu) compared to the one being used in VirtuaDJ after using Write tag (manually):
All 5 pages of header: https://imgur.com/a/Q2xEaVR
Using AAC extension works fine and does not seem to alter the file in any way (assuming the data is retained in the database.xml):
Suggested [temporary] fix: treat m4a files as aac and don't modify the file header. For me, I'll get around changing the extensions or extract the AAC data to a raw AAC file but it would be great to see a fix as it actually destroy the file.
- The file as m4a loads and plays fine as long as "write tag" is never used.
- It does not happen when the same exact container file is renamed to have .aac extension using "Write tag" (this is of course not a raw aac file, but VDJ seem to detect/parse binary content for audio itself, but using extension to determine where to write the tag data).
Diff hex dump of the original (stored as .bu) compared to the one being used in VirtuaDJ after using Write tag (manually):
All 5 pages of header: https://imgur.com/a/Q2xEaVR
Using AAC extension works fine and does not seem to alter the file in any way (assuming the data is retained in the database.xml):
Suggested [temporary] fix: treat m4a files as aac and don't modify the file header. For me, I'll get around changing the extensions or extract the AAC data to a raw AAC file but it would be great to see a fix as it actually destroy the file.
Posté Sat 02 Mar 19 @ 7:16 pm
Re-uploaded the hex dumps as PNG for better readability:
https://imgur.com/a/XqANoCw
https://imgur.com/a/XqANoCw
Posté Sat 02 Mar 19 @ 8:53 pm