#1 Burning Software

It is currently Thu Dec 19, 2024 8:01 am

All times are UTC




Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: Advice on DVD Video format with extra files
PostPosted: Mon Nov 20, 2006 4:43 am 
Offline

Joined: Tue Oct 31, 2006 12:25 am
Posts: 43
Hi

Can you please advise on the best method to burn a DVD Movie format disk with a folder of extra files.

I assume I need to build the tree (VIDEO_TS, AUDIO_TS and OTHER_FILES) manually as if it were a data disk, but if I use that method will I lose any of the DVD player compatibility code that is included when using StarBurn_DVDVideo_Create?


Top
 Profile  
 
 Post subject: Re: Advice on DVD Video format with extra files
PostPosted: Mon Nov 20, 2006 4:09 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
You just create ISO9660/UDF bridge file system and it would be DVD-Video compatible. Pass valid pointers to VIDEO_TS and AUDIO_TS folders and you'd get it. You can perfectly add new content to root node. There are two problems with this approach:

1) Data you'd add would be visible to UDF readers only (compatibility reasons).

2) DVD Authoring and DVD Mastering software should be in sync as IFO(BUP) files also contain offsets within UDF image. So if we do DVD-Video creation ourselves - we patch IFO(BUP) files to match the offsets we've placed data on UDF image (Nero f.e. does the same). With manual bridge creation it would not be possible. So you may get compilation not always working with some stand-alone DVD-Players. Also some brand names would not be happy with anything excep VIDEO_TS and AUDIO_TS in the root...

xexx wrote:
Hi

Can you please advise on the best method to burn a DVD Movie format disk with a folder of extra files.

I assume I need to build the tree (VIDEO_TS, AUDIO_TS and OTHER_FILES) manually as if it were a data disk, but if I use that method will I lose any of the DVD player compatibility code that is included when using StarBurn_DVDVideo_Create?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 21, 2006 12:30 am 
Offline

Joined: Tue Oct 31, 2006 12:25 am
Posts: 43
Thanks Anton,

So I use StarBurn_UDF_CreateEx to create the UDF file system (passing valid VIDEO_TS and AUDIO_TS folders). Then I can add other files to UDF_CONTROL_BLOCK.m__PVOID__Body in the same was as an ISO9660JolietFileTree (e.g. StarBurn_ISO9660JolietFileTree_Add(UDF_CONTROL_BLOCK.m__PVOID__Body...)

(The latter doesn't sound right, but I am basing it on the UDFBuildImage console demo).


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 21, 2006 12:42 am 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
1) StarBurn_UDF_Add( NULL, NULL, NULL ) to create root
2) StarBurn_UDF_Add( Root, ... ) for every folder or file you want to add
3) StarBurn_UDF_CreateEx(...) to build file system

Take a look at UDFBuildImage sample. It's even present for Pascal as well.

And we'll consider to take a possiblity to add files to the root to DVD-Video FS. As you're not the first one who keep asking for this.

xexx wrote:
Thanks Anton,

