See DVDVideoTrackAtOnceFromFileEx and DVDVideoBuildImageEx StarBurn sample applications as an example how to use StarBurn_DVDVideo_Destroy API call and all of the companion DVD-Video sub-API calls.