...
 
Commits (2)
......@@ -3,6 +3,8 @@
set -e
: ${NUM_FRAMES:=10}
: ${SINK:=fbdevsink sync=false}
: ${FRAMERATE=30/1}
parm_y8() {
CAM_FMT=Y8_1X8
......@@ -119,10 +121,10 @@ _move_mediactl_mipi() {
run_gst() {
gst-launch-1.0 \
v4l2src device="$VID_DEVICE" force-aspect-ratio=false \
! "$GST_FMT,width=${GRAB_X},height=${GRAB_Y},framerate=1/30" \
! "$GST_FMT,width=${GRAB_X},height=${GRAB_Y}${FRAMERATE:+,framerate=${FRAMERATE}}" \
"${GST_CONVERT[@]}" \
! autovideoconvert \
! fbdevsink sync=false
! ${SINK}
}
run_yavta() {
......