Video for windows capture in the background? - CSharp

This is a discussion on Video for windows capture in the background? - CSharp ; Hi guys, what i'm trying to do is do frame processing with the possibility of the app to not be in focus.What happens if the capture window gets hidden is that no more frames are sent to the callback...I've tried ...

+ Reply to Thread
Results 1 to 3 of 3

Video for windows capture in the background?

  1. Default Video for windows capture in the background?

    Hi guys, what i'm trying to do is do frame processing with the
    possibility of the app to not be in focus.What happens if the capture
    window gets hidden is that no more frames are sent to the
    callback...I've tried fyield to no avail.I'd greatly appreciate it if
    someone could put me on the right path with this one.

    vic.


  2. Default Re: Video for windows capture in the background?

    On 22 Aug., 09:34, slack.vic... wrote:
    > Hi guys, what i'm trying to do is do frame processing with the
    > possibility of the app to not be in focus.What happens if the capture
    > window gets hidden is that no more frames are sent to the
    > callback...I've tried fyield to no avail.I'd greatly appreciate it if
    > someone could put me on the right path with this one.
    >
    > vic.


    Simply stop capturing the window if it has the state of beeing
    minimized.

    I am not sure i you are using .NET so can't give you an example =)


  3. Default Re: Video for windows capture in the background?

    On Aug 22, 12:42 pm, maxpa1n <Max.Hoel...@gmx.de> wrote:
    > On 22 Aug., 09:34, slack.vic... wrote:
    >
    > > Hi guys, what i'm trying to do is do frame processing with the
    > > possibility of the app to not be in focus.What happens if the capture
    > > window gets hidden is that no more frames are sent to the
    > > callback...I've tried fyield to no avail.I'd greatly appreciate it if
    > > someone could put me on the right path with this one.

    >
    > > vic.

    >
    > Simply stop capturing the window if it has the state of beeing
    > minimized.
    >
    > I am not sure i you are using .NET so can't give you an example =)



    Well, no, i've made a C# wrapper around the avicap32.dll...anyway, the
    solution to keep frame processing going in the background or when the
    capture window is hidden is to make a timer to the desired framerate
    and manually grab frames with the WM_CAP_GRAB_FRAME message, save them
    in the clipboard with WM_CAP_EDIT_COPY and grab them back into a
    bitmap with
    (Bitmap)Clipboard.GetDataObject().GetData(DataFormats.Bitmap);

    thanks anyways,
    vic.


+ Reply to Thread

Similar Threads

  1. Video Capture
    By Application Development in forum DOTNET
    Replies: 1
    Last Post: 11-26-2007, 10:12 AM
  2. VIDEO CAPTURE
    By Application Development in forum Adobe Premiere
    Replies: 3
    Last Post: 11-09-2005, 11:22 AM
  3. capture video
    By Application Development in forum Adobe Premiere
    Replies: 1
    Last Post: 09-29-2005, 09:06 AM
  4. OCX for video capture?
    By Application Development in forum basic.visual
    Replies: 0
    Last Post: 11-18-2004, 03:47 AM
  5. video capture on Video Studio 6 SE?
    By Application Development in forum Graphics
    Replies: 0
    Last Post: 07-26-2003, 01:49 PM