Sir_Yaro
December 24th, 2006, 11:13 AM
1)
First we have to download and compile main program for dvd authoring:
[yaro][~]$ cd /tmp
wget http://dvd-audio.sourceforge.net/alpha/dvda-author-20050703.zip
follow the bolded lines
[yaro][/tmp]$ wget http://dvd-audio.sourceforge.net/alpha/dvda-author-20050703.zip
--18:43:54-- http://dvd-audio.sourceforge.net/alpha/dvda-author-20050703.zip
=> `dvda-author-20050703.zip'
Translacja dvd-audio.sourceforge.net... 66.35.250.209
Łączenie się z dvd-audio.sourceforge.net|66.35.250.209|:80... połączono.
Żądanie HTTP wysłano, oczekiwanie na odpowiedź... 200 OK
Długość: 317,756 (310K) [application/zip]
100%[============================================>] 317,756 24.80K/s ETA 00:00
18:44:04 (35.88 KB/s) - `dvda-author-20050703.zip' saved [317756/317756]
[yaro][/tmp]$ unzip dvda-author-20050703.zip
Archive: dvda-author-20050703.zip
creating: dvda-author-20050703/
inflating: dvda-author-20050703/sort.txt
inflating: dvda-author-20050703/CHANGES
inflating: dvda-author-20050703/COPYING
[...]
inflating: dvda-author-20050703/src/samg.c
inflating: dvda-author-20050703/src/samg.h
extracting: dvda-author-20050703/src/version.h
inflating: dvda-author-20050703/dvda-author.exe
[yaro][/tmp]$ cd dvda-author-20050703/src
[yaro][/tmp/dvda-author-20050703/src]$ sudo apt-get install libc6-dev libflac-dev
[yaro][/tmp/dvda-author-20050703/src]$ make
gcc -Wall -c -o dvda-author.o dvda-author.c
gcc -Wall -c -o audio.o audio.c
gcc -Wall -c -o ats.o ats.c
gcc -Wall -c -o atsi.o atsi.c
[...]
gcc -Wall -lm -o dvda-author dvda-author.o audio.o ats.o atsi.o amg.o samg.o libFLAC/bitbuffer.o libFLAC/bitmath.o libFLAC/cpu.o libFLAC/crc.o libFLAC/file_decoder.o libFLAC/file_encoder.o libFLAC/fixed.o libFLAC/float.o libFLAC/format.o libFLAC/lpc.o libFLAC/md5.o libFLAC/memory.o libFLAC/metadata_iterators.o libFLAC/metadata_object.o libFLAC/seekable_stream_decoder.o libFLAC/seekable_stream_encoder.o libFLAC/stream_decoder.o libFLAC/stream_encoder.o libFLAC/stream_encoder_framing.o
[yaro][/tmp/dvda-author-20050703/src]$ ls dvda-author
-rwxr-xr-x 1 yaro yaro 226966 2006-08-14 18:45 dvda-author
[yaro][/tmp/dvda-author-20050703/src]$ sudo cp ./dvda-author /usr/bin
2)
now lets create an iso image. Unfortunatelly default mkisofs sort files unproperly. So here we have two options. You can recompile mkisofs and patch it using this file:
patch (http://dvd-audio.sourceforge.net/mkisofs-dvdaudio.diff)
or use attached patched version of mkisofs. (check bellow).
There is a third way where mkisofs can sort files with a little help of external file but this way is long and unhandy, so i wont describe it here.
3a) COMPILATION
wget ftp://ftp.berlios.de/pub/cdrecord/cdrtools.tar.gz
[yaro][/tmp]$ wget ftp://ftp.berlios.de/pub/cdrecord/cdrtools.tar.gz
--19:52:19-- ftp://ftp.berlios.de/pub/cdrecord/cdrtools.tar.gz
=> `cdrtools.tar.gz'
Translacja ftp.berlios.de... 195.37.77.141
Łączenie się z ftp.berlios.de|195.37.77.141|:21... połączono.
Logowanie się jako anonymous ... Zalogowano się!
==> SYST ... zrobiono. ==> PWD ... zrobiono.
==> TYPE I ... zrobiono. ==> CWD /pub/cdrecord ... zrobiono.
==> PASV ... zrobiono. ==> RETR cdrtools.tar.gz ... zrobiono.
Długość: 1,736,017 (1.7M) (nie autorytatywne)
100%[==========================================>] 1,736,017 39.80K/s ETA 00:00
19:52:55 (51.82 KB/s) - `cdrtools.tar.gz' saved [1736017]
[yaro][/tmp]$
wget http://dvd-audio.sourceforge.net/mkisofs-dvdaudio.diff
[yaro][/tmp]$ wget http://dvd-audio.sourceforge.net/mkisofs-dvdaudio.diff
--19:54:01-- http://dvd-audio.sourceforge.net/mkisofs-dvdaudio.diff
=> `mkisofs-dvdaudio.diff.1'
Translacja dvd-audio.sourceforge.net... 66.35.250.209
Łączenie się z dvd-audio.sourceforge.net|66.35.250.209|:80... połączono.
Żądanie HTTP wysłano, oczekiwanie na odpowiedź... 200 OK
Długość: 5,972 (5.8K) [text/plain]
100%[===========================================>] 5,972 26.11K/s
19:54:03 (26.02 KB/s) - `mkisofs-dvdaudio.diff' saved [5972/5972]
[yaro][/tmp]$
[yaro][/tmp]$ tar -xzvf cdrtools.tar.gz
cdrtools-2.01/
cdrtools-2.01/RULES/
cdrtools-2.01/RULES/9000-725-hp-ux-cc.rul
cdrtools-2.01/RULES/9000-725-hp-ux-gcc.rul
cdrtools-2.01/RULES/MKLINKS
cdrtools-2.01/RULES/README
cdrtools-2.01/RULES/alpha-linux-cc.rul
cdrtools-2.01/RULES/alpha-linux-gcc.rul
cdrtools-2.01/RULES/aviion-dgux3-cc.rul
[...]
cdrtools-2.01/build_all.com
cdrtools-2.01/scgskeleton/
cdrtools-2.01/scgskeleton/skel.c
cdrtools-2.01/scgskeleton/Makefile
cdrtools-2.01/scgskeleton/scsi_scan.h
cdrtools-2.01/scgskeleton/scsi_scan.c
cdrtools-2.01/scgskeleton/cdrecord.h
cdrtools-2.01/scgskeleton/defaults.h
cdrtools-2.01/scgskeleton/io.c
cdrtools-2.01/scgskeleton/cd_misc.c
cdrtools-2.01/scgskeleton/scsi_cdr.c
cdrtools-2.01/scgskeleton/scsimmc.h
cdrtools-2.01/scgskeleton/modes.c
cdrtools-2.01/scgskeleton/misc.c
cdrtools-2.01/scgskeleton/getnum.c
cdrtools-2.01/scgskeleton/defaults.c
cdrtools-2.01/README.mingw32
cdrtools-2.01/AN-2.01
[yaro][/tmp]$ mv cdrtools-2.01 cdrtools-2.01.01
[yaro][/tmp]$ patch -p0 < mkisofs-dvdaudio.diff
patching file cdrtools-2.01.01/mkisofs/mkisofs.c
Hunk #4 succeeded at 1814 (offset -4 lines).
Hunk #5 succeeded at 2300 (offset -5 lines).
patching file cdrtools-2.01.01/mkisofs/mkisofs.h
patching file cdrtools-2.01.01/mkisofs/tree.c
patching file cdrtools-2.01.01/mkisofs/udf.c
patching file cdrtools-2.01.01/mkisofs/write.c
[yaro][/tmp]$ cd cdrtools-2.01.01/
[yaro][/tmp/cdrtools-2.01.01/]$ make
[...]
==> LINKING "OBJ/i686-linux-cc/isoinfo"
make[2]: Opuszczenie katalogu `/tmp/cdrtools-2.01.01/mkisofs/diag'
==> MAKING "all" ON SUBCOMPONENT "SRCROOT/mkisofs/diag/isovfy.mk"
make[2]: Wejście do katalogu `/tmp/cdrtools-2.01.01/mkisofs/diag'
../../RULES/r-gmake.dep:76: OBJ/i686-linux-cc/isovfy.d: Nie ma takiego pliku ani katalogu
==> MAKING DEPENDENCIES "OBJ/i686-linux-cc/isovfy.d"
make[2]: Opuszczenie katalogu `/tmp/cdrtools-2.01.01/mkisofs/diag'
make[2]: Wejście do katalogu `/tmp/cdrtools-2.01.01/mkisofs/diag'
==> COMPILING "OBJ/i686-linux-cc/isovfy.o"
==> LINKING "OBJ/i686-linux-cc/isovfy"
[...]
==> LOCALIZING "OBJ/i686-linux-cc/man/makerules.5"
make[3]: Opuszczenie katalogu `/tmp/cdrtools-2.01.01/man/man4'
make[2]: Opuszczenie katalogu `/tmp/cdrtools-2.01.01/man/man4'
make[1]: Opuszczenie katalogu `/tmp/cdrtools-2.01.01/man'
[yaro][/tmp/cdrtools-2.01.01]$
[yaro][/tmp/cdrtools-2.01.01]$ cp /tmp/cdrtools-2.01.01/mkisofs/OBJ/i686-linux-cc/mkisofs ~/bin/mkisofs-dvd-audio
[yaro][/tmp/cdrtools-2.01.01]$
3b) COMPILED VERSION
unzip downloaded attachment and copy it into a bin directory
[yaro][/tmp]$ unzip mkisofs-dvd-audio.zip
Archive: mkisofs-dvd-audio.zip
inflating: mkisofs-dvd-audio
[yaro][/tmp]$ chmod +x mkisofs-dvd-audio
[yaro][/tmp]$ cp mkisofs-dvd-audio ~/bin
4) Create DVD structure
change directory to the directory with wav files and execute:
[yaro][/tmp]$ cd /tmp/dvd-audio-test/
[yaro][/tmp/dvd-audio-test]$ ls
razem 436704
-rw-r--r-- 1 yaro yaro 49497064 2006-08-14 18:55 0.wav
-rw-r--r-- 1 yaro yaro 54464488 2006-08-14 18:55 1.wav
-rw-r--r-- 1 yaro yaro 43082728 2006-08-14 18:55 2.wav
-rw-r--r-- 1 yaro yaro 52847080 2006-08-14 18:54 3.wav
-rw-r--r-- 1 yaro yaro 38649832 2006-08-14 18:55 4.wav
-rw-r--r-- 1 yaro yaro 42456040 2006-08-14 18:55 5.wav
-rw-r--r-- 1 yaro yaro 63417832 2006-08-14 18:55 6.wav
-rw-r--r-- 1 yaro yaro 53773288 2006-08-14 18:55 7.wav
-rw-r--r-- 1 yaro yaro 48543208 2006-08-14 18:55 8.wav
[yaro][/tmp/dvd-audio-test]$ dvda-author -o DVD -g *.wav
dvda-author v0.1-cvs - Copyright (C) 2005 Dave Chapman
Latest version available from http://dvd-audio.sourceforge.net/
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
DVD Layout:
Group Track Rate Bits Ch Length Filename
1 01 44100 16 2 12374255 0.wav
1 02 44100 16 2 13616111 1.wav
1 03 44100 16 2 10770671 2.wav
1 04 44100 16 2 13211759 3.wav
1 05 44100 16 2 9662447 4.wav
1 06 44100 16 2 10613999 5.wav
1 07 44100 16 2 15854447 6.wav
1 08 44100 16 2 13443311 7.wav
1 09 44100 16 2 12135791 8.wav
Size of raw PCM data: -5191019945699583212 bytes (12641643646249MB)
INFO: Processing 0.wav
INFO: Processing 1.wav
INFO: Processing 2.wav
INFO: Processing 3.wav
INFO: Processing 4.wav
INFO: Processing 5.wav
INFO: Processing 6.wav
INFO: Processing 7.wav
INFO: Processing 8.wav
INFO: Writing last packet - pack=223365, bytesinbuffer=1180
Group Track First Sect Last Sect First PTS PTS length
1 01 0 24748 585 25253581
1 02 24749 51980 25254658 27787981
1 03 51981 73522 53042413 21980961
1 04 73523 99945 75024046 26962773
1 05 99946 119270 101986291 19719279
1 06 119271 140498 121705678 21661222
1 07 140499 172207 143366903 32356014
1 08 172208 199094 175723025 27435328
1 09 199095 223365 203158740 24766920
[yaro][/tmp/dvd-audio-test]$
Notice new DVD directory contains correct AUDIO_TS directory and empty VIDEO_TS directory.
5) CREATE ISO IMAGE
[yaro][/tmp/dvd-audio-test]$ mkisofs-dvd-audio -o image.iso -dvd-audio DVD
2.24% done, estimate finish Mon Aug 14 19:13:35 2006
4.47% done, estimate finish Mon Aug 14 19:13:35 2006
6.70% done, estimate finish Mon Aug 14 19:13:35 2006
8.94% done, estimate finish Mon Aug 14 19:13:46 2006
[...]
93.81% done, estimate finish Mon Aug 14 19:13:50 2006
96.04% done, estimate finish Mon Aug 14 19:13:50 2006
98.28% done, estimate finish Mon Aug 14 19:13:50 2006
Total translation table size: 0
Total rockridge attributes bytes: 0
Total directory bytes: 4096
Path table size(bytes): 42
Max brk space used 42000
223871 extents written (437 MB)
[yaro][/tmp/dvd-audio-test]$ ls *iso
-rw-r--r-- 1 yaro yaro 458487808 2006-08-14 19:13 image.iso
[yaro][/tmp/dvd-audio-test]$
So, thats how we got ready to burn dvd image. Of course you should use much more tracks in a real project to occupy the whole dvd.
http://yaro.gdi.pl/art/mkisofs-dvdaudio.diff.zip
http://yaro.gdi.pl/art/mkisofs-dvd-audio.zip
First we have to download and compile main program for dvd authoring:
[yaro][~]$ cd /tmp
wget http://dvd-audio.sourceforge.net/alpha/dvda-author-20050703.zip
follow the bolded lines
[yaro][/tmp]$ wget http://dvd-audio.sourceforge.net/alpha/dvda-author-20050703.zip
--18:43:54-- http://dvd-audio.sourceforge.net/alpha/dvda-author-20050703.zip
=> `dvda-author-20050703.zip'
Translacja dvd-audio.sourceforge.net... 66.35.250.209
Łączenie się z dvd-audio.sourceforge.net|66.35.250.209|:80... połączono.
Żądanie HTTP wysłano, oczekiwanie na odpowiedź... 200 OK
Długość: 317,756 (310K) [application/zip]
100%[============================================>] 317,756 24.80K/s ETA 00:00
18:44:04 (35.88 KB/s) - `dvda-author-20050703.zip' saved [317756/317756]
[yaro][/tmp]$ unzip dvda-author-20050703.zip
Archive: dvda-author-20050703.zip
creating: dvda-author-20050703/
inflating: dvda-author-20050703/sort.txt
inflating: dvda-author-20050703/CHANGES
inflating: dvda-author-20050703/COPYING
[...]
inflating: dvda-author-20050703/src/samg.c
inflating: dvda-author-20050703/src/samg.h
extracting: dvda-author-20050703/src/version.h
inflating: dvda-author-20050703/dvda-author.exe
[yaro][/tmp]$ cd dvda-author-20050703/src
[yaro][/tmp/dvda-author-20050703/src]$ sudo apt-get install libc6-dev libflac-dev
[yaro][/tmp/dvda-author-20050703/src]$ make
gcc -Wall -c -o dvda-author.o dvda-author.c
gcc -Wall -c -o audio.o audio.c
gcc -Wall -c -o ats.o ats.c
gcc -Wall -c -o atsi.o atsi.c
[...]
gcc -Wall -lm -o dvda-author dvda-author.o audio.o ats.o atsi.o amg.o samg.o libFLAC/bitbuffer.o libFLAC/bitmath.o libFLAC/cpu.o libFLAC/crc.o libFLAC/file_decoder.o libFLAC/file_encoder.o libFLAC/fixed.o libFLAC/float.o libFLAC/format.o libFLAC/lpc.o libFLAC/md5.o libFLAC/memory.o libFLAC/metadata_iterators.o libFLAC/metadata_object.o libFLAC/seekable_stream_decoder.o libFLAC/seekable_stream_encoder.o libFLAC/stream_decoder.o libFLAC/stream_encoder.o libFLAC/stream_encoder_framing.o
[yaro][/tmp/dvda-author-20050703/src]$ ls dvda-author
-rwxr-xr-x 1 yaro yaro 226966 2006-08-14 18:45 dvda-author
[yaro][/tmp/dvda-author-20050703/src]$ sudo cp ./dvda-author /usr/bin
2)
now lets create an iso image. Unfortunatelly default mkisofs sort files unproperly. So here we have two options. You can recompile mkisofs and patch it using this file:
patch (http://dvd-audio.sourceforge.net/mkisofs-dvdaudio.diff)
or use attached patched version of mkisofs. (check bellow).
There is a third way where mkisofs can sort files with a little help of external file but this way is long and unhandy, so i wont describe it here.
3a) COMPILATION
wget ftp://ftp.berlios.de/pub/cdrecord/cdrtools.tar.gz
[yaro][/tmp]$ wget ftp://ftp.berlios.de/pub/cdrecord/cdrtools.tar.gz
--19:52:19-- ftp://ftp.berlios.de/pub/cdrecord/cdrtools.tar.gz
=> `cdrtools.tar.gz'
Translacja ftp.berlios.de... 195.37.77.141
Łączenie się z ftp.berlios.de|195.37.77.141|:21... połączono.
Logowanie się jako anonymous ... Zalogowano się!
==> SYST ... zrobiono. ==> PWD ... zrobiono.
==> TYPE I ... zrobiono. ==> CWD /pub/cdrecord ... zrobiono.
==> PASV ... zrobiono. ==> RETR cdrtools.tar.gz ... zrobiono.
Długość: 1,736,017 (1.7M) (nie autorytatywne)
100%[==========================================>] 1,736,017 39.80K/s ETA 00:00
19:52:55 (51.82 KB/s) - `cdrtools.tar.gz' saved [1736017]
[yaro][/tmp]$
wget http://dvd-audio.sourceforge.net/mkisofs-dvdaudio.diff
[yaro][/tmp]$ wget http://dvd-audio.sourceforge.net/mkisofs-dvdaudio.diff
--19:54:01-- http://dvd-audio.sourceforge.net/mkisofs-dvdaudio.diff
=> `mkisofs-dvdaudio.diff.1'
Translacja dvd-audio.sourceforge.net... 66.35.250.209
Łączenie się z dvd-audio.sourceforge.net|66.35.250.209|:80... połączono.
Żądanie HTTP wysłano, oczekiwanie na odpowiedź... 200 OK
Długość: 5,972 (5.8K) [text/plain]
100%[===========================================>] 5,972 26.11K/s
19:54:03 (26.02 KB/s) - `mkisofs-dvdaudio.diff' saved [5972/5972]
[yaro][/tmp]$
[yaro][/tmp]$ tar -xzvf cdrtools.tar.gz
cdrtools-2.01/
cdrtools-2.01/RULES/
cdrtools-2.01/RULES/9000-725-hp-ux-cc.rul
cdrtools-2.01/RULES/9000-725-hp-ux-gcc.rul
cdrtools-2.01/RULES/MKLINKS
cdrtools-2.01/RULES/README
cdrtools-2.01/RULES/alpha-linux-cc.rul
cdrtools-2.01/RULES/alpha-linux-gcc.rul
cdrtools-2.01/RULES/aviion-dgux3-cc.rul
[...]
cdrtools-2.01/build_all.com
cdrtools-2.01/scgskeleton/
cdrtools-2.01/scgskeleton/skel.c
cdrtools-2.01/scgskeleton/Makefile
cdrtools-2.01/scgskeleton/scsi_scan.h
cdrtools-2.01/scgskeleton/scsi_scan.c
cdrtools-2.01/scgskeleton/cdrecord.h
cdrtools-2.01/scgskeleton/defaults.h
cdrtools-2.01/scgskeleton/io.c
cdrtools-2.01/scgskeleton/cd_misc.c
cdrtools-2.01/scgskeleton/scsi_cdr.c
cdrtools-2.01/scgskeleton/scsimmc.h
cdrtools-2.01/scgskeleton/modes.c
cdrtools-2.01/scgskeleton/misc.c
cdrtools-2.01/scgskeleton/getnum.c
cdrtools-2.01/scgskeleton/defaults.c
cdrtools-2.01/README.mingw32
cdrtools-2.01/AN-2.01
[yaro][/tmp]$ mv cdrtools-2.01 cdrtools-2.01.01
[yaro][/tmp]$ patch -p0 < mkisofs-dvdaudio.diff
patching file cdrtools-2.01.01/mkisofs/mkisofs.c
Hunk #4 succeeded at 1814 (offset -4 lines).
Hunk #5 succeeded at 2300 (offset -5 lines).
patching file cdrtools-2.01.01/mkisofs/mkisofs.h
patching file cdrtools-2.01.01/mkisofs/tree.c
patching file cdrtools-2.01.01/mkisofs/udf.c
patching file cdrtools-2.01.01/mkisofs/write.c
[yaro][/tmp]$ cd cdrtools-2.01.01/
[yaro][/tmp/cdrtools-2.01.01/]$ make
[...]
==> LINKING "OBJ/i686-linux-cc/isoinfo"
make[2]: Opuszczenie katalogu `/tmp/cdrtools-2.01.01/mkisofs/diag'
==> MAKING "all" ON SUBCOMPONENT "SRCROOT/mkisofs/diag/isovfy.mk"
make[2]: Wejście do katalogu `/tmp/cdrtools-2.01.01/mkisofs/diag'
../../RULES/r-gmake.dep:76: OBJ/i686-linux-cc/isovfy.d: Nie ma takiego pliku ani katalogu
==> MAKING DEPENDENCIES "OBJ/i686-linux-cc/isovfy.d"
make[2]: Opuszczenie katalogu `/tmp/cdrtools-2.01.01/mkisofs/diag'
make[2]: Wejście do katalogu `/tmp/cdrtools-2.01.01/mkisofs/diag'
==> COMPILING "OBJ/i686-linux-cc/isovfy.o"
==> LINKING "OBJ/i686-linux-cc/isovfy"
[...]
==> LOCALIZING "OBJ/i686-linux-cc/man/makerules.5"
make[3]: Opuszczenie katalogu `/tmp/cdrtools-2.01.01/man/man4'
make[2]: Opuszczenie katalogu `/tmp/cdrtools-2.01.01/man/man4'
make[1]: Opuszczenie katalogu `/tmp/cdrtools-2.01.01/man'
[yaro][/tmp/cdrtools-2.01.01]$
[yaro][/tmp/cdrtools-2.01.01]$ cp /tmp/cdrtools-2.01.01/mkisofs/OBJ/i686-linux-cc/mkisofs ~/bin/mkisofs-dvd-audio
[yaro][/tmp/cdrtools-2.01.01]$
3b) COMPILED VERSION
unzip downloaded attachment and copy it into a bin directory
[yaro][/tmp]$ unzip mkisofs-dvd-audio.zip
Archive: mkisofs-dvd-audio.zip
inflating: mkisofs-dvd-audio
[yaro][/tmp]$ chmod +x mkisofs-dvd-audio
[yaro][/tmp]$ cp mkisofs-dvd-audio ~/bin
4) Create DVD structure
change directory to the directory with wav files and execute:
[yaro][/tmp]$ cd /tmp/dvd-audio-test/
[yaro][/tmp/dvd-audio-test]$ ls
razem 436704
-rw-r--r-- 1 yaro yaro 49497064 2006-08-14 18:55 0.wav
-rw-r--r-- 1 yaro yaro 54464488 2006-08-14 18:55 1.wav
-rw-r--r-- 1 yaro yaro 43082728 2006-08-14 18:55 2.wav
-rw-r--r-- 1 yaro yaro 52847080 2006-08-14 18:54 3.wav
-rw-r--r-- 1 yaro yaro 38649832 2006-08-14 18:55 4.wav
-rw-r--r-- 1 yaro yaro 42456040 2006-08-14 18:55 5.wav
-rw-r--r-- 1 yaro yaro 63417832 2006-08-14 18:55 6.wav
-rw-r--r-- 1 yaro yaro 53773288 2006-08-14 18:55 7.wav
-rw-r--r-- 1 yaro yaro 48543208 2006-08-14 18:55 8.wav
[yaro][/tmp/dvd-audio-test]$ dvda-author -o DVD -g *.wav
dvda-author v0.1-cvs - Copyright (C) 2005 Dave Chapman
Latest version available from http://dvd-audio.sourceforge.net/
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
DVD Layout:
Group Track Rate Bits Ch Length Filename
1 01 44100 16 2 12374255 0.wav
1 02 44100 16 2 13616111 1.wav
1 03 44100 16 2 10770671 2.wav
1 04 44100 16 2 13211759 3.wav
1 05 44100 16 2 9662447 4.wav
1 06 44100 16 2 10613999 5.wav
1 07 44100 16 2 15854447 6.wav
1 08 44100 16 2 13443311 7.wav
1 09 44100 16 2 12135791 8.wav
Size of raw PCM data: -5191019945699583212 bytes (12641643646249MB)
INFO: Processing 0.wav
INFO: Processing 1.wav
INFO: Processing 2.wav
INFO: Processing 3.wav
INFO: Processing 4.wav
INFO: Processing 5.wav
INFO: Processing 6.wav
INFO: Processing 7.wav
INFO: Processing 8.wav
INFO: Writing last packet - pack=223365, bytesinbuffer=1180
Group Track First Sect Last Sect First PTS PTS length
1 01 0 24748 585 25253581
1 02 24749 51980 25254658 27787981
1 03 51981 73522 53042413 21980961
1 04 73523 99945 75024046 26962773
1 05 99946 119270 101986291 19719279
1 06 119271 140498 121705678 21661222
1 07 140499 172207 143366903 32356014
1 08 172208 199094 175723025 27435328
1 09 199095 223365 203158740 24766920
[yaro][/tmp/dvd-audio-test]$
Notice new DVD directory contains correct AUDIO_TS directory and empty VIDEO_TS directory.
5) CREATE ISO IMAGE
[yaro][/tmp/dvd-audio-test]$ mkisofs-dvd-audio -o image.iso -dvd-audio DVD
2.24% done, estimate finish Mon Aug 14 19:13:35 2006
4.47% done, estimate finish Mon Aug 14 19:13:35 2006
6.70% done, estimate finish Mon Aug 14 19:13:35 2006
8.94% done, estimate finish Mon Aug 14 19:13:46 2006
[...]
93.81% done, estimate finish Mon Aug 14 19:13:50 2006
96.04% done, estimate finish Mon Aug 14 19:13:50 2006
98.28% done, estimate finish Mon Aug 14 19:13:50 2006
Total translation table size: 0
Total rockridge attributes bytes: 0
Total directory bytes: 4096
Path table size(bytes): 42
Max brk space used 42000
223871 extents written (437 MB)
[yaro][/tmp/dvd-audio-test]$ ls *iso
-rw-r--r-- 1 yaro yaro 458487808 2006-08-14 19:13 image.iso
[yaro][/tmp/dvd-audio-test]$
So, thats how we got ready to burn dvd image. Of course you should use much more tracks in a real project to occupy the whole dvd.
http://yaro.gdi.pl/art/mkisofs-dvdaudio.diff.zip
http://yaro.gdi.pl/art/mkisofs-dvd-audio.zip