dspack

How to capture frames using Delphi/DSPack without displaying it on TVideoWindow?

这一生的挚爱 提交于 2020-01-13 14:07:33
问题 DSpack has example code to play a DirectShow compatible video device and to capture the video frames simultaneously. A TVideoWindow is attached to the FilterGraph to display the video (Firgure-1). If you remove the TVideoWindow, then the Operating System (Windows) will automatically bring up ActiveMovie and display the video on a separate window (Figure-2). Is there a way to use DSPack to capture video frames without using any of the GUI components and without displaying the video? DSPack

How to capture frames using Delphi/DSPack without displaying it on TVideoWindow?

ε祈祈猫儿з 提交于 2020-01-13 14:07:11
问题 DSpack has example code to play a DirectShow compatible video device and to capture the video frames simultaneously. A TVideoWindow is attached to the FilterGraph to display the video (Firgure-1). If you remove the TVideoWindow, then the Operating System (Windows) will automatically bring up ActiveMovie and display the video on a separate window (Figure-2). Is there a way to use DSPack to capture video frames without using any of the GUI components and without displaying the video? DSPack

Getting stuttering during rendering of my DirectShow filter despite output file being “smooth”

妖精的绣舞 提交于 2019-12-23 03:49:14
问题 I have a DirectShow application written in Delphi 6 using the DSPACK component library. I have two filter graphs that cooperate with each other. The primary filter graph has this structure: Capture Filter with 100 ms buffer size. (connected to) A Sample Grabber Filter. The "secondary" filter graph has this structure. Custom Push Source Filter that accepts audio directly to an audio buffer storehouse it manages. (connected to) A Render Filter. The Push Source Filter uses an Event to control

DSPACK example for converting audio sample rate on the fly?

不羁的心 提交于 2019-12-13 16:59:19
问题 I am using DSPACK with Delphi 6 Pro. I am looking for a good sample that shows how to create a filter graph that will convert the sample rate of an audio stream to a desired format (sample rate, bit depth, and number of channels) in real time. Does anyone know of a good example project that shows how to structure the filter graph with DSPACK to do this? If not with DSPACK, then if you know of a good example or web page that discusses the general DirectX filter graph concepts involved, I can

Getting stuttering during rendering of my DirectShow filter despite output file being “smooth”

大城市里の小女人 提交于 2019-12-08 19:28:31
I have a DirectShow application written in Delphi 6 using the DSPACK component library. I have two filter graphs that cooperate with each other. The primary filter graph has this structure: Capture Filter with 100 ms buffer size. (connected to) A Sample Grabber Filter. The "secondary" filter graph has this structure. Custom Push Source Filter that accepts audio directly to an audio buffer storehouse it manages. (connected to) A Render Filter. The Push Source Filter uses an Event to control delivery of audio. Its FillBuffer() command waits on the Event. The Event is signaled when new audio data

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

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

How to capture frames using Delphi/DSPack without displaying it on TVideoWindow?

老子叫甜甜 提交于 2019-12-06 00:53:49
DSpack has example code to play a DirectShow compatible video device and to capture the video frames simultaneously. A TVideoWindow is attached to the FilterGraph to display the video (Firgure-1). If you remove the TVideoWindow, then the Operating System (Windows) will automatically bring up ActiveMovie and display the video on a separate window (Figure-2). Is there a way to use DSPack to capture video frames without using any of the GUI components and without displaying the video? DSPack forum has some mention about NullRenderer filter but there is no documentation or examples on how to use

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

末鹿安然 提交于 2019-12-05 18:32:40
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 complement to TSampleGrabber. In other words, a TFilter that instead of delivering audio buffers during an

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

怎甘沉沦 提交于 2019-12-05 10:48:29
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 Filter Graph chain so it grabs data from the input device at a faster interval than once a second. If