PW Akshay

Generation

generate functionMon, 05 Dec 2022

Program to stream m3u8 urlto rtmp in python using FLVStream .

def stream(url): subprocess.Popen(["rtmpdump", "-q", "-r", "rtmp://192.168.1.148/live/live", "-y", "live", "-W", "https://github.com/arut/nginx-rtmp-module/archive/master.tar.gz", "-o", "test.flv"]) stream("http://192.168.1.148/live/live.m3u8")

Want to kickstart your project?Use the new AI Studio to create your code