Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Matias_

macrumors newbie
Original poster
Oct 12, 2024
13
15
As many of you might know, MacOS Leopard introduced a built-in UDF 2.5 driver. This means it can read Blu-Rays and HD DVDs with a suitable drive. One problem always remained however, there was no software to play back commercial titles. There were several companies selling Blu-Ray drives marketed as being PowerMac compatible and BD authoring packages such as Roxio Toast yet the playback software for commercial encrypted discs always remained an Intel exclusive.

Looking around on this forum and various other places on the internet, the general consensus hence seems to be that this is impossible. Reasons cited are the lack of HDCP as well as blatant misinformation such as the alleged facts that even the fastest G5's lack the power to decode 1080p video and that IDE Blu-Ray drives never existed. So I am here to prove the opposite.

The saving grace is VLC, the open source media player we all know and love. The last version of VLC released for PowerPC is version 2.0.10 for Leopard from early 2014. This is quite a mature version of the software and happens to be one of the first versions with experimental Blu-Ray playback support! The one roadblock is that VLC does not ship with the required libaacs library for Blu-Ray decryption. But as it turns out, it is trivial to compile and install with TigerBrew. Low and behold, after obtaining the necessary keyfile it works flawlessly!

Picture_30.png


Picture_31.png


Video playback is perfectly smooth on my machine. Frames are only dropped when seeking back and forth or taking a screenshot.

For anyone that wants to try it out, you can basically follow this great guide targeting Apple Silicon and Intel, just make sure to use TigerBrew instead of HomeBrew and make sure to download the right VLC version: https://blog.greggant.com/posts/2024/02/19/how-to-play-blu-rays-on-mac-vlc.html

Note that it is quite CPU intensive so I suspect that at the very minimum, it requires one of the faster dual G5 models. CPU usage from VLC during playback on my G5 Quad was around 160% according to activity monitor. And one of the 5 titles I tested would not play smoothly, that being Jurassic Park. I'm not sure if it has stronger encryption, a higher bit rate or a different codec but my older x86 machines struggle to play it back as well. So keep in mind that not every title may work perfectly.
 
Very, I wish I'd taken the time to look into this more, but I'll update my guide soon with this thread. I need to try this on my dual 1.4 GHz G4 to see if it can playback LOTR.

Thanks for this!
 
  • Like
Reactions: tevion5 and Matias_
Ah yeah, I was aware of this. But to install PPCPorts it seems like I have to wipe my existing MacPorts installation and start from scratch again. Perhaps I should try it, PPCPorts does seem better because it is actually maintained and curated but I've had nothing but trouble since I started using MacPorts in August 2024. More and more things break every day. :(
 
I wonder how the Quad G4 will handle BR?

I'll have to check if VLC can use more than 2 cores to decode.

BR can be a few codecs, HD MPEG2 can be accelerated by the GPU on OS X PPC, so that could help on Discs encoded with MPEG2.

Some of the GPUs for PPC can do other HD Codecs but there was never driver/OS support.
 
  • Like
Reactions: Matias_
The GeForce 7600/7800/7900 did support nVidia's Pure Video HD 1( Realtime decode of H.264 high-profile L4.1, VC-1 advanced profile L3, and MPEG-2 MP@HL (1080p30 up to 40 Mb/s).

The 7800 was an "Official" card for PPC Mac's we've made it work in even Old World Beige G3's and @LightBulbFun made a Quadro 4500 work in a PowerMac 9600. I did confirm the drivers were there for the Geforce 7600 GT in PPC and I just assume the 7900's would work too, as far as OS and drivers support, but it's the FCODE ROM's that proved though.

Anyway, Apple had a private API for HD MPEG2 playback on the GPU for the Geforce 5200+ and I've used it in an app called iTeli that came from MMINPUT drivers for DVB/ATSC HD PCI cards.

On my old PM G5 1.8GHz 600MHz bus with the GF5200 it played back full bitrate MPEG2 HD Transport steams without dropping frames and minimal CPU usage. Sadly I don't think Apple ever implemented h.264/h.265 hardware acceleration until the Geforce 8 and they had forked the nVidia drivers for Intel only.

Nouveau open source drivers had not got "Pure Video HD 1" working on the older class cards( 7600/7800/7900 ) last time I checked, so there isn't much we can learn yet from that.

We could likely pull the code from iTeli that taps into Apple's private API for HD MPEG2 playback and add it to VLC if anyone is interested in that?

It world just offload HD MPEG2 to the GPU and free up CPU cycles.
 
  • Like
Reactions: barracuda156
That's would be very interesting. I have a 7800 GT in my G5 Quad at the moment so I would be able to test if the need arises.
 
