Program to stream m3u8 url to rtmp in python using Streamz.
def stream_m3u8_to_rtmp(url, rtmp_url): source = FFmpeg(inputs={'input': url}, outputs={'output': rtmp_url}) source.run() stream_m3u8_to_rtmp("https://xxxxxx/master.m3u8", 'rtmp://xxxx.cloudfront.net/cfx/st/xxx')