2,225
edits
Line 111: | Line 111: | ||
<syntaxhighlight lang=bash> | <syntaxhighlight lang=bash> | ||
# We need to define the desired resolution here since v4l2src can give us various image sizes. | |||
CAPS="video/x-raw,width=1280,height=720,format=RGBA" | |||
gst-launch-1.0 bev name=bev0 calibration-file=$CALIBRATION_FILE \ | gst-launch-1.0 bev name=bev0 calibration-file=$CALIBRATION_FILE \ | ||
v4l2src device=/dev/video0 ! videoconvert ! $CAPS ! bev0.sink_0 \ | v4l2src device=/dev/video0 ! videoconvert ! $CAPS ! bev0.sink_0 \ |