-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
imxv4l2videosrc: support for iMX6 SoloX #93
Comments
As far as I see s_std isn't implemented in the mxc_vadc.c driver, it would be quite good if someone can check a simple fix for imxv4l2videosrc on the i.MX6SX processor
|
I tried your patch and unfortunately there are several other ioctls which are not implemented in mxc_vadc. I pushed my luck and modified imxv4l2videosrc to tolerate all the other failing ones too, but to I guess doing so, some necessary setup steps are not performed anymore:
|
my mistake; the text above can be ignored. For testing puproses I recompiled the linux kernel and my video-devices video0 and video1 were switched leading to the errors from above.
|
Hi, Unfortunately I have no i.MX6SX processor. |
Thanks for your support! I tried the patch with following insights:
I guess the reason for that is that VIDIOC_G_FMT always returns "0" as pixelformat. I don't know if this is intended, however I changed the mx6s_capture driver to return something meaningful:
|
Unfortunately I late saw, but the v308 (PXP_PIX_FMT_VUY444 / V4L2_PIX_FMT_YUV32 ) format is broken https://github.com/Freescale/gstreamer-imx/blob/master/src/pxp/blitter.h#L54 and it is the single format with which vadc can work |
Where is that format broken? In the PxP or the gstreamer-imx plugins? When I try to use imxeglvivsink or imxg2dvideosink I see the same error. Is this something that can be fixed? Thanks for your help! EDIT: Great... the freescale plugins do "work", but cause a very high cpu load. So I guess there is some software-conversion going on. |
I think that a problem in PxP because the unit test uses software CSC. You can try videoconvert gst-launch-1.0 imxv4l2videosrc ! videoconvert ! imxg2dvideosink |
With videoconvert in the pipeline I can successfully create&start it. However, the picture shown on the display is very greenish (I can recognize the camera-picture so the streaming works, the colors are just way off). Also, the CPU load gets quite high which of course makes sense due to the software-conversion. I guess with the broken formats you mean the problem described here: https://lists.yoctoproject.org/pipermail/meta-freescale/2015-April/013376.html |
Unfortunately I don't know about functionality of PxP, but it can be checked. gst-launch-1.0 imxv4l2videosrc ! imxpxpvideosink |
Hi,
I would like to use gstreamer-imx with an iMX6 SoloX.
Unfortunately I get an error when creating a pipeline with following command:
gst-launch-1.0 imxv4l2videosrc device=/dev/video1 ! fakesink
The imxv4l2videosrc element seems to have a problem (output with GST_DEBUG=3):
video1
appears to be the correct device:Is the iMX6 SoloX supported by the plugins? Especially usage together with the Video-ADC integrated in the iMX6SX is of much interest for me.
The text was updated successfully, but these errors were encountered: