From cc84921f31be141ad74da7ba8f00e90407aeea71 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Thu, 14 May 2015 17:30:49 +0200 Subject: Recording Example-Scripts, including ffmpeg examples --- voctocore/scripts/av-record-output-ffmpeg.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 voctocore/scripts/av-record-output-ffmpeg.sh (limited to 'voctocore/scripts/av-record-output-ffmpeg.sh') diff --git a/voctocore/scripts/av-record-output-ffmpeg.sh b/voctocore/scripts/av-record-output-ffmpeg.sh new file mode 100755 index 0000000..923d6a2 --- /dev/null +++ b/voctocore/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 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 segment-%d.ts -- cgit v1.2.3