what I'm trying to do is publish the .flv media file to the RTMP server so that subscribers can watch it. I am testing stream viewing with multiple subscribers ( oflaDemo ) and ffplay .
the problem is that ffmpeg publishes 5 minutes of the .flv file to the server in almost 20 seconds, in these 20 seconds the stream appears on the subscriptions, but after that it cuts. command i use:
ffmpeg -i file.flv -re -acodec copy -vcodec copy -f flv "rtmp://localhost/oflaDemo/aaa live=1"
how can I get ffmpeg to transfer a 5 minute file stream in 5 minutes or any other solution.
thanks.
Akram Berkawy
source share