Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

rip dvd to iso 1:1 copy

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
22 posts • Page 1 of 1
Author
Message
coolcash
n00b
n00b
Posts: 18
Joined: Fri Oct 25, 2002 9:30 pm

rip dvd to iso 1:1 copy

  • Quote

Post by coolcash » Wed Dec 26, 2007 10:03 pm

I have looked around the forums and couldn't find an easy way to rip a dvd to iso. I don't want to do any re-encoding, or removing of features.

Any suggestions?

Thanks
Top
CooSee
Veteran
Veteran
User avatar
Posts: 1617
Joined: Sat Nov 20, 2004 10:38 pm
Location: right here !

Re: rip dvd to iso 1:1 copy

  • Quote

Post by CooSee » Wed Dec 26, 2007 10:07 pm

coolcash wrote:I have looked around the forums and couldn't find an easy way to rip a dvd to iso. I don't want to do any re-encoding, or removing of features.

Any suggestions?

Thanks
hello,

app-cdr/dvdshrink


CooSee ' Ya
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "
Top
cjubon
Guru
Guru
User avatar
Posts: 450
Joined: Tue Jul 03, 2007 8:03 am
Location: Vienna/Europe

  • Quote

Post by cjubon » Thu Dec 27, 2007 9:51 am

CooSee wrote:find an easy way to rip a dvd to iso
Well, just mount your DVD, and then use either mkisofs or growisofs for generating the iso file. If you don't like command line tools, you can also use a frontend like k3b: in the "burn" dialog, simply check the option "generate image only".
Top
niskel
Guru
Guru
User avatar
Posts: 457
Joined: Wed Nov 17, 2004 1:50 pm
Location: Fredericton, NB, Canada
Contact:
Contact niskel
Website

  • Quote

Post by niskel » Thu Dec 27, 2007 6:28 pm

You guys are thinking too hard :roll:

Code: Select all

dd if=/dev/dvd of=/path/to/image.iso
Replace /dev/dvd with your dvd device. /dev/dvd should probably work though.
Top
coolcash
n00b
n00b
Posts: 18
Joined: Fri Oct 25, 2002 9:30 pm

  • Quote

Post by coolcash » Thu Dec 27, 2007 6:30 pm

I was thinking of that. But what about CSS and read errors? I guess CSS doesn't really matter since any program can decode that now.
Top
i92guboj
Bodhisattva
Bodhisattva
User avatar
Posts: 10315
Joined: Tue Nov 30, 2004 8:17 pm
Location: Córdoba (Spain)

  • Quote

Post by i92guboj » Thu Dec 27, 2007 6:41 pm

coolcash wrote:I was thinking of that. But what about CSS and read errors? I guess CSS doesn't really matter since any program can decode that now.
Dvdsrhink is not a 1:1 replicator. dd is what you want, it doesn't understand css nor any other stuff, it just reads bytes from a raw stream, and dump them into another one. It doesn't understand filesystems either. It will just read /dev/dvd until the end of the device, and dump a 1:1 copy of whatever it finds into that device, even if its a lot of ceros or any other useless stuff. If you get read errors you need ddrescue instead, because dd will abort on any error.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56088
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Thu Dec 27, 2007 7:54 pm

coolcash,

Most DVDs won't fit into an ISO filesystem without some processing.
ISO supports at most 2Gb files and degrades gracefully to a 4Gb hard limit. You may not put directories in the top 2Gb.

DVDs have a UDF filesystem to get around the ISO limit, which is not used for playing the DVD anyway.
Playing is accomplished using raw block lists.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
coolcash
n00b
n00b
Posts: 18
Joined: Fri Oct 25, 2002 9:30 pm

  • Quote

Post by coolcash » Thu Dec 27, 2007 8:03 pm

Just basically looking to backup the dvd's to a pure format without any modification. I have used utilites for windows to strip css from the dvd, this is just a bonus. I looks like dd will work, and i assume all I need to do is mount -o loop or use mplayer/xine to view them.

Thanks all.
Top
boris_qd
Apprentice
Apprentice
Posts: 158
Joined: Mon Aug 29, 2005 11:25 am
Location: Bonn/Germany

  • Quote

Post by boris_qd » Thu Dec 27, 2007 8:42 pm

i use the simple

Code: Select all

cat /dev/dvd > dvd.iso
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56088
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Thu Dec 27, 2007 9:21 pm

boris_qd,

