Skip to content

dvd_rip

Steve Dibb edited this page Dec 26, 2023 · 1 revision

dvd_rip is a small DVD ripper using libmpv as its backend. It is intentionally light on features. If you need more advanced functionality, recommend to use HandBrake instead, which comes with its own command-line ripper (HandBrakeCLI).

Usage

dvd_rip [path] [options]

  -o, --output <filename>       Save to filename (default: dvd_track_##.mkv)

Track selection:
  -t, --track <#>          	Encode selected track (default: longest)
  -c, --chapter <#>[-#]         Encode chapter number or range (default: all)

Language selection:
      --alang <language>        Select audio language, two character code (default: first audio track)
      --aid <#>                 Select audio track ID
      --slang <language>	Select subtitles language, two character code (default: none)
      --sid <#>                 Select subtitles track ID

Encoding options:

  -v, --vcodec <x264|x265|vpx>	Video codec (defaut: x265)
  -q, --crf <#>			Video encoder CRF (default: use codec baseline)
  -a, --acodec <aac|opus>	Audio codec (default: AAC)
  -d, --detelecine		Detelecine video
  -e, --deinterlace		Deinterlace video

Defaults:

By default, dvd_rip will encode source to H.264 video with AAC audio in an MP4 container. If an output filename is given with a different extension, it will use the default settings. for those instead. In each case, the default presets are used as selected by the codecs as well. Note that mpv must already be built with support for these codecs, or dvd_rip will quit.

See the man page for more details.

  .mp4 - H.264 video, AAC audio
  .mkv - HEVC video, AAC audio
  .webm - VPX9 video, Opus audio

Other:
  -h, --help                    Show this help text and exit
      --version                 Show version info and exit

DVD path can be a device name, a single file, or directory

See also man dvd_rip

Source

The DVD source can be an optical disc in a drive, a device name, an image of the disc (ISO), or a directory. With no argument, it use the operating system's default DVD device.

dvd_info
dvd_info /dev/sr1
dvd_info dvd_video.iso
dvd_info ~/Videos/DVD/
dvd_info D:\
Clone this wiki locally