On Fri, 07 Dec 2007 19:18:34 -0600, Ron Johnson wrote: > lsdvd does a good job of dumping the name of the disk, and the > titles on the disk, but is there any tool to list the chapters?
Install dvdrip and see (from log) how it know about the DVD disk. E.g., ------------------------------------------- ===== Determine number of titles $ tcprobe -H 10 -i /dev/dvd libdvdread: Using libdvdcss version 1.2.8 for DVD access [tcprobe] DVD image/device libdvdread: Using libdvdcss version 1.2.8 for DVD access (dvd_reader.c) mpeg2 ntsc 16:9 only letterboxed U0 720x480 video (dvd_reader.c) ac3 en drc 48kHz 6Ch (dvd_reader.c) subtitle 00=<en> (dvd_reader.c) subtitle 01=<zh> (dvd_reader.c) DVD title 1/3: 22 chapter(s), 1 angle(s), title set 1 ^^ (dvd_reader.c) title playback time: 01:50:20.09 6621 sec (dvd_reader.c) [Chapter 01] 00:00:00.000 (dvd_reader.c) [Chapter 02] 00:04:32.166 (dvd_reader.c) [Chapter 03] 00:09:51.666 [...] (dvd_reader.c) [Chapter 22] 01:40:39.333 [tcprobe] summary for /dev/dvd, (*) = not default, 0 = not detected import frame size: -g 720x480 [720x576] (*) aspect ratio: 16:9 (*) frame rate: -f 23.976 [25.000] frc=1 (*) audio track: -a 0 [0] -e 48000,16,2 [48000,16,2] -n 0x2000 [0x2000] [tcprobe] V: 158746 frames, 6621 sec @ 23.976 fps [tcprobe] A: 103.45 MB @ 128 kbps [tcprobe] CD: 650 MB | V: 546.5 MB @ 692.5 kbps [tcprobe] CD: 700 MB | V: 596.5 MB @ 755.8 kbps [tcprobe] CD: 1300 MB | V: 1196.5 MB @ 1516.0 kbps [tcprobe] CD: 1400 MB | V: 1296.5 MB @ 1642.7 kbps ===== Probing - title #1 $ tcprobe -H 10 -i /dev/dvd -T 1 (dvd_reader.c) mpeg2 ntsc 16:9 only letterboxed U0 720x480 video (dvd_reader.c) ac3 en drc 48kHz 6Ch (dvd_reader.c) subtitle 00=<en> (dvd_reader.c) subtitle 01=<zh> (dvd_reader.c) DVD title 1/3: 22 chapter(s), 1 angle(s), title set 1 ^^^ (dvd_reader.c) title playback time: 01:50:20.09 6621 sec (dvd_reader.c) [Chapter 01] 00:00:00.000 (dvd_reader.c) [Chapter 02] 00:04:32.166 (dvd_reader.c) [Chapter 03] 00:09:51.666 [...] (dvd_reader.c) [Chapter 22] 01:40:39.333 [tcprobe] summary for /dev/dvd, (*) = not default, 0 = not detected import frame size: -g 720x480 [720x576] (*) aspect ratio: 16:9 (*) frame rate: -f 23.976 [25.000] frc=1 (*) audio track: -a 0 [0] -e 48000,16,2 [48000,16,2] -n 0x2000 [0x2000] [tcprobe] V: 158746 frames, 6621 sec @ 23.976 fps [tcprobe] A: 103.45 MB @ 128 kbps [tcprobe] CD: 650 MB | V: 546.5 MB @ 692.5 kbps [tcprobe] CD: 700 MB | V: 596.5 MB @ 755.8 kbps [tcprobe] CD: 1300 MB | V: 1196.5 MB @ 1516.0 kbps [tcprobe] CD: 1400 MB | V: 1296.5 MB @ 1642.7 kbps $ dvdxchap -t 1 /dev/dvd libdvdread: Using libdvdcss version 1.2.8 for DVD access CHAPTER01=00:00:00.000 CHAPTER01NAME=Chapter 01 CHAPTER02=00:04:32.166 [...] CHAPTER22=01:40:39.333 CHAPTER22NAME=Chapter 22 ===== Ripping - title #3 $ tccat -t dvd -T 3,-1,1 -i /dev/dvd | dr_splitpipe -f /lfs/dlCache2/movies/rip/dat/test/tmp/test-003-nav.log 1024 /lfs/dlCache2/movies/rip/dat/test/vob/003/test vob | tcextract -a 0 -x ac3 -t vob | tcdecode -x ac3 | tcscan -x pcm ===== Grabbing preview - title #3, frame #4566 transcode -H 10 -z -k -o snapshot -y ppm,null -x vob,null -i /lfs/dlCache2/movies/rip/dat/test/vob/003 -c 6-7 -L 45180 && dr_exec convert -size 720x480 /tmp/dvdrip30905.ppm/snapshot*.ppm /lfs/dlCache2/movies/rip/dat/test/tmp/test-003-preview-orig.jpg && dr_exec convert -size 720x480 /tmp/dvdrip30905.ppm/snapshot*.ppm gray:/lfs/dlCache2/movies/rip/dat/test/tmp/test-003-preview-orig.raw && rm -r /tmp/dvdrip30905.ppm ----------------------------------- I'll put that into my note: http://xpt.sourceforge.net/techdocs/media/video/dvdvcd/ HTH -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]