blob: e6d92cef5c5d50eecc4aaeec684b11145f0bcf2a (
plain)
- #!/bin/sh
- confdir="`dirname "$0"`/../"
- . $confdir/default-config.sh
- if [ -f $confdir/config.sh ]; then
- . $confdir/config.sh
- fi
- wget -nc -O /tmp/pause.ts http://c3voc.mazdermind.de/testfiles/pause.ts
- while true; do cat /tmp/pause.ts || exit 1; done |\
- ffmpeg -y -nostdin -re -i - \
- -filter_complex "
- [0:v] scale=$WIDTH:$HEIGHT,fps=$FRAMERATE [v]
- " \
- -map '[v]' \
- -c:v rawvideo \
- -pix_fmt yuv420p \
- -f matroska \
- tcp://$MIXHOST:17000
|