I am using ffmpeg to livestream my screen with nimble RTMP for public HLS players.
Tere is a delay between 10 & 15 seconds, that's fine.
The problem is : When i stop ffmpeg, it stops feeding the rtmp protocol, the nimble HLS play stops after few seconds and doesn't stream all the received packets.
I don't think that's a normal behaviour, am i missing some configuration ?
I have tried with nginx-rtmp and it works fine. I looking for a solution with nimble.
Streaming command :
ffmpeg -y -v info -f x11grab -draw_mouse 0 -r 30 -s 1280x720 -thread_queue_size 4096 -i :0.0+0,0 -f pulse -thread_queue_size 4096 -i default -acodec aac -strict -2 -ar 44100 -c:v libx264 -preset veryfast -maxrate 2976k -bufsize 5952k -pix_fmt yuv420p -r 30 -crf 17 -g 60 -tune zerolatency -f tee -flags +global_header -map 0:v -map 1:a [f=flv]rtmp://nimble.my.domain:1935/live/test
Probably you can setup DVR for your stream with minimal loop duration (1-2 minutes) and use playlist_dvr.m3u8 URL for playback - in this case last minutes will be available for playback after end of streaming. Please read more about DVR features here: https://wmspanel.com/nimble/dvr
and required to achieve the purposes illustrated in the
If you want to know more or withdraw your consent to all or some of the cookies, please
refer to the