All of lore.kernel.org
 help / color / mirror / Atom feed
* cpu load of webcam read out with omap3/beagleboard
@ 2009-10-18 10:43 Rath
  2009-10-23 14:28 ` rath
  0 siblings, 1 reply; 3+ messages in thread
From: Rath @ 2009-10-18 10:43 UTC (permalink / raw)
  To: Linux-Media

Hi,

I have beagleboard with the OMAP3530 processor and I want to read a usb 
webcam out. But I only get usable results at 160x120 resolution.
I set the pixelformat to "V4L2_PIX_FMT_RGB24" and the resolution to 
160x120. With these settings I get 30fps at 4% cpu load. But when I set 
the resolution to 320x240 or 640x480 the cpu load is at 98% and I get 
only 17 or 4fps. Also I get at 640x480 errors like "libv4lconvert: Error 
decompressing JPEG: fill_nbits error: need 9 more bits".

Is this a normal behavior or is  there a way to fix  this?  I think the 
problem is the conversion from MJPEG to RGB, because when I set the 
pixelformat to MJPEG the cpu load is <1%.  But  I need RGB data for 
image processing.

I hope someone can help me.

Regards, Joern

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: cpu load of webcam read out with omap3/beagleboard
  2009-10-18 10:43 cpu load of webcam read out with omap3/beagleboard Rath
@ 2009-10-23 14:28 ` rath
  2009-10-26 10:02   ` Hiremath, Vaibhav
  0 siblings, 1 reply; 3+ messages in thread
From: rath @ 2009-10-23 14:28 UTC (permalink / raw)
  To: linux-media; +Cc: hvaibhav

Nobody has an idea? I think this cpu load isn't normal, becuase everywhere 
you can read, that the bealgeboard is very fast and it has 500MHz...

Regards, Joern


----- Original Message ----- 
From: "Rath" <mailings@hardware-datenbank.de>
To: "Linux-Media" <linux-media@vger.kernel.org>
Sent: Sunday, October 18, 2009 12:43 PM
Subject: cpu load of webcam read out with omap3/beagleboard


> Hi,
>
> I have beagleboard with the OMAP3530 processor and I want to read a usb 
> webcam out. But I only get usable results at 160x120 resolution.
> I set the pixelformat to "V4L2_PIX_FMT_RGB24" and the resolution to 
> 160x120. With these settings I get 30fps at 4% cpu load. But when I set 
> the resolution to 320x240 or 640x480 the cpu load is at 98% and I get only 
> 17 or 4fps. Also I get at 640x480 errors like "libv4lconvert: Error 
> decompressing JPEG: fill_nbits error: need 9 more bits".
>
> Is this a normal behavior or is  there a way to fix  this?  I think the 
> problem is the conversion from MJPEG to RGB, because when I set the 
> pixelformat to MJPEG the cpu load is <1%.  But  I need RGB data for image 
> processing.
>
> I hope someone can help me.
>
> Regards, Joern
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: cpu load of webcam read out with omap3/beagleboard
  2009-10-23 14:28 ` rath
@ 2009-10-26 10:02   ` Hiremath, Vaibhav
  0 siblings, 0 replies; 3+ messages in thread
From: Hiremath, Vaibhav @ 2009-10-26 10:02 UTC (permalink / raw)
  To: rath, linux-media@vger.kernel.org

> -----Original Message-----
> From: rath [mailto:mailings@web150.mis07.de]
> Sent: Friday, October 23, 2009 7:58 PM
> To: linux-media@vger.kernel.org
> Cc: Hiremath, Vaibhav
> Subject: Re: cpu load of webcam read out with omap3/beagleboard
> 
> Nobody has an idea? I think this cpu load isn't normal, becuase
> everywhere
> you can read, that the bealgeboard is very fast and it has 500MHz...
> 
> Regards, Joern
> 
> 
> ----- Original Message -----
> From: "Rath" <mailings@hardware-datenbank.de>
> To: "Linux-Media" <linux-media@vger.kernel.org>
> Sent: Sunday, October 18, 2009 12:43 PM
> Subject: cpu load of webcam read out with omap3/beagleboard
> 
> 
> > Hi,
> >
> > I have beagleboard with the OMAP3530 processor and I want to read
> a usb
> > webcam out. But I only get usable results at 160x120 resolution.
> > I set the pixelformat to "V4L2_PIX_FMT_RGB24" and the resolution
> to
> > 160x120. With these settings I get 30fps at 4% cpu load. But when
> I set
> > the resolution to 320x240 or 640x480 the cpu load is at 98% and I
> get only
> > 17 or 4fps. Also I get at 640x480 errors like "libv4lconvert:
> Error
> > decompressing JPEG: fill_nbits error: need 9 more bits".
> >
> > Is this a normal behavior or is  there a way to fix  this?  I
> think the
> > problem is the conversion from MJPEG to RGB, because when I set
> the
> > pixelformat to MJPEG the cpu load is <1%.  
[Hiremath, Vaibhav] This itself clarifies that the conversion is proving to be costly here, since with MJPEG you are getting <1% CPU consumption. I have never used/came across such use-case/scenario, so it is really difficult to comment on this.

Thanks,
Vaibhav

> But  I need RGB data
> for image
> > processing.
> >
> > I hope someone can help me.
> >
> > Regards, Joern
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-
> media" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> >
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-10-26 10:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-18 10:43 cpu load of webcam read out with omap3/beagleboard Rath
2009-10-23 14:28 ` rath
2009-10-26 10:02   ` Hiremath, Vaibhav

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.