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
Next revision Both sides next revision
dvd_info [2018/03/27 23:38]
beandog
dvd_info [2018/05/30 00:15]
beandog [dvd_info]
Line 16: Line 16:
   * ''​dvd_eject''​ - a small eject utility that does its best to make sure a drive is properly closed and ready to go before being able toa ccess it (very useful for shell scripts that access DVD drives)   * ''​dvd_eject''​ - a small eject utility that does its best to make sure a drive is properly closed and ready to go before being able toa ccess it (very useful for shell scripts that access DVD drives)
   * ''​dvd_copy''​ - copies a VOB straight to harddrive or stdout   * ''​dvd_copy''​ - copies a VOB straight to harddrive or stdout
- 
-To download, see [[http://​bluray.beandog.org/​dvd_info/​]]. 
  
 The code is open-source,​ licensed under GNU GPL v2.  Source code is available at [[https://​github.com/​beandog/​dvd_info]]. The code is open-source,​ licensed under GNU GPL v2.  Source code is available at [[https://​github.com/​beandog/​dvd_info]].
  
-Build requirements:​ libdvdread, libdvdcss, [[http://​www.digip.org/​jansson/​|jansson]]+Build requirements:​ libdvdread, libdvdcss
  
-==== dvd_info ​====+=== Installation ​====
  
-** Usage: ** dvd_info [options] [-t track number] [dvd path]+Based on what release version you get, github or a compiled package, you may need to build your own ''​configure''​ files.
  
-By default will open ''​/dev/​dvd''​. ​ Can also open directories or image files as well.+<​code>​ 
 +autoreconf -fi 
 +</code>
  
-Examples:+Then you can do standard ''​./​configure;​ make; make install''​ 
 + 
 +==== dvd_info ==== 
 + 
 +See ''​--help''​ for all the fancy stuff it can do:
  
 <​code>​ <​code>​
-dvd_info /dev/sr0 +dvd_info ​1.2 - display information about a DVD 
-dvd_info ​EXCITING_MOVIE.iso + 
-dvd_info ​./+Usage: dvd_info [options] [-t track number] [dvd path] 
 + 
 +Options: 
 +  -t, --track # Limit to one track number (default: longest) 
 + 
 +Detailed information:​ 
 +  -a, --audio audio streams 
 +  -v, --video video 
 +  -c, --chapters chapters 
 +  -s, --subtitles subtitles 
 +  -d, --cells cells 
 +  -x, --all display all 
 + 
 +Formatting:​ 
 +  -j, --json Display output in JSON format 
 +  -o, --ogm Display OGM chapter format for track (default: longest) 
 +  -i, --id Display DVD id only (from libdvdread) 
 +  -T, --title Display DVD title only (path must be device or file) 
 + 
 +Other: 
 +  -q, --quiet Don'​t display DVD title, longest track 
 +  -h, --help Display these help options 
 +  -V, --version Version information 
 + 
 +DVD path can be a device name, a single file, or directory. 
 + 
 +Examples: 
 +  dvd_info # Read default DVD device (/dev/sr0) 
 +  dvd_info ​/dev/dvd # Read a specific DVD device 
 +  dvd_info movie.iso # Read an image file 
 +  dvd_info ​~/movie/ # Read a directory that contains VIDEO_TS
 </​code>​ </​code>​
  

Navigation