Stream a video file to an RTMP server

streaming

// shell

$ ffmpeg -re -i input.mp4 -c:v libx264 -c:a aac -f flv "rtmp://example.com/live/stream"