Hello,
Is there a way to get some sort of stream (shared memory, named pipe, even tcp...) of the raw "video" output of virtualbox?
There are windows api methods to get an image from a window handle, but they don't work with virtual box. And if you manage to get them to work they're really flaky.
For example turning Aero on/off causes a variety of problems (you only get black images, or corrupted data...), and there's a lot more...
Another problem is Windows' DPI scaling. Once its != 100% the "window" (hwnd) gets scaled, so the image gets scaled as well; and that obviously causes information to get lost through interpolation (and I can't have that )
I need to get the original, raw output that vbox renders.
Are there any ways to do this?
Getting unscaled video output
-
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Mostly XP
Re: Getting unscaled video output
With a few caveats which probably don't apply to you, there's no such thing as a raw video stream. A graphical display isn't a stream, it's a memory mapped device.
You'd have to give details on what didn't work when you tried grabbing a screen shot. I do it all the time, both from the host and from inside the guest, and it works for me.
You'd have to give details on what didn't work when you tried grabbing a screen shot. I do it all the time, both from the host and from inside the guest, and it works for me.