nginx-rtmp-module
nginx-rtmp-module copied to clipboard
Random weird behavior with ffmpeg
Hi guys.
I am doing some live streaming setup for my personal project and I noticed that sometime ffmpeg will not generate any hls auto it was running. I copied the same command and run in shell and it was generating HLS files successfully but somehow it was not generating with nginx.

The more weird thing is that if i restart nginx for like a couple of times, it will regenerate. I am only playing youtube video from browser somehow ffmpeg process is not generating hls. Even after a couple of restarts, it will generate sometimes but its random. Mostly not generating at all. Can you guys help me with it?
Seems like ffmpeg is not doing enything. its stuck at here
Use exec_push instead of exec ? 🤔
Following https://github.com/dreamsxin/nginx-rtmp-wiki/blob/master/Directives.md#exec_push