VS 2008 - Open PC Video Camera And Capture Image?
Mar 20, 2009I want a code that will be usefull to make a program that opens the video camra of the PC and saves the camera sight (or images capture).
View 4 RepliesI want a code that will be usefull to make a program that opens the video camra of the PC and saves the camera sight (or images capture).
View 4 RepliesI've been trying to find a way to use my video camera as a webcam and do chatting from different programs including mine.
my problem is how can i capture an image from my video camera. below are camera stats[code]....
I have written a code from which using a web camera one can record a video and save it onto the HDD but now according to a client requirement he needs to play that video and capture still images from the video and save it onto a picture box's and here is where i am having issues.
1)when i use windows media player to play the recorded video i don how to capture the image from the video by triggering an event
2) also i need to know if i can play the video on picturebox tool(i tried using the winmm.lib and Mci but it din work out for me)
currently, im using a webcam in my thesis. one of my objective is to have a realtime camera that can record/capture a video at the same time can capture image. i dont know how to code it in vb.net.
View 1 Replieshow can i get the web camera capture?and put it in the tool box?
View 1 RepliesI want to know if I can put live video from a capture device into a picture box using image.fromstream or any other way of getting the video into the picture box.
View 1 Repliesis it possible to use avicap32 to capture video with a web cam and save the video as a wmv format instead of avi one
View 1 RepliesI'm using quicktime into my project to get video live from ip camera now i need to start recoding this video
View 2 RepliesI want to write a .NET application to show and save video streams from an ip camera. But I'm not yet sure what would be the best way to get started. Should I look for an Axis camera so I'd be able to use their api or will I be fine accessing the video stream using directshow or whatnot using any other camera ?
View 2 Replieshow can i preview / record or only preview video from my tv tuner card in vb.net....i have usb stick deny tuner card in my laptop
View 2 RepliesI have a firewire and a camera. I can see the video as in a preview using tools like MS Movie maker.I want to write a simple program that allows a Preview and when a button is clicked, grabs the snapshot bmp,jpg.I have written a program that works with a webcam and a usb interface. It uses capCreateCaptureWindowA
But this technique displays a blank screen when trying to capture a WDM device. So i am back to square one. There must be a snippet of code out there somewhere to do this.
i bought one device(ip camera) and i need to develop vb.net application to see video or picture from ip camera.
View 1 RepliesI'm making a program where i want my usb camera to show live video in, i could only find examples on how to get a webcam to show live video in a vb form
View 1 Repliesim using this code
Dim VideoSize As Size = New Size(My.Computer.Screen.Bounds.Width, My.Computer.Screen.Bounds.Height)
Dim PIC As New Bitmap(My.Computer.Screen.Bounds.Width, My.Computer.Screen.Bounds.Height)
Dim image As System.Drawing.Graphics = System.Drawing.Graphics.FromImage(PIC)
[code]...
How do I include the cursor with this and save all the screenshots as one video file?instead of saving as 1000 pics?
AudioVideoPlayback works really .FromFile with jpg or mpg files. But I am trying to show a viewo stream from a video camera over the network. The camera feed is something like ... IP-ADDRESS/mjpg/video.cgi. AudioVideoPlayback .FromUrl seems to access the camera ( the camera then prompts for log on credentials) but it will not display the feed. My question is can AudioVideoPlayback display cgi files? My all is written in Visual Basic 2008, running on Win 7/64 and x86 based platforms as well.
View 1 RepliesI've been searching for hours tonight searching existing posts, other websites and all i can find are examples of how to capture a image from a webcam.Does anyone have any code that simple talks to the camera device via WIA, and then saves every image found on the device to a hard drive?I found this code below. Credit i cant tell you as i have a bunch of different flavors of code, but this only saves the file as a tmp file, and not the actual image file i expected after selecting?
Imports System.Drawing
Imports System.Runtime.InteropServices
Imports WIALib
[code].....
I was wondering if it was possible to have a program open Firefox, and have it open a bunch of tabs that all go to a link with a video, and then have it automatically play that video?
View 4 RepliesI'm developing an application and it needs a facility to take photo of the customer using the webcam.
View 6 RepliesI'm trying to save a screen-shot from a FlowLayoutPanel without the desired success. Here's the code I'm using to same the panel as image:
vb.net
Dim bmpScreenshot As Bitmap = New Bitmap(FlowLayoutPanel1.DisplayRectangle.Width, FlowLayoutPanel1.DisplayRectangle.Height, PixelFormat.Format32bppArgb)
Dim gfxScreenshot As Graphics = Graphics.FromImage(bmpScreenshot)
gfxScreenshot.CopyFromScreen(Me.PointToScreen(SplitContainer1.Location), New Point(0, 0), FlowLayoutPanel1.Size, CopyPixelOperation.SourceCopy)
bmpScreenshot.Save("C:FlowLayoutPanel1.Emf", ImageFormat.Emf)
Problem is, when the panel is full of controls and using scrollbars the hidden controls are not captured, since I'm using the CopyFromScreen().
I need to capture a picture from webcam for a project... But there seems to be no easy code available... Also am not able to find any working code for it... saw a codeproject code, but couldnt get it to work..
View 5 RepliesI've been trying to play with DirectShow but it's getting on top of me and my question on here didn't answered so I'm thinking maybe I should go with a different approach. (DirectShow VB.net can't change recording format). <- Where as that 'works' I can't get it in the format I want it, and I don't really understand it so I'd obviousl like to go down the route of something I can get my head around.
I've googled till my fingers are raw trying to come up with an easy way to record video in my vb.net application, it doesn't have to be fancy, just a preview with a start record, stop record button, that's it.
capture picture or video from usb cam?
View 8 RepliesI'm currently working on a project which is basically Server-Client based. Client is standalone VB executable file and Server is web based.The program is supposed to use webcam as video capture device, stream video footages to server (on website - live feed) and allows users to manually save captured videos into their computer.Thats basically the brief description of my system. I'm starting off working with VB right now and website after I'm done with VB.I'm new to VB, this would be my 1st project on it. I've looked for available sources online and found several VB apps which lets me capture image file through my webcam. Also on MSDN forum, i found recommendations on using "DCAM Server" to stream videos on website but I'm still not sure of how to configure the settings to make it work properly, and of course, don't have a proper website for it to work with yet atm. Also realise I'll need to integrate some .dll files or activeX functions to use video capture function. I don't really know how to use these yet rite now.
View 3 RepliesDoes anyone know What the best SDK for video capture is, WME Sdk?
View 3 RepliesHi how can I capture my screen as a video? Like record what I do with my mouse and so on until I want it to stop and have a File of it ready.?
View 6 RepliesHow can I capture a part of screen as video in VB.NET? Can I set the location of the screen capture and the width of the capture area?
View 1 RepliesVB and programming on Windows as such. Mostly c++/gcc/linux. I am trying to build this VB app that shows a streaming video from a camera and that needs to be overlaid with some custom graphics and text. I used the code published here: [URL] to get the capture part to work. It essentially uses the avicap32.dll that most of you would probably know.
My plan:
1) Capture frames using SendMessage(windowHandle, WM_CAP_EDIT_COPY, 0, 0) and then copy from clipboard.
2) Do whatever graphics/text overlay on the obtained bitmap
3) send it to some picturebox on some form that is being shown
4) Do step 1 to 3 in a loop by a spawned worker thread.
Firstly is this a reasonable way to do what I want? or is there a much more efficient/easier way to about?
Now the specific problem: From my main thread directly if I do step 1 to 3 once UIComponent.DrawImage(VideoComponent.GetBitmap()) It shows me once captured image as it should and all is good.
Just to clarify: UIComponent is an object/instance that launches the Form and owns the picturebox I want to display on. VideoComponent is an object/instance that has started the videocapture and owns the picturebox to which the video is being captured. But if I wrap the same call above in a function and launch a thread that would start with that function as its starting point, I see a blank screen. Again, for testing purpose, I am only doing step 1 through 3 just once.
The thread part of the code is like this:
Private drawthread As Thread
public sub main()
drawthread = New Thread(AddressOf threadfunc)
[CODE]........
when i am recording video my application disappears.
its VB application.
FormBorderStyle : none (is it problem?)
Public Class Form1
Dim resim As New System.Drawing.Point
Dim X, Y As Integer
[Code]....
I need to create a program that can capture video and image. The program is very simple, it just have a screen and a button labeled "Capture". When I click capture, it will capture the image and save it in drive "C:".
View 1 RepliesI'm looking for a way to extract .jpg files from .wmv files at given intervals. For instance, if a clip is 1 minute long and I ask for 6 thumbnails, it will give me one every 10 seconds.Can anyone point me in the right direction for anything that may already exist for extracting single frames from video?
View 1 Replies