summaryrefslogtreecommitdiff
path: root/example-scripts/ffmpeg/record-mixed-ffmpeg.sh
blob: fb3a03a2ea61cd9a22bd5b486bd8f403e25b2079 (plain)
  1. #!/bin/sh
  2. ffmpeg \
  3. -i tcp://localhost:11000 \
  4. -ac 2 -channel_layout 2 -aspect 16:9 \
  5. -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 \
  6. -map 0:a -c:a:0 mp2 -b:a:0 192k -ac:a:0 2 -ar:a:0 48000 \
  7. -flags +global_header -flags +ilme+ildct \
  8. -f mpegts output.ts