Re: bktr(4) risk?



On Tuesday 10 October 2006 08:56, John-Mark Gurney wrote:
The only reason I can think of to use this ioctl would be if you wanted
the image you're capturing to be directly dumped into video memory. This

This is very common... It allows the bktr driver to dump the frames
directly to the memory of your video card... This makes watching live
tv watchable...

Maybe it could be restricted to the root user.

In any case it's more efficient to read YUV data and then use Xv.. It
certainly spams the PCI bus way less, unfortunately you do become acceptable
to load related frame drops.

It would be really nice if you could connect bktr to your video card more
directly (instead of cap. card -> bktr -> TV app -> X server -> video card)
but in practice it seems to work fine. mplayer can do this, and I have a
trivial app which also does it (I wrote it before mplayer grew support for
bktr)

--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
-- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

Attachment: pgpuhcW86pfBD.pgp
Description: PGP signature



Relevant Pages

  • Re: How does the apple2 RGB card work?
    ... video out. ... If the card were to cache the writes done to the video area of memory, ... Then RGB card reads video memory and displays pixel by ... You ask about sync. ...
    (comp.sys.apple2)
  • Re: Direct data transfer between two devices?
    ... Try DirectDraw to get the video memory pointer, then pass it to the kernel ... > card memory to another PCI card without the relay of system memory. ...
    (microsoft.public.development.device.drivers)
  • Re: Questions about PRIMARYSURFACE screen capture with DirectDraw
    ... the memcpy that I am doing to move data off the surface's ... Is this due to my video hardware? ... Reading from video memory is much slower than writing to it. ... I had thought that by using the primary surface based ...
    (microsoft.public.win32.programmer.directx.graphics)
  • Re: rFactor on My Laptop
    ... GHz processor, 256 MB ram, 64 MB Video Memory, ... The only thing that doesn't look good is the video processor. ... it also consumes a good portion of your system ram. ...
    (rec.autos.simulators)
  • Questions about PRIMARYSURFACE screen capture with DirectDraw
    ... obtains the video memory pointer by locking the primary surface (code ... Is this due to my video hardware? ... I had thought that by using the primary surface based ... capture I was getting a hold of the direct video memory that the ...
    (microsoft.public.win32.programmer.directx.graphics)