linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: linux-media@vger.kernel.org
Subject: gstreamer caps and v4l2
Date: Fri, 17 Aug 2012 05:37:41 -0600	[thread overview]
Message-ID: <502E2D05.30201@mlbassoc.com> (raw)

I know this is slightly off topic for this list, but I hope
someone here can help me.  I have asked on the gstreamer list,
but it's quite often slow/unreliable.

I'm trying to capture video using v4l2src.  The problem is
that my sensor only delivers bayer RGB and I can't figure
out what the caps should be to match.  The Linux driver calls
the video mode SGRBG10

When I tried these caps
   'video/x-raw-bayer,format=(string)grbg,width=2592,height=1944'
it failed with this assertion:
    gst_v4l2src_fixate: assertion `G_VALUE_TYPE (v) == GST_TYPE_LIST' failed
So, I thought I might need a more general string:
   'video/x-raw-bayer,format=(string){bggr,grbg,gbrg,rggb},width=2592,height=1944'
which now fails with:
   gst_value_get_fourcc: assertion `GST_VALUE_HOLDS_FOURCC (value)' failed

Any ideas how I tell v4l2src the details of my sensor?

Thanks

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

                 reply	other threads:[~2012-08-17 11:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=502E2D05.30201@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).