Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dvd_trip [2021/10/17 23:43] – [dvd_trip] beandog | dvd_trip [2023/12/26 08:50] (current) – removed beandog | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== dvd_trip ====== | ||
- | '' | ||
- | |||
- | ==== Features ==== | ||
- | |||
- | I originally wrote it as a proof-of-concept and a way to use libmpv' | ||
- | |||
- | What it does: | ||
- | |||
- | * requires no arguments, will rip the longest track to '' | ||
- | * rips the video track plus one audio track | ||
- | * can select audio track by language or track id | ||
- | * one fixed output based on output filename extension | ||
- | * .mkv - H.265 (x265) AAC (fdk-aac) | ||
- | * .mp4 - H.264 (x264) AAC (fdk-aac) | ||
- | * .webm - VPX9 Opus | ||
- | * detelecining | ||
- | |||
- | What it does not do: | ||
- | * subtitles | ||
- | * multiple audio streams | ||
- | * auto-cropping | ||
- | * add specific codec parameters | ||
- | * pass video or audio through | ||
- | |||
- | 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 ==== | ||
- | |||
- | CRF for x264 ranges from 0 to 51, with the default being 23. | ||
- | |||
- | 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 ==== | ||
- | |||
- | 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. | ||
- | |||
- | VPX doesn' | ||
- | |||
- | The values cannot be set to each other in an attempt to " | ||
- | |||
- | In addition to setting the ranges, the rate control method is set to ' | ||
- | |||
- | 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 | ||
- | </ |