From: John Weber <rjohnweber@gmail.com>
To: meta-freescale@yoctoproject.org
Subject: Re: USB Video webcam on wandboard dual
Date: Mon, 08 Apr 2013 14:50:53 -0500 [thread overview]
Message-ID: <51631F9D.6060804@gmail.com> (raw)
In-Reply-To: <51631AE9.4070603@gmail.com>
Steven,
This should be a kernel configuration setting. Check out the defconfig for the
kernel, which is located in the kernel recipe for wandboard-dual. If you have
CONFIG_USB_VIDEO_CLASS declared as m or y then you should have UVC installed.
Something else that I discovered is that the default fsl images (fsl-image-test
is one) do not include the required v4l elements to support capture from the UVC
device.
I think you can alter the fsl-image-test.bb file to include some more Gstreamer
packages:
GSTREAMER_EXTRA_INSTALL = " \
gst-plugins-good-video4linux2 \
gst-plugins-good-rtp \
gst-plugins-good-rtpmanager \
gst-plugins-good-udp \
"
IMAGE_INSTALL += " \
packagegroup-fsl-gstreamer \
packagegroup-fsl-tools-testapps \
packagegroup-fsl-tools-benchmark \
${GSTREAMER_EXTRA_INSTALL} \
"
Note - I don't think rtp, rtpmanager, or udp are required if all you want to do
is capture data. But, if you want to capture AND stream, then they are pretty
helpful. :-)
Or, you can create your own image recipe to do it rather than alter the
fsl-image-test recipe:
https://github.com/johnweber/meta-fsl-arm-extra/commit/aead76df47f6ce3f658366e768a65f045ddb01b8
I was able to capture, encode, and stream from a USB webcam using the recipe. I
did notice that the performance wasn't very good. For me, this was just a test
to see if I could create the pipeline and get it running on Wandboard. I think
there is some optimization to be done, but I'm off to other things now.
John
On 4/8/13 2:30 PM, Steven Grunza wrote:
> Are the necessary drivers to use a UVC USB webcam already setup to be built or
> do I need to enable them? If I need to enable them, can someone point me to the
> correct place to do the enabling?
>
> I'm not sure if the following gives enough information about my configuration
> but here it is:
>
> grunzasr@stm32dbg:/home/yocto/wandboard/fsl-community-bsp/build$ bitbake
> fsl-image-gui
> Parsing recipes: 100%
> |###########################################################################|
> Time: 00:01:43
> Parsing of 1276 .bb files complete (0 cached, 1276 parsed). 1639 targets, 63
> skipped, 0 masked, 0 errors.
>
> Build Configuration:
> BB_VERSION = "1.17.1"
> BUILD_SYS = "x86_64-linux"
> NATIVELSBSTRING = "Ubuntu-12.10"
> TARGET_SYS = "arm-poky-linux-gnueabi"
> MACHINE = "wandboard-dual"
> DISTRO = "poky"
> DISTRO_VERSION = "1.3+snapshot-20130408"
> TUNE_FEATURES = "armv7a vfp neon"
> TARGET_FPU = "vfp-neon"
> meta
> meta-yocto = "(nobranch):caa56bfb763e9f30822633359056be0e3f5078e1"
> meta-oe = "(nobranch):cbe69cab46335b48de85001f7dd07da765ba8b7b"
> meta-fsl-arm = "(nobranch):0a9469a14c593d7fb2c2b17fa6c91e0e49e29158"
> meta-fsl-arm-extra = "(nobranch):29ab3a55d7eebf699bcb98c0cb6cafdabce35c2f"
> meta-fsl-demos = "(nobranch):4036190439b3051c9e6adae7ee372ad36a380884"
>
>
>
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>
prev parent reply other threads:[~2013-04-08 19:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-08 19:30 USB Video webcam on wandboard dual Steven Grunza
2013-04-08 19:42 ` Otavio Salvador
2013-04-08 19:42 ` Eric Bénard
2013-04-08 19:50 ` John Weber [this message]
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=51631F9D.6060804@gmail.com \
--to=rjohnweber@gmail.com \
--cc=meta-freescale@yoctoproject.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 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.