Screen base address access

Posted: 12-26-2003, 05:02 PM
Hi

I am trying to create a screen capturing application, this app should access
the screen memory compress it and send it through TCP/IP, What is the best
way of getting a direct pointer to the screen memory, Should I use a kernel
filter/function driver????

Any samples/pointers will be appriciated.

ThanX
Nadav.


Reply With Quote

Responses to "Screen base address access"

DemoForge.com
Guest
Posts: n/a
 
Re: Screen base address access
Posted: 12-26-2003, 05:26 PM

Hi, Nadav
> I am trying to create a screen capturing application, this app should
access
> the screen memory compress it and send it through TCP/IP, What is the best
> way of getting a direct pointer to the screen memory, Should I use a
kernel
> filter/function driver????
There is much more reliable way for doing this.
Search Windows DDK for Mirror Display Drivers.

--------------------
Lev Kazarkin
Mirror drivers. Consulting and custom development.


Reply With Quote
Tim Roberts
Guest
Posts: n/a
 
Re: Screen base address access
Posted: 12-27-2003, 03:44 AM
"Nadav" <not@today> wrote:
>
>I am trying to create a screen capturing application, this app should access
>the screen memory compress it and send it through TCP/IP, What is the best
>way of getting a direct pointer to the screen memory, Should I use a kernel
>filter/function driver????
If all you want is a single snapshot, you don't need kernel help at all.
You can use DirectX to get a pointer to the primary display surface.

- Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc
Reply With Quote
Nadav
Guest
Posts: n/a
 
Re: Screen base address access
Posted: 12-27-2003, 09:23 AM
Actually what I am trying to do is to create a screen-capture 'codec' that
will enable streaming the screen over the net, the current codec supplied by
Microsoft gives good compression ratio BUT consumes allot of CPU, My first
concern is that the CPU cost will not be above 10% of the CPU the
compression ratio, is my second priority, I guess I have no other
alternatives but to write a kernel driver...

"Tim Roberts" <timr@probo.com> wrote in message
news:jd3quvkvogcabgaogurnhp6hmr3eqg2jhl@4ax.com...
> "Nadav" <not@today> wrote:
> >
> >I am trying to create a screen capturing application, this app should
access
> >the screen memory compress it and send it through TCP/IP, What is the
best
> >way of getting a direct pointer to the screen memory, Should I use a
kernel
> >filter/function driver????
>
> If all you want is a single snapshot, you don't need kernel help at all.
> You can use DirectX to get a pointer to the primary display surface.
>
> - Tim Roberts, timr@probo.com
> Providenza & Boekelheide, Inc

Reply With Quote
Alexander Grigoriev
Guest
Posts: n/a
 
Re: Screen base address access
Posted: 12-27-2003, 02:45 PM
Have you tried Remote Desktop of WinXP? Works very well even over 64 kbps.

Does your codec _actually _ consume less CPU than MS's, with same
compression ratio?

"Nadav" <not@today> wrote in message
news:%23McpsNGzDHA.2780@TK2MSFTNGP09.phx.gbl...
> Actually what I am trying to do is to create a screen-capture 'codec' that
> will enable streaming the screen over the net, the current codec supplied
by
> Microsoft gives good compression ratio BUT consumes allot of CPU, My first
> concern is that the CPU cost will not be above 10% of the CPU the
> compression ratio, is my second priority, I guess I have no other
> alternatives but to write a kernel driver...
>
> "Tim Roberts" <timr@probo.com> wrote in message
> news:jd3quvkvogcabgaogurnhp6hmr3eqg2jhl@4ax.com...
> > "Nadav" <not@today> wrote:
> > >
> > >I am trying to create a screen capturing application, this app should
> access
> > >the screen memory compress it and send it through TCP/IP, What is the
> best
> > >way of getting a direct pointer to the screen memory, Should I use a
> kernel
> > >filter/function driver????
> >
> > If all you want is a single snapshot, you don't need kernel help at all.
> > You can use DirectX to get a pointer to the primary display surface.
> >
> > - Tim Roberts, timr@probo.com
> > Providenza & Boekelheide, Inc
>
>

Reply With Quote
Nadav
Guest
Posts: n/a
 
Re: Screen base address access
Posted: 12-27-2003, 04:23 PM
Does a mirror device will also reflect changes made as a result of Direct3D
application? will it reflect changes that happen in excusive mode?


"DemoForge.com" <mirrdrv@demoforge.com> wrote in message
news:OWxhM69yDHA.2452@tk2msftngp13.phx.gbl...
>
> Hi, Nadav
>
> > I am trying to create a screen capturing application, this app should
> access
> > the screen memory compress it and send it through TCP/IP, What is the
best
> > way of getting a direct pointer to the screen memory, Should I use a
> kernel
> > filter/function driver????
>
> There is much more reliable way for doing this.
> Search Windows DDK for Mirror Display Drivers.
>
> --------------------
> Lev Kazarkin
> Mirror drivers. Consulting and custom development.
>
>

