const genFfmpegFormatConfigs = (url, port) => [
  "-rtsp_transport",
  "tcp",
  "-i",
  url,
  "-f",
  "mpegts",
  "-codec:v",
  "mpeg1video",
  "-codec:a",
  "mp2",
  "-vcodec",
  "mpeg1video",
  "-b:v",
  "1000k",
  "-r",
  "30",
  "-bf",
  "0",
  "-ac",
  "1",
  "-ar",
  "44100",
  "-s",
  "960x540",
  "-muxdelay",
  "0.4",
  `http://localhost:${port}/s1`,
];
module.exports = { genFfmpegFormatConfigs };
