Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
netbsd [2018/02/19 21:06] beandog |
netbsd [2018/03/27 23:59] (current) beandog |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== NetBSD ====== | ====== NetBSD ====== | ||
- | |||
- | ==== dvd_info ==== | ||
* [[https://wiki.netbsd.org/tutorials/how_to_read_css_protected_dvds/|NetBSD Wiki - How to read CSS protected DVDs]] | * [[https://wiki.netbsd.org/tutorials/how_to_read_css_protected_dvds/|NetBSD Wiki - How to read CSS protected DVDs]] | ||
+ | * [[dvd_info]] | ||
+ | |||
+ | ==== dvd_info ==== | ||
I recommend installing libdvdcss and libdvdread directly from pkgsrc. The binary packages aren't built for support with libdvdcss. | I recommend installing libdvdcss and libdvdread directly from pkgsrc. The binary packages aren't built for support with libdvdcss. | ||
Line 34: | Line 35: | ||
Despite it whining about not linking against libdvdcss, the build will. | Despite it whining about not linking against libdvdcss, the build will. | ||
- | Afer that, download dvd_info and install as normal :) | + | You'll have to have autoconf and automake installed as well. |
+ | |||
+ | Afer that, download dvd_info and install as normal. :) | ||
<code> | <code> | ||
Line 43: | Line 46: | ||
</code> | </code> | ||
- | To access the DVD disc drive, your user will have to be in the operator group: | + | To access the DVD disc drive, your user will have to be in the ''operator'' group: |
<code> | <code> | ||
Line 57: | Line 60: | ||
==== libbluray ==== | ==== libbluray ==== | ||
- | I haven't been able to install libbluray, either from pkgsrc or source (1.0.2). | + | I can get libbluray to install from source (1.0.2), but not libaacs. |
+ | |||
+ | Yet another dirty hack: | ||
+ | |||
+ | <code> | ||
+ | cp jni/linux/jni_md.h jni/ | ||
+ | ./configure --prefix=/usr/pkg --disable-bdjava-jar --without-freetype | ||
+ | </code> | ||
+ | |||
+ | bluray_info works great (1.2.0): | ||
+ | |||
+ | <code> | ||
+ | gcc -o bluray_info bluray_info.c bluray_video.c bluray_audio.c bluray_time.c -lbluray -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lbluray -I/usr/pkg/include -std=c99 | ||
+ | </code> |