PrimoBurner for .NET  5.0
CD, DVD and Blu-ray Software Development Kit
Loading...
Searching...
No Matches
VideoDVD Class Reference

The VideoDVD interface provides methods for creating DVD-Video compatible images layouts. More...

Inherits IDisposable.

Public Member Functions

 VideoDVD ()
 Creates a new instance of VideoDVD class.
 
void Dispose ()
 Disposes VideoDVD and reclaims the resources used by the object.
 
bool SetImageLayout (DataFile imageLayout)
 The SetImageLayout method sets the file layout of the video DVD image.
 
bool SetImageLayoutFromFolder (string rootFolder)
 The SetImageLayoutFromFolder method sets the logical layout of a DVD Video image from a folder.
 

Properties

ErrorInfo Error [get]
 Returns information about the last error that occurred while using the VideoDVD object.
 
DataFile ImageLayout [get]
 Gets a DVD Video compatible image layout.
 
VideoDVDValidation Validation [get, set]
 Gets/sets the type of Video DVD structure validation to be performed by the current VideoDVD object.
 

Detailed Description

The VideoDVD interface provides methods for creating DVD-Video compatible images layouts.

The layouts can be written to ISO image file or a DVD disc with the help of the DataDisc interface.

Version
1.55

Member Function Documentation

◆ SetImageLayout()

bool SetImageLayout ( DataFile  imageLayout)

The SetImageLayout method sets the file layout of the video DVD image.

Parameters
imageLayoutA DataFile object representing the root folder (directory) of the image file tree. The directory and file structure of the tree must be compatible with the DVD Video specification. The method also reads the content of the *.IFO and *.BUP files in the VIDEO_TS directory and validates the layout.
Returns
true - Success.

false - Failure. Check VideoDVD.Error property.

See also
VideoDVD.Validation, VideoDVDValidation, VideoDVD.Error, DataFile
Exceptions
ObjectDisposedExceptionThe VideoDVD object was already disposed.

◆ SetImageLayoutFromFolder()

bool SetImageLayoutFromFolder ( string  rootFolder)

The SetImageLayoutFromFolder method sets the logical layout of a DVD Video image from a folder.

Parameters
rootFolderFull path to a folder that should be used to create the image layout.

The directory and file structure of the source folder must be compatible with the DVD Video specification. The logical directory and file layout of the image will be identical to the directory tree under the folder specified in rootFolder parameter. The method also reads the content of the *.IFO and *.BUP files in the VIDEO_TS directory and validates the layout.

Returns
true - Success.

false - Failure. Check VideoDVD.Error property.

See also
VideoDVD.Validation, VideoDVDValidation, VideoDVD.Error
Exceptions
ObjectDisposedExceptionThe VideoDVD object was already disposed.

Property Documentation

◆ Error

ErrorInfo Error
get

Returns information about the last error that occurred while using the VideoDVD object.

Exceptions
ObjectDisposedExceptionThe VideoDVD object was already disposed.

◆ ImageLayout

DataFile ImageLayout
get

Gets a DVD Video compatible image layout.

The files and directories in the layout are ordered according to the DVD Video specification. The returned object can be used as an image layout for a DataDisc object and then written to a disc or ISO image file.

Exceptions
ObjectDisposedExceptionThe VideoDVD object was already disposed.

◆ Validation

VideoDVDValidation Validation
getset

Gets/sets the type of Video DVD structure validation to be performed by the current VideoDVD object.


This method must be called before VideoDVD.SetImageLayout or VideoDVD.SetImageLayoutFromFolder are called, otherwise the default behaviour will be used. The default behavior is full validation (VideoDVDValidation.Full).

Exceptions
ObjectDisposedExceptionThe VideoDVD object was already disposed.