Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mpv-git configure doesn't detect dvdnav library #4290

Closed
simonbcn opened this issue Mar 30, 2017 · 4 comments
Closed

mpv-git configure doesn't detect dvdnav library #4290

simonbcn opened this issue Mar 30, 2017 · 4 comments

Comments

@simonbcn
Copy link

simonbcn commented Mar 30, 2017

Arch Linux

I'm trying to compile mpv with dvd support (--enable-dvdnav) but it doesn't detect:

...
Checking for dvdread support                                      : disabled 
Checking for dvdnav support                                       : dvdread not found 
You manually enabled the feature 'dvdnav', but the autodetection check failed.

With --enable-dvdread compiles but it doesn't recognize the dvd:// protocol:

$ mpv dvd:// --dvd-device="/dunehd/dvd1"
Playing: dvd://
No protocol handler found to open URL dvd://
The protocol is either unsupported, or was disabled at compile-time.

Both libraries are installed:

libdvdnav 5.0.3-1
libdvdread 5.0.4-1
@wiiaboo
Copy link
Member

wiiaboo commented Mar 30, 2017

Add --enable-dvdread, it's disabled by default.

@simonbcn
Copy link
Author

@wiiaboo, please re-read my comment (I have edited it).

@ghost
Copy link

ghost commented Mar 30, 2017

You need to enable dvdread too to get dvdnav. If that doesn't work, post build/config.log.

@simonbcn
Copy link
Author

ok, I got it but I don't understand this configuration:
mpv doesn't compile with dvdnav alone, it needs dvdread
and
mpv compiles with dvdread alone but it is useless to read dvd.

Why not put a single option that is something like --enable-dvd and it detects both libraries?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants