Recent

Author Topic: Is it possible to Capture video and modify it before display in Windows (SOLVED)  (Read 7334 times)

Dzandaa

  • Sr. Member
  • ****
  • Posts: 394
  • From C# to Lazarus
Hi,

I use DSPack from Online Package Manager.

B->
Regards,
Dzandaa

af0815

  • Hero Member
  • *****
  • Posts: 1380
Ok, this can made differences. As far as i see it is a converted version from pl. I have years ago spent a lot of time to find all puzzle parts for me and used it for years.
regards
Andreas

Dzandaa

  • Sr. Member
  • ****
  • Posts: 394
  • From C# to Lazarus
Hi,

I made one last tes:

Installed the 32 Lazarus compiler on Windows 10 64Bits with packages DSPack and DirectX.

I have the same problem.

Code: Pascal  [Select][+][-]
  1.   IBF := Filter as IBaseFilter;  // Here error: "Invalid typecast"
  2.  

So, I really stop to play with Video on Windows!!! Long live Linux :)

B->

Regards,
Dzandaa

af0815

  • Hero Member
  • *****
  • Posts: 1380
Make one try and use my GitHub repro (Branch wip_andi) instead of the OPM one for both packages. It.interesting for me, if this work. I use the win32 Lazarus and it works out if the box for years for me.
regards
Andreas

Dzandaa

  • Sr. Member
  • ****
  • Posts: 394
  • From C# to Lazarus
Hi,
@Andreas:


https://github.com/afriess/LazarusVideoUtilities

I installed this version of DSPack in Windows 10 64 bits for lazarus 32bits with the same result.

I also noticed that my video C# programs using AForge and Accord work on Windows 7 64bits pro, but no longer work on Windows 10 64-bit.

B->
Regards,
Dzandaa

Dzandaa

  • Sr. Member
  • ****
  • Posts: 394
  • From C# to Lazarus
Hi,

I finally found the source of the problem on Windows 10.
Not in Lazarus, but in the level of a security program in Windows 10
that prevented access to the camera and microphone.
I rarely use Windows 10 (too much spywares  :D) , it's just a backup machine.
Here is a new version of the VideoGrabber DX9 with BGRABitmap.

On Windows 10, you have to change
Project Options->Application->UI Access to false
Project Options->Application->Execution Level to "as invoker"

Many thanks to the helpers :)

B->



Regards,
Dzandaa

af0815

  • Hero Member
  • *****
  • Posts: 1380
For Cameras mit higher resolution i have found no soloution, only with UWP. But this is Visual Studio only and makes more problems with the restrictions of UWP. Im my software i normal no user to click on the rigth buttons. It is for automation machines, so we switched to linux too :-)

Edit: TRichView is a cross plattform and well tested by me. For Lazarus you have to buy the version with source.  Sergey is very fast in answers and fixing things. So it will be a good source. ANd the price is ok - and no fee per installation !! Only per developer.
« Last Edit: June 19, 2024, 01:45:57 pm by af0815 »
regards
Andreas

Dzandaa

  • Sr. Member
  • ****
  • Posts: 394
  • From C# to Lazarus
Hi

@Andreas:

The Camera I use for my 3D Scanner is  1280x720 so, it's O.K. for me :)

But it's effectively easier in Linux.

B->
Regards,
Dzandaa

af0815

  • Hero Member
  • *****
  • Posts: 1380
But it's effectively easier in Linux.
+1
regards
Andreas

 

TinyPortal © 2005-2018