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
dvd_info [2018/02/19 21:50]
beandog
dvd_info [2020/12/28 03:37] (current)
beandog [dvd_info]
Line 3: Line 3:
   * [[http://​github.com/​beandog/​dvd_info|GitHub dvd_info repo]]   * [[http://​github.com/​beandog/​dvd_info|GitHub dvd_info repo]]
   * [[https://​sourceforge.net/​projects/​dvdinfo/​files/​|SourceForge downloads]]   * [[https://​sourceforge.net/​projects/​dvdinfo/​files/​|SourceForge downloads]]
-  * Portability:​ [[OpenBSD]] [[NetBSD]]+  ​* [[http://​bluray.beandog.org/​dvd_info/​|Downloads]] 
 +  ​* Portability: ​Linux, Cygwin, ​[[OpenBSD]][[NetBSD]], FreeBSD 
 +  * [[dvd_copy]] 
 +  * [[dvd_drive_status]] 
 +  * [[dvd_eject]]
  
 My own set of C programs that are small utilities for reading DVD info, and managing DVD drives. My own set of C programs that are small utilities for reading DVD info, and managing DVD drives.
Line 12: Line 16:
   * ''​dvd_drive_status''​ - poll the DVD drive to see the status of a drive: open, polling, closed with no disc, closed with disc   * ''​dvd_drive_status''​ - poll the DVD drive to see the status of a drive: open, polling, closed with no disc, closed with disc
   * ''​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
-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