From: Rotem on
Hi,

I'm new to device drivers.
I want to write a driver that captures the PC screen (or another window) and
sends the raw video to a hardware dvice via the USB or PCI bus.
All video capture examples that I have seen show video capture from the
external hardware into the PC (for render or storage). I need the opposite
direction.
Shoud I write an AVStream or a PCI/USB miniport driver as I'm targeting the
A/V out of the PC via these buses?

Thanks in advance,
Rotem
From: Maxim S. Shatskih on
I see 3 modules in this:
- screen capture
- USB hardware driver
- the app which will run the pipeline

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim(a)storagecraft.com
http://www.storagecraft.com

"Rotem" <Rotem(a)discussions.microsoft.com> wrote in message
news:4A0E6F5B-FBF9-4AF7-ABFD-4DE08D35F2A7(a)microsoft.com...
> Hi,
>
> I'm new to device drivers.
> I want to write a driver that captures the PC screen (or another window) and
> sends the raw video to a hardware dvice via the USB or PCI bus.
> All video capture examples that I have seen show video capture from the
> external hardware into the PC (for render or storage). I need the opposite
> direction.
> Shoud I write an AVStream or a PCI/USB miniport driver as I'm targeting the
> A/V out of the PC via these buses?
>
> Thanks in advance,
> Rotem


From: Lev Kazarkin on
Hi, Rotem

I agree with Maxim.
As we're talking about a screen capture,
a mirror driver could be a good idea.

--
Best regards,
Lev Kazarkin
http://www.demoforge.com



"Maxim S. Shatskih" wrote:

> I see 3 modules in this:
> - screen capture
> - USB hardware driver
> - the app which will run the pipeline
>
> --
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> maxim(a)storagecraft.com
> http://www.storagecraft.com
>
> "Rotem" <Rotem(a)discussions.microsoft.com> wrote in message
> news:4A0E6F5B-FBF9-4AF7-ABFD-4DE08D35F2A7(a)microsoft.com...
> > Hi,
> >
> > I'm new to device drivers.
> > I want to write a driver that captures the PC screen (or another window) and
> > sends the raw video to a hardware dvice via the USB or PCI bus.
> > All video capture examples that I have seen show video capture from the
> > external hardware into the PC (for render or storage). I need the opposite
> > direction.
> > Shoud I write an AVStream or a PCI/USB miniport driver as I'm targeting the
> > A/V out of the PC via these buses?
> >
> > Thanks in advance,
> > Rotem
>
>
>
From: Maxim S. Shatskih on
For what? The stupid Video For Windows DLL which does BitBlt from the
screen to its own memory is simpler and does the task.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim(a)storagecraft.com
http://www.storagecraft.com

"Lev Kazarkin" <mirrdrv(a)demoforge.com> wrote in message
news:AD468C46-31E4-4860-9989-539C4CF7E1B2(a)microsoft.com...
> Hi, Rotem
>
> I agree with Maxim.
> As we're talking about a screen capture,
> a mirror driver could be a good idea.
>
> --
> Best regards,
> Lev Kazarkin
> http://www.demoforge.com
>
>
>
> "Maxim S. Shatskih" wrote:
>
> > I see 3 modules in this:
> > - screen capture
> > - USB hardware driver
> > - the app which will run the pipeline
> >
> > --
> > Maxim Shatskih, Windows DDK MVP
> > StorageCraft Corporation
> > maxim(a)storagecraft.com
> > http://www.storagecraft.com
> >
> > "Rotem" <Rotem(a)discussions.microsoft.com> wrote in message
> > news:4A0E6F5B-FBF9-4AF7-ABFD-4DE08D35F2A7(a)microsoft.com...
> > > Hi,
> > >
> > > I'm new to device drivers.
> > > I want to write a driver that captures the PC screen (or another window)
and
> > > sends the raw video to a hardware dvice via the USB or PCI bus.
> > > All video capture examples that I have seen show video capture from the
> > > external hardware into the PC (for render or storage). I need the
opposite
> > > direction.
> > > Shoud I write an AVStream or a PCI/USB miniport driver as I'm targeting
the
> > > A/V out of the PC via these buses?
> > >
> > > Thanks in advance,
> > > Rotem
> >
> >
> >


From: Lev Kazarkin on
Its simple, Maxim.
Performance.
Mirror driver gives an ability to see where
the screen or a window is changed.
The traffic may be reduced 100 or 1000 times.

Btw, no Video 4 windows or AVStream is needed
for the task. For what?!

--
Best regards,
Lev Kazarkin
http://www.demoforge.com



"Maxim S. Shatskih" wrote:

> For what? The stupid Video For Windows DLL which does BitBlt from the
> screen to its own memory is simpler and does the task.
>
> --
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> maxim(a)storagecraft.com
> http://www.storagecraft.com
>
> "Lev Kazarkin" <mirrdrv(a)demoforge.com> wrote in message
> news:AD468C46-31E4-4860-9989-539C4CF7E1B2(a)microsoft.com...
> > Hi, Rotem
> >
> > I agree with Maxim.
> > As we're talking about a screen capture,
> > a mirror driver could be a good idea.
> >
> > --
> > Best regards,
> > Lev Kazarkin
> > http://www.demoforge.com
> >
> >
> >
> > "Maxim S. Shatskih" wrote:
> >
> > > I see 3 modules in this:
> > > - screen capture
> > > - USB hardware driver
> > > - the app which will run the pipeline
> > >
> > > --
> > > Maxim Shatskih, Windows DDK MVP
> > > StorageCraft Corporation
> > > maxim(a)storagecraft.com
> > > http://www.storagecraft.com
> > >
> > > "Rotem" <Rotem(a)discussions.microsoft.com> wrote in message
> > > news:4A0E6F5B-FBF9-4AF7-ABFD-4DE08D35F2A7(a)microsoft.com...
> > > > Hi,
> > > >
> > > > I'm new to device drivers.
> > > > I want to write a driver that captures the PC screen (or another window)
> and
> > > > sends the raw video to a hardware dvice via the USB or PCI bus.
> > > > All video capture examples that I have seen show video capture from the
> > > > external hardware into the PC (for render or storage). I need the
> opposite
> > > > direction.
> > > > Shoud I write an AVStream or a PCI/USB miniport driver as I'm targeting
> the
> > > > A/V out of the PC via these buses?
> > > >
> > > > Thanks in advance,
> > > > Rotem
> > >
> > >
> > >
>
>
>