VS 2008 Stream Video From Webcam?
Apr 4, 2009I am interested in streaming video from a webcam on one PC to another PC. Could this be done without streaming to a server. Could this be achieved by streaming using P2P?
View 4 RepliesI am interested in streaming video from a webcam on one PC to another PC. Could this be done without streaming to a server. Could this be achieved by streaming using P2P?
View 4 RepliesI have a little Logitech USB Webcam that I have attached to a laptop and I want to be able to view a video stream from it. I already gathered it will need to be a client/server model...and I probably need to use TCP/IP and/or Winsock (if its still even used)...
how to really approach this application as far as the video capture process? I don't have a need to really record video in any way so if i can just "preview" the video thats fine, although recording would be a neat bonus.
I read into the Windows Image Aquisition libraries and they seemed to be the right thing...but I wasn't so sure about the cross-network half of the equation.
I'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 need help and guidance on how to start please, especially on video capturing functions.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.
I creat audio video chat and when calling receivng video and client video is together...I want that client move his or her webcam video where want...as I know it name DROP&DRAP but I`m not know how to do it...
View 5 RepliesHow can i record a video via webcam in visual basic application and then display the video on user's request either live or recorded video.
how to develop video webcam recording application.
I have to develop an application where I have to stream my webcam over lan. I have a server where my webcam will be connected and when requested I have to send my webcam over lan. i need to view the server webcam from another network pc.
View 4 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 RepliesI need a hint or sample source code is much better for my project. Here is the idea, I am creating a simple program that can record a video using a webcam as a surveillance camera. I need to record it continuous and every hour the capturde video will store/save to my drive. I am not that good in webcam/camera manipulation in vb.net.
View 1 RepliesI have been working on capturing image and recording video in VB using webcam. From the cource code,I have successfully captured and saved images, however for the video part I have failed to save it in any selected directory. I've checked the code with some other sample codes in internet. Couldn't see any problem or differences. My code for recording and saving are as follow:
Recording:
SendMessage(hWnd, WM_CAP_SEQUENCE, 0, 0)
Saving:
Dim save As Integer
save = MsgBox("Do you want to save your recording video", MsgBoxStyle.YesNo + MsgBoxStyle.Information, "Recording Video")
If (save = MsgBoxResult.Yes) Then
[code]....
I'm using a picturebox to display the video captured from my webcam. I tried out two codes:
1) [URL]
The code in this forum by kaymaf. it does not work at all! there is no video displayed at all. Also, i'm currently using a PixeLINK 1394 Camera to get the video, but this is not shown in the list of cameras. It shows : Microsoft WDM image Capture (Win 32). Are these the same?
2) [URL]
This code works the first time i run it. But the second time it gives me a listbox of camera to choose from and then does not display any video. The screenshot is as displayed:
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 RepliesWebcam capture code are below:
Dim capturesource As New CaptureSource
' Get the default video capture device
Dim _videoCaptureDevice As VideoCaptureDevice =
[code].....
I am using webcam and want to record video and save it on disk, the video time must be constant for such 20 or 30 sec, what i want is to change CAPTUREPARMS members which contain fLimitEnabled & wTimeLimit
'---capcaptureget function
Function capCaptureGetSetup(ByVal hWnd As Integer, ByVal s As Long, ByVal wSize As Integer)
capCaptureGetSetup = SendMessage(hWnd, WM_CAP_SET_SEQUENCE_SETUP, wSize, s)
End Function
[Code]...
I come across this web site that explains how to get a video from a webcam.
[URL]
all works fine apart it does not save the file?
I have managed to record my webcam which saves to the desired location and is displaying to the screen while recording but i am trying to run other functions while the webcam video is being recorded but the rest of my form stops functioning until the recording is completed.
Is it possible to record and continue other functions at the same time
I have problem in recording video from webcam the video file not always appear in its specific path in the running time in addition there is so much delay to appear. 5 sec is the time of the video duration, I want to save the video when it start to load but in the same time it save the video show the video in the background which I have problem in this point too.
[Code]...
I want to stream video from a simple webcam over LAN for object detection purpose. Is it a good idea to grab frames and send them continuously over network with NetworkStream.Write()?
I did this but usually on client side i lost half of image data and I got noise, I don't know what is wrong. I'm looking for a fix or a better idea.
I put the client and server source codes here, first run the client and click "START LISTENING" then run server and click "Send pic".
[URL]
I 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 RepliesI'm trying to find source code for vb.net(2010). i want to stream video file (picture and sound) from my computer(server) over lan to another computer(client). on the server side i open the video into "Windows media player controller". how i stream the picture and sound over lan network?
View 1 RepliesI have an application that sends Bytes of data through UDP, these bytes are read from an AVI file when the client receives the bytes it builds the AVI file on another computer perfectly but I want to be able to use the received bytes to play the video from the stream. Does anyone know how I can play the video from a stream? I tried using DirectShow but I don't know how to use a stream as video let alone having AVI files play with DirectShow.
My main goal is to have the application slowly "buffer" the movie for the client as they watch.
There is an IP web camera that I wrote a .NET class for sometime ago. It's basically a Timer implementation that pings a snapshot CGI script from the camera every five seconds. The camera itself is very rudamentary; it does not have any sort of API for me to work with, the only thing I can do programmatically (remotely) is invoke this script. The script returns a 640x480 JPEG image. Simple.
Now what I need to be able to do is take a days worth of these images, and create a "time lapse" AVI video stream out of it that will eventually be embedded into a web page. How can I do this with VB.NET?
I want to create a RTSP/h264 video stream from static images, and incorporate it into my .NET application. So far I have found two possible ways to do this:
Use ffmpeg/ffserver, but I would need to compile ffserver on windows and then rely on it... and I don't necessarily want to rely on an external application
Use the LIVE555 [URL] library, but they do not have any .NET libraries, so I would need to spend some effort to make it work with the rest of my .NET application.
Can you comment on either #1, #2, or which is better. Is there a faster way to bring up a RTSP server in .NET? I do not mind putting in development time if there is a solid solution that takes time, but it would be good to have something we can work with fast, for prototyping and demos.
I am trying to play video files (atleast wmv, avi) from a byte stream in vb.net.Is it possible to direct this data at a wmp control?I have done this successfully with images & picture boxes, just need help with the video.
View 1 Replies[Code]...
Above is the response of the page I am trying to get if I enter the URL: However, the program just crashes with the following code (i.e. never even displays final - meaning stream is still going on) I think that it is streaming the video, in addition to the source- which I do not want to happen How can I retrieve this source?
[Code]...
I am developing an application where in I need to stream audio and video in the local area network. There is calling option from my application where users can call each other(audio call or video call) in the LAN.
View 3 RepliesI am using a third-party .NET video capture function library that displays atreaming video from a USB video capture device in a VideoPictureBox (which is very much like the usual .NET PictureBox). I want to display graphics and text over the video stream.
[Code]...
I have a logitech webcam that I use to take pictures of customers to submit to a server/database. Utilizing AVICAP32.DLL calls, I was able to modify my VB.NET program to take these pictures via a button in my program.
My question is, it would me more convenient to my intended users to click the webcam button, instead of clicking on the button in my program.
Is this possible to do in VB.NET? and how can I do this?
If this is not possible to do with my logitech webcam than is there a Microsoft Webcam that can do this?
I am developing a webcam application using vb.net. i want to display the number of webcam that is connect to the PC into a form and the user can be able to select from the list...let me how i can do this? i manage to steam the webcam video into the form..
View 6 Repliesin an winForm app in VS2010 win 7 compiling to x86, I try to do what Alvas.Audio seems to work. See (c# ex: [URL] for reference.
Dim data() As Byte = wr.ReadData(second * i, second)
The result give me data.length()=0. I do not have any exception, I can read format from it and whatever reader I use I got this problem.EDIT : After some tests, it seems like the uncompressed file I create in the first step (in PCM format, with .wav extension) can not be recognized by the Alvas.audio library for the second step. I must miss something around Audio file markups or something alike.
Here is the code that might be the source (basically this is step 1):
Dim functOut As String = String.Empty
Dim wr As Alvas.Audio.IAudioReader = Nothing
Dim fs As IO.FileStream = Nothing
[code]....
How can I write the resulted stream to be sure I can read it again later?
After a long while I started a project in VB.Net. I am making a security cam application for my own room. What I have done so far is capturing image from webcam (15 fps) to a imagebox and copying a still image from that imagebox to another in an intervall I have decided. Afterwards my code saves the image with a date and time as jpg. The code for capturing image I have found in this forum (iCam). My problem is (by the way I am an amateur programmer ) that the first imagebox (for realtime image capture) is not being showed (I dont want to see it). But if it is not active then all still images (saved as jpg) are all black. I think it is a drawing issue. I think imagebox is not being drawn (because it is not visible (actually the form is not visible)) and that is why still images are black. But I really don't know how to fix it? The class for capturing still images is very useful but only works with an imagebox.
(I really tried to understand the code. Especially the function, which copies a still image from 15 fps webcam output to a imagebox (which is used to save image as jpg file). But there are objects like: IntPtr, Hdc (getHdc, releaseHdc) and BitBlt. I really don't know anything about those objects.)
Code of iCam:
Option Explicit On
Option Strict On
Public Class iCam
#Region "Api/constants"
[CODE]...
I get realtime images with: iCam.initcam(me.picturebox1.handle.int32) and copy with: picturebox2.image= iCam.copyimage(picturebox1,New RectangleF(0, 0, Me.picturebox1.Width, Me.picturebox1.Height))