Stream local file to RTMP Server and Client
0
4
# 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