directshow

TrustedInstaller is preventing registry writes to HKCR\DirectShow\MediaObjects\Categories

 ̄綄美尐妖づ 提交于 2019-12-04 06:47:37
问题 I'm trying to install a DMO which requires me to write to HKCR\DirectShow\MediaObjects\Categories\57f2db8b-e6bb-4513-9d43-dcd2a6593125 , this registry path is protected by TrustedInstaller and it seems that this protection is new in Windows 7 (it work on previous platforms). How am I suppose to install DMOs? There are plenty of places that suggest to take ownership on the this registry key but this just doesn't feel right. BTW, were using boilerplate Wix3 to write the registry values. 回答1:

How to write an own capture filter?

荒凉一梦 提交于 2019-12-04 06:32:47
问题 Here's a great article on capturing video: http://nerdlogger.com/2011/11/03/stream-your-windows-desktop-using-ffmpeg/ it uses UScreenCapture filter. This time I need to use a custom filter, how to write one? And how to register so that FFmpeg can see that? 回答1: ffmpeg uses DirectShow video capture devices available in the opreating system, see more details on this forum thread: DirectShow Capture support. So you need to make a counterpart virtual source device to be picked up by ffmpeg . Your

DirectShow - Order of invocation of IAMStreamConfig::SetFormat and ICaptureGraphBuilder2::RenderStream creates issues in some video cameras

和自甴很熟 提交于 2019-12-04 06:21:30
问题 I have to configure my video camera display resolution before capturing and processing the data. Initially I did it as follows. Created all necessary interfaces. Added camera and renderer filters Did RenderStream with Capture and Preview PIN Categories. Then did the looping through AM_MEDIA_TYPE structures and setting the params. This worked for a lot of cameras, but a few cameras failed. Then I changed the order of 3 and 4 given above. That is, I did the setting of params before the

Not able to capture video using 2 webcamera simulteneously

谁说胖子不能爱 提交于 2019-12-04 05:56:29
问题 I am trying to capture from 2 web camera simultaneously using directshow. IF I capture one by one OR one at a time both are working properly. But not able to capture simultaneously from same application. I tried to use various applications available from net like dorgem, virtualdub. These applications are also able to show only one camera at a time when another camera is opened in second application it gives "a device attached is not functioning" but individually but only one camera is able

How can I learn a DirectShow programming? [closed]

邮差的信 提交于 2019-12-04 05:41:34
I'm a .Net C# Developer. I want to develop the media programming about video/audio codec, capture media from source, etc. I'm going to use the DirectShow Lib, but I read it on MSDN, and I'm very confused, because I'm a beginner. Do you have the best tutorials or some article that can make beginner understand to program in the DirectShow architecture? If so, please share them. You will find these useful: http://www.codeproject.com/KB/directx/PrgmngDirectShowappsCS.aspx http://www.codeproject.com/KB/directx/directshowmediaplayer.aspx http://www.codeproject.com/KB/directx/directshownet.aspx http:

Virtual Driver Cam not recognized by browser

自闭症网瘾萝莉.ら 提交于 2019-12-04 05:29:14
问题 I'm playing with the "Capture Source Filter" from http://tmhare.mvps.org/downloads.htm. After registering the ax driver, I'm trying to understand its compatibility across applications that use video sources. For example, Skype recognize it while browsers (Edge, Chrome) don't. I wonder if it's a limitation of the used approach ( DirectShow filter) or it's just a matter of configuration. The purpose of the question is to understand if that approach is still useful or it's better to move on

How to get pointer to IUnknown in C#

巧了我就是萌 提交于 2019-12-04 03:39:28
.NET interop wraps COM objects into .NET objects (runtime-callable wrappers, RCWs), which hide the usual interface querying. In order to register a COM object representing a filter graph with the Running Objects Table, I need the (native) address of its IUnknown interface (see How can I reverse engineer a DirectShow graph? ). So the question is: How can I get a COM object's IUnknown pointer in C#? Hans Passant Use Marshal.GetIUnknownForObject() . 来源: https://stackoverflow.com/questions/3941349/how-to-get-pointer-to-iunknown-in-c-sharp

Regarding the scope of Sample Grabber in DirectShow

夙愿已清 提交于 2019-12-04 02:30:08
问题 I have 2 related questions for my web cam live capture application. The webcams capture data in varying formats such as YUY2, RGB24, I420, MJPG etc. I need to convert the captured data to I420 irrespective of the input format. Hence I need to know the current scope/capability of the Direct Show inbuilt Transform filter such as Sample Grabber. Will the Sample Grabber support at least these many transformations? Or will I have to write my own custom filters? Many of the webcams seem to have

ffmpeg through python subprocess fails to find camera

醉酒当歌 提交于 2019-12-04 01:43:05
问题 Weird problem here, i use this command to capture my webcam through ffmpeg (through cmd on windows): ffmpeg -y -t 300 -rtbufsize 1024M -f dshow -i video="Lenovo EasyCamera" -c:v libx264 -preset veryslow -crf 25 Desktop.mkv and everything works fine. But when i try the very same command through python as a subprocess it fails. Here's the python code: from subprocess import Popen cmd = ['ffmpeg', '-y', '-t', '300', '-rtbufsize', '1024M', '-f', 'dshow', '-i', 'video="Lenovo EasyCamera"', '-c:v',

DirectShow introduction material [closed]

送分小仙女□ 提交于 2019-12-03 22:57:41
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . I'm looking for some DirectShow introduction material. Can you please point me to some (web-enabled) presentations\ books\ sites etc.?