Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

Screencasting Ultra VNC Mirror Driver

Post Reply
terminus
Posts: 3
Joined: 2007-11-14 21:29

Screencasting Ultra VNC Mirror Driver

Post by terminus »

Hello!

Please move this thread to a better subforum. Developer forum would be great, thanks.

I know about UltraRecorder -- basically I write an application that uses the Mirror driver in the same way.

I want something more simple. I want to use the driver from my application to write to a shared memory variable. I want to dump to that location RAW YUV frames taken from the Mirror driver.

I guess the Mirror driver uses YUV anyway, if not -- I'll make some re-encoding.

The thing is -- I have *NO* ideea whatsoever how to interface the Mirror driver. I have never done anything like that in the past. Any help, documentation, samples -- anything is greatly appreciated.

I need to know something very simple. How to interface the driver (what function -- how to do it) so that I fill a buffer with RAW data. It is as simple as that -- RAW data the Mirror driver uses anyway -- no processing -- just fill a buffer with it. What function should I call?

Thanks in advance for all your help!

PS: the small program that will result out of this will be Open Source and will allow free live real time streaming on the Internet (in RTMP format -- viewable from flash client, in browser) from the desktop.

/edit -- I understand that the Mirror driver cannot be used with 3D applications. I planned to use it with an OpenGL application. I can force it to use a software overlay instead of a hardware one, but it still doesn't work. Any workaround for this? Anyway -- help is greatly appreciated in whatever form, not just related to the mirror driver.
Last edited by terminus on 2007-11-14 22:13, edited 2 times in total.
terminus
Posts: 3
Joined: 2007-11-14 21:29

Re: Screencasting Ultra VNC Mirror Driver

Post by terminus »

I am also interested in other methods UltaVNC uses for handling the screen. What is for exemple screen pooling?
Eugene Sukhodolin
8
8
Posts: 12
Joined: 2004-11-15 13:11
Location: Tomsk, Russia
Contact:

Re: Screencasting Ultra VNC Mirror Driver

Post by Eugene Sukhodolin »

terminus wrote:The thing is -- I have *NO* ideea whatsoever how to interface the Mirror driver. I have never done anything like that in the past. Any help, documentation, samples -- anything is greatly appreciated.

I need to know something very simple. How to interface the driver (what function -- how to do it) so that I fill a buffer with RAW data. It is as simple as that -- RAW data the Mirror driver uses anyway -- no processing -- just fill a buffer with it. What function should I call?
You can take a look at the documentation of the DFMirage driver, which is very similar to the one used by UltraVNC:
http://www.demoforge.com/sdk/mirage-sdk-1.1.68.0.zip

It does describe the API, the format of the output buffer for direct access, and other related things.

We don't mind to give away a permission to use the driver in your own application provided that it's free for all and released under an open-source license. Drop me a private message should you have any questions.
Post Reply