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
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Help basic Image Quality ...
by
Thaddy
[
Today
at 12:46:01 pm]
const declaration
by
DonAlfredo
[
Today
at 11:45:36 am]
H2Pas can't handle EXP CA...
by
Zvoni
[
Today
at 10:28:37 am]
CADSys4 3D.
by
zamtmn
[
Today
at 09:58:22 am]
TImage colors incorrect
by
Thaddy
[
Today
at 09:26:22 am]
Any RequestOpenDirectory ...
by
eolandro
[
Today
at 08:50:30 am]
Add additional Components...
by
cdbc
[
Today
at 07:03:25 am]
Creating a SDL child wind...
by
TRon
[
Today
at 06:17:08 am]
String replace or add ' ...
by
Thaddy
[
Today
at 06:14:41 am]
File operations blocking ...
by
atlatl
[
Today
at 05:44:51 am]
Nested declarations insid...
by
440bx
[
Today
at 04:26:28 am]
[solved] triple click
by
dbannon
[
Today
at 01:46:22 am]
SDL2 image rotation Probl...
by
Fred vS
[
Today
at 01:13:15 am]
SetPart ?
by
BubikolRamios
[January 15, 2025, 11:32:19 pm]
TRichMemo High Lighted te...
by
What I can do
[January 15, 2025, 11:20:37 pm]
Lazarus/FPC Flatpak appli...
by
Chronos
[January 15, 2025, 09:56:54 pm]
The mouse and using ptcgr...
by
TBMan
[January 15, 2025, 09:15:40 pm]
SDL2: Runtime Error 216 o...
by
TRon
[January 15, 2025, 07:44:59 pm]
Iterator on non-existing ...
by
Warfley
[January 15, 2025, 05:45:03 pm]
Batch "publish" of all pr...
by
MarkMLl
[January 15, 2025, 05:42:45 pm]
[solved] Setting the init...
by
TBMan
[January 15, 2025, 04:28:08 pm]
MQTT Client
by
cdbc
[January 15, 2025, 03:06:25 pm]
Issue getting and setting...
by
d7_2_laz
[January 15, 2025, 02:28:48 pm]
Problem with cell comment
by
kjteng
[January 15, 2025, 02:17:57 pm]
[SOLVED]Troubles when con...
by
bytebites
[January 15, 2025, 01:15:16 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: pl_win_dspack: SampleGrabber not working (Read 2642 times)
Dzandaa
Sr. Member
Posts: 404
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: 2532
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: 1381
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
Sr. Member
Posts: 404
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