Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
netbsd [2018/02/19 21:06]
beandog
netbsd [2018/02/19 21:28]
beandog [libbluray]
Line 2: Line 2:
  
   * [[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 ====
  
 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 32: Line 34:
 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 41: Line 45:
 </​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 55: Line 59:
 ==== libbluray ==== ==== libbluray ====
  
-haven'​t been able to install ​libbluray, either ​from pkgsrc or source (1.0.2).+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>​

Navigation