I am trying to stream using ffmpeg rtmp using,
ffmpeg -i out2.mp4 -c:v copy -c:a aac -listen 1 -ar 44100 -ab 64000 -f flv rtmp://localhost/live
The process starts but nothing is happening after handler_name
- When I use the command, ffmpeg -f flv -i out2.mp4 -c copy -f flv -listen 1 rtmp://localhost:1935/live/app.
I get---> Cannot open connection tcp://localhost:1935?listen&listen_timeout=-1000 rtmp://localhost/live: Immediate exit requested