cmd:dvdbackup imaging 

Conclusion 

dvdbackup can make identical copy of dvd disks.

Analysis 

$ dvdbackup -i /dev/dvd -M -o . libdvdread: Using libdvdcss version 1.2.8 for DVD access

libdvdread: Attempting to retrieve all CSS keys libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00000126 libdvdread: Elapsed time 0 libdvdread: Found 1 VTS's libdvdread: Elapsed time 0

Using -F to rip main feature 

DVD is ripped as each individual component. No menu, no interactive, etc. Not even have VIDEO_TS.IFO.

$ vlc dvd://`pwd` &
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: faild to read VIDEO_TS.IFO
libdvdread: Using libdvdcss version 1.2.8 for DVD access
libdvdread: Couldn't find device name.
libdvdread: Can't open file VIDEO_TS.IFO.
[00000245] main playlist: adding playlist item `VTS_01_0.BUP' ( /lfs/cache12/movies/tmp/TMQY/VIDEO_TS/VTS_01_0.BUP )
[00000245] main playlist: adding playlist item `VTS_01_0.IFO' ( /lfs/cache12/movies/tmp/TMQY/VIDEO_TS/VTS_01_0.IFO )
[00000245] main playlist: adding playlist item `VTS_01_0.VOB' ( /lfs/cache12/movies/tmp/TMQY/VIDEO_TS/VTS_01_0.VOB )
[00000245] main playlist: adding playlist item `VTS_01_1.VOB' ( /lfs/cache12/movies/tmp/TMQY/VIDEO_TS/VTS_01_1.VOB )
[00000245] main playlist: adding playlist item `VTS_01_2.VOB' ( /lfs/cache12/movies/tmp/TMQY/VIDEO_TS/VTS_01_2.VOB )
[00000245] main playlist: adding playlist item `VTS_01_3.VOB' ( /lfs/cache12/movies/tmp/TMQY/VIDEO_TS/VTS_01_3.VOB )
[00000245] main playlist: adding playlist item `VTS_01_4.VOB' ( /lfs/cache12/movies/tmp/TMQY/VIDEO_TS/VTS_01_4.VOB )

Test case2 

Goal 

Try all over again, just to double check that: What would the difference be after burning local files to dvd?

Conclusion 

Nothing get changed from making local files into dvd, to ripping them back.

Analysis 

difference between local files and iso image 

What would the difference be after making local files into dvd iso?

$ growisofs -speed=4 -Z /dev/dvd -dvd-video . Executing 'mkisofs -dvd-video . | builtin_dd of=/dev/dvd obs=32k seek=0' 0.24% done, estimate finish Mon Sep 12 20:05:43 2005 0.47% done, estimate finish Mon Sep 12 19:12:50 2005 0.71% done, estimate finish Mon Sep 12 18:55:10 2005 0.94% done, estimate finish Mon Sep 12 18:44:37 2005

$ mkisofs -dvd-video -o ../test.iso . . 0.24% done, estimate finish Mon Sep 12 20:28:31 2005 0.47% done, estimate finish Mon Sep 12 20:28:31 2005 0.71% done, estimate finish Mon Sep 12 20:30:52 2005 0.94% done, estimate finish Mon Sep 12 20:30:16 2005

sudo mount -o loop /lfs/cache13/movies/temp/test.iso /mnt/tmp1/

tdl=/mnt/tmp1

cd VIDEO_TS/

compare VIDEO_TS directory before and after burn. We can conclude that nothing changes after making local files into dvd iso.

documented on: 2005.09.12

Using cmd:vobcopy to dup DVD 

Conclusion 

Use dvdbackup instead. More robust, less restrictions, and more recent.

Comments 

vobcopy without any options will copy the title with the most chapters into files of 2GB size into the current working directory.

-l, —large-file write data into one file (needs large file support (LFS))

-t, —name NAME you can give the file a name if you don't like the one from dvd. -t hallo will result in hallo.vob. (stdout or "-" are deprecated now) If you want to give it names like "Huh I like this movie", do it in quotation marks.

-m, —mirror mirrors the whole dvd to harddisk. It will create a directory named after the dvd and copy the ifo, bup and vob files there. The title-vobs are decrypted during this.

Help 

Detail Help 

http://www.bunkus.org/dvdripping4linux/en/separate/ripping.html

Run vobcopy. It will automagically copy all VOBs that belong to the title with the most chapters onto your hard disk.

This will copy the VOBs from the DVD and write them to the current directory (which you can alter with e.g. -o /space). They will be named after the DVD's title (e.g. I have ALLY_MCBEAL_DISC21-1.vob, ALLY_MCBEAL_DISC21-2.vob etc.). The -m switch causes vobcopy to actually mirror the DVD's contents including the .IFO files - useful because you can then use the local copy with MPlayer/MEncoder or transcode just like it was a real DVD. It will take some time. Just be patient.

Note from the author (Robos): vobcopy has some problems following angles. You might get duplicate scenes with e.g. "The Matrix". I'm working on it.

Another note from Robos: There's another new utility called dvdbackup that can also copy DVDs.

Working History 

trial 1 

$ vobcopy
Vobcopy 0.5.14 - GPL Copyright (c) 2001 - 2004 robos@muon.de
[Hint] All lines starting with "libdvdread:" are not from vobcopy but from the libdvdread-library

path to dvd: /dev/loop1
libdvdread: Using libdvdcss version 1.2.8 for DVD access
name of dvd: CDROM
There are 1 titles on this DVD.
There are 1 chapters on the dvd.
Most chapters has title 1 with 1 chapters.

There are 1 angles on this dvd.
Using Title: 1
Title has 1 chapters and 1 angles
Using Chapter: 1
Using Angle: 1

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00000126
libdvdread: Elapsed time 0
libdvdread: Found 1 VTS's
libdvdread: Elapsed time 0

DVD-name: CDROM

Outputting to /lfs/cache13/movies/temp/records/CDROM1-1.vob

  28MB of   28MB written (100 %)
[Error]File size (29394944) of /lfs/cache13/movies/temp/records/CDROM1-1.vob.partial differs largely from 2GB, therefore keeps it's .partial
Successfully copied file /lfs/cache13/movies/temp/records/CDROM1-1.vob.partial

Copying finished! Let's see if the sizes match (roughly)
Combined size of title-vobs: 29394944 (28 MB)
Copied size (size on disk):  29394944 (28 MB)
Everything seems to be fine, the sizes match pretty good ;-)
[Hint] Have a lot of fun!

CLI tool to deeply examine a DVD? 

Newsgroups: gmane.linux.debian.user
Date: 2007-12-08
> 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

[...]

I'll put that into my note: http://xpt.sourceforge.net/techdocs/media/video/dvd

Commands dvdrip used 

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
Probing - title #2 
$ tcprobe -H 10 -i /dev/dvd -T 2
(dvd_reader.c) mpeg2 ntsc 16:9 only letterboxed U0 720x480 video
(dvd_reader.c) ac3 en drc 48kHz 6Ch
(dvd_reader.c) DVD title 2/3: 1 chapter(s), 1 angle(s), title set 2
(dvd_reader.c) title playback time: 00:00:23.28  24 sec
(dvd_reader.c) [Chapter 01] 00:00:00.000
[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: 576 frames, 24 sec @ 23.976 fps
[tcprobe] A: 0.38 MB @ 128 kbps

$ dvdxchap -t 2 /dev/dvd
CHAPTER01=00:00:00.000
CHAPTER01NAME=Chapter 01
Probing - title #3 
$ tcprobe -H 10 -i /dev/dvd -T 3

(dvd_reader.c) mpeg2 ntsc 4:3 U0 720x480 video
(dvd_reader.c) ac3 en drc 48kHz 2Ch
(dvd_reader.c) DVD title 3/3: 1 chapter(s), 1 angle(s), title set 3
(dvd_reader.c) title playback time: 00:05:02.06  303 sec
(dvd_reader.c) [Chapter 01] 00:00:00.000
[tcprobe] summary for /dev/dvd, (*) = not default, 0 = not detected
import frame size: -g 720x480 [720x576] (*)
     aspect ratio: 4:3 (*)
       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: 7265 frames, 303 sec @ 23.976 fps
[tcprobe] A: 4.73 MB @ 128 kbps

$ dvdxchap -t 3 /dev/dvd
CHAPTER01=00:00:00.000
CHAPTER01NAME=Chapter 01
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
Transcoding video, single pass 

on title #3.

transcode -H 10 -a 0 -x vob -i /lfs/dlCache2/movies/rip/dat/test/vob/003 -w 1152 -F 1,'-B 251 -I 0 -S 10000 ' --export_asr 2 -b 224 -s 2.378 --a52_drc_off -V  -f 30,4 -Y -4,76,-4,76 -B 1,11,8 -y mpeg2enc,mp2enc -E 44100 -o /lfs/dlCache2/movies/rip/dat/test/avi/003/test-003 --print_status 20
Transcoding video, history 1 

NB,

Need to alter the video frames to 29.97, and audio frames to 224, when the project is initially created! The following log shows that only video frame rate was altered.

$ transcode -H 10 -a 0 -x vob -i /lfs/dlCache2/movies/rip/dat/test/vob/003 -w 2600 -F 5,'-B 182 -I 0 -S 10000  -g 9 -G 18' --export_asr 2 -b 128 -s 2.378 --a52_drc_off -V  -f 30,4 -Y -4,76,-4,76 -B 1,11,8 -y mpeg2enc,mp2enc -E 44100 -o /lfs/dlCache2/movies/rip/dat/test/avi/003/test-003 --print_status 20
-H n              auto-probe n MB of source (0=off) [1]
-a a[,v]          extract audio[,video] track [0,0]
-x vmod[,amod]    video[,audio] import modules [null]
-i name           input file/directory/device/mountpoint/host name
 -w b[,k[,c]]      encoder bitrate[,keyframes[,crispness]] [1800,250,100]
 -F codec          encoder parameter strings [module dependent]
--export_asr C     set export aspect ratio code C [as input]
 -b b[,v[,q[,m]]]  audio encoder bitrate kBits/s[,vbr[,quality[,mode]]] [128,0,5,0]
 -s g[,c[,f[,r]]]  increase volume by gain,[center,front,rear] [off,1,1,1]
--a52_drc_off       disable liba52 dynamic range compression [enabled]
 -V                use YV12/I420 as internal video codec [off]
 -f rate[,frc]     output video frame rate[,frc] [25.000,0] fps
 -Y t[,l[,b[,r]]]         select (encoder) frame region by clipping border [off]
 -B n[,m[,M]]         resize to height-n*M rows [,width-m*M] columns [off,32]
 -y vmod[,amod]    video[,audio] export modules [null]
 -E r[,b[,c]]      audio output samplerate, bits, channels [as input]
 -o file           output file name
--print_status N[,use_cr] print status every N frames / use CR or NL [1,1]
$ cat /lfs/dlCache2/movies/rip/dat/test/avi/003/test-003.dvdrip-info
# Movie information file. Generated by dvd::rip; http://www.exit1.org/dvdrip[]

[General]
 Title:                 test
Data source:           DVD
DVD title number:      3
 Runtime:               00:05:04

[Video]
Video format:          NTSC
FPS:                   29.97
 Size:                  480 x 480
Video bitrate (kbps):  2600
Video codec:           SVCD
2-pass-encoded:        no
Fast resizing:         yes
Deinterlacer filter:   No deinterlacing
Antialiasing filter:   No antialiasing

[Audio 1]
DVD audio track id:    0
 Language:              en
Audio codec:           mp2
 Channels:              2
Sample rate:           48000
Audio bitrate (kbps):  128
Volume rescaling:      2.378
Audio filter:          None, volume rescale only

[Programs]
dvd::rip version:      0.50.16
transcode version:     0.6.9
Multiplexing MPEG 

on title #3.

mplex -f 4 -r 2728 -V -o /lfs/dlCache2/movies/rip/dat/test/avi/003/test-003-%d.mpg /lfs/dlCache2/movies/rip/dat/test/avi/003/test-003.m2v /lfs/dlCache2/movies/rip/dat/test/avi/003/test-003.mpa

Playing /lfs/dlCache2/movies/rip/dat/test/avi/003/test-003-1.mpg.
MPEG-PS file format detected.
VIDEO:  MPEG2  480x480  (aspect 2)  29.970 fps  2600.0 kbps (325.0 kbyte/s)
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 16000->176400 (128.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)

DVD ripping with cmd:dvdrip 

sizing 

From video: MPEG2 720x576 (aspect 2) 25.000 fps

1st clipping:  Top: 16 Bottom: 16 => size 720x544
Zoom:          W: 480 H:360
2nd clipping:  Top: -60 Bottom: -60

fast resize ok

Problem: slightly distorted — 720x540 => 480x360 is the perfect zoom.

recommended way 

/usr/share/doc/transcode-doc/html/mpeg.html

MPEG (PAL) (S)VCD (480x576)

# mjpeg-tools interface:
transcode [...] -V -y mpeg2enc,mp2enc -F 4 -Z 480x576 -E 44100 -b 128 -o test

Replace slow zoom "-Z 480x576" by transcode's fast resizing option "-B" for speed improvements. Example: reduce 720x576 to 480x576 with "-B 0,15,16".

mplex -f 4 -S 680 -o test.mpg test.m2v test.mpa

MPEG (NTSC) (S)VCD (480x480)

Replace "-Z 480x480" by transcode's fast resizing option "-B" for speed improvements. Example: reduce 720x480 to 480x480 with "-B 0,15,16". Multiplexing the files:

mplex -f 4 -S 680 -o test.mpg test.m2v test.mpa

transcode 

keyframe interval: 50
acodec=mp2:abitrate=224
nice:5

log 

transcode only 
Starting job (1): Transcoding video - title #1, single pass
Executing command: mkdir -m 0775 -p '/lfs/cache11/my-caches/dvdrip/ys/tmp' && cd /lfs/cache11/my-caches/dvdrip/ys/tmp && `which nice` -n 5 dr_exec transcode -H 10 -a 0 -x vob -i /lfs/cache11/my-caches/dvdrip/ys/vob/001 -w 1666,50 -F 5,'-B 261 -I 0 -S 10000  -g 6 -G 15' --export_asr 2 -b 224 -s 1.000 --a52_drc_off -f 25 -j 16,0,16,0 -Y -60,0,-60,0 -B 23,30,8 -y mpeg2enc,mp2enc -E 44100 -o /lfs/cache11/my-caches/dvdrip/ys/avi/001/ys-001 --print_status 20 && echo DVDRIP_SUCCESS
transcode + split 
Starting job (1): Transcoding video - title #1, single pass
Executing command: mkdir -m 0775 -p '/lfs/cache11/my-caches/dvdrip/ys/tmp' && cd /lfs/cache11/my-caches/dvdrip/ys/tmp && `which nice` -n 5 dr_exec transcode -H 10 -a 0 -x vob -i /lfs/cache11/my-caches/dvdrip/ys/vob/001 -w 1666,50 -F 5,'-B 261 -I 0 -S 793  -g 6 -G 15' --export_asr 2 -b 224 -s 1.000 --a52_drc_off -f 25 -j 16,0,16,0 -Y -60,0,-60,0 -B 23,30,8 -y mpeg2enc,mp2enc -E 44100 -o /lfs/cache11/my-caches/dvdrip/ys/avi/001/ys-001 --print_status 20 && echo DVDRIP_SUCCESS

Difference:

1st: -F 5,'-B 261 -I 0 -S 10000  -g 6 -G 15'
2nd: -F 5,'-B 261 -I 0 -S 793  -g 6 -G 15'

do it 

Note, the transcoded result is vertically-squeezed.

cd /lfs/cache13/movies/tmp

$ time nice -n 5 transcode -H 10 -a 0 -x vob -i /lfs/cache11/my-caches/dvdrip/ys/vob/001 -w 1666,50 -F 5,'-B 261 -I 0 -S 793  -g 6 -G 15' --export_asr 2 -b 224 -s 1.000 --a52_drc_off -f 25 -j 16,0,16,0 -Y -60,0,-60,0 -B 23,30,8 -y mpeg2enc,mp2enc -E 44100 -o ys-
[transcode] auto-probing source /lfs/cache11/my-caches/dvdrip/ys/vob/001 (ok)
[transcode] V: import format    | MPEG-2  (V=vob|A=vob)
[transcode] V: AV demux/sync    | (1) sync AV at initial MPEG sequence
[transcode] V: import frame     | 720x576  1.25:1  encoded @ 4:3
[transcode] V: clip frame (<-)  | 720x544
[transcode] V: new aspect ratio | 480x360  1.26:1 (-B)
[transcode] V: clip frame (->)  | 480x480
[transcode] V: bits/pixel       | 0.289
[transcode] V: decoding fps,frc | 25.000,0
[transcode] V: Y'CbCr           | YV12/I420
[transcode] A: import format    | 0x2000  AC3          [48000,16,2]  384 kbps
[transcode] A: export format    | 0x50    MPEG layer-2 [44100,16,2]  224 kbps
[transcode] V: encoding fps,frc | 25.000,3
[transcode] A: bytes per frame  | 7680 (7680.000000)
[transcode] A: adjustment       | 0@1000
[transcode] A: rescale stream   | 1.000
[transcode] V: IA32 accel mode  | sse2 (sse2 sse 3dnowext 3dnow mmxext mmx asm C)
[import_vob.so] tccat -i "/lfs/cache11/my-caches/dvdrip/ys/vob/001" -t vob -d 0 -S 0 | tcdemux -a 0 -x ac3 -S 0 -M 1 -d 0 | tcextract -t vob -a 0 -x ac3 -d 0 | tcdecode -x ac3 -d 0 -s 1.000000,1.000000,1.000000 -A 1
[import_vob.so] tccat -i "/lfs/cache11/my-caches/dvdrip/ys/vob/001" -t vob -d 0 -S 0 | tcdemux -s 0x80 -x mpeg2 -S 0 -M 1 -d 0 | tcextract -t vob -a 0 -x mpeg2 -d 0 | tcdecode -x mpeg2 -d 0 -y yv12

[export_mpeg2enc.so] cmd=mpeg2enc -v 0 -I 0 -q 3 -f 5 -4 2 -2 3 -b 1666 -F 3 -n p  -a 2 -V 230 -o "ys-.m2v" -B 261 -I 0 -S 793  -g 6 -G 15
[export_mp2enc.so] (44/4096) cmd=mp2enc -v 0 -r 44100 -b 224 -s -o "ys-.mpa"

encoding frames [000000-005681],  25.34 fps, EMT: 0:03:47, ( 0| 0| 9)

ref:ripping log, from dvd to cache 

11:58:30 Starting job (1): Ripping - title #1
11:58:30 Executing command: rm -f /lfs/cache11/my-caches/dvdrip/ys/vob/001/ys-???.vob && dr_exec tccat -t dvd -T 1,-1,1 -i /dev/dvd | dr_splitpipe -f /lfs/cache11/my-caches/dvdrip/ys/tmp/ys-001-nav.log 1024 /lfs/cache11/my-caches/dvdrip/ys/vob/001/ys vob  | tcextract -a 0 -x ac3 -t vob | tcdecode -x ac3 | tcscan -x pcm && echo DVDRIP_SUCCESS
12:00:24 Ripping - title #1: 10 percent done.
[...]
12:13:55 Ripping - title #1: 90 percent done.
12:15:32 Executing command: dr_exec tcprobe -H 25 -i /lfs/cache11/my-caches/dvdrip/ys/vob/001 && echo DVDRIP_SUCCESS
12:15:36 Program stream units calculated
12:15:36 Successfully finished job (1): Ripping - title #1

ref:sizing method 1 

From video:  MPEG2  720x576  (aspect 2)  25.000 fps
1st clipping:  Top: 18 Bottom: 18 => size 720x540
Zoom:          W: 480 H:360
2nd clipping:  Top: -60 Bottom: -60
Problem: fast resize nok. Err: 8 boundary

Other DVD ripping methods 

Normal view 
$ gmplayer -dr -vo xv -vm -af volume dvd://3 -dvd-device /mnt/tmp1/; xset +dpms
MPlayer 1.0pre5-3.3.4 (C) 2000-2004 MPlayer Team

Playing dvd://3.
libdvdread: Using libdvdcss version 1.2.8 for DVD access
libdvdread: Attempting to use device /export.img/dar-backup/SHINEONYOU_VOL1.ISO mounted on /mnt/tmp1 for CSS authentication

Reading disc structure, please wait...
There are 10 titles on this DVD.
There are 1 chapters in this DVD title.
There are 1 angles in this DVD title.

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000150
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00000348
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00000431
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x00039061
[...]
libdvdread: Get key for /VIDEO_TS/VTS_10_1.VOB at 0x001e3929
libdvdread: Elapsed time 0
libdvdread: Found 10 VTS's
libdvdread: Elapsed time 0
DVD successfully opened.
MPEG-PS file format detected.
VIDEO:  MPEG1  352x240  (aspect 12)  29.970 fps  1150.0 kbps (143.8 kbyte/s)
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 28000->192000 (224.0 kbit)

Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)

Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
1st attempt 
$ mplayer -dr -vo xv -vm crop=0:0:0:0,scale=287:-2 -wid 46137491 dvd://3 -dvd-device /mnt/tmp1/ -alang English -nocache
MPlayer 1.0pre5-3.3.4 (C) 2000-2004 MPlayer Team
Playing crop=0:0:0:0,scale=287:-2.
File not found: 'crop=0:0:0:0,scale=287:-2'
Failed to open crop=0:0:0:0,scale=287:-2

Playing dvd://3.
libdvdread: Using libdvdcss version 1.2.8 for DVD access
libdvdread: Attempting to use device /export.img/dar-backup/SHINEONYOU_VOL1.ISO mounted on /mnt/tmp1 for CSS authentication
Reading disc structure, please wait...
There are 10 titles on this DVD.
There are 1 chapters in this DVD title.
There are 1 angles in this DVD title.

libdvdread: Found 10 VTS's
libdvdread: Elapsed time 0
DVD successfully opened.
No matching DVD audio language found!

$ mplayer -dr -vo xv -vm -vf crop=0:0:0:0,scale=287:-2 -wid 46137491 dvd://3 -dvd-device /mnt/tmp1/ -alang English -nocache
MPlayer interrupted by signal 6 in module: decode_video
- MPlayer crashed. This shouldn't happen.
Use .vob directly 
 mfilm=/mnt/tmp1/VIDEO_TS/VTS_01_0.VOB
$ transcode -i "$mfilm" -V -x vob -y mpeg2enc,mp2enc -F 1 --export_asr 2 -E 44100 -b $AUDIORATE -o output
transcode v0.6.12 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg
[transcode] (probe) suggested AV correction -D 0 (0 ms) | AV 0 ms | 0 ms
[transcode] auto-probing source /mnt/tmp1/VIDEO_TS/VTS_01_0.VOB (ok)
[transcode] V: import format    | MPEG-2  (V=vob|A=vob)
[transcode] V: AV demux/sync    | (2) initial MPEG sequence / enforce frame rate
[transcode] V: import frame     | 720x480  1.50:1  encoded @ 4:3
[transcode] V: bits/pixel       | 0.217
[transcode] V: decoding fps,frc | 23.976,1
[transcode] V: Y'CbCr           | YV12/I420
[transcode] warning : requested audio track 0 not found - using 'null' module
[transcode] A: import           | disabled
[transcode] A: export           | disabled
Trying to use track 
$ tcprobe -H 10 -i /mnt/tmp1/
[tcprobe] DVD image/device
libdvdread: Using libdvdcss version 1.2.8 for DVD access
libdvdread: Attempting to use device /export.img/dar-backup/SHINEONYOU_VOL1.ISO mounted on /mnt/tmp1 for CSS authentication
(dvd_reader.c) mpeg1 ntsc 4:3 U0 352x480 video
(dvd_reader.c) mpeg1 16bit 48kHz 2Ch
(dvd_reader.c) DVD title 1/10: 1 chapter(s), 1 angle(s), title set 1
(dvd_reader.c) title playback time: 00:44:22.27  2663 sec
(dvd_reader.c) [Chapter 01] 00:00:00.000 , block from 0 to 232455
[tcprobe] summary for /mnt/tmp1/, (*) = not default, 0 = not detected
import frame size: -g 352x480 [720x576] (*)
     aspect ratio: 4:3 (*)
       frame rate: -f 23.976 [25.000] frc=1 (*)
      audio track: -a 0 [0] -e 48000,16,2 [48000,16,2] -n 0x55 [0x2000] (*)
[tcprobe] V: 63849 frames, 2663 sec @ 23.976 fps
[tcprobe] A: 41.61 MB @ 128 kbps
[tcprobe] CD:  650 MB | V:  608.4 MB @ 1916.5 kbps
[tcprobe] CD:  700 MB | V:  658.4 MB @ 2074.0 kbps
[tcprobe] CD: 1300 MB | V: 1258.4 MB @ 3964.0 kbps
[tcprobe] CD: 1400 MB | V: 1358.4 MB @ 4279.0 kbps
$ tcprobe -H 10 -i /mnt/tmp1/ -T 1

— exactly the same as above

tcprobe -H 10 -i /mnt/tmp1/ 2>&1 | tee $tf.1
tcprobe -H 10 -i /mnt/tmp1/ -T 1 2>&1 | tee $tf.2
diff -wu1 $tf.1 $tf.2
AUDIORATE=224
$ transcode -i /mnt/tmp1/ -T 1 -V -x vob -y mpeg2enc,mp2enc -F 1 --export_asr 2 -E 44100 -b $AUDIORATE -o output
transcode v0.6.12 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg
libdvdread: Using libdvdcss version 1.2.8 for DVD access
libdvdread: Attempting to use device /export.img/dar-backup/SHINEONYOU_VOL1.ISO mounted on /mnt/tmp1 for CSS authentication
libdvdread: Using libdvdcss version 1.2.8 for DVD access
libdvdread: Attempting to use device /export.img/dar-backup/SHINEONYOU_VOL1.ISO mounted on /mnt/tmp1 for CSS authentication
(dvd_reader.c) DVD title 1/10: 1 chapter(s), 1 angle(s), title set 1
(dvd_reader.c) title playback time: 00:44:22.27  2663 sec
(dvd_reader.c) [Chapter 01] 00:00:00.000 , block from 0 to 232455
[transcode] (probe) suggested AV correction -D 0 (0 ms) | AV 0 ms | 0 ms
[transcode] auto-probing source /mnt/tmp1/ (ok)
[transcode] V: import format    | MPEG-1 DVD NTSC (V=vob|A=dvd)
[transcode] V: AV demux/sync    | (2) initial MPEG sequence / enforce frame rate
[transcode] V: import frame     | 352x480  0.73:1  encoded @ 4:3
[transcode] V: bits/pixel       | 0.444
[transcode] V: decoding fps,frc | 23.976,1
[transcode] V: Y'CbCr           | YV12/I420
[transcode] A: import format    | 0x55    MPEG layer-3 [48000,16,2]
[transcode] A: export format    | 0x50    MPEG layer-2 [44100,16,2]  224 kbps
[transcode] V: encoding fps,frc | 23.976,1
[transcode] A: bytes per frame  | 8008 (8008.000000)
[transcode] A: adjustment       | 0@1000
[transcode] V: IA32 accel mode  | 3dnow (3dnow mmxext mmx asm)
[transcode] V: video buffer     | 10 @ 352x480
[import_dvd.so] v0.4.0 (2003-10-02) (video) DVD | (audio) MPEG/AC3/PCM
[import_vob.so] v0.6.0 (2003-10-02) (video) MPEG-2 | (audio) MPEG/AC3/PCM | (subtitle)
[export_mp2enc.so] v1.0.9 (2003-10-30) (audio) MPEG 1/2
[export_mpeg2enc.so] v1.1.10 (2003-10-30) (video) MPEG 1/2
libdvdread: Using libdvdcss version 1.2.8 for DVD access
libdvdread: Attempting to use device /export.img/dar-backup/SHINEONYOU_VOL1.ISO mounted on /mnt/tmp1 for CSS authentication
[import_dvd.so] tccat -T 1,1,1 -i "/mnt/tmp1/" -t dvd -d 0 -L | tcdemux -a 0 -x mp3 -S 0 -M 2 -d 0 | tcextract -t vob -x mp3 -a 0 -d 0 | tcdecode -x mp3 -d 0
[import_vob.so] tccat -i "/mnt/tmp1/" -t vob -d 0 -S 0 | tcdemux -s 0xc0 -x mpeg2 -S 0 -M 2 -f 23.976024 -P /tmp/file190eg8   -d 0 | tcextract -t vob -a 0 -x mpeg2 -d 0 | tcdecode -x mpeg2 -d 0 -y yv12
libdvdread: Using libdvdcss version 1.2.8 for DVD access
libdvdread: Attempting to use device /export.img/dar-backup/SHINEONYOU_VOL1.ISO mounted on /mnt/tmp1 for CSS authentication

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000150
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00000348
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00000431
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x00039061
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x0003914a
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x0006ee38
libdvdread: Elapsed time 0
[...]
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_10_0.VOB at 0x001e3840
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_10_1.VOB at 0x001e3929
libdvdread: Elapsed time 0
libdvdread: Found 10 VTS's
libdvdread: Elapsed time 0

error: this version of transcode supports only
directories containing files of identical file type.
Please clean up directory /mnt/tmp1/ and restart.
file /mnt/tmp1/AUDIO_TS with filetype unknown file type is invalid for directory mode.
big_values too large! 294
big_values too large! 455

[export_mpeg2enc.so] cmd=mpeg2enc -v 0 -I 0 -f 1 -F 1 -n n  -a 2  -o "output.m1v"
[export_mp2enc.so] (47/4096) cmd=mp2enc -v 0 -r 44100 -b 224 -s -o "output.mpa"
**ERROR: [mp2enc] Error reading wave data

bitstream problem: resyncing...

clean up | frame threads | unload modules | cancel signal | internal threads | done
[transcode] encoded 0 frames (0 dropped, 0 cloned), clip length   0.00 s