Differences
This shows you the differences between two versions of the page.
| dvd_rip [2023/12/26 08:50] – created beandog | dvd_rip [2025/04/21 06:11] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| * [[dvd_info]] - main package | * [[dvd_info]] - main package | ||
| - | '' | + | '' |
| A man page is included with the install (man dvd_rip). | A man page is included with the install (man dvd_rip). | ||
| - | See also '' | + | See also '' |
| - | + | ||
| - | < | + | |
| - | dvd_rip - a tiny DVD ripper | + | |
| - | + | ||
| - | Usage: | + | |
| - | dvd_rip [path] [options] | + | |
| - | + | ||
| - | -o, --output < | + | |
| - | + | ||
| - | Track selection: | + | |
| - | -t, --track <#> | + | |
| - | -c, --chapter <#> | + | |
| - | + | ||
| - | Language selection: | + | |
| - | --alang < | + | |
| - | --aid <#> | + | |
| - | --slang < | + | |
| - | --sid <#> | + | |
| - | + | ||
| - | Encoding options: | + | |
| - | + | ||
| - | -v, --vcodec < | + | |
| - | -q, --crf <#> | + | |
| - | -a, --acodec < | + | |
| - | -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_trip will quit. | + | |
| - | + | ||
| - | See the man page for more details. | + | |
| - | + | ||
| - | .mkv - HEVC video, AAC audio | + | |
| - | .mp4 - H.264 video, AAC audio | + | |
| - | .webm - VPX9 video, Opus audio | + | |
| - | + | ||
| - | Other: | + | |
| - | -h, --help | + | |
| - | --version | + | |
| - | + | ||
| - | DVD path can be a device name, a single file, or directory (default: /dev/sr0) | + | |
| - | + | ||
| - | dvd_trip reads a configuration file from ~/ | + | |
| - | + | ||
| - | See mpv man page for syntax and dvd_rip man page for examples. | + | |
| - | </ | + | |
| ==== Features ==== | ==== Features ==== | ||
| Line 72: | Line 21: | ||
| * .mkv - H.265 (x265) AAC (fdk-aac) | * .mkv - H.265 (x265) AAC (fdk-aac) | ||
| * .mp4 - H.264 (x264) AAC (fdk-aac) | * .mp4 - H.264 (x264) AAC (fdk-aac) | ||
| - | * .webm - VPX9 Opus | ||
| * detelecining | * detelecining | ||
| Line 83: | Line 31: | ||
| I recommend using something like [[HandBrake]] for more advanced options. | I recommend using something like [[HandBrake]] for more advanced options. | ||
| - | |||
| - | |||
| - | ==== x265 Encoding ==== | ||
| - | |||
| - | CRF for x265 ranges from 0 to 51, with the default being 28. | ||
| - | |||
| - | In x265, changing the encoder speed is relative to filesize, not quality. In these presets, however, both CRF and encoding speed are adjusted for each level. | ||
| ==== x264 Encoding ==== | ==== x264 Encoding ==== | ||
| Line 97: | Line 38: | ||
| In x264, changing the encoder speed is relative to quality, not filesize. In these presets, however, both CRF and encoding speed are adjusted for each level. | In x264, changing the encoder speed is relative to quality, not filesize. In these presets, however, both CRF and encoding speed are adjusted for each level. | ||
| - | ==== VPX Encoding ==== | + | ==== x265 Encoding ==== |
| - | The WebM project recommends doing a two-pass encode as the default options for creating video. I prefer doing a one-pass with a good CRF instead, and that is what's used here. | + | CRF for x265 ranges from 0 to 51, with the default being 28. |
| - | VPX doesn' | + | In x265, changing |
| - | + | ||
| - | The values cannot be set to each other in an attempt to " | + | |
| - | + | ||
| - | In addition to setting the ranges, the rate control method | + | |
| - | + | ||
| - | The default settings using libvpx as a one-pass, with no quality scales set is generally low-quality, | + | |
| - | + | ||
| - | Using vpxenc, here is what the settings would look like for the low preset: | + | |
| - | < | ||
| - | vpxenc --end-usage=q --passes=1 --webm -o vpxenc.webm source.y4m | ||
| - | </ | ||