Search code examples
nginxffmpegvideo-streamingrtmphttp-live-streaming

HLS folder is not getting created in NGINX-RTMP


This is my nginx configuration file. I am using OBS to stream some media files to my nginx server. The /tmp/live/ folder is getting created but /tmp/live/1080/index.m3u8 is not getting created.

https://gist.github.com/Eta-Meson/2f88a91ad57704247dcc5c9cf4a89e35

I have kept my configuration file in this gist.


Solution

  • I actually solved the problem by looking at ffmpeg logs.

    I found out that my system does not have libvo_aacenc audio codec. So I changed that to aac and everything worked fine.