back to chris' bitpool
This tool can copy a single or all title sets from a DVD to a directory. It is important to note that complete title sets and not only VOB parts of a title are copied. You have the exact image or clone of the source title set with this tool. It does no fancy IFO parsing, only raw DVD block are read.
Why? If you want to use libdvdread or derived applications (e.g. transcode) in the DVD image mode (i.e. you have a directory on your hard disk with a DVD structure on it) then you must have a copy of the full title set for your desired title. If you only extract the VOB information belonging to a title plus the *.IFO files then the references in the *.IFO files are not correct, because they assume the full title set is still available.
It is a companion tool for cpdvd that offers more user-friendly copy options (e.g. you can pass the title number and not the title set number).
Revision: 1.1 (5.1.2003)
You will need the libdvdread library for this tool. Specify its installation path in the provided Makefile. Then a simple call to "make" should build the binary. Copy the binary into your PATH.
Just call cpvts the following way:
cpvts -d <dvd_path/device> -t <title_set> <target directory>
This will copy the given title set from the DVD into the target directory. Please note, that the directory must exist already. On default the tool will copy the video manager (VIDEO_TS.*) also. If you don't want that then pass the -n option. To copy all title sets (i.e. the whole DVD) then you have to pass option -a instead of -t.
cpvts will split the long data stream of a title set at 1024 MB borders. You can adjust the split size with the -s option. Splitting is disabled with -s 0.
While copying the data, the tool will use a block buffer in memory. Its default size is set to 4 MB. You can adjust the buffer size with the -b option. Try to find the value that gives you the highest transfer performance.
Switch | Purpose | Default |
---|---|---|
-d <dvd_path> | Specify DVD disc device or image directory | /dev/dvd |
-s <MB> | File split size in MB (0 disables splitting) | 1024 |
-b <MB> | Size of copy buffer in MB | 4 |
-t <title_set> | Select the title set to copy | 1 |
-a | Copy all title sets of a DVD | - |
-i | Do not copy the VTS_xx_0.* files | copy |
-n | Do not copy the video manager (VIDEO_TS.*) of a disc | copy |
-q | Be quiet | - |
-v | Be more verbose | - |