Cookie
Electronic Team, Inc. uses cookies to personalize your experience on our website. By continuing to use this site, you agree to our cookie policy. Click here to learn more.

N-audio

ffmpeg -i input.mp3 -c:a aac -b:a 128k -f hls -hls_time 4 -hls_list_size 0 output.m3u8 location /stream/ proxy_pass http://icecast-server:8000/; proxy_buffering off; # Required for live streams

Generate segments with FFmpeg:

location /hls types application/vnd.apple.mpegurl m3u8; video/mp2t ts; root /tmp; add_header Cache-Control no-cache; n-audio

ffmpeg -i input.mp3 -c:a aac -b:a 128k -f hls -hls_time 4 -hls_list_size 0 output.m3u8 location /stream/ proxy_pass http://icecast-server:8000/; proxy_buffering off; # Required for live streams

Generate segments with FFmpeg:

location /hls types application/vnd.apple.mpegurl m3u8; video/mp2t ts; root /tmp; add_header Cache-Control no-cache;