public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* V4L error on Linux 2.6.22
@ 2008-11-24 10:41 Gilles Curchod
  2008-11-24 10:43 ` Jean-Francois Moine
  0 siblings, 1 reply; 2+ messages in thread
From: Gilles Curchod @ 2008-11-24 10:41 UTC (permalink / raw)
  To: video4linux-list@redhat.com

Hi,

As part of my diploma project, I'd like to set a demonstration with two
i.MX31 boards: one with a webcam sending a UDP/RTP stream video and the
other getting this stream and displaying it to the framebuffer.

I have a Logitech Webcam (id 046d:08ad). The i.MX31 boards run Linux
2.6.22.6.
I installed the GSPCA (gspcav1-20071224) drivers and I god the following
message while starting the GSPCA module:

     /imx/sandbox/drivers/gspcav1-20071224/gspca_core.c: USB GSPCA camera
found.(ZC3XX)
     /imx/sandbox/drivers/gspcav1-20071224/gspca_core.c:
[spca5xx_probe:4275] Camera type JPEG
     /imx/sandbox/drivers/gspcav1-20071224/Vimicro/zc3xx.h:
[zc3xx_config:669] Find Sensor HV7131R(c)
     usb_endpoint usbdev1.3_ep81: ep_device_release called for 
usbdev1.3_ep81
     usb_endpoint usbdev1.3_ep82: ep_device_release called for 
usbdev1.3_ep82
     /imx/sandbox/drivers/gspcav1-20071224/gspca_core.c:
[spca5xx_getcapability:1249] maxw 640 maxh 480 minw 160 minh 120
     gspca 1-1:1.1: usb_probe_interface
     gspca 1-1:1.1: usb_probe_interface - got id
     gspca 1-1:1.2: usb_probe_interface
     gspca 1-1:1.2: usb_probe_interface - got id
     usbcore: registered new interface driver gspca

Then I use a self-made GStreamer application to get the device's image
and send the stream via UDP/RTP.
The equivalent gst-launch command is:
     gst-launch-0.10 -v v4lsrc !
video/x-raw-yuv,format='(fourcc)'I420,width='(int)'320,height='(int)'240,framerate='(fraction)'25/1 

! ffmpegcolorspace ! ffenc_mpeg4 ! rtpmp4vpay ! udpsink
host=10.192.51.44 port=5000

While I do this on my Ubuntu 8.04, it works fine, but on my embedded
system, I got the following output:
     /imx/sandbox/drivers/gspcav1-20071224/gspca_core.c:
[spca5xx_set_light_freq:1932] Sensor currently not support light fre.
     /imx/sandbox/drivers/gspcav1-20071224/gspca_core.c:
[gspca_set_isoc_ep:945] ISO EndPoint found 0x81 AlternateSet 7
     /imx/sandbox/drivers/gspcav1-20071224/gspca_core.c:
[spca5xx_do_ioctl:2124] Bridge ZC301-2
     /imx/sandbox/drivers/gspcav1-20071224/gspca_core.c:
[spca5xx_do_ioctl:2124] Bridge ZC301-2
     /imx/sandbox/drivers/gspcav1-20071224/gspca_core.c: VIDIOCMCAPTURE:
invalid format (7)

Is this a V4L configuration issue?

Thank for your help.

Gilles

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

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

* Re: V4L error on Linux 2.6.22
  2008-11-24 10:41 V4L error on Linux 2.6.22 Gilles Curchod
@ 2008-11-24 10:43 ` Jean-Francois Moine
  0 siblings, 0 replies; 2+ messages in thread
From: Jean-Francois Moine @ 2008-11-24 10:43 UTC (permalink / raw)
  To: Gilles Curchod; +Cc: video4linux-list@redhat.com

On Mon, 2008-11-24 at 11:41 +0100, Gilles Curchod wrote:
> Hi,

Hi Gilles,

	[snip]
> I have a Logitech Webcam (id 046d:08ad). The i.MX31 boards run Linux
> 2.6.22.6.
> I installed the GSPCA (gspcav1-20071224) drivers and I god the following
> message while starting the GSPCA module:
	[snip]

You should not use the gspca v1. It is not maintained anymore. The new
gspca driver is in the kernel version 2.6.27, but you may get it from
mercurial repositories at LinuxTv.org. Don't forget to read the
gspca_README in my page.

Cheers.

-- 
Ken ar c'hentañ |             ** Breizh ha Linux atav! **
Jef             |               http://moinejf.free.fr/


--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

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

end of thread, other threads:[~2008-11-24 10:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-24 10:41 V4L error on Linux 2.6.22 Gilles Curchod
2008-11-24 10:43 ` Jean-Francois Moine

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox