Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
bluray_copy [2021/10/18 00:16] beandogbluray_copy [2025/02/12 13:43] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== bluray_copy ====== ====== bluray_copy ======
  
 +  * [[Blu-ray]]
   * [[bluray_info]] - main package   * [[bluray_info]] - main package
   * [[https://github.com/beandog/bluray_info]] - source code   * [[https://github.com/beandog/bluray_info]] - source code
   * [[https://github.com/beandog/bluray_info/releases]] - releases   * [[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. **You will need a KEYDB.cfg to decrypt the DRM.**+''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 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.6 display information about a Blu-ray+bluray_copy copy a Blu-ray title or playlist to a file
  
-Usage: bluray_info [path] [options]+Usage: bluray_copy [path] [options]
  
 Options: Options:
-  -m, --main      Limit to main title (default: all+  -m, --main               Copy main title (default) 
-  -t, --title <number    Limit to selected title +  -t, --title <#         Copy title number 
-  -p, --playlist <number Limit to selected playlist +  -p, --playlist <#      Copy playlist number 
-  -j, --json               Display format as JSON+  -c, --chapter <#>[-#   Copy chapter number or range
  
-Extra information+Destination
-  -v, --video              Display video streams +  -o, --output <filename>  Save to filename (defaultbluray_title_###.m2ts) 
-  -a, --audio              Display audio streams +      --output           Write to stdout
-  -s, --subtitles          Display subtitles +
-  -c, --chapters           Display chapters +
-  -x, --all                Display all +
- +
-Narrow results+
-  -A, --has-audio          Title has audio +
-  -S, --has-subtitles      Title has subtitles +
-  -E, --seconds <number>   Title has minimum number of seconds +
-  -M, --minutes <number>   Title has minimum number of minutes+
  
 Other: Other:
-  -g, --xchap    Display title's chapter format for mkvmerge 
   -k, --keydb <filename>   Location to KEYDB.cfg (default: ~/.config/aacs/KEYDB.cfg)   -k, --keydb <filename>   Location to KEYDB.cfg (default: ~/.config/aacs/KEYDB.cfg)
 +  -a, --angle <#>          Video angle (default: 1)
   -h, --help    This output   -h, --help    This output
       --version    Version information       --version    Version information
  
-Blu-ray path can be a device, a filename, or directory (default/dev/sr0)+Blu-ray path can be a device, a filename, or directorydefault is /dev/sr0
 </code> </code>
  
-I like to pipe mine to ''avprobe'' sometimes to see what's in there. ''avprobe'' will quit once it has enough data, so no need to worry about ''bluray_copy'' trying to get everything off. Here's Batman Begins: +See ''man bluray_copy'' for instructions.
- +
-<code> +
-bluray_copy -o - | avprobe - +
-</code> +
- +
-<code> +
-Input #0, mpegts, from 'pipe:': +
-  Duration: N/A, start: 600.000000, bitrate: 4032 kb/s +
-  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/s +
-    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>+