PW Akshay

Generation

generate functionMon, 05 Dec 2022

Program to stream m3u8 url to rtmp in python using PyM3u8 .

def stream_m3u8_to_rtmp(m3u8_url, output_rtmp_url): from pym3u8 import Loader, dump stream = Loader(m3u8_url).streams[0] stream.dump(output_rtmp_url)

Questions about programming?Chat with your personal AI assistant