R-Car/Boards/Yocto-Gen3-CommonFAQ/How to crop the video which is captured by camera

From eLinux.org
< R-Car‎ | Boards/Yocto-Gen3-CommonFAQ
Revision as of 19:26, 26 November 2020 by Y.H. (talk | contribs) (Created page with "== How to crop the video which is captured by camera. == Ex) R-Car Starter Kit Premier + Kingfisher M06 and RDACM21 camera <syntaxhighlight lang=bash> gst-launch-1.0 v4l2src...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

How to crop the video which is captured by camera.

Ex) R-Car Starter Kit Premier + Kingfisher M06 and RDACM21 camera

gst-launch-1.0 v4l2src device=/dev/video0 \
    crop-top=480 crop-left=270 crop-width=960 crop-height=544 ! \
    video/x-raw, format=BGRA, width=960, height=544 ! \
    queue ! vspfilter ! video/x-raw, format=BGRA ! waylandsink