PW Akshay

Generation

generate functionMon, 05 Dec 2022

live stream m3u8 to youtubein python using rtmpy

def send(): print("Sending your live stream to Youtube...") os.system("ffmpeg -re -i "+videopath+" -c copy -f flv rtmp://a.rtmp.youtube.com/live2/"+"rtmp_key") print("Done")

Questions about programming?Chat with your personal AI assistant