Bonum Certa Men Certa

mp3HD: Another Patent Trolls' Patent Trap That Failed

posted by Roy Schestowitz on Oct 04, 2023

MP3 Player On A Blue Background

Reprinted with permission from Ryan Farmer.

I came across the Wikipedia article for mp3HD again and tried to clean it up somewhat.

In doing it, I actually looked at what a horrible format this was. As another harebrained scheme to “extend” MP3 and keep extracting royalties on it somehow, Thomson (Technicolor) (Now bankrupt.) and Fraunhofer Society (amusingly, my spell correct wanted to call them the Fraudster Society) collaborated to create a “lossless MP3 file” format about a decade after FLAC and WavPack already existed.

FLAC is proposed as an IETF standard as of 2019, but whether it becomes one or not, even Microsoft and Apple support them, which means it’s not only mainstream, but it supplanted their attempts at a proprietary lossless audio codec too. (Windows Media Audio Lossless and Apple Lossless).

In the end, Apple gave up and made Apple Lossless open source, after it had been reverse engineered anyway. Apple Lossless takes 400% more CPU time to decode than FLAC, compresses the files less, and has no official way to do error checking.

Although I suppose you could hack it in by running md5sum on each file, then adding it as a comment on the tags. It still wouldn’t be as good as FLAC or Wavpack’s because you couldn’t just ask the playback software to check and compare, and you’d need to store two values. One for the source file and one for the ALAC file (to make sure you could verify the source if you were to unpack it later).

Windows Media Audio Lossless has even more problems. I’ve actually only encountered that one once and ended up reading the data out into WavPack with the help of FFMpeg. I did a checksum verification on both ends and they matched. Then I never looked at WMAL again.

But mp3HD was a terrible codec. I’ve never actually used it, but I have read the specification. I think I played around with the encoder once to see if it could easily make standard MP3 files like the “MP3 Surround” encoder could, but they took that feature out.

The marketing tagline was “It’s time to preserve your music forever.”, and apparently “forever” was the two years it took Thomson/Technicolor and their Patent Troll Pals at FhG to give up on the format, forever.

mp3HD took advantage of the fact that you “can” shove up to 256 MB of arbitrary data into an ID3v2 tag, but just because you can doesn’t mean you should. They also claimed that the part of the file that was a lossy MP3 would play on anything that supported regular MP3 files. Which was a lie.

Why was shoving arbitrary data into an ID3 file a bad idea?

Well, tagging software.

If the user edited the actual comments in the tag, or the tag itself, the lossless data could become corrupt or lost entirely since MP3 with a tag is essentially two files in one.

The tag piggybacks the end or the front of the file (depending on the version) in an otherwise empty frame or series of frames.

So the mp3HD codec simply packed non-MP3 data into empty MP3 frames of an arbitrary length misusing a possible field in the ID3 tag (not to exceed the 256 MB tag size limit).

The actual MP3 part of the file was now just a standard MP3 using whatever encoding settings the person who made the “mp3HD” file selected.

So there was a huge potential for data loss. Edit the wrong field or accidentally rewrite the tag, bye bye lossless data correction.

Further, since this is undefined behavior by the ID3 specification (the closest thing to data you are supposed to put into one, officially, is album art), player software is free to interpret the data in the tag pretty much however it wants to. It’s not standard MP3 data, so it won’t play audio, but what it did do, in mplayer at least, was play the lossy MP3 followed by an additional 40 minutes of silence, according to a person on Hydrogen Audio.

The 256 MB limit in the ID3 tag means that your limit for the file is roughly 38 minutes in CD quality (16/44.1), which immediately means no “one huge file with .cue” like you can do with WavPack and FLAC. It also was limited to 16-bit / 48 kHz source, like MP3 was, so no native ability to directly deal with “High Res” sources. Also, if you used 16/48 then your time limit per file would probably drop to half an hour.

(Coincidentally, 38 minutes is the amount of time a Stargate can be connected without a ZPM plugged in, or a black hole on the other side, or the overload weapon used by Anubis, or a planet full of Naquadah melting down around it.)

So given the potential for data loss (due to the abuse of the ID3 tag), the larger size than FLAC or WavPack, the inability to use Hybrid Lossless (like WavPack’s lossy .wv with a lossless correction .wvc in the same folder) meant that you couldn’t break them apart and just put the lossy section on your portable device, there’s already no point in even trying to use something like this.

The fact that most devices only played MP3 in standard quality meant you’d waste at least three times the storage space vs. the quality of playback you received.

When you could have just put a FLAC file on the device and listened to it in lossless in exchange for all the space it uses.

That’s also if the thing even worked at all and didn’t attempt to read the non-MP3 data in the tag and play 40 minutes of static per file between every track.

Looking at this format, it’s hard to even think how they thought this would work or what tortured mind this even came out of. But we can be glad that it didn’t succeed.

As usual, proprietary software companies and patent trolls like to come to the party a decade late and re-implement something that already exists, badly.

