Competent CLI DVD copy program?
Hi,
Distro is Ubuntu 12.04. I copy my TV and movie DVDs to ISO files so as to have HandBrakeCLI rip away at them without having some GUI app eject a DVD 10 minutes after I go to sleep or head to work, thus doing nothing for hours and hours. I've tried copying them using cat, dd (neither of which has error correction), readom (started throwing errors 1/2 way through) and readdvd (which silently hung 1/2 way through). No luck with any of them because of CSS encryption, even though readdvd decrypted the keys. Brasero works great in GUI mode (but there's all that needless pointing and clicking), and is supposed to work in CLI mode, but I can't figure out the magic sauce to make it work. So... any programs I've overlooked or ideas on how to make brasero work from the CLI? TIA |
Quote:
lsdvd will show you the chapters on a DVD Code:
mplayer dvd://1 -dumpstream -dumpfile outputfile.vob Do a search on LQ or the web for mplayer ffmpeg mencoder lsdvd libdvdcss |
Reread your post
To make an .iso mount the DVD (UDF) and then use something like Code:
dd if=/dev/sr0 of=output.iso bs=2048 Code:
mkisofs -R -J /dev/sr0 -o /path/to/output.iso Code:
ddrescue –n –b 2048 /dev/sr0 output.iso |
Quote:
Quote:
Code:
$ mkisofs -R -J /dev/sr0 -o foo.iso Quote:
Code:
$ ddrescue –n –b 2048 /dev/sr0 output.iso |
Neither dd nor ddrescue should "barf" on CSS-encrypted DVDs, since, as its name says CSS scrambles the content of the disk, not its filesystem. And even if the filesystem would be encrypted or damaged dd/ddrescue simply wouldn't care and copy it anyway.
It may be that there are other copy protections in place and it is not CSS that causes your issues. By the way, "barfs" is in no way a sufficient error description, it may help to see which error-message you exactly get. |
Try somethink like
Code:
dd if=/dev/sr0 of=dvd.iso bs=128 conv=notrunc,noerror |
Quote:
Code:
$ dd bs=2048 if=/dev/sr0 of=output.iso Quote:
|
Quote:
vlc seems to play the two ISOs the same, so maybe it's just some padding bits at the end. Quote:
|
Quote:
|
Quote:
Code:
$ dd bs=2048 if=/dev/sr0 of=SBSP_D9.iso conv=noerror |
Quote:
https://de.wikipedia.org/wiki/Privat...ma.C3.9Fnahmen how could a protection be "wirksam" ... lol greetings |
Solution to DVD ripping with dd
Apparently, some DVDs need to be decrypted first. So, I run cli vlc first for 4 seconds, and then dd.
Code:
#!/bin/bash |
I have found this problem in the past when ripping DVDs to my hard drive using dd or dcfldd. Does anyone know a way around this without having to open the DVD in VLC or similar before ripping? It's quite tiresome when ripping a box-set for example.
|
Quote:
|
Quote:
|
All times are GMT -5. The time now is 12:10 PM. |