zearp / Nucintosh

Intel NUC Hackintosh Stuff
730 stars 87 forks source link

Apple Music and Amazon Prime videos DRM issues #81

Closed Badsheep closed 2 years ago

Badsheep commented 2 years ago

Hello,

is there a possible workaround to have the Apple Lossless Music working ? And / or Amazon Prime.

I have Netflix working, but the two stuffs above are not working.

my EFI and kext are not up-to-date, would an upgrade change anything ? I installed my NUC few months ago.

thanks for tour great work zearp !

zearp commented 2 years ago

It is not possible. Some video related DRM can be used if your use a macOS supported eGPU in a Thunderbolt enclosure. Some streaming DRM will work at lower resolution in 3rd party browsers. But as a general rule if you need DRM stuff on hackintosh you're in for a rough ride.

You're welcome! You don't need to update unless a macOS update breaks something. When it works, it works. It's very rare macOS updates break something that causes macOS to stop booting. I would suggest to update before upgrading to a new macOS version. It can't hurt and sometimes there are some improvements relating to speed or stability.

Badsheep commented 2 years ago

Ok thanks for your explanations !

Tobix99 commented 2 years ago

Hey, short question: Does your Apple Music "Streaming" work? I can only listen to Apple Music songs when they are downloaded, otherwise when "just" listening (streaming) them, they will skip. I think this is the described DRM Problem, but I thought, that this is only with Lossless Streaming?

Badsheep commented 2 years ago

Yes it works in AAC 256 kbit. Only Lossless doesn't work.

Tobix99 commented 2 years ago

Ahh so I've found the "problem". Streaming works when you output to any device other than AirPods Pro or AirPods Max. When selecting those only downloaded, 256kbits AAC Songs work. Otherwise it'll skip like crazy.

And Download in Lossless also doesn't work.

zearp commented 2 years ago

For Bluetooth audio streaming it can sometimes help to force either aptX or AAC codecs. This can be done with the Bluetooth explorer tool. You can also tweak bit rates and some other things they can improve quality and latency. The tool should be in the Xcode additional tools package. It wasn’t in the latest Xcode beta but should be in an older stable release. Too bad macOS doesn’t support more modern Bluetooth codecs. The new aptX ones and LDAC would be great but Apple loves AAC 😅

Badsheep commented 2 years ago

To listen to Lossless music on my Nucintosh here is my setup :

Tobix99 commented 2 years ago

Edit: Weird, after disconnecting and reconnecting the AirPods, the Skipping is back. Disabling Bluetooth and restarting the Music App doesn't help.


@zearp thanks for the Advice, I "fixed" the issue...I can now Stream Apple Music via Bluetooth to my AirPods Pro (using a BCM94360CS2-Card).

  1. Download "Additional_Tools_for_Xcode_11.4.dmg" from Apple (newest Version, where the "Bluetooth Explorer" is included).
  2. Add "Hardware->Bluetooth Explorer" to local Application Folder
  3. Start "Bluetooth Explorer"
  4. Go to the "Top"-Application-Bar, then Tools->Audio Options...
  5. There select "Force use of aptX" and "Disable AAC" (I'm not sure, if both are needed, have to do some "research")
  6. Click "Close"
  7. Restart the Mac

With this Method it works™, but I don't know yet, if these options have any negative consequences.

image

zearp commented 2 years ago

I'm happy it helped!

In my experience some headphones perform a lot better with the settings tweaked. There's no downside unless you have another bluetooth headphone which works better with different settings.

As it seems Big Sur and newer do not properly support the tool anymore and Apple has not included it in Xcode 12/13. I wonder why and if anything will be released that replaces it. I'm not holding my breath but who knows!

There are terminal commands that can enable AptX and disable AAC in Big Sur and newer but this tool is really nice not only for bluetooth audio issues.

zearp commented 2 years ago

These are defaults on my Ventura install. I've not tested if it actually works in Ventura. Some people say it doesn't work, some say it does. I do wonder why Apple has removed the bluetooth explorer tool.

Screenshot 2022-10-01 at 12 38 15