My father used to work for RCA as an electrical engineer.

After GE purchased the company, it really went to Hell. No longer were they an innovative company that at least stood a chance against the Japanese.

GE sold the RCA consumer electronics division to the French (Thomson/Technicolor) who did not take good care of it. They ceded a decade of potential innovation (the 90s) to the Japanese, outsourced product manufacturing to Mexico, hired my dad back as a contractor who lived in Mexico at more than his previous salary had been, and then finally fired the Mexicans and sold the “brands” to the Chinese.

After this, they became a patent troll that was living large on MP3 royalties, and after the patents expired in the US they were sunk, and declared bankruptcy in France, followed by Chapter 15 Bankruptcy in the United States. I think all that’s left of them now is some motion picture stuff.

It’s just simply unbelievable how incompetent the French were with RCA. They destroyed an American icon and managed to blow up the French company a little later on.

Going back to MP3, the standard didn’t actually specify DRM.

Actually, it didn’t even specify a tagging format, so the only official use of the ID3 tag from Thomson/Technicolor and FhG was to violate the specification with mp3HD.

(You can also use APEv2 tags in an MP3.)

There were “potential helpers” for some DRM to be added to MP3s later, like the Copyright Bit (which pirated ones always said “No”, of course) and the people who did the ID3 specification left a comment field to indicate what DRM scheme was in use.

But by the time anyone may have wanted to add this, Microsoft and Apple already had their preferred formats anyway and they came with DRM. Apple extended MPEG-4 Audio (AAC) with a digital restrictions scheme called “FairPlay” and Microsoft had one for Windows Media Audio (WMA) called “Janus”.

Since I despise DRM, I always called them FoulPlay and Anus DRM when I was talking about them. In my last post, I mentioned my reaction to the iTunes Store in 2004, and it was to delete it immediately and refuse to ever touch it again.

Apparently, “FairPlay” means you allegedly bought something but when you try to play it in your preferred software it doesn’t work, then you find out you have to buy an iPod and “manage your licenses” with iTunes, and that’s totally not something I was ever interested in doing.

The MP3 format, for all its many technical and legal flaws, nobody ever bothered to restrict it like this.

You can still purchase them at Amazon without DRM and there’s none of this “FoulPlay and Anus” stuff controlling what you do and eventually taking the file back from you without a refund.

But Amazon is not your pal. Their Kindle Store works exactly like “FoulPlay and Anus”, and the Free Software Foundation took to calling it the Amazon “Swindle”.

Other Recent Techrights' Posts

This War Crime Footage, Nothing Political Per Se, Is What They Made Julian Assange Plead Guilty To (War Criminals Not Convicted, Only Those Who Expose Them)
Wikileaks' Julian Assange: Exposing the US Military Crimes
20 Years Passed, Let's Go Even Faster Now
We are hoping to bring more original stories
Windows Lost Almost 92% Market Share in Egypt
From over 99% to just over 7%
Android at 90% or More in Chad
Windows below 2%
Julian Assange Might Continue Wikileaks, But Certainly Not Yet (Recovery Time Needed)
And probably at a symbolic capacity only
 
