Hi Doug, Thanks for the updated vic, unfortunately the behaviour still looks the same; seg fault with v4l2 and green video with v4l. My coworker has a virtual machine where the video works, so I've probably just got a setting off somewhere. Thanks again, Jon. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ Jon I Johansson, Ph.D. * Tel.: (780) 492-9304 ~~ ~~ [email protected] * Fax.: (780) 492-1729 ~~ ~~ * Office: G.S.B. 323C ~~ ~~ Visualization Analyst http://sciviz.aict.ualberta.ca ~~ ~~ ~~ ~~ Research Computing Group ~~ ~~ Room 352, General Services Building ~~ ~~ Academic Information and Communication Technologies (AICT) ~~ ~~ University of Alberta ~~ ~~ Edmonton, Alberta, CANADA, T6G 2H1 ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ! "This communication is intended for the use of the recipient to ! ! which it is addressed, and may contain confidential, personal, ! ! and/or privileged information. Please contact us immediately ! ! if you are not the intended recipient of this communication. ! ! If you are not the intended recipient of this communication, ! ! do not copy, distribute, or take action on it. Any ! ! communication received in error, or subsequent reply, should ! ! be deleted or destroyed." ! !------------------------------------------------------------------! -----Original Message----- From: Douglas Kosovic [mailto:[email protected]] Sent: Thursday, May 28, 2009 10:57 PM To: Jon Johansson Cc: ag-tech Subject: Re: [AG-TECH] AG in a virtual machine Hi Jon, With kernel 2.6.27 and later, VIC needs to built with the libv4l package, as the proprietary pixelformat support for that webcam has be moved from the kernel driver to the userspace libv4l package (which now does the conversion to more common pixelformats). Chris has rebuilt the Ubuntu AG VIC package with a dependency on the libv4l package, try updating the VIC package and see if it fixes your issue. You can confirm that you have a vic built with the libv4l package by issuing: $ ldd /usr/bin/vic | grep libv4l libv4l1.so.0 => /usr/lib/libv4l1.so.0 (0x00890000) libv4l2.so.0 => /usr/lib/libv4l2.so.0 (0x00884000) libv4lconvert.so.0 => /usr/lib/libv4lconvert.so.0 (0x00897000) Cheers, Doug Jon Johansson wrote:
Hi Doug,
When I select the V4L2 device and then select Transmit, I get: jonj@ubuntu:~$ vic 234.5.6.7/12000 Attached to V4L device: V4L-USB Camera (046d:08ad) /dev/video0 Attached to V4L2 device: V4L2-USB Camera (046d:08ad) /dev/video0 Segmentation fault
When I select the V4L device and then select Transmit, I get: jonj@ubuntu:~$ vic 234.5.6.7/12000 Attached to V4L device: V4L-USB Camera (046d:08ad) /dev/video0 Attached to V4L2 device: V4L2-USB Camera (046d:08ad) /dev/video0 ioctl VIDIOCSYNC: Invalid argument Syncerror SyncCount 1 ioctl VIDIOCSYNC: Invalid argument Syncerror SyncCount 1 ioctl VIDIOCSYNC: Invalid argument Syncerror SyncCount 1 ...
and there is a video stream displayed (NTSC) but it's green as shown in the attached image. Trying Pal and Secam doesn't change this.
With a bit more care adding services to the venue client, I can add either a VideoService, or a VideoProducerService pointing at the V4L source, but the producer vic doesn't start - I do get a consumer vic though, just "Waiting for video...". Disabling and enabling the video results in a vic window appearing briefly, just a flash of the frame, and then it disappears.
Thanks, Jon.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ Jon I Johansson, Ph.D. * Tel.: (780) 492-9304 ~~ ~~ [email protected] * Fax.: (780) 492-1729 ~~ ~~ * Office: G.S.B. 323C ~~ ~~ Visualization Analyst http://sciviz.aict.ualberta.ca ~~ ~~ ~~ ~~ Research Computing Group ~~ ~~ Room 352, General Services Building ~~ ~~ Academic Information and Communication Technologies (AICT) ~~ ~~ University of Alberta ~~ ~~ Edmonton, Alberta, CANADA, T6G 2H1 ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ! "This communication is intended for the use of the recipient to ! ! which it is addressed, and may contain confidential, personal, ! ! and/or privileged information. Please contact us immediately ! ! if you are not the intended recipient of this communication. ! ! If you are not the intended recipient of this communication, ! ! do not copy, distribute, or take action on it. Any ! ! communication received in error, or subsequent reply, should ! ! be deleted or destroyed." ! !------------------------------------------------------------------!
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Douglas Kosovic Sent: Tuesday, May 26, 2009 6:14 PM To: Jon Johansson; ag-tech Subject: Re: [AG-TECH] AG in a virtual machine
Hi Jon,
Xawtv grabs the Logitech camera and shows video just fine, but vic chokes and dies with either v4l or v4l2 as a source.
What is the console output of vic? i.e. start vic on the command-line and then click transmit in the GUI, e.g.: vic 234.5.6.7/12000
The error output might give a hint.
Doug