pl_win_dspack: SampleGrabber not working lazarus / 72-DirectX ---------------------------------------------------------------------- Dzandaa · 2023-04-18 14:11 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. ---------------------------------------------------------------------- avra · 2023-04-20 18:38 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. ---------------------------------------------------------------------- af0815 · 2023-04-21 05:49 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. QuoteThe 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. ---------------------------------------------------------------------- Dzandaa · 2023-04-22 10:24 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->