Burn DVD problem

vbimport

#1

I use the sample of NeroApi–neroFiddle project.I change the parameter(NERO_MEDIA_TYPE nwcdMediaType)to MEDIA_DVD_M_RW,and then change the CDFormat to NERO_ISO_AUDIO_MEDIA which is the 2nd parameter of NeroBurn().I thought the code should burn an single file to DVD-RW.But it can’t work correctly.When it is burning at 60%,the program stops and says
“write error”.
The log :
Found the following devices:
TECLAST CHB52E
BENQ DVD DD DW1640
Image Recorder
Phase: Reading directories
Phase: Creating directories
Phase: Checking discs
Phase: Writing to cache
Log line:Caching of files started
Log line:Caching of files completed
Phase: Writing to disc
Log line:Burn process started at 2.4x (3,324 KB/s)
Log line:Quick Format DVD-RW
Phase: Writing to disc
Log line:Burn process started
Phase: Writing Lead-in
Log line:Write error
Log line:Burn process failed at 2.4x (3,324 KB/s)
1A20-0203-0130-1725-8154-8702*

Windows 2000 5.0
IA32
WinAspi: -
ahead WinASPI: File ‘C:\Program Files\Ahead\Nero\Wnaspi32.dll’: Ver=2.0.1.68, size=160016 bytes, created 2004-7-22 16:33:44
Nero API version: 6.3.1.26
Using interface version: 6.3.1.4
Installed in: C:\Program Files\Ahead\Nero
Application: ahead\Nero - Burning Rom
Recorder: <BENQ DVD DD DW1640> Version: BSHB - HA 1 TA 1 - 6.3.1.26
Adapter driver: <atapi> HA 1
Drive buffer : 2048kB
Bus Type : via Inquiry data (1) -> ATAPI, detected: ATAPI
Connected to MMC as unknown drive with class-nr : 1
Drive is autodetected - recorder class: Std. MMC recorder

=== Scsi-Device-Map ===
DiskPeripheral : ST380011A atapi Port 0 ID 0 DMA: On
CdRomPeripheral : TECLAST CHB52E atapi Port 1 ID 0 DMA: Off
CdRomPeripheral : BENQ DVD DD DW1640 atapi Port 1 ID 1 DMA: Off

=== CDRom-Device-Map ===
TECLAST CHB52E G: CDRom0
BENQ DVD DD DW1640 H: CDRom2

AutoRun : 1
Excluded drive IDs:
WriteBufferSize: 74448896 (0) Byte
ShowDrvBufStat : 0
BUFE : 0
Physical memory : 510MB (522988kB)
Free physical memory: 240MB (246276kB)
Memory in use : 52 %
Uncached PFiles: 0x0
Use Static Write Speed Table: 0
Use Inquiry : 1
Global Bus Type: default (0)
Check supported media : Disabled (0)

8.7.2005
NeroAPI
15:48:17 #1 Text 0 File Reader.cpp, Line 126
Reader running

15:48:17 #2 Text 0 File Writer.cpp, Line 124
Writer BENQ DVD DD DW1640 running

15:48:17 #3 Text 0 File AudioCompilationImpl.cpp, Line 817
DRM: StartDrmRecording(RealRec:1, ImageRec:0, Copies:1)
DRM: Beginning burn process.

15:48:17 #4 ISO9660GEN -11 File geniso.cpp, Line 3899
First writeable address = 0 (0x00000000)

15:48:17 #5 Text 0 File Burncd.cpp, Line 3152
Turn on Disc-At-Once, using DVD media

15:48:17 #6 Text 0 File DlgWaitCD.cpp, Line 247
Last possible write address on media: 2298495 (510:46.45, 4489MB)
Last address to be written: 607 ( 0:08.07, 1MB)

15:48:17 #7 Text 0 File DlgWaitCD.cpp, Line 259
Write in overburning mode: NO (enabled: CD)

15:48:17 #8 Text 0 File DlgWaitCD.cpp, Line 2162
Recorder: BENQ DVD DD DW1640, Media type: DVD-RW
Disc Manufacturer: PVCW00 - V00245
Disc Application Code: 64, Disc Physical Code: 214

15:48:17 #9 Text 0 File DlgWaitCD.cpp, Line 420
>>> Protocol of DlgWaitCD activities: <<<
=========================================

15:48:17 #10 Text 0 File ThreadedTransferInterface.cpp, Line 813
Setup items (after recorder preparation)
0: TRM_DATA_MODE1 (CTransferItem)
2 indices, index0 (150) not provided
original disc pos #0 + 608 (608) = #608/0:8.8
relocatable, disc pos for caching/writing not required/required, no patch infos
-> TRM_DATA_MODE1, 2048, config 0, wanted index0 0 blocks, length 608 blocks [BENQ DVD DD DW1640 ]
--------------------------------------------------------------

15:48:17 #11 Text 0 File ThreadedTransferInterface.cpp, Line 984
Prepare recorder [BENQ DVD DD DW1640 ] for write in CUE-sheet-DAO
DAO infos:
==========
MCN: “”
TOCType: 0x00; Session Closed, disc fixated
Tracks 1 to 1:
1: TRM_DATA_MODE1, 2048/0x00, FilePos 0 0 1245184, ISRC “”
DAO layout:
===========
_Start|___Track|Idx|RecDep|CtrlAdr
0 | lead-in | 0 | 0x00 | 0x41
0 | 1 | 0 | 0x00 | 0x41
0 | 1 | 1 | 0x00 | 0x41
608 | lead-out | 1 | 0x00 | 0x41

