473,806 Members | 2,944 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.

Aug 22 '07 #1
2 3334
On 22 Aug., 09:34, slack.vic...@gm ail.com 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 =)

Aug 22 '07 #2
On Aug 22, 12:42 pm, maxpa1n <Max.Hoel...@gm x.dewrote:
On 22 Aug., 09:34, slack.vic...@gm ail.com 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_FRA ME message, save them
in the clipboard with WM_CAP_EDIT_COP Y and grab them back into a
bitmap with
(Bitmap)Clipboa rd.GetDataObjec t().GetData(Dat aFormats.Bitmap );

thanks anyways,
vic.

Aug 22 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
15478
by: Arash | last post by:
Dear all, I've got a video capture device. Device manager shows "nVidia WDM Video Capture (universal)" driver in "Sound, video and game controllers" category. Also, Windows Movie Maker, and other standard video capture tools can record video from the device. But, I've got no idea how to read transmitted data in a C# application. All I'm gonna do is to show the real-time movie on an appropriate control on my form.
0
1563
by: dicky2283 | last post by:
windows development community please help me im deepak roy , doing my final year undergrad in computer science.... im doing a project - Motion detection and Tracking in vc++( video for windows). The project combines image acquisition, manipulation techniques with other image processing techniques and neural network approaches. im using video for windows to capture images from a webcam( EZONICS CAM II ). if u have used video for windows,...
4
2668
by: ABC | last post by:
I. I have a video capture project, like AmCap, written in VB.NET. It is a windows applications. Is it possible to put it into a web page? II. Is the conversion in I complicated? Involve ActiveX or DirectShow? Or it is not feasible? III. Is it possible to use Windows Media Encoder to capture the video and display it out immediately by itself or by a Windows Media Player? Or it just uses for encoding some video into some specific formats...
8
3670
by: Nehmo | last post by:
When a page has a JavaScript "link" to a video, like http://www.msnbc.msn.com/id/10478942/ . How do you get the URL of the actual video? Isn't it in the source somewhere? -- )|:__ Nehmo __:|(
9
13375
by: aljosa | last post by:
i'm trying to capture video from camera/webcam using python. so far i haven't found any library that would allow me to do that. cross-platform solution related to SDL/pygame would be nice but a simple solution to capture video under windows is ok. Aljosa Mohorovic
2
3234
by: ghostrider | last post by:
Hi, I am working on an access app and need to capture still images from a monitor connected to medical equipment. The video out port on the monitor is connected to a video card in the computer that will run my app so I am assuming I can capture this image by using video for windows apis? I simply want a button on a form that saves the image to disk in bmp or jpg format. Has anyone got an example of this? Thanks in advance, Ghostrider.
3
18298
by: rajibnsu | last post by:
While searching for capturing video with a webcam I god the following code.It gives two errors.Says:The type or namespace name 'WebcamEventArgs' does not exit in the namespace 'WebCam_Capture' (are you missing an assembly reference?) using System; using System.Collections; using System.ComponentModel; using System.Drawing; using System.Data; using System.Windows.Forms; using System.Runtime.InteropServices; namespace WebCam_Capture
6
7990
by: k.vanderstarren | last post by:
Hi Everyone, Do any of you gurus out there have any suggestions regarding capturing audio/video from a video capture card in C#. Although I've written other programs, I've never worked with audio/video sources before. I've seen other people recommending DirectShow.NET. Is this one of the more popular libraries to use? Would anyone recommend other third- party libraries? Thanks,
3
2716
by: ghostrider | last post by:
Does anyone know how to recognise the image capture signal from a medical scope such as a video colonoscope? I've got video streaming from the scope to the computer but want my app to recognise when the scopes image capture button is pressed, rather than have to capture the image by pressing a button in my app. Thanks in advance
0
9719
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9597
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10369
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10372
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10110
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7650
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6877
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
3851
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3008
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.