#1 Burning Software

It is currently Thu Dec 19, 2024 2:11 am

All times are UTC




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Overwriting a DVD+RW
PostPosted: Mon Feb 27, 2006 8:00 pm 
Offline

Joined: Mon Feb 27, 2006 7:46 pm
Posts: 3
Our application is very simple and is intended to do exactly one thing: append one file to a DVD+RW.
To do this we:
StarBurn_CdvdBurnerGrabber_GetTrackInformation the invisible track
StarBurn_ISO9660JolietFileTree_Create
StarBurn_ISO9660JolietFileTree_ImportTrack track 1
StarBurn_ISO9660JolietFileTree_GetRoot
StarBurn_ISO9660JolietFileTree_Add the file
StarBurn_ISO9660JolietFileTree_GetLevel
StarBurn_ISO9660JolietFileTree_BuildImage passing the level and the next writable address from the track info
and StarBurn_CdvdBurnerGrabber_TrackAtOnceFromTree

This seems to work fine with empty disks and appends nicely to existing disks.

My question is: how would I modify this to overwrite an existing disk with my single file, rather than append to it. I had assumed I would skip the ImportTrack and simply give a next writable of zero, but this does not seem to work. I realise that I could erase the disk, but hoped I could just overwrite.

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 27, 2006 10:13 pm 
Offline

Joined: Sun Oct 30, 2005 11:26 pm
Posts: 25
Rlheap,

What I do, is to erase the disk using StarBurn_CdvdBurnerGrabber_Blank().

If you erase the Disk with the Fast option, it happens pretty quickly.

I have a question for you though. When you use the method that you described above, are the previous files still readable when you use Windows explorer to view the disk?

I am looking to doing the same thing that you just described.

Thanks

Michael Kupka


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 28, 2006 10:37 am 
Offline

Joined: Mon Feb 27, 2006 7:46 pm
Posts: 3
Quote:
are the previous files still readable when you use Windows explorer
absolutely - that's the whole point of importing the track. You do, of course, need to eject and reload the disk before Windows will read it.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 01, 2006 9:01 am 
Offline

Joined: Sun Oct 30, 2005 11:26 pm
Posts: 25
rlheap,

I have 2 questions,

1. Are you closing the session after each append?

2. Are you always writing to track 1 and importing track 1?

I have tried the TrackAtOnceFromTreeWithImport sample, and it always seems to overwrite the existing filetree with the latest one to be recorded.

Any ideas?

Thanks

Michael Kupka


Last edited by mkupka on Wed Mar 01, 2006 9:11 am, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 01, 2006 9:08 am 
Offline

Joined: Mon Feb 27, 2006 7:46 pm
Posts: 3
1. no
2. yes


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 01, 2006 10:37 pm 
Offline

Joined: Sun Oct 30, 2005 11:26 pm
Posts: 25
StarBurn_ISO9660JolietFileTree_ImportTrack (track1) gives me an access violation. I only call it if the disc is not blank. I'm not quite sure why it does this.

Any ideas?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 02, 2006 12:11 pm 
Hi!

First of all, do you guys have the latest version of Starburn SDK?

DVD-RAM and DVD+RW can be *always* appended or overwritten. And DVD+R and DVD+R and DVD-R and DVD-RW can be recorded in single session mode when next session would not be allowed.

If you have problems with overwriting of DVD+RW or DVD-RAM then please send the logs to our support.

Regards,
Alexander Orlovsky


Top
  
 
 Post subject:
PostPosted: Thu Mar 02, 2006 1:01 pm 
Offline

Joined: Sun Oct 30, 2005 11:26 pm
Posts: 25
alexander (staff) wrote:
Hi!

First of all, do you guys have the latest version of Starburn SDK?

DVD-RAM and DVD+RW can be *always* appended or overwritten. And DVD+R and DVD+R and DVD-R and DVD-RW can be recorded in single session mode when next session would not be allowed.

If you have problems with overwriting of DVD+RW or DVD-RAM then please send the logs to our support.

Regards,
Alexander Orlovsky


Yes, we are using the latest SDK ( 5.12.2 ). I have mailed the debug logs to Oleksiy.

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 04, 2006 2:22 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
It depends upder what you mean under "overwrite". If you want to append the media w/o physically overwritting old data - just skip ImporTrack(...) phase. New data would start from new NWA (next writable address) and old data would be still on the DVD (but not visible to Explorer or whatever). If you want really OVERWRITE - just pass LBA 0 for recording (and don't import track of course). In such a case OLD data would be physically destroed by recording new one over old one.

P.S. DVD-RAM, DVD+RW and multisession DVD-RW can be overwrited w/o need to erase. Single session recorded DVD-RWs cannot. Small remark :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 51 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group