rling
18th October 2005, 09:26
Thanks in advance for any help with this...
I have been using VCDEasy to write SVCDs to play back on my hardware DVD player. Everything works except chapters (once I worked out that the really flickery video was because my interlaced fields had wrong dominance -- grrrr). My TOC file has an INDEX for each chapter, but if I write a CD with cdrdao write, then read it back with cdrdao read-toc, the INDEX markers are gone. Could this be the problem? Are the INDEX markers really not written, or does cdrdao read-toc not recreate INDEX markers, or something else completely?
BTW I have read the guide, I have tried this with and without Interactivity turned on (called PBC or PlayBack Control in previous versions of VCDEasy), also tried using BIN/detailed CUE, and played with various other parameters, no difference.
Here is my original TOC file (from VCDEasy, comments removed):
CD_ROM_XA
TRACK MODE2_RAW
COPY
DATAFILE "D:/DV Editing/GBR/videocd_01.img"
TRACK MODE2_RAW
COPY
DATAFILE "D:/DV Editing/GBR/videocd_02_pregap.img"
START
DATAFILE "D:/DV Editing/GBR/videocd_02.img"
INDEX 04:21:10
INDEX 08:47:68
INDEX 13:09:19
INDEX 17:53:17
INDEX 22:08:71
INDEX 26:47:49
INDEX 31:14:35
INDEX 35:32:44
INDEX 40:01:26
INDEX 44:40:37
INDEX 49:03:14
INDEX 53:21:39
INDEX 57:59:70
INDEX 62:32:69
INDEX 67:00:33
Here is the TOC file read back using cdrdao read-toc:
CD_ROM_XA
TRACK MODE2_FORM_MIX
COPY
DATAFILE "data_1" 00:06:00 // length in bytes: 1051200
TRACK MODE2_FORM_MIX
COPY
DATAFILE "data_2" 70:33:22 // length in bytes: 741672992
Here is a log of the DOS shell. My CD-WR is a Samsung SW-252B, not officially supported by CDRDAO, but similar models are listed, they use either generic-mmc or generic-mmc-raw devices, I tried both with the same broken result...
==== begin log ====
D:\DV Editing\GBR>cdrdao write --device 3,0,0 --driver generic-mmc-raw -v 5 --speed 4 videocd.toc
Cdrdao version 1.1.7 - (C) Andreas Mueller <andreas@daneb.de>
SCSI interface library - (C) Joerg Schilling
Paranoia DAE library - (C) Monty
Check http://cdrdao.sourceforge.net/drives.html#dt for current driver tables.
SCSI: max DMA: 64512
Using libscg version 'andreas-0.5-UNIXWARE_Patch'
Using libscg transport code version 'schily-scsi-wnt.c-1.27'
3,0,0: SAMSUNG CD-R/RW SW-252B Rev: R700
Using driver: Generic SCSI-3/MMC (raw writing) - Version 2.0 (options 0x0000)
Starting write at speed 4...
Pausing 10 seconds - hit CTRL-C to abort.
Process can be aborted with QUIT signal (usually CTRL-\).
Lead-in start: 97:26:66 length: 11484
Lead-out length: 6750
Sub-channel mode requested by toc: 0
Using 96 byte raw P-W sub-channel data mode.
Block length: 2448
Cue Sheet (variant 0):
CTL/ TNO INDEX DATA SCMS MIN SEC FRAME
ADR FORM
41 00 00 24 00 00 00 00
61 01 00 00 00 00 00 00
61 01 01 00 00 00 02 00
61 02 00 00 00 00 06 00
61 02 01 00 00 00 08 00
61 02 02 00 00 04 29 10
61 02 03 00 00 08 55 68
61 02 04 00 00 13 17 19
61 02 05 00 00 18 01 17
61 02 06 00 00 22 16 71
61 02 07 00 00 26 55 49
61 02 08 00 00 31 22 35
61 02 09 00 00 35 40 44
61 02 0a 00 00 40 09 26
61 02 0b 00 00 44 48 37
61 02 0c 00 00 49 11 14
61 02 0d 00 00 53 29 39
61 02 0e 00 00 58 07 70
61 02 0f 00 00 62 40 69
61 02 10 00 00 67 08 33
41 aa 01 24 00 70 41 22
Session format: 20
Executing power calibration...
Power calibration successful.
Using WIN32 real time scheduling.Using WIN32 real time scheduling.
Waiting for reader processSwap: 1
Buffer filled
Awaken, will start writing
Writing lead-in and gap...
Writing track 01 (mode MODE2_RAW/AUDIO )...
Writing track 02 (mode MODE2_RAW/AUDIO )...
Wrote 713 of 713 MB (Buffer 100%).
Wrote 317947 blocks. Buffer fill min 100%/max 100%.
Writing lead-out...
Wrote 15 of 15 MB.
Flushing cache...
Writing finished successfully.
D:\DV Editing\GBR>cdrdao read-toc --device 3,0,0 --driver generic-mmc-raw read-raw.toc
Cdrdao version 1.1.7 - (C) Andreas Mueller <andreas@daneb.de>
SCSI interface library - (C) Joerg Schilling
Paranoia DAE library - (C) Monty
Check http://cdrdao.sourceforge.net/drives.html#dt for current driver tables.
Using libscg version 'andreas-0.5-UNIXWARE_Patch'
3,0,0: SAMSUNG CD-R/RW SW-252B Rev: R700
Using driver: Generic SCSI-3/MMC (raw writing) - Version 2.0 (options 0x0000)
Reading toc data...
Track Mode Flags Start Length
------------------------------------------------------------
1 DATA 6 00:00:00( 0) 00:06:00( 450)
2 DATA 6 00:06:00( 450) 70:33:22(317497)
Leadout DATA 4 70:39:22(317947)
PQ sub-channel reading (data track) is supported, data format is HEX.
Raw P-W sub-channel reading (data track) is supported.
Analyzing track 01 (MODE2_FORM_MIX): start 00:00:00, length 00:06:00...
Analyzing track 02 (MODE2_FORM_MIX): start 00:06:00, length 70:33:22...
Reading of toc data finished successfully.
==== end log ====
Thanks for any info!
R
I have been using VCDEasy to write SVCDs to play back on my hardware DVD player. Everything works except chapters (once I worked out that the really flickery video was because my interlaced fields had wrong dominance -- grrrr). My TOC file has an INDEX for each chapter, but if I write a CD with cdrdao write, then read it back with cdrdao read-toc, the INDEX markers are gone. Could this be the problem? Are the INDEX markers really not written, or does cdrdao read-toc not recreate INDEX markers, or something else completely?
BTW I have read the guide, I have tried this with and without Interactivity turned on (called PBC or PlayBack Control in previous versions of VCDEasy), also tried using BIN/detailed CUE, and played with various other parameters, no difference.
Here is my original TOC file (from VCDEasy, comments removed):
CD_ROM_XA
TRACK MODE2_RAW
COPY
DATAFILE "D:/DV Editing/GBR/videocd_01.img"
TRACK MODE2_RAW
COPY
DATAFILE "D:/DV Editing/GBR/videocd_02_pregap.img"
START
DATAFILE "D:/DV Editing/GBR/videocd_02.img"
INDEX 04:21:10
INDEX 08:47:68
INDEX 13:09:19
INDEX 17:53:17
INDEX 22:08:71
INDEX 26:47:49
INDEX 31:14:35
INDEX 35:32:44
INDEX 40:01:26
INDEX 44:40:37
INDEX 49:03:14
INDEX 53:21:39
INDEX 57:59:70
INDEX 62:32:69
INDEX 67:00:33
Here is the TOC file read back using cdrdao read-toc:
CD_ROM_XA
TRACK MODE2_FORM_MIX
COPY
DATAFILE "data_1" 00:06:00 // length in bytes: 1051200
TRACK MODE2_FORM_MIX
COPY
DATAFILE "data_2" 70:33:22 // length in bytes: 741672992
Here is a log of the DOS shell. My CD-WR is a Samsung SW-252B, not officially supported by CDRDAO, but similar models are listed, they use either generic-mmc or generic-mmc-raw devices, I tried both with the same broken result...
==== begin log ====
D:\DV Editing\GBR>cdrdao write --device 3,0,0 --driver generic-mmc-raw -v 5 --speed 4 videocd.toc
Cdrdao version 1.1.7 - (C) Andreas Mueller <andreas@daneb.de>
SCSI interface library - (C) Joerg Schilling
Paranoia DAE library - (C) Monty
Check http://cdrdao.sourceforge.net/drives.html#dt for current driver tables.
SCSI: max DMA: 64512
Using libscg version 'andreas-0.5-UNIXWARE_Patch'
Using libscg transport code version 'schily-scsi-wnt.c-1.27'
3,0,0: SAMSUNG CD-R/RW SW-252B Rev: R700
Using driver: Generic SCSI-3/MMC (raw writing) - Version 2.0 (options 0x0000)
Starting write at speed 4...
Pausing 10 seconds - hit CTRL-C to abort.
Process can be aborted with QUIT signal (usually CTRL-\).
Lead-in start: 97:26:66 length: 11484
Lead-out length: 6750
Sub-channel mode requested by toc: 0
Using 96 byte raw P-W sub-channel data mode.
Block length: 2448
Cue Sheet (variant 0):
CTL/ TNO INDEX DATA SCMS MIN SEC FRAME
ADR FORM
41 00 00 24 00 00 00 00
61 01 00 00 00 00 00 00
61 01 01 00 00 00 02 00
61 02 00 00 00 00 06 00
61 02 01 00 00 00 08 00
61 02 02 00 00 04 29 10
61 02 03 00 00 08 55 68
61 02 04 00 00 13 17 19
61 02 05 00 00 18 01 17
61 02 06 00 00 22 16 71
61 02 07 00 00 26 55 49
61 02 08 00 00 31 22 35
61 02 09 00 00 35 40 44
61 02 0a 00 00 40 09 26
61 02 0b 00 00 44 48 37
61 02 0c 00 00 49 11 14
61 02 0d 00 00 53 29 39
61 02 0e 00 00 58 07 70
61 02 0f 00 00 62 40 69
61 02 10 00 00 67 08 33
41 aa 01 24 00 70 41 22
Session format: 20
Executing power calibration...
Power calibration successful.
Using WIN32 real time scheduling.Using WIN32 real time scheduling.
Waiting for reader processSwap: 1
Buffer filled
Awaken, will start writing
Writing lead-in and gap...
Writing track 01 (mode MODE2_RAW/AUDIO )...
Writing track 02 (mode MODE2_RAW/AUDIO )...
Wrote 713 of 713 MB (Buffer 100%).
Wrote 317947 blocks. Buffer fill min 100%/max 100%.
Writing lead-out...
Wrote 15 of 15 MB.
Flushing cache...
Writing finished successfully.
D:\DV Editing\GBR>cdrdao read-toc --device 3,0,0 --driver generic-mmc-raw read-raw.toc
Cdrdao version 1.1.7 - (C) Andreas Mueller <andreas@daneb.de>
SCSI interface library - (C) Joerg Schilling
Paranoia DAE library - (C) Monty
Check http://cdrdao.sourceforge.net/drives.html#dt for current driver tables.
Using libscg version 'andreas-0.5-UNIXWARE_Patch'
3,0,0: SAMSUNG CD-R/RW SW-252B Rev: R700
Using driver: Generic SCSI-3/MMC (raw writing) - Version 2.0 (options 0x0000)
Reading toc data...
Track Mode Flags Start Length
------------------------------------------------------------
1 DATA 6 00:00:00( 0) 00:06:00( 450)
2 DATA 6 00:06:00( 450) 70:33:22(317497)
Leadout DATA 4 70:39:22(317947)
PQ sub-channel reading (data track) is supported, data format is HEX.
Raw P-W sub-channel reading (data track) is supported.
Analyzing track 01 (MODE2_FORM_MIX): start 00:00:00, length 00:06:00...
Analyzing track 02 (MODE2_FORM_MIX): start 00:06:00, length 70:33:22...
Reading of toc data finished successfully.
==== end log ====
Thanks for any info!
R