Update tech_docs/dvd_rip.md

This commit is contained in:
2025-07-27 10:15:37 -05:00
parent 5014603a06
commit d10b003544

View File

@@ -162,4 +162,84 @@ rm -rf ~/dvd_rip # Delete temporary VOBs (optional)
- Original audio (AC3/DTS). - Original audio (AC3/DTS).
- Embedded subtitles (if any). - Embedded subtitles (if any).
No more guesswork—this **exact sequence** works with your setup. Let me know if you hit any snags! No more guesswork—this **exact sequence** works with your setup. Let me know if you hit any snags!
---
Great! Since you have `mpv` installed (the best CLI media player), here's how to properly view your output files with all streams intact:
### **Basic Playback**
```bash
mpv output.mkv
```
### **Advanced Viewing Options**
#### 1. **Verify all streams are detected**:
```bash
mpv --vf=format=fmt=help output.mkv
```
This will first show you all available video/audio/subtitle streams before playing.
#### 2. **Play with specific audio/subtitle tracks**:
```bash
mpv --aid=1 --sid=1 output.mkv
```
Where:
- `--aid=1` selects audio track #1
- `--sid=1` selects subtitle track #1
#### 3. **Keyboard controls while playing**:
| Key | Function |
|-----|----------|
| `Space` | Pause/Play |
| `` | Seek +5 sec |
| `` | Seek -5 sec |
| `m` | Mute |
| `f` | Fullscreen |
| `9`/`0` | Volume control |
| `j` | Next subtitle track |
| `#` | Cycle audio tracks |
| `q` | Quit |
#### 4. **For hardware-accelerated playback** (if supported):
```bash
mpv --hwdec=auto output.mkv
```
### **To Verify Your Rip Quality**
```bash
mpv --untimed --frames=1 --no-audio output.mkv
```
This will:
1. Show just the first frame
2. Pause immediately
3. Let you inspect video quality
4. Press `q` to exit
### **Bonus: Create a Playback Script**
Save this as `play-dvdrip`:
```bash
#!/bin/bash
file=${1:-output.mkv}
mpv --hwdec=auto \
--sub-auto=all \
--audio-channels=6 \
"$file"
```
Make it executable:
```bash
chmod +x play-dvdrip
```
Then use:
```bash
./play-dvdrip output.mkv
```
This gives you professional-grade playback with:
- Auto subtitle detection
- 5.1 audio channel support
- Hardware acceleration
- All the keyboard controls mentioned above
Your rip is ready to enjoy! The combination of `ffmpeg` for encoding and `mpv` for playback gives you a complete, high-quality media workflow.