Hi friends, I am using Galile Gen2 board and my requirement is to stream a video from a usb webcam attached to the galileo to a raspberrypi that is connected in a wifi network. My webcam supports only YUYV format and no mjpeg format. Kindly help me with a procedure to implement this.
The first thing you should do is to check whether or not the camera you are using is supported by the UVC driver. You can check http://www.ideasonboard.org/uvc/ in order to see if it is in fact supported. In case your camera is not supported by the driver you will have to add its driver to Edison's image using the latest BSP. You can find more information about how to do this in http://www.intel.com/content/www/us/en/support/boards-and-kits/000005616.html and http://www.yoctoproject.org/docs/1.7.2/mega-manual/mega-manual.html.
You can use gstreamer to capture YUV format (YUYV is a format of YUV as you can see in https://linuxtv.org/downloads/v4l-dvb-apis/V4L2-PIX-FMT-YUYV.html) you could check the gstreamer cheatsheet form more info and the following documents to learn more about how to use it:
Hi peter here is the screen shot. I tried to set the source as the webcam in my galileo, but it says that no element 'v4l2src'. The same command is working fine in ubuntu(in my PC). Please help me with this issue buddy. I have also tried to inspect what are the possible elements available in gstreamer and it does not list v4l2src.
According to the research I made, the option "v4l2src" should be included in plugin gstreamer-plugins-good. Could you verify if you have installed this package?
You can find out if it is present in your board with the command opkg list-installed | grep gstreamer.
I'll be waiting for your response.
Hi peter unfortunately I am not able to find the package gstreamer-plugins-good for yocto linux. Could you please list the source from where i can opkg install the gstreamer-plugins.
You can download it from AlexT's repo. In case you haven't set it up you can find the instructions in http://alextgalileo.altervista.org/edison-package-repo-configuration-instructions.html.
After you have set it up you can run the following command:
opkg install gstreamer1.0-plugins-good-video4linux2 gstreamer1.0-plugins-good-video4linux2-dev
This will install not only this packages but their dependencies. After that you should be able to run the command with the pipeline "v4l2src".
Let me know if it works, I'll be happy to help you if otherwise.
Hi peter there is no such package in the repo.
Not only in the link which I have posted but generally in the whole repo there is no such package.
http://repo.opkg.net/galileo/repo/i586/ Index of /galileo/repo/i586
Please help me fix this issue.I really appreciate your support but still it is so bad that Intel Galileo is having such poor community support and poor documentation. It would be really helpful if Intel works on this issue.
You are right, I apologize for my confusion. In that case, the packages found on the repo are not compatible with Galileo's architecture which means that the plugins will have to be compiled and added by building the image.
In case you don't know how to add packages and build the image, I'd suggest you to read the building guide found in the BSP 22.214.171.124 ( https://downloadcenter.intel.com/download/23197/Intel-Quark-SoC-X1000-Board-Support-Package-BSP-) and Yocto's Mega Manual ( http://www.yoctoproject.org/docs/1.7.2/mega-manual/mega-manual.html). Both of those documents contain a lot of information that can help you in this project.
Once again, I apologize for the misunderstanding. I hope this information helps you.