Fwd: [AG-TECH] How to configure VRM of PIG? (Re: USB camera with PIG (AG 1.1))

Michael Miller mimiller at ncsa.uiuc.edu
Tue Apr 22 09:21:39 CDT 2003


I just solved a problem with VRM and video-config with the help of folks 
both at Argonne and here at NCSA.

To discover what should be written in the video-config file, start your pig 
the normal way and get into a venue.  You should at least get one instance 
of vic from the DRM.  click the "Menu" button to open the "vic:vic menu" 
dialog.  Click the "Devices" button to drop down a list of the video 
devices that vic can see.  You should have an entry for each device listed 
in your video-config file.  for example in my "Devices" list I have:

Microsoft WDM Image Capture (Win32)

so I put a line in my video-config file like this:

<capture_card input="Composite1" number="0" purpose="PRESENTER" 
device="Microsoft WDM Image Capture (Win32)"/>

This works for my Logitech Quickcam 4000.  If more devices are listed, you 
should add more lines similar to the above with the "device=" portion 
matching what you find in the "Devices" list in vic.  The string "Microsoft 
WDM Image Capture (Win32)" represents the newer media driver 
architecture.  Some devices do not have proper drivers but will work 
because the WDM architecture provides for backwards compatibility.  The 
caveat is that, if you have more than one legacy device, (i.e. "Microsoft 
WDM Image Capture (Win32)" is listed more than once in vic) then you may 
not be able to choose between devices and vic may crash if you select the 
wrong device.  The solution found by Shawn Davis was to download an older 
set of VFW drivers that vic can see independent of the WDM 
architecture.  In setting up several machines, I have found that installing 
drivers for WDM devices first, then installing drivers for VFW seems to 
work best.

Also, be sure that the hostname is correct in the video-config or the VRM 
will not correctly parse the video-config file.  For a while I had this in 
my video-config file:

  <ag_node name="copland">
   <capture_computer name="copland">

but this did not work.  I found out from Justin Binns(ANL) that this needs 
to match the result of the Java gethostname function call.  I was able to 
obtain the proper string by using "ipconfig /all" at a DOS prompt to find 
the hostname.  I now have:

  <ag_node name="Copland">
   <capture_computer name="Copland">

Note the capital "C".  Everything works fine now.

I can't guarantee that "ipconfig /all" will give you the proper setting, 
but hopefully this will lead you in the right direction.

Anyone else have comments, corrections?

Michael Miller

>X-Envelope-From: owner-ag-tech at mcs.anl.gov
>Date: Tue, 22 Apr 2003 11:08:58 +0900 (JST)
>To: ag-tech at mcs.anl.gov
>Subject: [AG-TECH] How to configure VRM of PIG? (Re: USB camera with PIG 
>(AG 1.1))
>From: shudo at ni.aist.go.jp
>X-Mailer: Mew version 2.2 on XEmacs 21.4.8 (Honest Recruiter)
>X-Spam-Status: No, hits=-2.0 required=5.0 
>tests=IN_REP_TO,SUBJ_HAS_Q_MARK,NO_REAL_NAME,PORN_11 version=2.21
>Sender: owner-ag-tech at mcs.anl.gov
>X-MD5SUM: f2df51787a78c57010e2c1ce9e46442f
>I found a configuration file named video-config in AG 1.2 (PIG).
>It is dedicated for Osprey capture cards and I could not find a set-up
>tool for VRM like the setup-config script included in VRM for Linux.
>How can I write video-config for my USB cameras?
>Are there any information on how to write it?
> > From: shudo at computer.org
> > Date: Fri, 04 Oct 2002 21:44:40 +0900 (JST)
> > I cannot use a USB camera with the VIC (ddvic.exe and vic.exe) which
> > PIG has on Windows 2000.  But the camera works well with the UCL
> > version of VIC, which I obtained at the following web site:
> >
> >   Videoconferencing Tool
> >   http://www-mice.cs.ucl.ac.uk/multimedia/software/vic/
> >
> > The version of the UCL VIC is 2.8ucl-1.1.3.
> > The USB camera is Creative WebCam Plus.
>   Kazuyuki Shudo
>   Grid Technology Research Center
>   National Institute of Advanced Industrial Science and Technology (AIST)


Michael Miller
System Engineer
Visualization Technology Support
Computing and Data Management
National Center for Supercomputing Applications
University of Illinois - UC

"If you're clear in your vision and trust the people in your team with 
clear objectives, they will invariably do their best to achieve everything 
desired, and usually deliver everything you could have hoped for and even 
more." -Paul Debevec

More information about the ag-tech mailing list