Program to stream m3u8 urlto rtmp in python using Videostream .
import videostream import subprocess def stream(url, rtmp): stream = videostream.VideoStream(url) stream.open() stream.stream(rtmp) print ('Streaming to rtmp') #Streaming to rtmp stream('https://my-domain.com/playlist.m3u8', 'rtmp://my-domain.com/live/stream')