dvd

C# How to tell if DVD drive tray is open?

二次信任 提交于 2019-12-04 22:51:15
I have a DVD reading and burning app in C#. I want to be able to detect the difference between an empty drive (no disk) and an open drive. Edit: After some more googling, I think a better problem description is " I want to access the drive tray status - open or closed " I can use ManagementObjectSearcher("SELECT * FROM Win32_LogicalDisk WHERE DriveType= 5") to find all the dvd drives in the system, and the properties tell me if there is a disk in the drive. Access property tells me if there is a blank disk. But Access is null when the drive is open, and when the drive is shut and empty. And I

What is a good dvd burning component for Windows or .Net?

馋奶兔 提交于 2019-12-03 08:12:15
I'd like to add dvd burning functionality to my .Net app (running on Windows Server 2003), are there any good components available? I've used the NeroCOM sdk that used to come with Nero but they no longer support the sdk in the latest versions of Nero. I learned that Microsoft has created an IMAPI2 upgrade for Windows XP/2003 and there is an example project at CodeProject but not having used it myself I can't say how easy/reliable it is to use. I'm not really worried about burning audio/video to DVD as this is for file backup purposes only. I've used the code from the codeproject article and

Converting DVD image with subtitles to MKV using avconv

扶醉桌前 提交于 2019-12-02 19:09:50
This is the procedure I know to convert a DVD image to another videoformat (v.g. MP4): concatenate the VTS_01_ n .VOB files inside VIDEO_TS folder (for n >= 0) into a single VOB file. use avconv or ffmpeg in order to convert that VOB into another format. So far so good, however now I want to convert the DVD image with the subtitles. As far as I know the MKV format supports subtitles, so it seems an obvious choice. Alternatively I might use any other format with hard subtitles (subtitles as part of the video image). However, the subtitle encoding in the DVD image is dvdsub and I get the

DVD ISO from C# - .NET DiscUtils alternatives

丶灬走出姿态 提交于 2019-12-01 05:15:19
What is the best way to make .ISO files based on a file folder structure from C#? Is there an open source library other than DiscUtils ? Running into issues with DiscUtils and I'd like try another path. What are my options? I'd prefer open source but might also be willing to pay for a solution. Windows actually comes with a native API for creating ISOs and much more: the Image Mastering API . Once you grab the IMAPI2 Interop assembly from the Windows SDK or (probably easier) from this CodeProject article about IMAPI2 , creating an ISO is only a few lines of code. Unfortunately, you also need a

DVD ISO from C# - .NET DiscUtils alternatives

女生的网名这么多〃 提交于 2019-12-01 03:13:46
问题 What is the best way to make .ISO files based on a file folder structure from C#? Is there an open source library other than DiscUtils? Running into issues with DiscUtils and I'd like try another path. What are my options? I'd prefer open source but might also be willing to pay for a solution. 回答1: Windows actually comes with a native API for creating ISOs and much more: the Image Mastering API. Once you grab the IMAPI2 Interop assembly from the Windows SDK or (probably easier) from this

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

Open CD/DVD door with a Windows API call?

拈花ヽ惹草 提交于 2019-11-28 05:19:04
问题 How do I open the CD/DVD door with a Windows API call? 回答1: If you're using .NET this will work: http://www.dotnetspider.com/resources/15834-eject-close-cd-tray.aspx It was the first link to come up when I googled "win api open cd door". This was the second one: Windows CDROM Eject. 回答2: If anyone else is interested, here is a short draft of how it can be done in Lua: require ("alien") local kolbasz = alien.winmm.mciSendStringA kolbasz:types{ ret = 'long', abi = 'stdcall', 'string', 'string',

How to make an html page open automatically on a CD/DVD

十年热恋 提交于 2019-11-27 02:02:04
问题 I need to include an html page (table of contents) on a CD/DVD. I'd like the html page to open automatically when the user puts the CD/DVD in their machine. Is there a way to do this (the MSDN cds do this) either by purchasing software or otherwise? 回答1: I used (the free version of) AutoRunPro I remember when I was confronted with the problem once [autorun] shellexecute=path\to\htmlfile.html just wouldn't work on most PC's. I used a program called AutorunPro.EXE, just copied it in the root,