stream m3u8 url to rtmp in python with pyffmpeg
def stream(self): print("Streaming started...\n") stream = ffmpeg.input(self.url) stream = ffmpeg.output(stream, self.rtmpUrl, **self.ffmpegParams) ffmpeg.run(stream, **self.ffmpegParams) print("Streaming ended...")