Burning DVD-Video with DiskRecording Framework
Burning DVD-Video with DiskRecording Framework
- Subject: Burning DVD-Video with DiskRecording Framework
- From: Christophe Ducommun <email@hidden>
- Date: Sat, 19 Jun 2004 13:47:39 +0200
I want to burn a Video DVD from a VIDEO_TS folder that my app has
created.
But DVD video format need to be burned in UDF format and the framework
support
only ISO9660, HFS+ and Joliet.
If it is not possible directly, i can create an image disk ready to
burn with Disk Utility
but I want to implement the burning process of this image disk in my
app.
How can I do it ?
Actually my code is :
- (IBAction)onBurn:(id)sender
{
NSMutableString *dvdFolder = [[NSMutableString alloc]
initWithCapacity:128];
[dvdFolder appendString:[textDestDirectory stringValue]];
[dvdFolder appendString:@"/MY_DVD"];
DRFolder *rootFolder = [DRFolder folderWithPath:dvdFolder];
//[rootFolder
setExplicitFilesystemMask:DRFilesystemInclusionMaskISO9660];
//[rootFolder
setExplicitFilesystemMask:DRFilesystemInclusionMaskJoliet];
DRTrack *track = [DRTrack trackForRootFolder:rootFolder];
if (track)
{
DRBurnSetupPanel *bsp = [DRBurnSetupPanel setupPanel];
[bsp setDelegate:self];
if ([bsp runSetupPanel] == NSOKButton)
{
DRBurnProgressPanel *bpp = [DRBurnProgressPanel progressPanel];
[bpp setDelegate:self];
[bpp beginProgressSheetForBurn:[bsp burnObject] layout:track
modalForWindow:thisWindow];
}
}
}
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.