blob: f57b837fb25b3da229df0fb5f27ca4696f07afc9 (
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 top-right corner, plus a small margin for systray
# 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 \
|