stream m3u8 url to rtmp in python with pyffmpeg
import pyffmpeg stream = pyffmpeg.VideoStream() stream.open('http://sample.vodobox.net/skate_phantom_flex_4k/skate_phantom_flex_4k.m3u8', is_input = True) stream.open('rtmp://a.rtmp.youtube.com/live2/6qg3-fj7w-xjxh-z6b5', is_output = True) stream.start()