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