PW Akshay

Generation

generate functionMon, 05 Dec 2022

Program to stream m3u8 urlto rtmp in python using FLVStream .

def stream_url(url): # url = 'm3u8 url' # url = 'https://videos3.earthcam.com/fecnetwork/10785.flv/playlist.m3u8' s = FLVStream(url) s.open() rtmp = 'rtmp://xxxxxxxxxxxx' s.publish(rtmp, 'live') s.pipe.run() s.close() stream_url(url)

Questions about programming?Chat with your personal AI assistant