Commit c79219bd authored by Simpson, Thomas's avatar Simpson, Thomas
Browse files

Added USB webcam & Displayport scripts

parent c12eb3de
### Set the display resolution to 480p
export DISPLAY=:0.0
xrandr --output DP-1 --mode 640x480
xset -dpms
modetest -D fd4a0000.zynqmp-display -s 42@40:640x480-60@AR24 &
sleep 1
modetest -D fd4a0000.zynqmp-display -w 39:alpha:0
gst-launch-1.0 \
v4l2src device=/dev/video0 ! \
video/x-raw, width=640, height=360, format=YUY2, framerate=30/1 ! \
queue ! \
videoconvert ! \
video/x-raw, format=BGR ! \
queue ! \
vaifacedetect ! \
vaipersondetect ! \
queue ! \
videoscale ! \
video/x-raw, width=640, height=480 ! \
fpsdisplaysink video-sink="kmssink bus-id=fd4a0000.zynqmp-display plane-id=38" sync=false fullscreen-overlay=true
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment