summaryrefslogtreecommitdiff
path: root/example-scripts/ffmpeg/source-background-loop.sh
blob: e18617ff339ca96aabe8003dc263878aca5f2fc0 (plain)
  1. #!/bin/sh
  2. wget -nc -O /tmp/bg.ts http://c3voc.mazdermind.de/testfiles/bg.ts
  3. while true; do cat /tmp/bg.ts || exit 1; done |\
  4. ffmpeg -re -i - \
  5. -map 0:v \
  6. -c:v rawvideo \
  7. -pix_fmt uyvy422 \
  8. -f matroska \
  9. tcp://localhost:16000