That copies /dev/dvd byte for byte but does not make an ISO. The output file is whatever was on the dvd.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
niskel
Guru
Guru
User avatar
Posts: 457
Joined: Wed Nov 17, 2004 1:50 pm
Location: Fredericton, NB, Canada
Contact:
Contact niskel
Website

  • Quote

Post by niskel » Thu Dec 27, 2007 9:34 pm

I think there is some misunderstandings going on here. The problem is that 'ISO' has come to be understood as 'disc image' by most all people. What I believe the OP is looking for is a disc image in which case dd (or cat, never tried it before (I can't see why it wouldn't work)) will work fine.
Top
cyrillic
Watchman
Watchman
User avatar
Posts: 7311
Joined: Wed Feb 19, 2003 3:05 am
Location: Groton, Massachusetts USA

  • Quote

Post by cyrillic » Thu Dec 27, 2007 9:44 pm

I have done this before, and using "dd" or "cat" is no good for CSS protected videos. The resulting disc image will still be encrypted, but you won't be able to find the encryption keys without the original media.

Code: Select all

# pmount /dev/dvd
# vobcopy -m
# eject /dev/dvd
# mkisofs -v -dvd-video -V DVD_VIDEO -o DVD_VIDEO.iso DVD_VIDEO/ 
Top
niskel
Guru
Guru
User avatar
Posts: 457
Joined: Wed Nov 17, 2004 1:50 pm
Location: Fredericton, NB, Canada
Contact:
Contact niskel
Website

  • Quote

Post by niskel » Thu Dec 27, 2007 9:51 pm

cyrillic wrote:I have done this before, and using "dd" or "cat" is no good for CSS protected videos. The resulting disc image will still be encrypted, but you won't be able to find the encryption keys without the original media.
I suppose this depends on how you want to use the video. I am pretty sure anything that plays DVDs on a Linux system cracks the CSS before playing regardless. Finding a CSS key from encrypted data is trivial. So, if you intend to only use the disc image on a Linux system (or any system that will do the CSS cracking for you) you are all set to go with dd. On the flip side, if you are making the disc image so that you can burn it to play on conventional DVD players, you will have to take extra steps to decrypt the CSS ahead of time. The initial reason I suggested dd is because the OP asked for a 1:1 copy. If you decrypt the DVD to make your image, this is no longer a 1:1 copy even though the content is effectively the same.
Top
cyrillic
Watchman
Watchman
User avatar
Posts: 7311
Joined: Wed Feb 19, 2003 3:05 am
Location: Groton, Massachusetts USA

  • Quote

Post by cyrillic » Thu Dec 27, 2007 10:00 pm

niskel wrote:I am pretty sure anything that plays DVDs on a Linux system cracks the CSS before playing regardless. Finding a CSS key from encrypted data is trivial. So, if you intend to only use the disc image on a Linux system (or any system that will do the CSS cracking for you) you are all set to go with dd.
This was not my experience, last time I tried it with mplayer and xine. It will spit out a bunch of errors, and then quit telling you that the content is probably encrypted (duh!). Playing the exact same content from the original media works without problems.
Top
boris_qd
Apprentice
Apprentice
Posts: 158
Joined: Mon Aug 29, 2005 11:25 am
Location: Bonn/Germany

  • Quote

Post by boris_qd » Thu Dec 27, 2007 10:57 pm

cat has been working for me for dvd's i have in the us (just normal dvds from the store) so i assume they're all encrypted. I usually mount the dvd with -o loop and then use xine or vlc to play it.
Top
bucciarati
n00b
n00b
Posts: 2
Joined: Fri Dec 28, 2007 12:35 am

  • Quote

Post by bucciarati » Fri Dec 28, 2007 12:43 am

This is what comes out when trying to cat/dd/whatever a protected disc from Paramount:

Code: Select all

ATAPI device hdd:
  Error: Illegal request -- (Sense key=0x05)
  Read of scrambled sector without authentication -- (asc=0x6f, ascq=0x03)
  The failed "Read 10" packet command was: 
  "28 00 00 01 13 00 00 00 02 00 00 00 00 00 00 00 "
end_request: I/O error, dev hdd, sector 281600
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x50 { LastFailedSense=0x05 }
ide: failed opcode was: unknown
Mplayer on the very same dvd works like a charm.

Please inform yourself before speaking.

http://en.wikipedia.org/wiki/ARccOS_Protection
http://en.wikipedia.org/wiki/RipGuard#T ... gy_Details
Debian Invaders
Top
niskel
Guru
Guru
User avatar
Posts: 457
Joined: Wed Nov 17, 2004 1:50 pm
Location: Fredericton, NB, Canada
Contact:
Contact niskel
Website

  • Quote

