From f4423181b773ed081446cb8cc917bb67545c76ae Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Thu, 17 Nov 2016 21:35:47 +0100 Subject: example-call --- example-scripts/ffmpeg/record-all-audio-streams.py | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'example-scripts') 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 {} -- cgit v1.2.3