Opened 7 years ago

Last modified 5 years ago

#54661 new enhancement

Blu-Ray playback — at Version 3

Reported by: RJVB (René Bertin) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: jeremyhu (Jeremy Huddleston Sequoia), vladashram
Port: libbluray libbdplus

Description (last modified by mf2k (Frank Schima))

I'm in the process of improving Blu-Ray playback support, ultimately in VLC but the main work is being done in libbluray and libaacs. I thought it'd be OK if not better to create a single enhancement ticket for this, attaching multiple diffs.

The changes to port:libbdplus and port:libbluray have probably stabilised:

port:libbdplus

  • add an explicit depspec for libaacs to avoid opportunistic dependencies
  • remove the obsolete --disable-examples configure argument
  • fix the livecheck regex

port:libbluray

  • upgrade to 1.0.1 (not yet mentioned on the homepage!)
  • fix the livecheck regex
  • add ${prefix}/lib to the internal dlopen search path
  • remove obsolute --enable-udf option and enable building the example (the bd_info utility)
  • add a +bdjava variant which is required for supporting java-based menus in VLC

The latter was a bit tricky: building the variant requires having a JDK installed (AFAIK only Oracle provides a working one for Mac). Just running would of course work with a JRE but there's a catch-22 there. The only JRE I know of (JavaAppletPlugin) is also provided by Oracle. I'd love to propose making +bdjava the default because why install this port if you're not interested in Blu-Ray playback. But that would require raising an error if that JavaAppletPlugin isn't installed (the build will fail out of itself if no JDK is installed).

Change History (8)

Changed 7 years ago by RJVB (René Bertin)

Attachment: libbdplus.diff added

Changed 7 years ago by RJVB (René Bertin)

Attachment: libbluray.diff added

Changed 7 years ago by RJVB (René Bertin)

Attachment: patch-bdj-mac.diff added

Changed 7 years ago by RJVB (René Bertin)

Attachment: patch-lib-locs.diff added

Changed 7 years ago by RJVB (René Bertin)

Attachment: patch-bdj_jarfile-loc.diff added

comment:1 Changed 7 years ago by RJVB (René Bertin)

A companion patch (including an upgrade) to port:libaacs is in preparation; everything doesn't work yet.

NB: actual playback of BDs requires downloading and installing a file with keys and the like, following online instructions. I'll be putting a link to instructions in the port notes, not to the file itself.

comment:2 Changed 7 years ago by mf2k (Frank Schima)

Port: libbluray, libbdpluslibbluray libbdplus

comment:3 Changed 7 years ago by mf2k (Frank Schima)

Description: modified (diff)
Note: See TracTickets for help on using tickets.