aboutsummaryrefslogtreecommitdiff
path: root/example-scripts/ffmpeg/source-nostream-music.sh
blob: 71bc1ed2c2ccf87e8ea69490ae6a243df1bd8619 (plain)
  1. #!/bin/sh
  2. wget -nc -O /tmp/machine_lullaby_1.ogg http://c3voc.mazdermind.de/testfiles/machine_lullaby_1.ogg
  3. while true; do
  4. ffmpeg -y \
  5. -i "/tmp/machine_lullaby_1.ogg" \
  6. -ac 2 \
  7. -af aresample=48000 \
  8. -c:a pcm_s16le \
  9. -f matroska \
  10. tcp://localhost:18000
  11. done