[Community] [News] GTA04 Camera
Benjamin Deering
ben_deering at swissmail.org
Tue Apr 16 02:37:51 CEST 2013
On 04/10/2013 06:58 AM, Radek Polak wrote:
>
> On Tuesday, April 09, 2013 06:46:35 PM Dr. H. Nikolaus Schaller wrote:
>
> > Hi,
>
> > the camera is finally starting to work!
>
That is great news!
>
> > Now as the basics are here, I am curious which distro will be the
> first to
>
> > come with a camera application :)
>
>
SHR has cheese (gnome camera program) available in the build tree. I
built it and it runs on my GTA04, but it does not detect the camera.
I did some research and found that I need to get gstreamer working
before cheese can work. After running the media-ctl commands from the
camera demo, I tried the following command:
gst-launch -v v4l2src device=$(media-ctl -e "OMAP3 ISP CCDC output")
--gst-debug=v4l2:5
Here is what seems to be the important part:
0:00:00.327880859 1651 0x1962b40 DEBUG v4l2
gstv4l2object.c:710:gst_v4l2_set_defaults:<v4l2src0> tv_norm=0x0, norm=(nil)
0:00:00.328399658 1651 0x1962b40 DEBUG v4l2
v4l2_calls.c:579:gst_v4l2_get_norm:<v4l2src0> getting norm
0:00:00.328918457 1651 0x1962b40 DEBUG v4l2
v4l2_calls.c:593:gst_v4l2_get_norm: *Failed to get the current norm for
device /dev/video2*
0:00:00.329559326 1651 0x1962b40 DEBUG v4l2
v4l2_calls.c:818:gst_v4l2_get_input:<v4l2src0> trying to get input
0:00:00.330139160 1651 0x1962b40 DEBUG v4l2
v4l2_calls.c:828:gst_v4l2_get_input:<v4l2src0> input: 0
0:00:00.331420898 1651 0x1962b40 DEBUG v4l2
gstv4l2object.c:1068:gst_v4l2_object_fill_format_list:<v4l2src0> getting
src format enumerations
0:00:00.332916259 1651 0x1962b40 WARN v4l2
gstv4l2object.c:1122:gst_v4l2_object_fill_format_list:<v4l2src0> error:
*Failed to enumerate possible video formats device '/dev/video2' can
work with*
0:00:00.334136963 1651 0x1962b40 WARN v4l2
gstv4l2object.c:1122:gst_v4l2_object_fill_format_list:<v4l2src0> error:
Failed to get number 0 in pixelformat enumeration for /dev/video2. (25 -
Inappropriate ioctl for device)
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed
to enumerate possible video formats device '/dev/video2' can work with
Additional debug info:
gstv4l2object.c(1122): gst_v4l2_object_fill_format_list ():
/GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
Failed to get number 0 in pixelformat enumeration for /dev/video2. (25 -
Inappropriate ioctl for device)
This thread deals with getting gstreamer working with another omap_isp
type camera. It looks like some methods were missing from the driver
initially?:
http://e2e.ti.com/support/dsp/omap_applications_processors/f/447/t/240296.aspx
>
> _______________________________________________
> Community mailing list
> Community at openphoenux.org
> http://lists.goldelico.com/mailman/listinfo/community
> http://www.openphoenux.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.goldelico.com/pipermail/community/attachments/20130415/3e459a37/attachment.html>
More information about the Community
mailing list