PW Akshay

Generation

generate functionSun, 04 Dec 2022

stream with m3u8 to rtmp in python

def stream(url, out): os.system("ffmpeg -i '{0}' -acodec copy -vcodec copy -f flv '{1}'".format(url, out))

Questions about programming?Chat with your personal AI assistant