directshow

Getting video width height from RTP Packets or Rtsp Server

醉酒当歌 提交于 2019-12-07 13:44:56
问题 I have to get stream video [ which is from rtsp server] width and height. Third party servers give the following info at RTSP DESCRIBE REQUEST: One RTSP server give me width-height Server Response: RTSP/1.0 200 OK .... Content-Type: application/sdp Content-Length: 376 a=x-dimensions:1280,1024 // GET WIDTH HEIGHT .... a=x-dimensions:1280,1024 But the other does not give me width/height info.... It seems that it supports ONVIF... Server Response: RTSP/1.0 200 OK x-Accept-Dynamic-Rate: 1 ...

How do I inject custom audio buffers into a DirectX filter graph using DSPACK?

时光怂恿深爱的人放手 提交于 2019-12-07 12:09:00
问题 I am using Delphi 6 with DSPACK to do several operations involving audio and DirectX. I have the "input" side figured out where I assign one of the enumerated audio input devices to a TFilter object and connect that filter to a TSampleGrabber object and that gives me the audio buffers I need to send audio to Skype. It is the logical inverse of that graph that I need to figure out. I receive audio buffers from Skype via a socket. I need to create a graph that has a filter that would be the

Alternatives to DirectShow for video capture on Windows [closed]

陌路散爱 提交于 2019-12-07 07:41:38
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . I am looking at updating a program that currently uses DirectShow for video capture. While DirectShow seems to work well, I was wondering if there were any more powerful or up to date SDKs or APIs that I should look into. Some features that would be helpful would be ones that will: Provide a consistent framerate

WPF Control issues

匆匆过客 提交于 2019-12-07 06:56:27
I am facing one issue in which WPF application unable to update the progress bar even the button on the wpf window stop glowing untill i move the window then everything is fine. I have try to call InvalidateRect everytime i update the progress bar which actually generate the WM_PAINT message but doesn't solve the issue. This issue is random some time happend some time doesn't happend. My application is using DirectShow at the backened with Enhanced Video Rendering for video rendering. If i replace the Enhanced Video Renderer with VMR everything works fine. I will appreciate if any one can help

How to eliminate 1 second delay in DirectShow filter chain? (Using Delphi and DSPACK)

被刻印的时光 ゝ 提交于 2019-12-07 04:36:20
问题 I have a Delphi 6 Pro app that uses the DSPACK component library to send audio to Skype from the system's preferred audio input device. I am using a TSampleGrabber component to tap into the Filter Graph chain and then send the audio buffers to Skype. The problem is that I am only getting audio once a second. In other words, the OnBuffer() event for the TSampleGrabber instance only fires once a second with a full second's worth of data in the Buffer parameter. I need to know how to modify my

Get/set video resolution when capturing image

纵然是瞬间 提交于 2019-12-07 02:30:42
I'm capturing images from my webcam with some code that mainly bases on this: Using the Sample Grabber . Here I only get the default resolution of 640x480 while the connected camera is able to show more (other capture applications show a bigger resolution). So, how can I: retrieve the list of available resolutions set one of these resolutions so that the captured image comes with it? Roman R. IAMStreamConfig interface lists capabilities and lets you select resolution of interest. enumerating media types on an unconnected yet pin will list you specific media types (amd resolutions) the camera

GeForce Experience share feature generates whitelist errors and slows performance

安稳与你 提交于 2019-12-06 16:54:59
I'm developing an application which is previewing video feeds from a capture card and/or a webcam. I've noticed a lot of errors in my console that look like: IGIESW [path to my.exe] found in whitelist: NO IGIWHW Game [path to my.exe] found in whitelist: NO These repeat each time I try to activate a preview window or switch the source feed I'm trying to preview. It actually takes a few seconds each time and it really kills the responsiveness of my application. I'm also seeing a similar slowdown in other applications which are previewing and switching between sources. I have two nearly identical

How to run/start a thread at a given time using Media Foundation?

微笑、不失礼 提交于 2019-12-06 15:11:54
问题 I am looking for to start a thread at a specified time with Media Foundation. I know that in DirectShow there is a function called by IMediaFilter where tStart is the time value of the reference clock.: Interface::HRESULT Run(REFERENCE_TIME tStart); But in Media Foundation there is no such function that will run or start a thread with a time as a parameter. Is there a solution to do this in Media Foundation? 回答1: Neither DirectShow or Media Foundation have functionality that matches the

Pixel modifying code runs quick in main app, really slow in Delphi 6 DirectShow filter with other problems

谁说胖子不能爱 提交于 2019-12-06 14:15:02
I have a Delphi 6 application that sends bitmaps to a DirectShow DLL in real-time, 25 frames a second. The DirectShow DLL is my code too and is also written in Delphi 6 using the DSPACK DirectShow component suite. I have a simple block of code that goes through each pixel in the bitmap modifying the brightness and contrast of the image, if a certain flag is set, otherwise the bitmap is pushed out the DirectShow DLL unmodified (push source video filter). The code used to be in the main application and then I just moved it into the DirectShow DLL. When it was in the main application it ran fine.

Webcam DirectShow Properties Page in Python

末鹿安然 提交于 2019-12-06 13:30:20
I'm working on a windows Python 2.7 application that needs to communicate with many different USB webcams. I have been using OpenCV, but for some scientific webcams, the default frame rate, capture format, etc. aren't detected and I get only a blank image. An external program that can open DirectShow properties pages can fix this in my program, but I'd like to have this feature in my application. I have tried one available Python library to do this: VideoCapture (http://videocapture.sourceforge.net/). While this opens property pages, it doesn't allow changing any device settings ("Error