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
1
vote
1 answer

How to take snapshot and save to JPEG from webcam using DSPack?

Using DSPack, Delphi XE I need to take a snapshot from a webcam and allow a preview before which the user is allowed to save to JPEG file. How can this be done (code)?
Steve F
  • 153
  • 2
  • 9
1
vote
2 answers

Capture images from a webcam in delphi

I am looking for a way to capture images from my webcam using directshow, preferably I want to use HD resolutions if possible, and avoid CPU spikes at 60-100%. can someone shoot me in the right direction on how to do this? I tried using DSPack, but…
Plastkort
  • 957
  • 1
  • 26
  • 40
1
vote
1 answer

DSPack, Citrix and SetSyncSource()

I using Delphi XE and DSPack 2.3.3. I'm maintaining a desktop application with Webcam capture. The user is able to capture pictures of visitors and documents. Everything is working fine. One of our largest customers is moving to Citrix 7.13 and the…
Clément Doss
  • 13
  • 1
  • 3
1
vote
1 answer

directshow, insert text scrolling and image bmp in graph

I use dspack for free pascal, I created a graph in GraphEdit, now I want to put in the video of the scrolling text and image bmp fixed. SampleGrabber does this? or should I use the DMO filter? I seek a useful tip, to continue my work. I must do…
1
vote
2 answers

Delphi: Play mp4 file using DSPack

I have been playing around with DSPack, it can play avi and wmv files, but it is not playing mp4 files. i have installed ffdshow codec but still it wont play any other format. I read somewhere that i need to use ffdshow filter, but there is very…
Junaid Noor
  • 474
  • 9
  • 24
1
vote
1 answer

How to initialize a TFilter with a known Video Capture source without using TSysDevEnum.GetMoniker?

Is it possible to create/initailize a TFilter object with a known Video Capture source without using TSysDevEnum.GetMoniker(...)? The Video Capture Source's name and other details are already known and can be obtained by GraphEdit Filter Browser.…
ssh
  • 943
  • 1
  • 14
  • 23
0
votes
1 answer

When do I need to worry about locking a DirectShow filter's shared state?

I have a Delphi 6 DirectShow push source video filter that uses the DSPACK component library. What aspects of the filter require me to lock the filter state before performing certain operations? For example, in my filter's FillBuffer() method do I…
Robert Oschler
  • 14,153
  • 18
  • 94
  • 227
0
votes
1 answer

Why am I getting successive media samples from a DirectShow capture filter with the same sample time?

I have a DirectShow application written in Delphi 6 using the DSPACK component library and running on Windows XP. At the top of my filter graph is an audio capture filter. The capture filter is assigned to my VOIP phone and has a sample grabber…
Robert Oschler
  • 14,153
  • 18
  • 94
  • 227
0
votes
1 answer

What could cause a DirectShow push source filter to push out data faster than expected?

I have a DirectShow push source filter and a DirectShow simple audio mixer filter both written in Delphi 6 with the help of the DSPACK component library. In my app, I build a filter graph manually and for the pin connections I use…
Robert Oschler
  • 14,153
  • 18
  • 94
  • 227
0
votes
1 answer

Is there an automatic way to protect against "stale" DirectShow interface references?

I just had a long debug session that was caused by a "stale" interface reference in my Delphi 6 DirectShow application that uses the DSPACK component library. As you know there are some operations that need to be done when the Filter Graph is…
Robert Oschler
  • 14,153
  • 18
  • 94
  • 227
0
votes
1 answer

Other causes for DirectShow "no combination of intermediate filters could be found" errors?

I have a Delphi 6 application that uses the DSPACK DirectShow component library. Currently I am getting the error "no combination of intermediate filters could be found" when I attempt to connect the Capture pin on an audio capture device to the…
Robert Oschler
  • 14,153
  • 18
  • 94
  • 227
0
votes
1 answer

Do I need a unique class ID for each DirectShow filter instance if a filter has persistent local data?

I have written a push source filter that I use privately in my Delphi 6 application. The application uses the DSPACK DirectShow component library. By privately I mean I simply add instances of the filter directly to my Filter Graph, instead of the…
Robert Oschler
  • 14,153
  • 18
  • 94
  • 227
0
votes
0 answers

DSPack and video antialiasing

i using DSPack to play video files. Unfortunately lt has no any smooting when TVideoWindow resizing. Is there a way in DSPack to apply some resampling filter (like Lanczoc, Hann, etc) to smooth the playing video?
Tigero
  • 21
  • 2
0
votes
1 answer

DSPack ability to move to the middle of a video

I have built a mediaplayer application based on the PlayWin demo that comes with DSPack. I have built this in Delphi 10.4 Sydney. The primary file type I am focussing on is *.mp4. All this is working fine. I would like to provide the capability…
0
votes
1 answer

Using Dspack grab a single image

How to use DSpack to grab a single image from a webcam?? Is it possible to use SampleGrabber? I am coding in delphi, I tryed every thing but unsuccessfully thanks for help