It should work fine with the ov5640. What board is this?
On 2016-11-03 13:14, Ari Sinisalo wrote:
I have tried to use imxv4l2videosrc but it fails constantly. Following
is what I get with fakesink.
GST_DEBUG=2,*imx*:9 gst-launch-1.0 imxv4l2videosrc device=/dev/video1
! fakesink
0:00:00.068249500 557 0xb37a20 INFO imxv4l2videosrc
v4l2src.c:595:gst_imx_v4l2src_get_caps:<imxv4l2videosrc0> get caps
filter (NULL)
0:00:00.068449500 557 0xb37a20 INFO imxv4l2videosrc
v4l2src.c:605:gst_imx_v4l2src_get_caps:<imxv4l2videosrc0> get caps
video/x-raw, width=(int)[ 16, 2147483647 ], height=(int)[ 16,
2147483647 ], interlace-mode=(string)progressive,
framerate=(fraction)[ 0/1, 100/1 ], pixel-aspect-ratio=(fraction)[
0/1, 100/1 ]
0:00:00.068673500 557 0xb37a20 INFO imxv4l2videosrc
v4l2src.c:595:gst_imx_v4l2src_get_caps:<imxv4l2videosrc0> get caps
filter (NULL)
0:00:00.068747875 557 0xb37a20 INFO imxv4l2videosrc
v4l2src.c:605:gst_imx_v4l2src_get_caps:<imxv4l2videosrc0> get caps
video/x-raw, width=(int)[ 16, 2147483647 ], height=(int)[ 16,
2147483647 ], interlace-mode=(string)progressive,
framerate=(fraction)[ 0/1, 100/1 ], pixel-aspect-ratio=(fraction)[
0/1, 100/1 ]
Setting pipeline to PAUSED ...
0:00:00.071060625 557 0xb37a20 LOG imxv4l2videosrc
v4l2src.c:279:gst_imx_v4l2src_start:<imxv4l2videosrc0> start
0:00:00.071425250 557 0xb37a20 WARN imxv4l2videosrc
v4l2src.c:123:gst_imx_v4l2src_is_tvin:<imxv4l2videosrc0>
VIDIOC_QUERYSTD failed: Inappropriate ioctl for device
0:00:00.071497625 557 0xb37a20 WARN imxv4l2videosrc
v4l2src.c:127:gst_imx_v4l2src_is_tvin:<imxv4l2videosrc0> VIDIOC_G_STD
failed: Inappropriate ioctl for device
0:00:00.071557250 557 0xb37a20 DEBUG imxv4l2videosrc
v4l2src.c:211:gst_imx_v4l2src_capture_setup:<imxv4l2videosrc0>
pixelformat = 1448695129 field = 1
0:00:00.071610625 557 0xb37a20 INFO imxv4l2videosrc
v4l2src.c:225:gst_imx_v4l2src_capture_setup:<imxv4l2videosrc0> capture
mode 0: 640x480
0:00:00.071665750 557 0xb37a20 ERROR imxv4l2videosrc
v4l2src.c:230:gst_imx_v4l2src_capture_setup:<imxv4l2videosrc0>
VIDIOC_S_INPUT failed: Invalid argument
0:00:00.071763500 557 0xb37a20 ERROR imxv4l2videosrc
v4l2src.c:284:gst_imx_v4l2src_start:<imxv4l2videosrc0> capture_setup
failed
0:00:00.071808000 557 0xb37a20 WARN basesrc
gstbasesrc.c:3717:gst_base_src_activate_push:<imxv4l2videosrc0> Failed
to start in push mode
0:00:00.071853375 557 0xb37a20 WARN GST_PADS
gstpad.c:1098:gst_pad_set_active:<imxv4l2videosrc0:src> Failed to
activate pad
ERROR: Pipeline doesn't want to pause.
Setting pipeline to NULL ...
Freeing pipeline ...
Should imxv4l2videosrc work with i.MX7 and OV5640?
I can get camera capture working with freescale plugin. These work fine:
gst-launch-1.0 imxv4l2src device=/dev/video1 ! fakesink
gst-launch-1.0 imxv4l2src device=/dev/video1 ! imxv4l2sink
gst-launch-1.0 imxv4l2src device=/dev/video1 ! imxpxpvideosink
br AriS
------------------------------------------------------------------------
SASKEN BUSINESS DISCLAIMER: This message may contain confidential,
proprietary or legally privileged information. In case you are not the
original intended Recipient of the message, you must not, directly or
indirectly, use, disclose, distribute, print, or copy any part of this
message and you are requested to delete it and inform the sender. Any
views expressed in this message are those of the individual sender
unless otherwise stated. Nothing contained in this message shall be
construed as an offer or acceptance of any offer by Sasken
Communication Technologies Limited ("Sasken") unless sent with that
express intent and with due authority of Sasken. Sasken has taken
enough precautions to prevent the spread of viruses. However the
company accepts no liability for any damage caused by any virus
transmitted by this email.
Read Disclaimer at http://www.sasken.com/mail-disclaimer/
--
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale