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
(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...")
 
 
Line 8: Line 8:
 
     queue ! vspfilter ! video/x-raw, format=BGRA ! waylandsink
 
     queue ! vspfilter ! video/x-raw, format=BGRA ! waylandsink
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
[[Category: R-Car/FAQ/Gen3]]
 +
[[Category: R-Car/FAQ/Gen3/Kingfisher]]
 +
[[Category: R-Car/FAQ/Gen3/Yocto]]

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