PW Akshay

Generation

generate functionSun, 04 Dec 2022

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...")

Questions about programming?Chat with your personal AI assistant