Questions tagged [dspack]

DSPack is a set of Components and class to write Multimedia Applications using MS Direct Show and DirectX technologies. DSPack 2.3 is designed to work with DirectX 9 on Win9X, ME, 2000, and Windows XP operating systems using Delphi 5,6,7 and BCB6.

It is an easy to use component set that lets you create DirectShow applications in Delphi way. For simple graphs, you just set properties in design time and run the graph. Sometimes all you need is one line to run your graph.

FilterGraph1.Play;

You can even use RenderFile method to create a basic media player.

FilterGraph1.RenderFile('Eine Kleine Nacht Muzik.mp3', Nil);
FilterGraph1.Play;
59 questions
14
votes
3 answers

How is SkypeKit different from programming with the Skype API?

I have a lot of experience writing Delphi 6 Pro apps using the Skype API. I don't use the COM object but instead I interface directly with the Skype client using the SendMessage() system. My current application acts as a full duplex audio proxy…
Robert Oschler
  • 14,153
  • 18
  • 94
  • 227
7
votes
1 answer

How to run video files continuously in Delphi?

I am using Delphi 5. I want to know when avi file play is completed using 'TFilterGraph'. I want to run number of avi file one after another automatically. So I have downloaded DSPack and used 'TFilterGraph' and 'TVideoWindow' component. avi file…
Vishal Tiwari
  • 739
  • 2
  • 12
  • 28
5
votes
1 answer

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

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…
Robert Oschler
  • 14,153
  • 18
  • 94
  • 227
5
votes
0 answers

dspack, pushsource how to use it?

I saw some topic, like How to use/install custom Directshow filter to register a filter, but no code how to use it. Can anybody show a sample how to actual use that filter (pushsource, pushdesktop) to save into AVI?
John Smith
  • 6,129
  • 12
  • 68
  • 123
3
votes
1 answer

DirectShow render window shows black if graph started when host Tab is not visible (TVideoWindow)

I have a Delphi 6 application that uses the DirectShow DSPACK component suite. It has a TVideoWindow component that will render the images from a filter graph. The TVideoWindow component is on a Tab in a page component. If the Tab is visible when…
Robert Oschler
  • 14,153
  • 18
  • 94
  • 227
3
votes
1 answer

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

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…
Robert Oschler
  • 14,153
  • 18
  • 94
  • 227
3
votes
1 answer

DSPack - How to get the default device for sound output?

In Windows 7 there are multiple playback devices. Example (on my laptop): Speakers and Dual Headphones Independent Dual Headphones SPDIF (Digital Out via HP Dock) The situation is thus: I am writing an app that lets the user choose the output device…
user896166
3
votes
1 answer

Delphi divx player compatible with windows vista

I usualy use DSpack or DCAVIPlayer components to play divx avi videos in delphi 5.0. Those two components are not compatible with windows vista. Both give run time error when you try to play the video. Any body know a vista compatible delphi 5.0…
3
votes
1 answer

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

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…
ssh
  • 943
  • 1
  • 14
  • 23
2
votes
1 answer

My DirectShow filter crashes Skype 5.x during a call. Runs fine in 4.x, Graph Edit and other programs

I have a DirectShow push source video filter written in Delphi 6 with the DSPACK component library. The filter runs fine during a Skype call as long as the Skype client utilizing the filter is not 5.x or newer. With 5.x the Skype client gets…
Robert Oschler
  • 14,153
  • 18
  • 94
  • 227
2
votes
0 answers

How do I arbitrate stream messages across input pins in my DirectShow multi-input audio filter?

I am implementing a DirectShow filter that does simple audio mixing between multiple input pins and delivers the merged data to singular output pin (many-to-one). I've got the audio data mixing figured out, but I'd like some opinions on what to do…
Robert Oschler
  • 14,153
  • 18
  • 94
  • 227
2
votes
1 answer

Is there a simple DirectShow filter that can mix audio together of the exact same format?

I have a DirectShow application written in Delphi 6 using the DSPACK component library. I want to be able to mix together audio coming from the output pins from multiple Capture Filters that are set to the exact same media format. Is there an open…
Robert Oschler
  • 14,153
  • 18
  • 94
  • 227
2
votes
2 answers

Correct way to handle a NULL ppPins parameter in DirectShow Filter's EnumPins method (Delphi/DSPACK)?

I have a custom push source filter written in Delphi 6 using the DSPACK DirectShow component library on a Windows XP/32 machine. During coding I ran into a problem with range check errors occurring in the BaseClass unit belonging to DSPACK…
Robert Oschler
  • 14,153
  • 18
  • 94
  • 227
2
votes
1 answer

How do I construct a private aka unregistered DirectShow filter properly (have source code)?

I have created a push source filter using Delphi 6 Pro and the DSPACK DirectShow component library. I want to use the filter privately so I will not be creating an AX file for a DLL. Instead I want to create the Filter directly. I found some…
Robert Oschler
  • 14,153
  • 18
  • 94
  • 227
2
votes
2 answers

How can I directly embed a DirectShow Push Source filter in an EXE?

I have a Delphi 6 program that receives audio from an external program via a socket. Now I want to feed that audio to a DirectShow filter graph I create that routes that audio to different output filters on the PC. I am using DSPACK for my…
Robert Oschler
  • 14,153
  • 18
  • 94
  • 227
1
2 3 4