#! /usr/bin/env nix-shell #! nix-shell -i bash -p ffmpeg-full # # Window is positioned in the bottom-right corner, plust a 20px border for emacs # minibuffer etc. This could be automatically calculated by parsing xrandr. ffplay -f video4linux2 -i /dev/video0 \ -video_size 320x240 -noborder \ -left 1580 -top 820 -loglevel 0