News for hackers. Stuff that matters.
Re:When Microsoft's eBook store closes, your books disappear... by frosted-flakes on Thursday April 04, 2019 @12:41AM (#19569383)
I do the same with Audible. As far as I can tell, there's no way to remove the DRM that is both easy and free, so against my better judgement, I paid $30 for a program to do it for me[0]. I now have every audiobook I've bought in mp3 format, split by chapter and tagged with the correct metadata. Now I can dump them on a USB drive and plug it into my car stereo for road trips (I don't mind listening to good books more than once).

[0] It's called Tuneskit Audible Converter, and I'm surprised they haven't been sued by Amazon yet.

Re:When Microsoft's eBook store closes, your books disappear... by TheAceOfHearts on Thursday April 04, 2019 @03:18AM (#19569985)
There's a RainbowCrack plugin which allows you to extract your activation_bytes which is both fast and free. Once you're extracted your activation_bytes, it can be saved and re-used to remove the DRM from all your audiobooks.

Then you can use ffmpeg to convert the .aax file:

    ffmpeg -activation_bytes $activation_bytes -i $audiobook_file -c:a copy -c:v copy $output_file
I'd suggest converting to m4b, which you can achieve by replacing the aax extension with m4b as part of the output_file. This preserves all chapters, metadata, and even the cover art. The m4b format also has a neat feature which lets you bookmark your last position in the same file.
Re:When Microsoft's eBook store closes, your books disappear... by frosted-flakes on Thursday April 04, 2019 @03:52PM (#19576416)
Ah well, I bought the program years ago, and it is pretty convenient—just drag and drop. So I expect I'll continue using it. It has the option to use m4b files too, so maybe I'll try that.

I searched for days before I bought it though, and never came across the ffmpeg method. All sorts of hacks involving virtual CDs and whatnot, but nothing that scaled.

Re:When Microsoft's eBook store closes, your books disappear... by crankylinuxuser on Thursday April 04, 2019 @12:50AM (#19569417)
Keep your $30. Or... Pay me $30 :)

ffmpeg -activation_bytes 1CEB00DA -i test.aax -vn -c:a copy output.mp4

Re:When Microsoft's eBook store closes, your books disappear... by flukus on Thursday April 04, 2019 @02:53AM (#19569884)
Does this leave enough meta data for other book readers? You can listen to them in a generic audio player but I like having something that understand the chapter breaks.
Re:When Microsoft's eBook store closes, your books disappear... by TheAceOfHearts on Thursday April 04, 2019 @03:22AM (#19570002)
You have to copy the video as well if you want to keep all the metadata, chapters, and cover art. I'd suggest converting to m4b rather than mp4. I gave an example in my other comment in this thread.
Re:When Microsoft's eBook store closes, your books disappear... by durability on Thursday April 04, 2019 @01:05AM (#19569479)
Does this really work?
Re:When Microsoft's eBook store closes, your books disappear... by cbluth on Thursday April 04, 2019 @01:48AM (#19569633)
Yes, it does. You'll have to use the correct activation bytes to decrypt, but those can be retrieved by signing into the audible account.
Re:When Microsoft's eBook store closes, your books disappear... by Tomte on Thursday April 04, 2019 @03:09AM (#19569948)
How do I read those out when logged in?
Re:When Microsoft's eBook store closes, your books disappear... by anatoly on Thursday April 04, 2019 @01:13AM (#19569505)
Re:When Microsoft's eBook store closes, your books disappear... by idonotknowwhy on Thursday April 04, 2019 @01:32AM (#19569579)
Probably easier to just plug my phone into the aux input and record with audacity.
Re:When Microsoft's eBook store closes, your books disappear... by snorlaxle on Thursday April 04, 2019 @01:44AM (#19569624)
Not really. The hardest part is getting the activation bytes and even that is actually quite simple and you only have to do it once. For the actual converting I have a bash script that can convert all the aax files in a directory and convert them to a m4b format with all the metada intact. Using your approach you would have to manually set the chapters and the cover art. I have thousands of hours worth of audiobooks but even if you only have a single 10 hour book I think this approach is still the easier of the 2.
Re:When Microsoft's eBook store closes, your books disappear... by Causality1 on Thursday April 04, 2019 @02:22AM (#19569770)
Since breaking DRM is itself illegal, why not just torrent the content?
Re:When Microsoft's eBook store closes, your books disappear... by antnisp on Thursday April 04, 2019 @03:32AM (#19570049)
Because they're not both illegal under all jurisdictions. IANAL but breaking DRM for personal use is legal in the US.
Re:When Microsoft's eBook store closes, your books disappear... by ramphastidae on Thursday April 04, 2019 @02:47AM (#19569855)
Check out OpenAudible.