Calculating audio image size

vbimport

#1

Hi all,

I’m using the Nero SDK as part of a customer-facing content distribution project. The SDK is being used to burn the customer’s selected content to CD and is using MP3 content only.

What I’m trying to figure out is how to calculate the size of the audio tracks on the image so i know when the disc is full; when this happens I need to flag this so the second disk can be added to the cost and the second burn would be required.

Is this easy to do within the SDK? The ‘estimatetracksize’ seems to return the size in blocks of the iso image but clearly it’s messy to keep building the iso image each time I want to check.

The alternative is to manage it a step further up as I should have the track size in bytes and duration and could calculate the 78 minute limit.

Regards,

Simon