2
0

transcode-stream-360p.sh 379 B

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