So I use StarBurn_UDF_CreateEx to create the UDF file system (passing valid VIDEO_TS and AUDIO_TS folders). Then I can add other files to UDF_CONTROL_BLOCK.m__PVOID__Body in the same was as an ISO9660JolietFileTree (e.g. StarBurn_ISO9660JolietFileTree_Add(UDF_CONTROL_BLOCK.m__PVOID__Body...)

(The latter doesn't sound right, but I am basing it on the UDFBuildImage console demo).


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 21, 2006 2:41 am 
Offline

Joined: Tue Oct 31, 2006 12:25 am
Posts: 43
Hi Anton

I've recompiled the UDFBuildImage console summary and am testing against StarBurn.dll v6.10.10.4112. However I always get an A/V arising in the second call to StarBurn_UDF_Add.

Q.V.

UdfBuildImage c:\image.iso d:\
UDFBuildImage: ENTERed for 2 argument(s)
UDFBuildImage:main(): Adding passed fodler or file...
ERROR: Access violation at address 77C47B26 in module 'msvcrt.dll'. Read of address 00000000
UDFBuildImage: EXITing with failure. Status = 31


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 21, 2006 2:55 am 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Where did you get this build? It was never released to public. Latest stable is 6.6.30 and latest RC is 6.10.30 so please stick with either one but not anything intermediate.

I've just verified the code and it works for me just fine. Can you try official builds and pre-compiled samples? Also please provide debug logs when you're reporting something weird.

Thank you!

xexx wrote:
Hi Anton

I've recompiled the UDFBuildImage console summary and am testing against StarBurn.dll v6.10.10.4112. However I always get an A/V arising in the second call to StarBurn_UDF_Add.

Q.V.

UdfBuildImage c:\image.iso d:\
UDFBuildImage: ENTERed for 2 argument(s)
UDFBuildImage:main(): Adding passed fodler or file...
ERROR: Access violation at address 77C47B26 in module 'msvcrt.dll'. Read of address 00000000
UDFBuildImage: EXITing with failure. Status = 31


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 21, 2006 3:52 am 
Offline

Joined: Tue Oct 31, 2006 12:25 am
Posts: 43
Hi Anton

Hmmm, I need the updated version because the rest of my test app (a version of your VideoBurner demo) uses the latest test version of starburn.dll.

I have tested the old version (console and DLL), and it also gives the same error (though the console app suppresses the A/V message).

CONSOLE:

D:\TEMP\STARBURN>udfbuildimage c:\image2.iso d:\
UDFBuildImage: ENTERed for 2 argument(s)
UDFBuildImage:main(): Adding passed fodler or file...
UDFBuildImage: EXITing with failure. Status = 31


LOG:

[2808] StarBurn.pas : StarBurn.dll version : 0x20060630
[2808] StarBurn CD/DVD Burning, Grabbing and Mastering Toolkit for Windows 95/98/Me/NT/2000/XP/2003 Version 6.6.30 ( 0x20060630 )
[2808] Copyright (c) Rocket Division Software 2001-2006. All rights reserved.
<snip>
[2808] StarWave_CoInitialize(): >>> ENTERed
[2808] StarWave_CoInitialize(): CoInitialize( NULL ) successful, status 0 ( 0x0 )
[2808] StarWave_CoInitialize(): <<< EXITing with success
[2808] StarWave_UpStart(): <<< EXITing with success
[2808] StarWave_DownShut(): >>> ENTERed
[2808] StarWave_DownShut(): <<< EXITing with success


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 21, 2006 4:01 am 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Wow! Samples work for individual folder (c:\folder) however they don't work for root of the disk (c:\). Seems to be a StarBurn core or sample bug. Checking what's wrong with the code. For now just please don't pass disk root to enumeration routine. Thanks!

xexx wrote:
Hi Anton

Hmmm, I need the updated version because the rest of my test app (a version of your VideoBurner demo) uses the latest test version of starburn.dll.

I have tested the old version (console and DLL), and it also gives the same error (though the console app suppresses the A/V message).

CONSOLE:

D:\TEMP\STARBURN>udfbuildimage c:\image2.iso d:\
UDFBuildImage: ENTERed for 2 argument(s)
UDFBuildImage:main(): Adding passed fodler or file...
UDFBuildImage: EXITing with failure. Status = 31


LOG:

[2808] StarBurn.pas : StarBurn.dll version : 0x20060630
[2808] StarBurn CD/DVD Burning, Grabbing and Mastering Toolkit for Windows 95/98/Me/NT/2000/XP/2003 Version 6.6.30 ( 0x20060630 )
[2808] Copyright (c) Rocket Division Software 2001-2006. All rights reserved.
<snip>
[2808] StarWave_CoInitialize(): >>> ENTERed
[2808] StarWave_CoInitialize(): CoInitialize( NULL ) successful, status 0 ( 0x0 )
[2808] StarWave_CoInitialize(): <<< EXITing with success
[2808] StarWave_UpStart(): <<< EXITing with success
[2808] StarWave_DownShut(): >>> ENTERed
[2808] StarWave_DownShut(): <<< EXITing with success


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 22, 2006 2:04 am 
Offline

Joined: Tue Oct 31, 2006 12:25 am
Posts: 43
Thanks Anton,

I have my Proof-of-Concep demo working well now.

Can you confirm whether DVD padding (i.e. 30mm of burn) will be applied automatically when burning in this manner (assuming a DVD disk that is being finalized).


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 22, 2006 5:02 am 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Excellent!

You need to have BOTH disc recorded in single session mode and padding enabled. In such a case StarBurn would apply padding to at least 1GB. In the other case (padding disabled, but still single session) it's up to drive settings what do do - perform quick fixation or full one. In multisession mode it would be always short "lead-out" recorded to the DVD.

P.S. And I'm working on UDF fixed right now. The guy who did this code before does not work for us any more so everything is a bit slower then I'd expect.

xexx wrote:
Thanks Anton,

I have my Proof-of-Concep demo working well now.

Can you confirm whether DVD padding (i.e. 30mm of burn) will be applied automatically when burning in this manner (assuming a DVD disk that is being finalized).


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 22, 2006 5:42 am 
Offline

Joined: Tue Oct 31, 2006 12:25 am
Posts: 43
OK, cool. It looks like it is enabled by default anyway.

Are there any UDF issues i need to be aware of (while testing before the fixes are ready)?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 22, 2006 11:19 am 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Yes!

No issues. And the ones mentioned are just fixed. So you can get RC build w/o pointed UDF bug (and I've also found another one and fixed it).

Thank you!

xexx wrote:
OK, cool. It looks like it is enabled by default anyway.

Are there any UDF issues i need to be aware of (while testing before the fixes are ready)?


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 32 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