Thread (121 messages) 121 messages, 7 authors, 2021-02-15

Re: [PATCH 00/75] media: imx: Miscellaneous fixes and cleanups for i.MX7

From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Date: 2021-02-15 00:24:55

Hi Fabio,

Sorry for the late reply.

On Fri, Jan 08, 2021 at 10:47:15PM -0300, Fabio Estevam wrote:
On Fri, Jan 8, 2021 at 10:11 PM Laurent Pinchart wrote:
quoted
Ah of course, I should have mentioned that, sorry. Without the legacy
video node API, the pipeline has to be configured with the MC API and
the V4L2 subdev userspace API before starting the stream.
The current method I use is:

media-ctl -l "'ov5640 1-003c':0 -> 'csi':0[1]"
media-ctl -l "'csi':1 -> 'csi capture':0[1]"
media-ctl -v -V "'ov5640 1-003c':0 [fmt:UYVY8_2X8/320x240 field:none]"
I think this is good. The output of 'media-ctl -p' would help
double-checking.
# gst-launch-1.0 -v  v4l2src device=/dev/video1 ! v4l2convert ! fbdevsink
Here you need to specify the format and size for the V4L2 device. I
think the following should do (I haven't tested it though and I'm no
gstreamer expert).

gst-launch-1.0 -v \
	v4l2src device=/dev/video1 ! \
	video/x-raw,format=UYVY,width=320,height=240 ! \
	v4l2convert ! \
	fbdevsink
Could you please let me know what is the correct way I should do with
the MC API?
-- 
Regards,

Laurent Pinchart
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help