Skip to content

Commit

Permalink
example-call
Browse files Browse the repository at this point in the history
  • Loading branch information
MaZderMind committed Nov 17, 2016
1 parent d8f80a7 commit f442318
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion example-scripts/ffmpeg/record-all-audio-streams.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,22 @@ def getlist(self, section, option):
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
{}
Expand Down

0 comments on commit f442318

Please sign in to comment.