Thanks Doug,  it looks like the closest YUYV mode is 176x144.

Is there a way I can use the MJPEG stream?

Otherwise, my next question is... are there recommended USB cam's for Linux?

[alf@ag-piggy ~]$ luvcview  -L
luvcview version 0.2.1
Video driver: x11
A window manager is available
video /dev/video0
/dev/video0 does not support read i/o
{ pixelformat = 'MJPG', description = 'MJPEG' }
{ discrete: width = 160, height = 120 }
        Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5,
{ discrete: width = 176, height = 144 }
        Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5,
{ discrete: width = 320, height = 240 }
        Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5,
{ discrete: width = 352, height = 288 }
        Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5,
{ discrete: width = 640, height = 480 }
        Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5,
{ discrete: width = 800, height = 600 }
        Time interval between frame: 1/15, 1/10, 1/5,
{ pixelformat = 'YUYV', description = 'YUV 4:2:2 (YUYV)' }
{ discrete: width = 160, height = 120 }
        Time interval between frame: 1/15, 1/10, 1/5,
{ discrete: width = 176, height = 144 }
        Time interval between frame: 1/15, 1/10, 1/5,

Cheers, Andrew


2008/7/21 Douglas Kosovic 
<dougl...@itee.uq.edu.au<mailto:dougl...@itee.uq.edu.au>>:


   Hi Andrew,


      Is anyone using a Logitech Quickcam Pro 9000 USB camera under Linux and 
been
      able to get a VIC image larger than 176x144 (QCIF)?

      If I run 'luvcview' I can get something that resembles 352x288/CIF 
although
      i'm not sure what size it is exactly!



   Could you provide the output of 'luvcview -L' which list the available 
resolutions and pixelformats, I've appended the ouput from a Creative UVC 
webcam at the bottom of this email.


      I've built the latest uvcvideo kernel module source from
      http://linux-uvc.berlios.de/



      vic-2.8ucl1.4.0-0.1.20080714svn.fc8

      V4L2: start
      V4L2: format cifdecimate: 2
      V4L2: setting input port to 0
      V4L2: failed to set format! requested 352x288, got 176x144



   It's the UVC driver, not VIC which selects 176x144 as the nearest resolution 
to 352x288, hopefully the 'luvcview -L' output will explain why.

   Cheers,
   Doug

   Device information:
    Device path:  /dev/video1
   /dev/video1 does not support read i/o
   { pixelformat = 'YUYV', description = 'YUV 4:2:2 (YUYV)' }
   { discrete: width = 640, height = 480 }
         Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5,
   { discrete: width = 320, height = 240 }
         Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5,
   { discrete: width = 160, height = 120 }
         Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5,
   { discrete: width = 352, height = 288 }
         Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5,
   { discrete: width = 176, height = 144 }
         Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5,
   { discrete: width = 1280, height = 960 }
         Time interval between frame: 2/15, 1/5,
   { discrete: width = 1600, height = 1200 }
         Time interval between frame: 1/5,
   { pixelformat = 'MJPG', description = 'MJPEG' }
   { discrete: width = 640, height = 480 }
         Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5,
   { discrete: width = 320, height = 240 }
         Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5,
   { discrete: width = 160, height = 120 }
         Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5,
   { discrete: width = 352, height = 288 }
         Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5,
   { discrete: width = 176, height = 144 }
         Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5,
   { discrete: width = 1280, height = 960 }
         Time interval between frame: 1/10, 1/5,





   --
   "Never put off until tomorrow what you can do the day after tomorrow." Mark 
Twain

   My Household Average Daily Consumption - Occupants: 1.5 adults
   Water:128L Electricity:6.2kWh Petrol:2.1L Gas:0kJ

Reply via email to