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
IRC channel
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
SVG thumbnails
by
domasz
[
Today
at 10:22:28 pm]
Question about glibc bug ...
by
PascalDragon
[
Today
at 10:22:15 pm]
Unique Instance Terminate...
by
bobby100
[
Today
at 10:21:37 pm]
[SOLVED] TLabeledEdit.Edi...
by
dsiders
[
Today
at 10:03:40 pm]
Component writing adding ...
by
andrew Bubble
[
Today
at 09:58:44 pm]
CORDIC algorithms
by
MarkMLl
[
Today
at 09:34:57 pm]
Autentication Oracle
by
MarkMLl
[
Today
at 09:18:55 pm]
Virtual Method
by
PascalDragon
[
Today
at 08:51:54 pm]
Lazarus 3.9.9 Variable Wa...
by
Martin_fr
[
Today
at 08:48:26 pm]
Watchlist, order of the w...
by
Martin_fr
[
Today
at 08:13:55 pm]
How to 'Hello world' on l...
by
FramX
[
Today
at 07:39:07 pm]
Difference between TSpeed...
by
Hansvb
[
Today
at 07:29:23 pm]
Lazarus Release Candidate...
by
dedrasta
[
Today
at 07:12:42 pm]
QT5 ide tooltips
by
zeljko
[
Today
at 07:01:18 pm]
(new Topic) i can't inata...
by
Thaddy
[
Today
at 06:12:14 pm]
i can't inatall Dam dialo...
by
wp
[
Today
at 05:55:22 pm]
list of files in director...
by
TRon
[
Today
at 05:51:40 pm]
Compare strange character...
by
cdbc
[
Today
at 05:03:52 pm]
Anyone interested in test...
by
ad1mt
[
Today
at 04:12:03 pm]
Online Package Manager
by
paweld
[
Today
at 04:07:24 pm]
How to stay in the invali...
by
Hartmut
[
Today
at 03:58:41 pm]
How to convert Real to Bi...
by
ad1mt
[
Today
at 03:22:00 pm]
Flock of Birds (boids) Wi...
by
MarkMLl
[
Today
at 02:08:05 pm]
[SOLVED]Bash commands and...
by
johnathan
[
Today
at 11:58:02 am]
[SOLVED] How to detect if...
by
Hartmut
[
Today
at 11:46:07 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: pl_win_dspack: SampleGrabber not working (Read 1095 times)
Dzandaa
Full Member
Posts: 170
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
Dzandaa
avra
Hero Member
Posts: 2483
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: 1265
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
Full Member
Posts: 170
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
Dzandaa
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Graphics and Multimedia
»
DirectX
»
pl_win_dspack: SampleGrabber not working
TinyPortal
© 2005-2018