nginx-rtmp-module icon indicating copy to clipboard operation
nginx-rtmp-module copied to clipboard

Random weird behavior with ffmpeg

Open ye-lin-aung opened this issue 3 years ago • 2 comments

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. image

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?

image

ye-lin-aung avatar Aug 15 '22 01:08 ye-lin-aung

image Seems like ffmpeg is not doing enything. its stuck at here

ye-lin-aung avatar Aug 15 '22 06:08 ye-lin-aung

Use exec_push instead of exec ? 🤔

Following https://github.com/dreamsxin/nginx-rtmp-wiki/blob/master/Directives.md#exec_push

MrMathias154 avatar Oct 30 '22 20:10 MrMathias154