I'm trying to get a screen capture of a web page with a flash object in it. The page I'm trying to render is http://www.swellinfo.com/surf-forecast/san-jose-guatemala.html, specifically the swell flash object. I'm loading the page in a QWebView in Xvfb using the Ghost.py framework. Any ideas on how to fix this?
Asked
Active
Viewed 508 times
1 Answers
1
Many screen-captures have problems with hardware accelerated windows, so try to disable hardware accelleration when capturing.

mata
- 67,110
- 10
- 163
- 162
-
Would hardware acceleration be in issue with no GPU? – nathancahill Jun 29 '12 at 19:39
-
You're right, with Xvfb this probably doesn't matter. Which settings do you use to start Xvfb? It starts with a screen mode of `1280x1024x8` per default... If I start it with something like `Xvfb :1 -screen 0 640x480x24` I can take a shot of a QWebView with flash without problems. – mata Jun 30 '12 at 08:00
-
I believe the 8-bit depth was causing the problem. Switched to x24 and everything renders fine. Thanks! – nathancahill Jul 01 '12 at 01:42