problem ripping title 4 of a dvd

Robos <[email protected]> Tue, 26 Oct 2004 04:06:40 +0200
Newsgroups gmane.comp.video.ogle.devel
Message-ID <[email protected]>
Hi List.
I am the author of vobcopy which utilises libdvdread. Great library, thanks
a lot!
Recently a user contacted me because he was having problems ripping title 4
of a dvd (didn't say which). He tried on 2 different machines. We tested some 
things, like switching of dma on the drives, trying other programs besides
vobcopy and the outcome is that the rippers didn't manage to get past 16MB
of title 4 while mplayer and xine can play it via dvd://4. While trying to
rip with vobcopy both machines also nearly locked up, one could be rebooted,
the other one needed the button. I've had similar compains before so I would 
like to get to the bottom of it. I've compiled the error messages and such 
together in the attached file. If someone knows where this comes from and 
what to do, I would be very thankful.
Cheers and TIA
Robos

-- 
Robos - 
gpg --recv-keys --keyserver blackhole.pca.dfn.de 6EEADA09
It's GNU/Linux dammit! F U M $ !
libdvdread.txt (text/plain, 1.7 KB)
  16 MB of chapter 04_1

  RNING:  Kernel Errors Present
  Buffer I/O error on device hdc, l...:  15 Time(s)
  Unable to load default keyring: error=74...:  4 Time(s)
  end_request: I/O error, dev hdc, sector...:  15 Time(s)
  hdc: drive_cmd: error=0x04Aborted Comm...:  2 Time(s)
  hdc: drive_cmd: status=0x51 { DriveReady SeekComplete Error }...:  2 Time(s)
  hdc: media error (bad sector): er...:  15 Time(s)
  hdc: media error (bad sector): st...:  15 Time(s)
  hdc: packet command error: error=0x54...:  8 Time(s)
  hdc: packet command error: status=0x51 { D...:  8 Time(s)
  
  tccat -i /dev/dvd -T1 -P > 1.mpg
  tccat -i /dev/dvd -T2 -P > 2.mpg
  tccat -i /dev/dvd -T3 -P > 3.mpg
  tccat -i /dev/dvd -T4 -P > 4.mpg
	
  the last one says this:
  "Read failed for 36 blocks at 8104"
  and the created files are:
  28272640 Oct  3 01:59 1.mpg
     28672 Oct  3 01:59 2.mpg
 810911744 Oct  3 02:01 3.mpg
  16146432 Oct  3 02:01 4.mpg
	  
  Note file n.4 truncated at about 16 MB,
  the position where vobcopy and dvdbackup hang.
		
  Now, something interesting: these commands:
  mplayer dvd://1 -dumpstream -dumpfile 1.mpg
  mplayer dvd://2 -dumpstream -dumpfile 2.mpg
  mplayer dvd://3 -dumpstream -dumpfile 3.mpg
  mplayer dvd://4 -dumpstream -dumpfile 4.mpg
  produce these files:
  28272640 Oct  3 01:05 1.mpg
     57344 Oct  3 01:05 2.mpg
 810911744 Oct  3 01:07 3.mpg
6321154048 Oct  3 01:22 4.mpg
  without hanging. Apparently the size of 4.mpg
  is correct but unfortunately, if I do:
  mplayer 4.mpg
  it bails out after just a little bit
  (I believe, at MB #16).
  However, if I do:
  mplayer dvd://4
  it plays without hanging or interrupting.
  Also xine seems to work correctly;