transcode-stream-720p.sh 381 B

12345678
  1. #!/bin/bash
  2. ./ffmpeg -hide_banner -y -codec:v h264_mmal \
  3. -i rtmp://localhost:33935/ispoogedaily_source/ispoogedaily_720 \
  4. -c:a copy -c:v h264 -profile:v main -sc_threshold 0 -g 60 -keyint_min 50 \
  5. -vf scale=w=1280:h=720:force_original_aspect_ratio=decrease \
  6. -b:v 6000k -maxrate 6420k -bufsize 64200k \
  7. -f flv rtmp://localhost:33935/ispoogedaily_local/ispoogedaily_720