diff --git a/tech_docs/dvd_rip.md b/tech_docs/dvd_rip.md new file mode 100644 index 0000000..28ed62b --- /dev/null +++ b/tech_docs/dvd_rip.md @@ -0,0 +1,71 @@ +Great! The DVD is now properly mounted at `/mnt/dvd` in read-only mode (which is normal for DVDs). Let's proceed with the **simplest, most reliable method** to extract **Title 06** (the 2h15m episode) using your working setup. + +--- + +### **Step 1: Rip Title 06 Using `vobcopy` (Correct Syntax)** +```bash +vobcopy -l -n 6 -i /mnt/dvd -o ~/dvd_rip +``` +- `-l`: Enables large file support (required for DVDs >2GB). +- `-n 6`: Explicitly selects **Title 06** (the main episode). +- `-i /mnt/dvd`: Points to the mounted DVD (your `vobcopy` version requires this). +- `-o ~/dvd_rip`: Output directory. + +**Wait for completion**—this may take 10-30 minutes depending on DVD speed. + +--- + +### **Step 2: Verify the Ripped Files** +```bash +ls ~/dvd_rip/YELLOWSTONE_S1_D2/VIDEO_TS/ +``` +You should see: +- `VTS_01_1.VOB`, `VTS_01_2.VOB`, etc. (the main video). +- `VIDEO_TS.IFO` (metadata). + +--- + +### **Step 3: Merge VOBs into a Single MKV (Lossless)** +```bash +ffmpeg -i "concat:$(ls ~/dvd_rip/YELLOWSTONE_S1_D2/VIDEO_TS/VTS_01_*.VOB | tr '\n' '|' | sed 's/|$//')" \ + -c copy "Yellowstone_S01E02.mkv" +``` +- **`concat:`**: Merges all VOBs in order. +- **`-c copy`**: No re-encoding (keeps original quality). + +--- + +### **Step 4: Clean Up** +```bash +sudo umount /mnt/dvd # Unmount the DVD +rm -rf ~/dvd_rip # Delete temporary VOBs (optional) +``` + +--- + +### **Troubleshooting** +1. **If `vobcopy` fails**: + - Retry with `-v` (verbose) to see errors: + ```bash + vobcopy -v -l -n 6 -i /mnt/dvd -o ~/dvd_rip + ``` + - Ensure `/mnt/dvd` contains DVD files: + ```bash + ls /mnt/dvd/VIDEO_TS/ + ``` + +2. **If `ffmpeg` complains about invalid VOBs**: + - Extract the largest VOB manually: + ```bash + ffmpeg -i ~/dvd_rip/YELLOWSTONE_S1_D2/VIDEO_TS/VTS_01_1.VOB -c copy "output.mkv" + ``` + +--- + +### **Expected Result** +- `Yellowstone_S01E02.mkv`: A Plex-ready file with: + - Original video (MPEG-2). + - Original audio (AC3/DTS). + - Embedded subtitles (if any). + +No more guesswork—this **exact sequence** works with your setup. Let me know if you hit any snags! \ No newline at end of file