aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaZderMind <git@mazdermind.de>2016-11-17 21:35:47 +0100
committerMaZderMind <git@mazdermind.de>2016-11-17 21:35:47 +0100
commitf4423181b773ed081446cb8cc917bb67545c76ae (patch)
tree019cadd2a5ac4a5f6b99c41c535b545eb00b854e
parentd8f80a7ebbf5a654b8c2591e8240479a4d2797e0 (diff)
example-call0.5
-rwxr-xr-xexample-scripts/ffmpeg/record-all-audio-streams.py16
1 files changed, 15 insertions, 1 deletions
diff --git a/example-scripts/ffmpeg/record-all-audio-streams.py b/example-scripts/ffmpeg/record-all-audio-streams.py
index 29cfd6b..f2ce526 100755
--- a/example-scripts/ffmpeg/record-all-audio-streams.py
+++ b/example-scripts/ffmpeg/record-all-audio-streams.py
@@ -52,8 +52,22 @@ try:
except:
output = 'output.ts'
+
+# example call:
+# -------------
+# ffmpeg
+# -hide_banner
+# -y -nostdin
+# -i tcp://localhost:13000 -i tcp://localhost:13001 -i tcp://localhost:13002
+# -ac 2 -channel_layout stereo
+# -map 0:a -metadata:s:a:0 language=und -map 1:a -metadata:s:a:1 language=und -map 2:a -metadata:s:a:2 language=und
+# -c:a mp2 -b:a 192k -ac:a 2 -ar:a 48000
+# -flags +global_header -flags +ilme+ildct
+# -f mpegts
+# -vv
+
cmd = """
-ffmpeg \
+ffmpeg
-hide_banner
-y -nostdin
{}