aboutsummaryrefslogtreecommitdiff
path: root/voctocore
diff options
context:
space:
mode:
authorMaZderMind <git@mazdermind.de>2015-05-20 10:52:57 +0200
committerMaZderMind <git@mazdermind.de>2015-05-20 10:52:57 +0200
commit9ca65b1c24fd1391c77bcfdb4a081606cf6fcf3f (patch)
treed3c0a622cfb3b1bfd216ff4836d395ce39640997 /voctocore
parent233bad8cfecde0d5f42cdfdb99d3b78562ee5a39 (diff)
example script recording in the voc-timestamped-ts format
Diffstat (limited to 'voctocore')
-rwxr-xr-xvoctocore/scripts/av-record-output-ffmpeg-timestamps.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/voctocore/scripts/av-record-output-ffmpeg-timestamps.sh b/voctocore/scripts/av-record-output-ffmpeg-timestamps.sh
new file mode 100755
index 0000000..9150299
--- /dev/null
+++ b/voctocore/scripts/av-record-output-ffmpeg-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 5 -keyint_min 0 -bf:0 0 -g:0 0 -intra:0 -maxrate:0 50M \
+ -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 /video/voctomix-test-recordings/room-%t-%05d.ts.ts