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
New version of BGRABitmap
by
circular
[
Today
at 05:18:09 pm]
Threads - stringlist and ...
by
Warfley
[
Today
at 05:07:59 pm]
first generic attempt
by
Paolo
[
Today
at 04:59:25 pm]
Best way to delete an ins...
by
Handoko
[
Today
at 04:46:46 pm]
Bluetooth on Raspberry, d...
by
pascalbythree
[
Today
at 04:21:35 pm]
Are We Dead Yet?
by
Joanna
[
Today
at 04:09:25 pm]
Online Package Manager
by
GetMem
[
Today
at 03:54:17 pm]
Non-local goto example ne...
by
alpine
[
Today
at 01:56:19 pm]
Can't load because <x> de...
by
marcov
[
Today
at 01:23:43 pm]
Hole punching - Step by S...
by
nummer8
[
Today
at 12:04:20 pm]
Providing *.deb files for...
by
TRon
[
Today
at 11:49:40 am]
Insert variant array to e...
by
TRon
[
Today
at 11:36:03 am]
Load local HTML file into...
by
c4p
[
Today
at 10:27:28 am]
LAMW - simple esc/POS pri...
by
Mongkey
[
Today
at 02:46:21 am]
ZenGL +android + MacOS Co...
by
Seenkao
[
Today
at 02:34:38 am]
[SOLVED] Using high inste...
by
lagprogramming
[May 27, 2023, 07:50:48 pm]
LAMW - default manifest r...
by
jmpessoa
[May 27, 2023, 07:25:21 pm]
Improvements in rtl/objpa...
by
PascalDragon
[May 27, 2023, 06:35:26 pm]
Optimization of for loops...
by
lagprogramming
[May 27, 2023, 03:56:09 pm]
How to download a file fr...
by
maurobio
[May 27, 2023, 02:58:43 pm]
Solved- TSQLQuery.ExecSQL...
by
br4d
[May 27, 2023, 02:26:56 pm]
[Solved] Help with spellc...
by
Espectr0
[May 27, 2023, 12:04:11 pm]
[SOLVED] How to get recei...
by
cdbc
[May 27, 2023, 10:04:41 am]
Reading MAC address of Ac...
by
Jurassic Pork
[May 27, 2023, 07:56:41 am]
LAMW - How to build kitka...
by
jmpessoa
[May 27, 2023, 12:39:35 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: pl_win_dspack: SampleGrabber not working (Read 379 times)
Dzandaa
Jr. Member
Posts: 99
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: 2457
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: 1203
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
Jr. Member
Posts: 99
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