[MODULE] Desktop/Window Capture

Share your advanced PureBasic knowledge/code with the community.
chris319
Enthusiast
Enthusiast
Posts: 782
Joined: Mon Oct 24, 2005 1:05 pm

Re: [MODULE] Desktop/Window Capture

Post by chris319 »

Well, I tried several graphics-card settings to no avail. Then I swapped in a different graphics card, going from an Nvidia GeForce to an AMD Radeon.

No improvement. Disabling ResizeMovie still changes whether I see any portion of the image at all.
chris319
Enthusiast
Enthusiast
Posts: 782
Joined: Mon Oct 24, 2005 1:05 pm

Re: [MODULE] Desktop/Window Capture

Post by chris319 »

With this line of code I get nothing but black pixels:

Code: Select all

ResizeMovie(1,0,0,640,360)
With this line of code I get a partial image:

Code: Select all

ResizeMovie(1,0,0,MovieWidth(1),MovieHeight(1))
All signs point to ResizeMovie().
chris319
Enthusiast
Enthusiast
Posts: 782
Joined: Mon Oct 24, 2005 1:05 pm

Re: [MODULE] Desktop/Window Capture

Post by chris319 »

I have submitted a Windows bug report for ResizeMovie().

http://www.purebasic.fr/english/viewtop ... =4&t=69296
chris319
Enthusiast
Enthusiast
Posts: 782
Joined: Mon Oct 24, 2005 1:05 pm

Re: [MODULE] Desktop/Window Capture

Post by chris319 »

Chris319, I'm not trying the code, but I have a hunch about it. Maybe your video player uses hardware acceleration?
My video player is the one that comes with PureBasic.
Post Reply