Reply With Quote
Phil Taylor
Guest
Posts: n/a
 
Re: Screen base address access
Posted: 12-30-2003, 04:15 PM
why do you think it shouldnt consume more than 10%, given that encode is
almost always more expensive than decode?

have you tested with a variety of CPU and memory configs? or do you have a
single sample in your sample set to base that conclusion upon?

"Nadav" <not@today> wrote in message
news:%23McpsNGzDHA.2780@TK2MSFTNGP09.phx.gbl...
> Actually what I am trying to do is to create a screen-capture 'codec' that
> will enable streaming the screen over the net, the current codec supplied
by
> Microsoft gives good compression ratio BUT consumes allot of CPU, My first
> concern is that the CPU cost will not be above 10% of the CPU the
> compression ratio, is my second priority, I guess I have no other
> alternatives but to write a kernel driver...
>
> "Tim Roberts" <timr@probo.com> wrote in message
> news:jd3quvkvogcabgaogurnhp6hmr3eqg2jhl@4ax.com...
> > "Nadav" <not@today> wrote:
> > >
> > >I am trying to create a screen capturing application, this app should
> access
> > >the screen memory compress it and send it through TCP/IP, What is the
> best
> > >way of getting a direct pointer to the screen memory, Should I use a
> kernel
> > >filter/function driver????
> >
> > If all you want is a single snapshot, you don't need kernel help at all.
> > You can use DirectX to get a pointer to the primary display surface.
> >
> > - Tim Roberts, timr@probo.com
> > Providenza & Boekelheide, Inc
>
>

Reply With Quote
Nadav
Guest
Posts: n/a
 
Re: Screen base address access
Posted: 12-31-2003, 07:44 PM
Well, Netopia ( Timbuktu SDK, http://www.netopia.com ) uses a mirror device
( I guess ) to encode ( on runtime ) screen capture, and it costs about 10%
of the CPU which results a bad compression ratio, but still... when CPU
Consumption is the first priority.....


"Phil Taylor" <ptaylor@private-citizen.com> wrote in message
news:e5DkGivzDHA.1684@TK2MSFTNGP12.phx.gbl...
> why do you think it shouldnt consume more than 10%, given that encode is
> almost always more expensive than decode?
>
> have you tested with a variety of CPU and memory configs? or do you have a
> single sample in your sample set to base that conclusion upon?
>
> "Nadav" <not@today> wrote in message
> news:%23McpsNGzDHA.2780@TK2MSFTNGP09.phx.gbl...
> > Actually what I am trying to do is to create a screen-capture 'codec'
that
> > will enable streaming the screen over the net, the current codec
supplied
> by
> > Microsoft gives good compression ratio BUT consumes allot of CPU, My
first
> > concern is that the CPU cost will not be above 10% of the CPU the
> > compression ratio, is my second priority, I guess I have no other
> > alternatives but to write a kernel driver...
> >
> > "Tim Roberts" <timr@probo.com> wrote in message
> > news:jd3quvkvogcabgaogurnhp6hmr3eqg2jhl@4ax.com...
> > > "Nadav" <not@today> wrote:
> > > >
> > > >I am trying to create a screen capturing application, this app should
> > access
> > > >the screen memory compress it and send it through TCP/IP, What is the
> > best
> > > >way of getting a direct pointer to the screen memory, Should I use a
> > kernel
> > > >filter/function driver????
> > >
> > > If all you want is a single snapshot, you don't need kernel help at
all.
> > > You can use DirectX to get a pointer to the primary display surface.
> > >
> > > - Tim Roberts, timr@probo.com
> > > Providenza & Boekelheide, Inc
> >
> >
>
>

Reply With Quote
Tim Roberts
Guest
Posts: n/a
 
Re: Screen base address access
Posted: 01-01-2004, 10:02 PM
"Nadav" <not@today> wrote:
>
>Well, Netopia ( Timbuktu SDK, http://www.netopia.com ) uses a mirror device
>( I guess ) to encode ( on runtime ) screen capture, and it costs about 10%
>of the CPU which results a bad compression ratio, but still... when CPU
>Consumption is the first priority.....
It's not just compression. Just the fact that you're using a mirror driver
costs extra CPU time, because everything gets drawn twice.
--
- Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc
Reply With Quote
 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Authentification from a SAM base with WMI Mika Windows XP WMI 0 04-25-2006 03:27 PM
Access violation at address 012645FD in module ISengine.dll Eric Windows XP Help & Support 0 10-19-2003 11:21 PM
failure message: Access violation at address 00000000 klaus Windows XP Music 0 09-29-2003 03:42 PM
XP Image network access - blue screen Jeb Windows XP Embedded 5 08-06-2003 10:34 PM
Not able to access the web when entering web addresses address inside AOL Jeffrey Randow (MVP) Windows XP Work Remotely 0 07-09-2003 02:24 AM