Open chenxiemin opened 7 years ago
Hi,
It needs about 8 seconds to open a live stream with ffplay:
ffplay -fflags nobuffer rtmp://xxx
Any idea to reduce the start stream time? The push command is like following:
ffmpeg -f avfoundation -framerate 30 -i "0" -vcodec libx264 -g 30 -profile:v baseline -level 3.0 -preset ultrafast -tune zerolatency -b:v 160k -r:v 15 -pix_fmt yuv420p -f flv rtmp://xxx
Have you tried adjusting Buflen in your NGINX config?
https://github.com/arut/nginx-rtmp-module/wiki/Directives#buflen
Hi,
It needs about 8 seconds to open a live stream with ffplay:
ffplay -fflags nobuffer rtmp://xxx
Any idea to reduce the start stream time? The push command is like following:
ffmpeg -f avfoundation -framerate 30 -i "0" -vcodec libx264 -g 30 -profile:v baseline -level 3.0 -preset ultrafast -tune zerolatency -b:v 160k -r:v 15 -pix_fmt yuv420p -f flv rtmp://xxx