PW Akshay

Generation

generate functionTue, 17 Jan 2023

create a python program to stream video from m3u8 url to youtube using python-ffmpeg-video-streaming module (do not create function)(do not use subprocess)

from python_ffmpeg_video_streaming import Streaming stream = Streaming("http://example.com/video.m3u8", "rtmp://a.rtmp.youtube.com/live2/<youtube-key>") stream.start()

Questions about programming?Chat with your personal AI assistant