Differences

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

Link to this comparison view

Next revision
Previous revision
bluray_copy [2018/03/27 23:21]
beandog created
bluray_copy [2023/04/09 21:21] (current)
beandog
Line 1: Line 1:
 ====== bluray_copy ====== ====== bluray_copy ======
 +
 +  * [[Blu-ray]]
 +  * [[bluray_info]] - main package
 +  * [[https://​github.com/​beandog/​bluray_info]] - source code
 +  * [[https://​github.com/​beandog/​bluray_info/​releases]] - releases
  
 ''​bluray_copy''​ is a program that ships with the ''​bluray_info''​ package of utils. You can use it to copy a track directly off a disc either to your drive, or to stdout. ''​bluray_copy''​ is a program that ships with the ''​bluray_info''​ package of utils. You can use it to copy a track directly off a disc either to your drive, or to stdout.
 +
 +** You will need [[libaacs]] installed and a valid KEYDB.cfg file for copying. See [[Blu-ray DRM]] for details. **
  
 See ''​bluray_copy --help''​. See ''​bluray_copy --help''​.
- 
-Here's a sample: 
  
 <​code>​ <​code>​
-bluray_info 1.4 display information about a Blu-ray ​disc+bluray_copy ​copy a Blu-ray ​title or playlist to a file
  
-Usage: ​bluray_info ​[options] [filename]+Usage: ​bluray_copy ​[path] [options]
  
 Options: Options:
-  -t, --track [number] ​    Limit to one title track +  -m, --main               Copy main title (default) 
-  -p, --playlist [number]  Limit to one playlist +  -t, --title <#> ​         Copy title number 
-  -m, --main     Limit to main title +  -p, --playlist <#> ​      Copy playlist number 
-  -k, --keydb  ​  ​Location to KEYDB.CFG (default: use libaacs to look up)+  -c, --chapter <#>​[-#​] ​   Copy chapter number or range
  
-Detailed information+Destination
-  -v, --video              Display video stream details +  -o, --output <​filename> ​ Save to filename (default: bluray_title_###​.m2ts) 
-  -a, --audio ​             Display audio stream details +      --output ​-           Write to stdout
-  -s, --subtitles ​         Display subtitle details +
-  -c, --chapters ​          ​Display chapter details +
-  -x, --all                Display all information+
  
-Formatting+Other
-  -j, --json               ​Display output in JSON format +  -k, --keydb <​filename> ​  ​Location to KEYDB.cfg (default: ~/​.config/​aacs/​KEYDB.cfg) 
-  -i, --id    ​Display disc ID +  -a, --angle <#> ​         Video angle (default: 1) 
-  -u, --volname    Display UDF volume name title (iso or device only) +  -h, --help    This output 
-Blu-ray path can be a device filename, a file, or a directory.+      --version  ​  ​Version information
  
-Examples: +Blu-ray path can be a device, a filename, or directory; default is /dev/sr0 
-  bluray_info ​/dev/bluray +</code>
-  bluray_info movie.iso +
-  ​bluray_info bluray/+
  
-Default device filename is /dev/sr0+I like to pipe mine to ''​ffprobe''​ sometimes to see what's in there. ''​ffprobe''​ will quit once it has enough data, so no need to worry about ''​bluray_copy''​ trying to get everything off. Here's Batman Begins:
  
-For more informationsee http://dvds.beandog.org/+<​code>​ 
 +bluray_copy -o - | ffprobe - 
 +</​code>​ 
 + 
 +<​code>​ 
 +Input #0mpegts, from 'pipe:': 
 +  Duration: N/A, start: 600.000000, bitrate: 4032 kb/
 +  Program 1  
 +    Stream #​0:​0[0x1011]:​ Video: vc1 (Advanced) [VC[45]1 / 0x312D4356] 
 +      yuv420p, bt709/​bt709/​bt709 
 +      1920x1080 [PAR 1:1 DAR 16:9] 
 +      23.98 fps, 90k tbn 
 +    Stream #​0:​1[0x1100]:​ Audio: ac3 [AC[45]3 / 0x332D4341] 
 +      48000 Hz, 5.1, fltp, 640 kb/
 +    Stream #​0:​2[0x1101]:​ Audio: truehd [AC[45]3 / 0x332D4341] 
 +      48000 Hz, 5.1, s32 
 +    Stream #​0:​3[0x1101]:​ Audio: ac3 [AC[45]3 / 0x332D4341] 
 +      48000 Hz, 5.1, fltp, 640 kb/s 
 +    Stream #​0:​4[0x1102]:​ Audio: ac3 [AC[45]3 / 0x332D4341] 
 +      48000 Hz, 5.1, fltp, 640 kb/s 
 +    Stream #​0:​5[0x1103]:​ Audio: ac3 [AC[45]3 / 0x332D4341] 
 +      48000 Hz, 5.1, fltp, 640 kb/s 
 +    Stream #​0:​6[0x1104]:​ Audio: ac3 [AC[45]3 / 0x332D4341] 
 +      48000 Hz, 5.1, fltp, 640 kb/s 
 +    Stream #​0:​7[0x1105]:​ Audio: ac3 [AC[45]3 / 0x332D4341] 
 +      48000 Hz, 5.1, fltp, 640 kb/s 
 +    Stream #​0:​8[0x1200]:​ Subtitle: hdmv_pgs_subtitle 
 +    Stream #​0:​9[0x1201]:​ Subtitle: hdmv_pgs_subtitle 
 +    Stream #​0:​10[0x1202]:​ Subtitle: hdmv_pgs_subtitle 
 +    Stream #​0:​11[0x1203]:​ Subtitle: hdmv_pgs_subtitle 
 +    Stream #​0:​12[0x1204]:​ Subtitle: hdmv_pgs_subtitle 
 +    Stream #​0:​13[0x1205]:​ Subtitle: hdmv_pgs_subtitle 
 +    Stream #​0:​14[0x1206]:​ Subtitle: hdmv_pgs_subtitle 
 +    Stream #​0:​15[0x1207]:​ Subtitle: hdmv_pgs_subtitle 
 +    Stream #​0:​16[0x1208]:​ Subtitle: hdmv_pgs_subtitle 
 +    Stream #​0:​17[0x1209]:​ Subtitle: hdmv_pgs_subtitle 
 +    Stream #​0:​18[0x120a]:​ Subtitle: hdmv_pgs_subtitle 
 +    Stream #​0:​19[0x120b]:​ Subtitle: hdmv_pgs_subtitle 
 +    Stream #​0:​20[0x120c]:​ Subtitle: hdmv_pgs_subtitle 
 +    Stream #​0:​21[0x120d]:​ Subtitle: hdmv_pgs_subtitle 
 +    Stream #​0:​22[0x120e]:​ Subtitle: hdmv_pgs_subtitle 
 +    Stream #​0:​23[0x120f]:​ Subtitle: hdmv_pgs_subtitle 
 +    Stream #​0:​24[0x1210]:​ Subtitle: hdmv_pgs_subtitle 
 +    Stream #​0:​25[0x1211]:​ Subtitle: hdmv_pgs_subtitle 
 +    Stream #​0:​26[0x1212]:​ Subtitle: hdmv_pgs_subtitle 
 +    Stream #​0:​27[0x1a00]:​ Audio: eac3 [[161][0][0][0] / 0x00A1] 
 +      48000 Hz, stereo, fltp, 192 kb/s 
 +    Stream #​0:​28[0x1b00]:​ Video: vc1 (Advanced) [VC[45]1 / 0x312D4356] 
 +          yuv420p, smpte170m/​smpte170m/​unknown 
 +      720x480 [PAR 10:11 DAR 15:11] 
 +      23.98 fps, 90k tbn
 </​code>​ </​code>​

Navigation