SDK for writing DVD's [closed]

无人久伴 提交于 2019-12-06 12:48:05

问题


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.

I've looked at IMAPI v2, 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.

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.

The solution needs to work under .NET on Windows XP and vista


回答1:


The Primo burning engine for .Net works nicely.




回答2:


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.

Also, vbAccelerator has a great IMAPI Wrapper for .NET




回答3:


Format your optical media to a Live File System (Incremental Packet Writing instead of using a mastered disc format with IMAPIv2) and then you will be able to add any file just using i.e. CopyFile without creating new sessions.

This way you will not waste lead-in/lead-out space each time you want to add a new file in a new session...

Notice that to ensure compatibility of disks created on Windows Vista, UDF 2.01 or lower should be selected.



来源:https://stackoverflow.com/questions/58768/sdk-for-writing-dvds

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!