Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Graphics and Multimedia
»
DirectX
»
pl_win_dspack: SampleGrabber not working
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
When is it useful for a p...
by
Hansvb
[
Today
at 09:15:13 pm]
TA Chart Axes visibility ...
by
Nicole
[
Today
at 08:27:54 pm]
new feature for IDE
by
n7800
[
Today
at 08:20:14 pm]
Can /my/ AI help me with ...
by
440bx
[
Today
at 07:28:37 pm]
Read/Parse PDB file to ge...
by
cdbc
[
Today
at 07:19:28 pm]
SynEdit auto End of line ...
by
eldonfsr
[
Today
at 05:02:39 pm]
Connecting to AzureSQL
by
Zvoni
[
Today
at 03:24:06 pm]
Scripts to generate ofici...
by
robert rozee
[
Today
at 03:00:27 pm]
Transparent form
by
mav
[
Today
at 02:52:58 pm]
FPC Unleashed (inline var...
by
Thaddy
[
Today
at 01:55:23 pm]
[beyond fixing]FPGMAP acc...
by
Thaddy
[
Today
at 01:13:34 pm]
Hint tools gives wrong hi...
by
Nicole
[
Today
at 01:11:47 pm]
[Solved] Scrollable, sing...
by
MathMan
[
Today
at 01:00:08 pm]
text color visible
by
Paolo
[
Today
at 12:25:06 pm]
Error: -macosx_version_mi...
by
Thaddy
[
Today
at 11:59:25 am]
Stack overflow detection
by
Khrys
[
Today
at 11:56:27 am]
Can I get the position an...
by
wp
[
Today
at 11:26:26 am]
HTTP2 Support
by
valdir.marcos
[
Today
at 10:10:34 am]
How to compare floating p...
by
Khrys
[
Today
at 07:21:17 am]
Lazarus and FreePascal on...
by
shayneoneill
[
Today
at 05:51:48 am]
SYnEdit lose cursor
by
eldonfsr
[
Today
at 03:31:46 am]
IDE: Property editor does...
by
Raskaton
[
Today
at 01:24:59 am]
How to view the TODO list...
by
n7800
[May 12, 2026, 10:41:05 pm]
Qt does not position form...
by
systemgvp
[May 12, 2026, 09:56:34 pm]
Gtk3 widgetset - call for...
by
zeljko
[May 12, 2026, 09:44:13 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: pl_win_dspack: SampleGrabber not working (Read 3766 times)
Dzandaa
Hero Member
Posts: 531
From C# to Lazarus
pl_win_dspack: SampleGrabber not working
«
on:
April 18, 2023, 04:11:31 pm »
Hi,
I tried to compile SampleGrabber from pl_win_dspack on Win64
The video play fine, but the Snapshot does nothing.
The Snapshot works when I change the TVideoWindow to vmVMR mode, but the program crashes on exit.
Any Idea?
Thank you.
Logged
Regards,
Dzandaa
avra
Hero Member
Posts: 2586
Re: pl_win_dspack: SampleGrabber not working
«
Reply #1 on:
April 20, 2023, 08:38:25 pm »
I have found out that dspack already exists as native Lazarus component, so I will probably kick it out of the next ct4laz release.
Anyway, you can try to uninstall pl_win_dspack and install original version from
https://github.com/TheBlackSheep/DSPack-Lazarus
If problem does not go away, I suggest you to open a bug report in original repo.
Logged
ct2laz
- Conversion between Lazarus and CodeTyphon
bithelpers
- Bit manipulation for standard types
pasettimino
- Siemens S7 PLC lib
af0815
Hero Member
Posts: 1409
Re: pl_win_dspack: SampleGrabber not working
«
Reply #2 on:
April 21, 2023, 07:49:50 am »
I have concated the versions of
Clootie -> MS DirectX 9.0 SDK =
http://www.clootie.ru/fpc/index.html
The BlachSheep -> DSPack - Lazarus version of the progdigy DSPack DirectShow Multimedia components =
https://github.com/TheBlackSheep/DSPack-Lazarus
Mike.Cornflake -> lazarusvideoutilities =
https://sourceforge.net/projects/lazarusvideoutilities/
Original it was from clootie the and prodigy. But i found some patches, extensions and put all together in the repos. There is a branch called WIP_Andi there is some doku in TEX format colleted about the DirectShow. Because i will never use pl_* Packages.
Quote
The video play fine, but the Snapshot does nothing.
For this a sample is needed, because i work with snapshots often and see only a problem if the camera/source change the format of the datastream. And such a format change must be handled correct.
«
Last Edit: April 21, 2023, 07:57:57 am by af0815
»
Logged
regards
Andreas
Dzandaa
Hero Member
Posts: 531
From C# to Lazarus
Re: pl_win_dspack: SampleGrabber not working
«
Reply #3 on:
April 22, 2023, 12:24:17 pm »
Thank you very much.
I've found an alternative solution by copying the TVideoWindows canvas to a TBitmap an then save the TBitmap to a file.
B->
Logged
Regards,
Dzandaa
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Graphics and Multimedia
»
DirectX
»
pl_win_dspack: SampleGrabber not working
TinyPortal
© 2005-2018