summaryrefslogtreecommitdiff
path: root/overlays/colibri-imx6_panel-cap-touch-7inch_adapter_overlay.dts
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2023-04-06 15:19:57 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2023-04-13 10:53:08 +0200
commit5f86bd241684c4000c15f466eb020f1e738c7871 (patch)
tree6fa7c6fb4eb322e7c5a17063dc814b190723afe9 /overlays/colibri-imx6_panel-cap-touch-7inch_adapter_overlay.dts
parent2cd1acc84996005bf41d9261cd54b2c308b5d03e (diff)
verdin-am62: add ov5640 camera overlay
Use media-ctl to set the format of the source node and gst-launch-1.0 to start and consume the video stream. media-ctl --set-v4l2 '"ov5640 4-003c":0 [fmt:UYVY8_1X16/640x480@1/30]' gst-launch-1.0 v4l2src device=/dev/video0 num-buffers=30 ! \ video/x-raw,width=640,height=480, format=YUY2 ! waylandsink sync=false [B media-ctl --set-v4l2 '"ov5640 4-003c":0 [fmt:UYVY8_1X16/720x480@1/30]' gst-launch-1.0 v4l2src device=/dev/video0 num-buffers=30 ! \ video/x-raw,width=720,height=480, format=YUY2 ! waylandsink sync=false media-ctl --set-v4l2 '"ov5640 4-003c":0 [fmt:UYVY8_1X16/1280x720@1/30]' gst-launch-1.0 v4l2src device=/dev/video0 num-buffers=30 ! \ video/x-raw,width=1280,height=720, format=YUY2 ! waylandsink sync=false media-ctl --set-v4l2 '"ov5640 4-003c":0 [fmt:UYVY8_1X16/1920x1080@1/15]' gst-launch-1.0 v4l2src device=/dev/video0 num-buffers=30 ! \ video/x-raw,width=1920,height=1080, format=YUY2 ! waylandsink sync=false media-ctl --set-v4l2 '"ov5640 4-003c":0 [fmt:UYVY8_1X16/2592x1944@1/15]' gst-launch-1.0 v4l2src device=/dev/video0 num-buffers=30 ! \ video/x-raw,width=2592,height=1944, format=YUY2 ! waylandsink sync=false root@verdin-am62-14917625:~# media-ctl --set-v4l2 '"ov5640 4-003c":0 [fmt:UYVY8_1X16/640x480@1/30]' root@verdin-am62-14917625:~# gst-launch-1.0 v4l2src device=/dev/video0 num-buffers=30 ! \ video/x-raw,width=640,height=480, format=YUY2 ! waylandsink sync=false -v Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock /GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = video/x-raw, width=(int)640, height=(int)480, format=(string)YUY2, framerate=(fraction)120/1, interlace-mode=(string)progressive, colorimetry=(string)2:4:16:1 /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-raw, width=(int)640, height=(int)480, format=(string)YUY2, framerate=(fraction)120/1, interlace-mode=(string)progressive, colorimetry=(string)2:4:16:1 /GstPipeline:pipeline0/GstWaylandSink:waylandsink0.GstPad:sink: caps = video/x-raw, width=(int)640, height=(int)480, format=(string)YUY2, framerate=(fraction)120/1, interlace-mode=(string)progressive, colorimetry=(string)2:4:16:1 /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-raw, width=(int)640, height=(int)480, format=(string)YUY2, framerate=(fraction)120/1, interlace-mode=(string)progressive, colorimetry=(string)2:4:16:1 Redistribute latency... Got EOS from element "pipeline0". Execution ended after 0:00:01.011434424 Setting pipeline to NULL ... Freeing pipeline ... root@verdin-am62-14917625:~# Related-to: ELB-5082 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'overlays/colibri-imx6_panel-cap-touch-7inch_adapter_overlay.dts')
0 files changed, 0 insertions, 0 deletions