#! /usr/bin/env nix-shell #! nix-shell -i bash -p ffmpeg-full # # Window is positioned in the bottom-right corner. This could be automatically # calculated by parsing xrandr screen dimentions. set -exo pipefail ffplay \ -f video4linux2 \ -i /dev/video0 \ -video_size 320x240 \ -noborder \ -left 1590 \ -top 830 \ -loglevel 0 \