summaryrefslogtreecommitdiff
path: root/example-scripts/ffmpeg/source-nostream-music.sh
diff options
context:
space:
mode:
authorMaZderMind <git@mazdermind.de>2015-12-08 13:30:38 +0100
committerMaZderMind <git@mazdermind.de>2015-12-08 13:30:38 +0100
commitd5ea92d23414a3868e48827a9089a20b3dbc1e82 (patch)
tree58b9b6b22aa2c1c3e1a464327d226ec6d56b32a1 /example-scripts/ffmpeg/source-nostream-music.sh
parent1ffc39ccb2e22e9a4ff8beaf131d5b814ed27ea2 (diff)
[example-scripts] add scripts for pause-loop and -music
Diffstat (limited to 'example-scripts/ffmpeg/source-nostream-music.sh')
-rwxr-xr-xexample-scripts/ffmpeg/source-nostream-music.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/example-scripts/ffmpeg/source-nostream-music.sh b/example-scripts/ffmpeg/source-nostream-music.sh
new file mode 100755
index 0000000..71bc1ed
--- /dev/null
+++ b/example-scripts/ffmpeg/source-nostream-music.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+wget -nc -O /tmp/machine_lullaby_1.ogg http://c3voc.mazdermind.de/testfiles/machine_lullaby_1.ogg
+while true; do
+ ffmpeg -y \
+ -i "/tmp/machine_lullaby_1.ogg" \
+ -ac 2 \
+ -af aresample=48000 \
+ -c:a pcm_s16le \
+ -f matroska \
+ tcp://localhost:18000
+done