Go Back   Club CDFreaks - Knowledge is Power > International Chat: Software related > Nero SDK Discussion Forum


Commercial message

Nero SDK Discussion Forum This is the official support forum for the Nero Software Development Kit (SDK). The forum is monitored by Ahead engineers



Reply
 
Thread Tools
Old 07-08-2003   #1 (permalink)
New on Forum
 
Join Date: Feb 2003
Posts: 25
Nero API 6.0.0.0 DVD burning directory order

Hi there,

as some people know I'm writing the ImgTool which uses the NeroAPI to burn DVD Root directories to DVD media. Since version 1.03 of the API it's possible to burn a (almost) standard conform DVD Video. All previous versions of the API had a bug which creates also a Joliet tree if you only choose ISO/UDF. Now this problem has gone... but a new one exists. It's not a real problem but I think this should also be fixed:

If I now create a DVD Video using the API I get the right ISO/UDF bridge filesystem but the directory order in the UDF part of the filesystem is wrong. There comes the VIDEO_TS directory first but the AUDIO_TS directory has to be the first one. In the ISO part the directory order is right...

Just in case someone of Ahead have a look at this forum...

Greets, CouJo!
CouJo is offline   Reply With Quote
Old 07-08-2003   #2 (permalink)
Nero Developer
 
Join Date: Jun 2003
Posts: 12
Re: Nero API 6.0.0.0 DVD burning directory order

Hello,


UDF Filesystem do not require directories to be sorted alphabetically. You should thus be able to determine the order in which the FIDs are created in the directory by just specifying them in the correct order within the NERO_ISO_ITEM linked list.

Regards,
andyE


Quote:
Originally posted by CouJo
Hi there,

as some people know I'm writing the ImgTool which uses the NeroAPI to burn DVD Root directories to DVD media. Since version 1.03 of the API it's possible to burn a (almost) standard conform DVD Video. All previous versions of the API had a bug which creates also a Joliet tree if you only choose ISO/UDF. Now this problem has gone... but a new one exists. It's not a real problem but I think this should also be fixed:

If I now create a DVD Video using the API I get the right ISO/UDF bridge filesystem but the directory order in the UDF part of the filesystem is wrong. There comes the VIDEO_TS directory first but the AUDIO_TS directory has to be the first one. In the ISO part the directory order is right...

Just in case someone of Ahead have a look at this forum...

Greets, CouJo!
AndyE is offline   Reply With Quote
Old 07-08-2003   #3 (permalink)
New on Forum
 
Join Date: Feb 2003
Posts: 25
The first list entry in the ISO item list is the AUDIO_TS directory, that's the problem.

Greets, CouJo!
CouJo is offline   Reply With Quote
Old 11-08-2003   #4 (permalink)
New on Forum
 
Join Date: Feb 2003
Posts: 25
Just some code snippets to show that the ISO Tree has the right directory order...

Code:
//====================================================================
   // making AUDIO_TS stuff
   //====================================================================
   pStart = new NERO_ISO_ITEM;
   if(pStart != NULL)
   {
      memset((void *)pStart, 0, sizeof(NERO_ISO_ITEM));

      // terminate next pointers
      pStart->nextItem = NULL;
      pStart->subDirFirstItem = NULL;

      strcpy(pStart->fileName, "AUDIO_TS");
      pStart->isDirectory = TRUE;
      pStart->entryTime = *pTimeStruct;
      pStart->isReference = FALSE;
      if(AUDIO_TS_exists)
      {
         CreateISOStructure(Path + (CString)"\\AUDIO_TS", &pStart);
      }
   }
   else
   {
      CleanDVDISOStructure(&pStart);
      AppendString(IDS_ERROR_13);
      return(NULL);
   }

   //====================================================================
   // making VIDEO_TS stuff
   //====================================================================
   NERO_ISO_ITEM *pActual = new NERO_ISO_ITEM;

   if(pActual != NULL)
   {
      memset((void *)pActual, 0, sizeof(NERO_ISO_ITEM));

      // terminate next pointers
      pActual->nextItem = NULL;
      pActual->subDirFirstItem = NULL;

      strcpy(pActual->fileName, "VIDEO_TS");
      pActual->isDirectory = TRUE;
      pActual->entryTime = *pTimeStruct;
      pActual->isReference = FALSE;
      pStart->nextItem = pActual;
   }
   else
   {
      CleanDVDISOStructure(&pStart);
      AppendString(IDS_ERROR_13);
      return(NULL);
   }
As you can see the "pStart" pointer points to the AUDIO_TS folder.

...some lines later:
Code:
mycd.nwcdIsoTrack = NeroCreateIsoTrackEx(pStart, VolumeLabel, IsoFlags);
...any suggestions?

Greets, CouJo!
CouJo is offline   Reply With Quote
 
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Support in NeroNet burning through Nero API Giladw Nero SDK Discussion Forum 1 27-07-2005 16:15
Nero 6.6 file burning order (ISO DVD) alexm Nero & InCD 0 23-02-2005 01:06
HELP!!! Nero 6.0 API 6.0.0.1.1 Burning Error!!! ~Showtime!!~ Nero & InCD 21 21-12-2004 00:16
Dvd burning failed with Nero API jagboys Nero & InCD 0 29-06-2004 14:55
How can I get burning device name by Nero API? QuJun Nero SDK Discussion Forum 1 20-04-2004 13:30


All times are GMT +2. The time now is 21:45.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0