Video for windows capture in the background?

  • Thread starter Thread starter slack.victor
  • Start date Start date
S

slack.victor

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.
 
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 =)
 
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top