diff options
author | MaZderMind <git@mazdermind.de> | 2015-12-06 20:28:02 +0100 |
---|---|---|
committer | MaZderMind <git@mazdermind.de> | 2015-12-06 20:28:57 +0100 |
commit | 39c8cb3a0e3813ef77c61c601d0028281c04ad2d (patch) | |
tree | 8e4798e9b70732f1c28f180457e962c63f1a20ec /example-scripts/ffmpeg/record-mixed-ffmpeg-segmented-timestamps.sh | |
parent | b2b0e458a59ef8ede58b369a5d5194939021165d (diff) |
[example-scripts] overhaul and test all example scripts, fixes #5
Diffstat (limited to 'example-scripts/ffmpeg/record-mixed-ffmpeg-segmented-timestamps.sh')
-rwxr-xr-x | example-scripts/ffmpeg/record-mixed-ffmpeg-segmented-timestamps.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/example-scripts/ffmpeg/record-mixed-ffmpeg-segmented-timestamps.sh b/example-scripts/ffmpeg/record-mixed-ffmpeg-segmented-timestamps.sh new file mode 100755 index 0000000..86bd1d1 --- /dev/null +++ b/example-scripts/ffmpeg/record-mixed-ffmpeg-segmented-timestamps.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-%t-%05d.ts.ts |