That's would be very interesting. I have a 7800 GT in my G5 Quad at the moment so I would be able to test if the need arises.
If you have clean instructions for building VLC for PPC with BluRay support I'll see if I can port a plugin for the HD MPEG2 HW playback for everyone to test?
 
There is h264 vda checker on github


and ffmpeg changelog says VDA acceleration appeared in version 0.9 and was killed in 4.0 (if I read it correctly)
 
Last edited by a moderator:
more on (official) VDA:

this thread says it was in 10.6.3 but some components exist in 10.5 Not sure if info about 10.4 correct or not ....

list few (5) bluray titles encoded with mpeg2 at the time thread was active (2010)

No signs of mpeg2 acceleration, but yes I recall reading about private framework on osx to decode mpeg2.

For h264 decoding via opengl there was *unfinished* project on github:

 
I wonder how the Quad G4 will handle BR?

Quad G5, right? :)

I'll have to check if VLC can use more than 2 cores to decode.

BR can be a few codecs, HD MPEG2 can be accelerated by the GPU on OS X PPC, so that could help on Discs encoded with MPEG2.

Some of the GPUs for PPC can do other HD Codecs but there was never driver/OS support.

My feeble 2010 MBA 1.4Ghz C2D with a Nvidia 320M GPU can play a number of MPEG-2 and MPEG-4 AVC encoded BR discs either flawlessly or acceptably so I'd expect a Quad G5 to be able to manage this on the hardware side.
 
Looking around on this forum and various other places on the internet, the general consensus hence seems to be that this is impossible. Reasons cited are the lack of HDCP as well as blatant misinformation such as the alleged facts that even the fastest G5's lack the power to decode 1080p video and that IDE Blu-Ray drives never existed. So I am here to prove the opposite.

Dunno where those people get info from. The Quad can play 4K. Not that it plays every 4K vid smoothly, but it is usable. 1080p is trivial, and will work fine on dual G5s and probably on G4 too.

The saving grace is VLC, the open source media player we all know and love. The last version of VLC released for PowerPC is version 2.0.10 for Leopard from early 2014. This is quite a mature version of the software and happens to be one of the first versions with experimental Blu-Ray playback support! The one roadblock is that VLC does not ship with the required libaacs library for Blu-Ray decryption. But as it turns out, it is trivial to compile and install with TigerBrew. Low and behold, after obtaining the necessary keyfile it works flawlessly!

Judging from dependencies, a lot of players should read BlueRay. I cannot try, since I have no BlueRay disks, but it shouldn’t really be an issue.

For anyone that wants to try it out, you can basically follow this great guide targeting Apple Silicon and Intel, just make sure to use TigerBrew instead of HomeBrew and make sure to download the right VLC version: https://blog.greggant.com/posts/2024/02/19/how-to-play-blu-rays-on-mac-vlc.html

You may have a better experience with newer players in fact.
 
  • Like
Reactions: Matias_
Oh yeah, VLC 3.0.21 is available via PPCPorts pre-built for SL-PPC and from source for Leopard.

As a disclaimer, this is a very experimental port which did work at the point when I wrote it, however at the moment it is mostly broken for me (in fact it does not play many vids even on a modern x86).
And in all honesty, I would rather discourage from trying it, since the expected outcome is a lot of frustration, especially if someone wastes hours to build it from source (it pulls in a lot of dependencies).
I kinda regret I wasted a lot of my time on VLC, and IMO it just badly written – and poorly maintained.

There are much better players that work neatly and have a newer code.

QMPlay2 is a gem. And while I hate mpv support policy (= a lack of support), but hey, unlike vlc at least it works.
mplayer may be good for resource-constrained environments.
 
We could likely pull the code from iTeli that taps into Apple's private API for HD MPEG2 playback and add it to VLC if anyone is interested in that?

I am interested, though QMPlay2 will be a few better choice, not only because its code is better, but also because its upstream actually cares about users.

Please ping me here or via GitHub on the matter.
 
Dunno where those people get info from. The Quad can play 4K. Not that it plays every 4K vid smoothly, but it is usable. 1080p is trivial, and will work fine on dual G5s and probably on G4 too.
Yeah I don't understand either. In fact I am would not be surprised if Apple edited FHD footage on their G5s back in the day. My MDD plays 1080p fine with CorePlayer. But the G5 has enough raw compute to do it with less efficient video players as well.

Judging from dependencies, a lot of players should read BlueRay. I cannot try, since I have no BlueRay disks, but it shouldn’t really be an issue.

You may have a better experience with newer players in fact.
I don't dispute these claims, there are indeed a lot of video players that can utilize libaacs. But the old VLC 2.0.10 release will be the easiest way to do this for most people. I could not find anyone that had done this before, that's why I made this thread.

QMPlay2 and MPV work great on Linux, I guess I should try compiling them on MacOS as well.
 
  • Like
Reactions: barracuda156
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.