<p>I need to add DVD writing functionality to an application I'm working on. However it needs to be able to write out files that are being grabbed "live" from a camera, over a long period of time. I can't wait until all the files are captured before I start writing them to the DVD, I need to write them out in chunks as I go along.</p>

<p>I've looked at <a href="http://msdn.microsoft.com/en-us/library/aa364806(VS.85).aspx" rel="nofollow noreferrer">IMAPI v2</a>, but the main problems seems to be that you need to point it to all the files you plan to write out to disk before you start the burning process. I know it has to concept of "sessions", which means you can write to the DVD in several parts, before you finally "close" it.</p>

<p>But I was wondering if there were any other DVD writing SDK's that allow you to be constantly writing files to a DVD and in particular files that are only in memory. It would be more efficient if I didn't have to write the captured images out to hard before they are burned to DVD.</p>

<p>The solution needs to work under .NET on Windows XP and vista</p>

[{'answer_id': 58772, 'author': 'Brian R. Bondy', 'author_id': 3153, 'author_profile': 'https://Stackoverflow.com/users/3153', 'pm_score': 3, 'selected': True, 'text': '<p>The <a href="http://www.primoburner.com/" rel="nofollow noreferrer">Primo burning engine</a> for .Net works nicely. </p>\n'}, {'answer_id': 59113, 'author': 'rpetrich', 'author_id': 4007, 'author_profile': 'https://Stackoverflow.com/users/4007', 'pm_score': 1, 'selected': False, 'text': '<p>Generally you have to have your data ready before you start writing a session.  What you could do is grab the first image before starting the first session and then grabbing the rest in the background and write new sessions as they\'ve been paged down.</p>\n\n<p>Also, vbAccelerator has a great <a href="http://www.vbaccelerator.com/home/net/code/Libraries/Writing_CDs/IMAPI/article.asp" rel="nofollow noreferrer">IMAPI Wrapper for .NET</a></p>\n'}, {'answer_id': 20021558, 'author': 'rmp', 'author_id': 2703169, 'author_profile': 'https://Stackoverflow.com/users/2703169', 'pm_score': 0, 'selected': False, 'text': '<p>Format your optical media to a <a href="http://en.wikipedia.org/wiki/Live_File_System" rel="nofollow">Live File System</a> (<a href="http://en.wikipedia.org/wiki/Packet_writing" rel="nofollow">Incremental Packet Writing</a> instead of using a mastered disc format with IMAPIv2) and then you will be able to add any file just using i.e. <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/aa363851%28v=vs.85%29.aspx" rel="nofollow">CopyFile</a>  without creating new sessions.</p>\n\n<p>This way you will not waste lead-in/lead-out space each time you want to add a new file in a new session...</p>\n\n<p>Notice that to ensure compatibility of disks created on Windows Vista, UDF 2.01 or lower should be selected.</p>\n'}]
['https://Stackoverflow.com/questions/58768', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/4500/']