File: record-mixed-ffmpeg-segmented-timestamps.sh

package info (click to toggle)
voctomix 1.3-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 3,368 kB
  • sloc: python: 4,958; sh: 733; makefile: 23
file content (10 lines) | stat: -rwxr-xr-x 442 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

ffmpeg \
	-y -nostdin \
	-i tcp://localhost:11000 \
	-ac 2 -channel_layout 2 -aspect 16:9 \
	-map 0:v -c:v:0 mpeg2video -pix_fmt:v:0 yuv420p -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 -strftime 1 segment-%Y-%m-%d_%H-%M-%S.ts