Stream local file to RTMP Server and Client

0
4
https://ffmpeg-by-example.s3.amazonaws.com/rtmp-server-client.jpg
# RTMP 'server', will wait for a client to connect
ffmpeg -re -i input.mp4 -listen 1 -c copy -f flv rtmp://localhost/live

# RTMP 'client', will read the data the server is sending
ffplay rtmp://127.0.0.1/live