diff options
author | MaZderMind <git@mazdermind.de> | 2015-11-16 23:31:15 +0100 |
---|---|---|
committer | MaZderMind <git@mazdermind.de> | 2015-11-16 23:31:43 +0100 |
commit | d37661d72375bcea603afa0bac16703004923afe (patch) | |
tree | afab0a1f1804fcdddb539418ff0b3adf35a4e551 /example-scripts/av-record-output-ffmpeg.sh | |
parent | 56b9bd28dcdf048e9513ed3e08c029db4f44cf47 (diff) |
move voctocore/scripts to example-scripts
Diffstat (limited to 'example-scripts/av-record-output-ffmpeg.sh')
-rwxr-xr-x | example-scripts/av-record-output-ffmpeg.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/example-scripts/av-record-output-ffmpeg.sh b/example-scripts/av-record-output-ffmpeg.sh new file mode 100755 index 0000000..0ea3d25 --- /dev/null +++ b/example-scripts/av-record-output-ffmpeg.sh @@ -0,0 +1,8 @@ +#!/bin/sh +ffmpeg \ + -i tcp://localhost:11000 \ + -ac 2 -channel_layout 2 -aspect 16:9 \ + -map 0:v -c:v:0 mpeg2video -pix_fmt:v:0 yuv422p -qscale:v:0 2 -qmin:v:0 2 -qmax:v:0 7 -keyint_min 0 -bf:0 0 -g:0 0 -intra:0 -maxrate:0 90M \ + -map 0:a -c:a:0 mp2 -b:a:0 192k -ac:a:0 2 -ar:a:0 48000 \ + -flags +global_header -flags +ilme+ildct \ + -f segment -segment_time 180 -segment_format mpegts segment-%d.ts |