05-10-2011 09:23 AM
I have a NI 1764 camera. Is there any way to connect to media player from web builder? Like an webcam.
Thx
Solved! Go to Solution.
05-11-2011 10:42 AM
Hi Adi_,
Unfortunately, at this point the Media Player control can only show videos that are being hosted on a web server.
What sort of application are you working on? How would a "webcam"-like video feed be used in your application?
Aaron P
National Instruments
Applications Engineer
05-13-2011 12:36 PM
I have a system with a conveyer belt and some sensors commanded by cRIO and I want to see my system from web application with a camera.
How can I do that? Is possible?
Thx!
05-13-2011 12:50 PM - edited 05-13-2011 12:50 PM
Instead of using the media player control, I think it should be possible to use the Web UI Builder image control instead, with a LabVIEW web service (in streaming mode) that will stream out an image. I'm not sure if there's any example / tutorial that demonstrates something like this, though.
05-13-2011 12:51 PM
Hi Adi_,
At this point, the Media control and the Image control can only display videos and images that are hosted on a web server. So streaming video is not possible at this point. You may be able to simulate streaming by using a camera to capture images and save those images to a directory that is hosted by a web server. Then from your Web UI Builder application you could programmatically load the images in order at a desired rate (assuming the naming scheme of the image files are known). Depending on your application, this may or may not suffice.
I apologize for the inconvenience, but your feedback is much appreciated.
Aaron P
National Instruments
Applications Engineer
05-24-2011 02:18 PM
Thanks. It works, but the rate for each frame is very low so the quality of my streaming it's not so god.
06-28-2011 04:35 PM - edited 06-28-2011 04:39 PM
I have been able to connect my webcam up to the Media Viewer control using Expression Encoder and publishing an mms stream. I assume there is other software out there that can accomplish the task, but this is what I had handy. I don't have much experience with building live video streams, but I did want to point out that it is possible.
Jeff Peters
LabVIEW R & D