blob: 23e47dbb458446e4da23f25ac7316dc47d031afe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#! /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 \
|