[Meme] Walking Outside the Guardrails of the Walled Gardens Built by Monopolies
So-called "advertiser-unfriendly" material was never a problem for Wikileaks
GNU/Linux Climbed 0.25% This Month (in statCounter)
Around midday on Tuesday we'll start seeing preliminary data for July
Ilya Gulko Introduces Pollyanna
"Pollyanna is a web framework that makes it easy to create your own libre social space, such as a social network or blog."
'FSFE': Underage Labour, GAFAM Fronting, and Identity Theft to Undermine the FSF's Current Fundraiser
looking to raise funds at the same time as the FSF
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Saturday, June 29, 2024
IRC logs for Saturday, June 29, 2024
Links 29/06/2024: Astronauts at Risk, Ukraine Updates
Links for the day
Fedora and Red Hat Leftovers
mostly redhat.com
Microsoft is Now Googlebombing or Spamming 'Open Source' and 'Linux' to Promote Proprietary Surveillance, Azure
Notice the title and the image, what's being promoted etc.
Seychelles: GNU/Linux Doing OK
Seychelles cannot be considered poor
Gemini Protocol Isn't Even Remotely "Dead"
"Lupa knows of 505,000 (half a million!) working Gemini URLs at present, up from about 425,000 this time last year"
About 10 New Free Software Foundation (FSF) Members Per Day
The total changed from 46 to 47 while typing the article
Vista 11 Adoption Unusually Low in Germany and It's Going Down, Not Up
This is not happening only in Germany
Kevin Korte on Computers Being Allowed to Make Decisions Based on Cryptic Algorithms and Proprietary/Secret Data
It uses buzzwords where none are needed
[Meme] Garbage In, Garbage Out (linuxsecurity.com)
It is neither Linux nor security, just chatbot-generated slop
Microsoft-Invaded CISA Spreads Anti-Free Software FUD (as If Proprietary Software Has No Memory Safety Issues), Brittany Day Uses Chatbots to Amplify and Permutate the Microsoft FUD
linuxsecurity.com became an anti-Linux spam site
Microsoft Laying Off Staff in an Act of Retaliation and Union-Busting
retaliatory layoffs at Microsoft
Gemini Links 29/06/2024: Content Drowning in 'Goo' and LLM Slop
Links for the day
In Ecuador, GNU/Linux Adoption Surged From Under 1% to Over 4% in About 3 Years
Not even counting Chromebooks
LibrePlanet: Cultivating Backups (of Recordings)
an appeal to recover some of these talks
Microsoft/Windows Machines Are Turned Off (or Windows Deleted/Decommissioned) in Web Servers, as the "Market Share" Collapse Continues
Taking full history into account, this is a decrease of over 90% in some cases
Corwin Brust Hosting Freedom: A Behind-the-scenes Tour With the GNU Savannah Hackers
"the "smiling faces" behind it."
David Wilson: Cultivating a Welcoming Free Software Community That Lasts
"a feeling of shared ownership for all users."
Bringing in 12 Santas and Taking 13 Out (Old Interview With Julian Assange)
Julian Assange's life inside the Ecuadorian embassy
Neil Plotnick on GNU/Linux in the High School Classroom
uploaded to the LibrePlanet instance of MediaGoblin
Asia Appears to be Fastest to Adopt GNU/Linux
the home of a considerable majority of the world's population
Alexandre Oliva's LibrePlanet 2024 Talk About "Software Enshittification"
in spite of technical difficulties encountered while recording
What They Used to Do With Mono They Now Do With Systemd (Lower and Deeper Down Than Userspace)
Now we have a project started primarily by Red Hat (and managed by Microsoft GitHub, which is proprietary) being managed by Microsoft and primarily serving Microsoft and IBM
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Friday, June 28, 2024
IRC logs for Friday, June 28, 2024
Links 28/06/2024: Kangaroo Courts and Patents Spam, EFF Still Fighting for CPC's TikTok (a Digital Weapon)
Links for the day
Links 28/06/2024: Overton window and Polarization
Links for the day
[Meme] In 50 Years...
Microsoft's Vista 11 will take 50 years to be fully adopted
Only About 1 in 8 Russian Windows Users is Using Vista 11
it looks like over the past 12 months Vista 11 hardly grew and it remains very low at around 12% of Windows usage in Russia
Links 28/06/2024: More Attacks on the Press, More Censorship in Russia
Links for the day
Gemini Links 28/06/2024: Christmas Prematurely, Self-hosting
Links for the day
IBM: So Long, Suckers. Your Free OS is Now Proprietary. Pay IBM or Else.
almost exactly a year after turning RHEL into proprietary software
Vista 11 is Doomed and Despite Lack of Adoption Microsoft Already Speaks of Vapourware ("12")
"Microsoft has pulled a Windows 11 update after users reported boot loops and startup failures."
ChromeOS Reaches Highest Share in Years at the World's Most Populous Nation, Windows Now at All-Time Low of 13%
We're talking about India today
[Video] "It Is Incredible That Julian Assange Survives"
There was a positive and mutual relationship between Wikileaks and Dr Jill Stein
Never Assume That Because the Law Exists the Powerful Will Follow the Law
Who's going to hold them accountable now?
Nearly a Month Has Passed and Nobody at the Debian Project Even Attempted to Explain What Seems Like Back-dooring of Debian (and Hundreds of Distros That Are Debian-Derived)
I can cynically guess that only matters when a user with a Chinese name does it
[Video] Julian Assange Explains Wikileaks' Logistics
predating indefinite detention
IBM Was Never the "Good Guy", Just a Self-Serving and Opportunistic Money- and Power-Hungry Monopolist, Living Off of Taxpayers' Money (Government Contracts)
The Nazi Party of Germany was its second-biggest client at one point and now it's looking to profit from the work of slaves
"I Hated Working at IBM. They Were the Most Unfriendly People."
Don't forget what Watson the son did to a poor woman on a plane
State of the News (and Depletion of Journalism Online, Not Just Offline)
Newspapers are not coming back and the Web is not coming back either
GNU/Linux Consolidates in North America
Android rising a lot this year, too
[Meme] More Monopolies Granted While Patent Examiners Die (Overworking for Less Compensation)
Work more; Get less
Staff Union of the EPO (SUEPO) is Taking the New Pension Scheme (NPS) to an International Tribunal (ILOAT)
SUEPO wants more EPO staff to participate in collective action
Stella Assange and the Legal Team Speak to the Media a Day After WikiLeaks Founder Julian Assange Arrives in Australia
Published yesterday by a number of mainstream publishers
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Thursday, June 27, 2024
IRC logs for Thursday, June 27, 2024
RIP Daniel Bristot de Oliveira, Red Hat death
Reprinted with permission from Daniel Pocock