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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:
> >
> > 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



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux