You are not logged in.

#1 2016-04-13 12:30:11

kurt
Member
Registered: 2009-09-06
Posts: 140

mpv - Play BluRay ISO file directly

I was trying to open a bluray iso directly (without mounting) with mpv and got the following:

mpv bd:// --bluray-device=<Name Of>.iso
Playing: bd://
disc.c:350: error opening file BDMV/index.bdmv
disc.c:350: error opening file BDMV/BACKUP/index.bdmv
[bd] Couldn't open Blu-ray device: <Name Of>.iso
No protocol handler found to open URL bd://
The protocol is either unsupported, or was disabled at compile-time.


Exiting... (Errors when loading file)

I google'd mpv opening a iso directly and got this link from the mpv githup issues page:

https://github.com/mpv-player/mpv/issues/2199

The final post on that thread states:

It actually works just fine now, at least for me on a test BD ISO file. I think you can readjust manpage.

$ mpv bd:// --bluray-device=THE_MORTAL.ISO
Playing: bd://
(+) Video --vid=1 (h264)
(+) Audio --aid=1 --alang=jpn (pcm_bluray)
AO: [alsa] 48000Hz stereo 2ch s32
VO: [opengl-hq] 1920x1080 yuv420p
AV: 00:00:04 / 02:08:45 (0%) A-V:  0.000
(You need to build libbluray with --enable-udf for this.

Does arch build libbluray with udf enabled, if not any plans and if no plans any reasons

Cheers

Offline

#2 2016-04-13 12:50:41

jaergenoth
Member
Registered: 2015-01-16
Posts: 85

Re: mpv - Play BluRay ISO file directly

UDF is not enabled in the libbluray package that's in the repos. I just tried building it with the same settings as in the current PKGBUILD

This is the result from running configure:

  Summary:
  --------
  BD-J support:                  yes
  BD-J type:                     j2se
  Font support (freetype2):      yes
  Use system fonts (fontconfig): yes
  Metadata support (libxml2):    yes
  UDF filesystem support:        no
  Build examples:                yes

Edit:
You can download the PKGBUILD from the link earlier and change the configure line.
Replace this line:

./configure --prefix=/usr

With:

./configure --prefix=/usr --enable-udf

This results in UDF filesystem support.

But I'm not sure if this helps with your problem.

Last edited by jaergenoth (2016-04-13 12:57:48)

Offline

Board footer

Powered by FluxBB