Difference between revisions of "R-Car/Boards/Yocto-Gen3-CommonFAQ/How to crop the video which is captured by camera"

From eLinux.org
Jump to: navigation, search
 
(No difference)

Latest revision as of 18:27, 26 November 2020

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