15:48:18 #12 Phase 24 File APIProgress.cpp, Line 273
Caching of files started

15:48:18 #13 Text 0 File Burncd.cpp, Line 4163
Cache writing successful.

15:48:18 #14 Phase 25 File APIProgress.cpp, Line 273
Caching of files completed

15:48:18 #15 Phase 36 File APIProgress.cpp, Line 273
Burn process started at 2.4x (3,324 KB/s)

15:48:18 #16 Text 0 File ThreadedTransferInterface.cpp, Line 2344
Verifying disc position of item 0 (relocatable, disc pos, no patch infos, orig at #0): write at #0

15:48:18 #17 Text 0 File DVDMinusRW.cpp, Line 271
Perform ‘Quick Format’ (type 15h) to set disc in ‘Restricted Overwrite Mode’.

15:48:18 #18 Phase 136 File APIProgress.cpp, Line 273
Quick Format DVD-RW

15:48:36 #19 Phase 65 File APIProgress.cpp, Line 273
Burn process started

15:48:36 #20 Text 0 File DVDR.cpp, Line 2084
Recording mode: Sequential Recording Mode

15:48:36 #21 Text 0 File Mmc.cpp, Line 20688
Set BUFE: Seamless Link -> ON

15:48:36 #22 Text 0 File DVDR.cpp, Line 2225
Start write address at LBA 0
DVD high compatibility mode: No

15:48:36 #23 Text 0 File Cdrdrv.cpp, Line 8228
---- DVD Structure: Physical Format Information (00h) ----
Layer: 0, Address: 0 (0 h), AGID: 0; Length: 2050
Book Type: DVD-RW (3), Part Version: 2
Disc Size: 120 mm, Maximum Rate: <not specified> (F h)
Number of Layers: 1, Track Path: Parallel Track Path (PTP), Layer Type: recordable
Linear Density: 0,267 um/bit, Track Density: 0,74 um/track
Starting Physical Sector Number of Data Area: 30000 h (DVD-ROM, DVD-R/-RW, DVD+R/+RW)
End Physical Sector Number of Data Area: 0 h
End Sector Number in Layer 0: 0 h
Data in Burst Cutting Area (BCA) does not exist
Start sector number of the current Border-Out: 0 h
Start sector number of the next Border-In: 0 h
Media Specific [16…63]:
00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 …
00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 …
00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 …

15:49:01 #24 SCSI -1135 File Cdrdrv.cpp, Line 1445
SCSI Exec, HA 1, TA 1, LUN 0, buffer 0x09770000
Status: 0x04 (0x01, SCSI_ERR)
HA-Status 0x00 (0x00, OK)
TA-Status 0x02 (0x01, SCSI_TASTATUS_CHKCOND)
Sense Key: 0x03 (KEY_MEDIUM_ERROR)
Sense Code: 0x0C
Sense Qual: 0x00
CDB Data: 0x2A 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x20 0x00 0x00 0x00
Sense Data: 0x70 0x00 0x03 0x00 0x00 0x00 0x00 0x12
0x00 0x00 0x00 0x00 0x0C 0x00

15:49:01 #25 CDR -1135 File Writer.cpp, Line 304
Write error

15:49:01 #26 Text 0 File ThreadedTransfer.cpp, Line 229
all writers idle, stopping conversion

15:49:01 #27 Text 0 File DVDR.cpp, Line 2467
EndDAO: Last written address was -1

15:49:01 #28 Phase 38 File APIProgress.cpp, Line 273
Burn process failed at 2.4x (3,324 KB/s)

15:49:01 #29 Text 0 File AudioCompilationImpl.cpp, Line 828
DRM: DRM burn session terminated.

15:49:01 #30 Text 0 File AudioCompilationImpl.cpp, Line 857
DRM: Closing entire DRM handling. Bye.

15:49:04 #31 SCSI -500 File Cdrdrv.cpp, Line 1191
SCSI Exec, HA 1, TA 1, LUN 0, buffer 0x01A95000
Status: 0x02 (0x03, SCSI_ABORTED)
HA-Status 0x10 (0x0A, SCSI_HASTAT_REQUEST_SENSE_FAILED)
TA-Status 0x00 (0x00, OK)
Sense Key: 0x05 (KEY_ILLEGAL_REQUEST)
Sense Code: 0x26
Sense Qual: 0x02
CDB Data: 0xAD 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x08 0x04 0x00 0x00
Sense Data: 0xF0 0x00 0x05 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0x26 0x02

Existing drivers:
File ‘Drivers\PXHELP20.SYS’: Ver=2.02.72a, size=20368 bytes, created 2004-4-22 2:02:00 (Prassi/Veritas driver for win 2K)
File ‘Drivers\InCDfs.SYS’: Ver=4, 3, 6, 1, size=98048 bytes, created 2004-10-18 12:08:06 (InCD4 driver for win NT/2K/XP)
File ‘Drivers\InCDpass.SYS’: Ver=4, 3, 6, 1, size=28928 bytes, created 2004-10-18 12:07:48 (InCD4 driver for win NT/2K/XP)
File ‘Drivers\InCDrec.SYS’: Ver=4, 3, 6, 1, size=7808 bytes, created 2004-10-18 12:08:08 (InCD4 driver for win NT/2K/XP)

Registry Keys:
HKLM\Software\Microsoft\Windows NT\CurrentVersion\WinLogon\AllocateCDROMs : 0 (Security Option)

BurnCD() : burn failed

Help!
Thanks!


#2

There is a KEY_MEDIUM_ERROR reported, which may suggest the used disc is defective. Please try with another one or with other recorder.