Post by niskel » Fri Dec 28, 2007 12:58 am

bucciarati wrote:This is what comes out when trying to cat/dd/whatever a protected disc from Paramount:

Code: Select all

ATAPI device hdd:
  Error: Illegal request -- (Sense key=0x05)
  Read of scrambled sector without authentication -- (asc=0x6f, ascq=0x03)
  The failed "Read 10" packet command was: 
  "28 00 00 01 13 00 00 00 02 00 00 00 00 00 00 00 "
end_request: I/O error, dev hdd, sector 281600
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x50 { LastFailedSense=0x05 }
ide: failed opcode was: unknown
Mplayer on the very same dvd works like a charm.

Please inform yourself before speaking.

http://en.wikipedia.org/wiki/ARccOS_Protection
http://en.wikipedia.org/wiki/RipGuard#T ... gy_Details
The ARccOS wiki page you posted says ddrescue can be used to bypass it as i92guboj already mentioned. I don't personally know about RipGuard but I bet dd/ddrescue would work for it as well.
Top
bucciarati
n00b
n00b
Posts: 2
Joined: Fri Dec 28, 2007 12:35 am

  • Quote

Post by bucciarati » Fri Dec 28, 2007 1:13 am

niskel wrote:The ARccOS wiki page you posted says ddrescue can be used to bypass it as i92guboj already mentioned. I don't personally know about RipGuard but I bet dd/ddrescue would work for it as well.
No. dd_rescue can extract something from the dvd, but the kernel spits out bazillions of the very same messages i already pasted.
And when trying to play the output file, the video is thrashed.

It's like mplayer accesses the media at a different level, or css keys are needed to decrypt the data before
dumping it to disk.

Cheers
Debian Invaders
Top
andreas_st
Tux's lil' helper
Tux's lil' helper
Posts: 112
Joined: Wed Dec 26, 2007 12:24 pm
Location: 48N 16E

  • Quote

Post by andreas_st » Fri Dec 28, 2007 9:19 am

media-video/dvdbackup is able to copy a DVD to hard disk without reducing the quality. It removes CSS encryption. It doesn't make an image though. You get a VIDEO_TS folder containing the VOB files.


Andreas
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56088
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Fri Dec 28, 2007 11:24 am

bucciarati,

Encryption is enforced in DVD drives in two ways and for two purposes.

Early DVD drives only have the first one which relies on the software in the host PC.
Newer DVD drives do this step themselves.

Either way, no Linux players have player keys to perform the decryption and brute force the CSS keys, which are then stored in ~/ somewhere for reuse. This used to take a long time and a lot of RAM when DVDs in PCs were new but you won't notice the dely in modern equipment.
Look at and test the options in Xine, under Media | CSS Decryption Method. Only key works.

CSS is not a copy protection scheme. Its a market protection scheme. It prevents DVDs intended for one region being used in players intended for another region. Copying DVDs any of the ways discussed in this thread leaves the keys behind as they are stored outside the area reachable by computer DVD drives, so the copies (unless they are region free) will not work in a domestic DVD player. Thats an accidental side effect of the placement of the data on the disc.

Copy protection adds to the above and takes advantage of the way DVDs are played. The file system is not used. A domestic DVD player reads block lists from the DVD to know which order to play the raw blocks in. No other blocks are used. Thus copy protection usually involves creating illegal blocks all over the disk which do not form part of the intended content but which cause problems for users trying to back up the content by reading the file system or the whole disk.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
curmudgeon
Veteran
Veteran
Posts: 1746
Joined: Fri Aug 08, 2003 1:39 pm

  • Quote

Post by curmudgeon » Fri Dec 28, 2007 1:53 pm

andreas_st wrote:media-video/dvdbackup is able to copy a DVD to hard disk without reducing the quality. It removes CSS encryption. It doesn't make an image though. You get a VIDEO_TS folder containing the VOB files.
I recommend this, as well. I use it and it works perfectly. If you really need everything as "an image" instead of a directory structure, use another tool to recreate the image.
NeddySeagoon wrote:Copying DVDs any of the ways discussed in this thread leaves the keys behind as they are stored outside the area reachable by computer DVD drives, so the copies (unless they are region free) will not work in a domestic DVD player.
Not true of this method. Dvdbackup removes css encryption when it creates the files.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56088
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Fri Dec 28, 2007 3:30 pm

curmudgeon,

Yep.
curmudgeon wrote:Dvdbackup removes css encryption
thus it creates a region free copy.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
Post Reply

22 posts • Page 1 of 1

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic