You'll want to use vidl2 (in contrib/brl/bbas/vidl2).  Take a look in the examples directory there.  You will find vidl2_player which is an example of a vgui application that plays videos from any source, including live streams.  vidl2 is set to replace core/vidl in the near future.

  The only problem you may run into is vidl2 may not yet support your camera.  What operating system are you using and what type of camera (usb, firewire, etc.)?  We have support for firewire cameras on Linux/Mac via libdc1394, USB cameras on Linux with v4l, and some types of cameras on Windows (I'm not exactly sure which types) using DirectShow.


On Oct 9, 2008, at 12:22 PM, Jorge Sanchez wrote:

I'm trying to figure out how to show a live stream video that comes from a camera with VGUI. By now I'm using the cvNamedWindow of OpenCV to do that, but I would be very happy if I could get ride of it.

Any idea will be very appreciated.


Jorge A. Sánchez
Centro de Investigación en Informática para la Ingeniería, CIII.
Universidad Tecnológica Nacional. Facultad Regional Córdoba.
Maestro M. López esq. Cruz Roja Argentina. CP X5016ZAA
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
Vxl-users mailing list