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
dvd_player [2021/10/18 00:02] beandogdvd_player [2025/02/07 10:33] (current) beandog
Line 3: Line 3:
   * [[dvd_info]] - main package   * [[dvd_info]] - main package
  
-This is a tiny DVD player that uses libmpv (mpv package) as its backend for media playback. A man page is included with the ''dvd_info'' package, see ''man dvd_player'' for details. Here is the help output: +This is a tiny DVD player that uses libmpv (mpv package) as its backend for media playback. A man page is included with the ''dvd_info'' package, see ''man dvd_player'' for details.
- +
-<code> +
-dvd_player - a tiny DVD player +
- +
-Usage: dvd_player [path] [options] +
- +
-Options: +
-  -f, --fullscreen              Display in fullscreen mode +
-  -t, --track <#>               Playback track number (default: longest valid) +
-  -c, --chapter <#>[-#        Playback chapter number or range (default: all) +
-  -a, --alang <language>        Select audio language, two character code (default: first audio track) +
-  -A, --aid <#>                 Select audio track ID +
-  -s, --slang <language>        Select subtitles language, two character code (default: no subtitles) +
-  -S, --sid <#>                 Select subtitles track ID +
-  -d, --detelecine              Detelecine video +
-  -v, --verbose                 Verbose output +
-  -h, --help Show this help text and exit +
- +
-DVD path can be a device name, a single file, or directory (default: /dev/sr0) +
- +
-dvd_player reads a configuration file from ~/.config/dvd_player/mpv.conf +
-See mpv man page for syntax and dvd_player man page for examples. +
-</code>+
  
 ==== Custom Configuration ==== ==== Custom Configuration ====
Line 32: Line 9:
 One of mpv's strong points is that it can have configuration saved in your config directory. This program supports that as well. One of mpv's strong points is that it can have configuration saved in your config directory. This program supports that as well.
  
-Here's an example ''mpv.conf':+Here's an example ''mpv.conf'' that goes in ''~/.config/dvd_player/'' directory:
  
 <code> <code>
-# dvd_player libmpv config 
 alang=en alang=en
 slang=en slang=en
Line 53: Line 29:
  
 <code> <code>
- dvd_player -t 2+dvd_player -t 2
 [dvd_player] Track: 2, Length: 00:22:36.033, Chapters: 5, Filesize: 549 MBs [dvd_player] Track: 2, Length: 00:22:36.033, Chapters: 5, Filesize: 549 MBs
 libdvdnav: DVD Title: 888574310851D1 libdvdnav: DVD Title: 888574310851D1

Navigation