Marhul88
Marhul88

Reputation: 1

Restreaming mpd to m3u8 loads CPU, any solution?

i restream channels from mpd to m3u8 but it loads cpu very much. Is any soliton to restream mpd streams easily?

This is code:

[program:channel]
autorestart=true
command=/usr/local/ffmpeg/bin/ffmpeg -re -hide_banner -headers 'Referer: https://example.com/' -i https://stream.webm.mpd -c:v libx264 -preset ultrafast -tune zerolatency -c:a aac -b:a 128k -f hls -hls_time 4 -hls_flags append_list+delete_segments -hls_list_size 6 -hls_segment_filename '/etc/nginx/hls/channel/file%%03d.ts' /etc/nginx/hls/channel/playlist.m3u8

Upvotes: 0

Views: 2737

Answers (0)

Related Questions