imapi

How to burn video DVD from c#? [closed]

醉酒当歌 提交于 2019-12-29 08:02:14
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 6 years ago . I need to burn video dvd from my web cam in C# application? What is the right way to do it? What are required steps? I guess I must create image with right folder structure and MPEG2 video and then burn it to DVD

IMAPI2 in VB 2008 progress bar

假装没事ソ 提交于 2019-12-24 11:44:37
问题 I start making program that will burn CD/DVDs, and everything is okay. I found way to burn with IMAPI2 API, but now I have problem: I can't get progress bar of that burning. Here is code: Dim CDD1 As New IMAPI2.MsftDiscMaster2 Dim CDD2 As New IMAPI2.MsftDiscRecorder2 Dim FSI As New IMAPI2FS.MsftFileSystemImage Dim CDD3 As New IMAPI2.MsftDiscFormat2Data Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim Index = 0 Dim UniqueID = ""

IMAPI: How to get image size without throwing exception if image size exceeds free space?

ε祈祈猫儿з 提交于 2019-12-12 03:28:40
问题 I am writing a code to write a media (CD/DVD) using IMAPI (C#.NET). The writing works all fine. In case when I try to add file which exceeds the free space on media, it throws exception. I can catch the exception but it does not serve my purpose. I want to go adding the files even though it exceeds the free space. Then, I want to return total size of image to user who will then do the needful (update UI, show message, show size of image on UI etc.) as per requirements. In other words, I want

Create a folder in disk and Burn Into it using IMAPI 2

余生长醉 提交于 2019-12-11 23:25:29
问题 I'm using IMAPI2 in C# to burn a list of files to a multisession disk. But I want To be able to burn those files into a directory in the disk. Right now this is what I have fileSystemImage = new MsftFileSystemImage(); fileSystemImage.ChooseImageDefaults(discRecorder); fileSystemImage.FileSystemsToCreate = FsiFileSystems.FsiFileSystemJoliet | FsiFileSystems.FsiFileSystemISO9660; if (multisessionInterfaces != null) { fileSystemImage.MultisessionInterfaces = multisessionInterfaces;

VB.NET Mount ISO

自闭症网瘾萝莉.ら 提交于 2019-12-11 08:28:27
问题 I am looking for an API or something with the .NET Framework that would allow me to mount an ISO through code. Do you know of an API or any managed code that would allow me to mount an ISO? 回答1: Check out this article, complete with sample code: "Article on IMAPI" you can also use NERO SDK UPDATE: check out these: Same exact question: ANSWERED Using IMAPI IMAPI Interfaces (reference) Installing IMAPI <- windows SDK contains sample programs utilizing IMAPI Virtual Disk API in Windows 7 来源:

IMAPI2 MsftFileSystemImage in .NET not releasing files when creating ISO

只谈情不闲聊 提交于 2019-12-01 21:46:55
问题 I succesfully create the iso image, but I get 'file in use' IO errors trying to delete files in the rootFolderPath after returning from calling this Create method. Am I missing a Marshal.ReleaseComObject call? thanks, cw /// <summary> /// Create iso image from rootFolderPath and write to isoImageFilePath. Does not include the actual rootFolder itself /// </summary> public void Create() { IFileSystemImage ifsi = new MsftFileSystemImage(); try { ifsi.ChooseImageDefaultsForMediaType(IMAPI_MEDIA

IMAPI2 MsftFileSystemImage in .NET not releasing files when creating ISO

吃可爱长大的小学妹 提交于 2019-12-01 21:11:48
I succesfully create the iso image, but I get 'file in use' IO errors trying to delete files in the rootFolderPath after returning from calling this Create method. Am I missing a Marshal.ReleaseComObject call? thanks, cw /// <summary> /// Create iso image from rootFolderPath and write to isoImageFilePath. Does not include the actual rootFolder itself /// </summary> public void Create() { IFileSystemImage ifsi = new MsftFileSystemImage(); try { ifsi.ChooseImageDefaultsForMediaType(IMAPI_MEDIA_PHYSICAL_TYPE.IMAPI_MEDIA_TYPE_DISK); ifsi.FileSystemsToCreate = FsiFileSystems.FsiFileSystemJoliet |

Is there a relatively straightforward way to finalize a CD or DVD in C# or PowerShell?

亡梦爱人 提交于 2019-11-30 05:19:19
First, some clarification of terms. By finalize, I don't mean closing a session; I mean writing a lead-out to a CD or DVD in such a way that information can no longer be added to it via the usual means (Roxio, Nero, Windows Explorer, etc.) I've done a fair amount of research on this. There are some open-source programs like InfraRecorder from which we could draw some inspiration, but they all seem to involve rather elaborate reams of C++ code using IMAPI, which seems like a very low-level way to do things. None of us have the C++ or IMAPI expertise to support such a code base. The most

How to burn video DVD from c#? [closed]

淺唱寂寞╮ 提交于 2019-11-29 11:48:22
I need to burn video dvd from my web cam in C# application? What is the right way to do it? What are required steps? I guess I must create image with right folder structure and MPEG2 video and then burn it to DVD? IMAPI2? SharpRecorder is a library for burning CDs and DVDs with C#. http://code.google.com/p/sharprecorder/ im looking for a library too, but so far going to the IMAPI is the best thing so far, bwgburn is an application, there is also LetitBurn, wich uses the libburn library wich is for C++ 来源: https://stackoverflow.com/questions/1441227/how-to-burn-video-dvd-from-c

Create ISO image using PowerShell: how to save IStream to file?

一世执手 提交于 2019-11-29 10:10:18
I want to create an ISO image, so a .iso file, on Windows. This is possible to do using COM component IMAPI2FS.MsftFileSystemImage , and I found instructions on how to do this using PowerShell in an MSDN blog post entitled "Writing optical discs using IMAPI 2 in powershell" . After step 3, those instructions say that "at this step you can stop and save resulted image to the local hard disc, this will be a pure iso image." My question: How do I take $resultStream, i.e., a COM object that results from retrieving an ImageStream , in PowerShell and save its contents to a file? You need to use