#1 Burning Software

It is currently Thu Dec 19, 2024 4:41 am

All times are UTC




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Cannot determine remaining DVD+RW capacity
PostPosted: Mon Oct 19, 2009 11:04 am 
Offline

Joined: Mon Oct 19, 2009 10:54 am
Posts: 36
Hi,
I am trying to calculate the remaining capacity of the DVD disc by using the API
StarBurn_CdvdBurnerGrabber_GetTrackInformation(). But the problem is it always returning the same remaining capacity even though the large data exist on the disc. Here is the snippet of the code.
EXCEPTION_NUMBER en = StarBurn_CdvdBurnerGrabber_GetTrackInformation(
m_dvdBurnerGrabber,
( PCHAR )( &exceptionText ),
sizeof( exceptionText ),
&status,
&cdbFailureInformation,
TRACK_NUMBER_INVISIBLE,
&trackInformation
);
if(en == EN_SUCCESS)
{

int64_t remaining = (int64_t)trackInformation.m__LONG__FreeLBs * (int64_t) MODE1_LB_SIZE_IN_UCHARS;

}

I am getting 3.9 GB of remaining capacity every time i try though the large data exist on the disc.

Thanks,
Gouse


Top
 Profile  
 
 Post subject: Re: Cannot determine remaining DVD+RW capacity
PostPosted: Tue Oct 20, 2009 9:02 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Please provide StarBurn log as I'd like to see complete track info structure dump. Actually you cannot blidnly assume you can extract FreeLBs from the structure if the call was OK. You cannot.


Top
 Profile  
 
 Post subject: Re: Cannot determine remaining DVD+RW capacity
PostPosted: Thu Oct 22, 2009 8:46 am 
Offline

Joined: Mon Oct 19, 2009 10:54 am
Posts: 36
Hi,
Can you let me know pls where i could find the StarBurn logs?

Thanks,
Gouse


Top
 Profile  
 
 Post subject: Re: Cannot determine remaining DVD+RW capacity
PostPosted: Thu Oct 22, 2009 10:33 am 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
As usual: support@rocketdivision.com or you can embedd compressed logs directly into forum message (just don't cut-n-paste it AS IS as it will be truncated). Thanks!


Top
 Profile  
 
 Post subject: Re: Cannot determine remaining DVD+RW capacity
PostPosted: Thu Oct 22, 2009 11:52 am 
Offline

Joined: Mon Oct 19, 2009 10:54 am
Posts: 36
Hi,
I am just looking if StarBurn API generates any logging. If so where do i find the log file of it.
I can send the log file of my application.

Thanks,
Gouse


Top
 Profile  
 
 Post subject: Re: Cannot determine remaining DVD+RW capacity
PostPosted: Thu Oct 22, 2009 11:59 am 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Please build your app with debug versions of StarBurn, check the FAQ on how to produce debug log, ZIP one and send it to support@rocketdivision.com for our check. Thanks :)


Top
 Profile  
 
 Post subject: Re: Cannot determine remaining DVD+RW capacity
PostPosted: Thu Oct 22, 2009 12:39 pm 
Offline

Joined: Mon Oct 19, 2009 10:54 am
Posts: 36
Please see the attached log. Let me know that helps you....


Attachments:
Gouse_Log_CannotDeterminDVD+RW Capcacity.zip [38.99 KiB]
Downloaded 739 times
Top
 Profile  
 
 Post subject: Re: Cannot determine remaining DVD+RW capacity
PostPosted: Thu Oct 22, 2009 12:46 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Unfortunately it does not. File has loads of trash from other apps except StarBurn itself. Make StarBurn log to file and issue us with this file and StarBurn SDK content only. Then it should work :) Thanks!


Top
 Profile  
 
 Post subject: Re: Cannot determine remaining DVD+RW capacity
PostPosted: Thu Oct 22, 2009 1:58 pm 
Offline

Joined: Mon Oct 19, 2009 10:54 am
Posts: 36
Hi,
Unfortunately our application is not linked to debug version starbur library. And the issue is occuring at the customer place and we cannot shilp the newly build application with debug enabled right now.
Can you shed some light, which start burn APIs should be used to know the tota size of the DVD disc as well as freespace of the disc?

Thanks,
Gouse


Top
 Profile  
 
 Post subject: Re: Cannot determine remaining DVD+RW capacity
PostPosted: Thu Oct 22, 2009 4:04 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
No idea... This is what StarBurn traces were made for - get feedback from the customers. If you ship the version w/o traces we all assume you don't want / need to pass customers feedback to RDS staff. For now I can only GUESS you have some bug in track processing sequence. What you can do however - pass our console sample TrackAtOnceFromTreeWithImport so customer could run it on "problem" disc (app will append some content to the created session) and ask the customers to send you console output of the program. Should be enough to pinpoint what the problem is: StarBurn core, your app or particular media (I don't think this is the case). Thanks!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group