directshow

Video Playback on Win7/Vista [dshow, dmo]

爷,独闯天下 提交于 2019-12-13 06:25:37
问题 I have a video clip that has some issues on default install of Win7: video plays without sound. The video clip comes from a mobile phone, it's a 3gp (mp4) file format with H264 video and AMR audio. I wanted to find out what I can do to add playback support for AMR audio on that machine. VLC or klite/ffdshow codec packs are out of the question here. I tried to use AMR dshow decoder from MonoGram but it doesn't solve the problem. When I tried to see the graph in MonoGram graph studio it doesn't

Windows Audio and Video Capture Software Paradigm

时光毁灭记忆、已成空白 提交于 2019-12-13 06:16:00
问题 I am writing a program that reads from multiple audio and video devices and writes the data to suitable containers (such as mpeg). I have wrote the code in Linux, but now I have to write another version for windows as well. This is how I wrote it in Linux: initialize the devices (audio: ALSA, video: V4L2) get the file descriptors mainloop select on file descriptors respond to the proper device Unfortunately my expertise is only for Linux and I have never used windows SDK. I don't know what

Video playback detection with Win32 API?

一曲冷凌霜 提交于 2019-12-13 06:15:33
问题 is there a way to detect if video playback is running or not with Win32 API? For audio, I can detect playback processes by: enumerate playback devices with MMDeviceEnumerator and, for each device, enumerate sessions with IaudiosessionManager. I'd like to do the similar thing for video playback. Ideally, a method that works for any application, but if it is impossible, a method that works for specific framework (DirectShow, Media Foundation, etc.) is ok. Thanks. 来源: https://stackoverflow.com

DirectShow Filter: Transform

假如想象 提交于 2019-12-13 05:09:27
问题 Is it correct that the filters transform method gets called whener one of the input pins sends data? If yes: How do I determine in the filter transform method which input pin it is? 回答1: There is no built in way to do this. If your filter has multiple input pins, and each pin provides a distinct media type, you can figure out which pin by using the media type. Another way to do this may be to assign a unique id to each instance of your input pin and pass this on to your transform function.

How to set IAMStreamConfig file in DirectShowLib

元气小坏坏 提交于 2019-12-13 04:56:39
问题 I am using DirectShowLib in my C# XNA project to show webcam video. I have downloaded the complete code from the following link. https://github.com/Iridio/XNADirectShowWebCam I am using Logitech 1080p webcam, but in my program output i am not getting the HD result. I google it and found various results. Many experts are saying to edit IAMStreamConfig method to set the resolution and Frame rate. I am unable to understand how to edit it. Kindly guide me. Thanks Aftab 回答1: Your webcam is

How do I check if my DirectShow Renderer filter is being used?

僤鯓⒐⒋嵵緔 提交于 2019-12-13 04:41:12
问题 In my DirectShow project I create a filter (derived from CBaseVideoRenderer ) to render to a block of memory. This works in most cases perfectly well, with me adding the filter mGraphBuilder->AddFilter(pInterfaceInfo, MemoryRendererName); and relying on GraphBuilder to do the rest. However in some cases the graph builder and my filter cannot agree on a common format and it creates a new ActiveMovie window, bypassing my filter. I would like to detect when this occurs so that I know my filter

Capturing a photo on x86 Atom Windows 8, DirectShow

大憨熊 提交于 2019-12-13 04:35:29
问题 I don't have a C background, so pointers seem to be my downfall. Working with a Lenovo Thinkpad tablet running full blown Windows (Atom processor). I ported the sample project DXSnap to vb.net. It works fine on my laptop, but on the tablet I'm getting errors. First error is: Exception Occurred: System.Runtime.InteropServices.COMException (0x80070032). The request is not supported. 2nd error (after closing 1st error): Uninitialized Buffer in BufferCB. I think the main problem is I'm not sure

DirectShow Editing Services on multiple machines in parallel?

試著忘記壹切 提交于 2019-12-13 03:46:04
问题 Is it in any way possible to process at least 1 DShow video project on multiple machines in parallel at the same time for faster rendering or just for fun? In any language? With help of any program? 回答1: The short answer is yes, but it's not a very practical solution Lets say you did manage to create a system that broke a video up across machines for distributed decoding. You first would have to be careful on how you did "break up" the video. You must always start at keyframe and ending right

Does DirectShow allow one to decode virtually any video based on installed codecs?

倾然丶 夕夏残阳落幕 提交于 2019-12-13 03:29:18
问题 I am comparing VFW, MediaFoundation, and DirectShow.. Although VFW is very old and dated, it at least allows a lot of flexibility in encoding and decoding videos because you can choose virtually any encoder/decoder, AFAIK, and you are not limited to a subset of decoders/encoders that only microsoft has chosen. Does DirectShow offer the ability to decode (decompress) multiple video kinds (like vfw) using any chosen codec, or must you only use a subset that microsoft has chosen? Indeed some api

How do I set the properties of a DirectShow Filters

有些话、适合烂在心里 提交于 2019-12-13 02:49:12
问题 Ok I have this 3d tv Transformation Filter. I can easily configure its properties by using GraphEdit, right click on its properties and set whatever I want. Now I want to set the properties automatically by building a Filter Graph in C++. I've read up the Windows SDK documentation and find out that I have to use the IKsPropertySet function (correct me if i'm wrong). I have to use IKsPropertySet::QuerySupported to check whether it support this kind of property or not. And to do that, i have to