stream-video-file-to-rtmp.sh
ffmpeg -re -i video.mp4 -c:v libx264 -preset veryfast -b:v 6000k -maxrate 6000k -bufsize 12000k -pix_fmt yuv420p -g 50 -c:a aac -b:a 160k -ac 2 -ar 44100 -f flv rtmp://server.example.com/live/XXXXX
continue reading...