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)

#install module #python3 -m pip install python-ffmpeg-video-streaming #import module from python_ffmpeg_video_streaming import Input, Output, Stream #create inputs and outputs input1 = Input('http://liveserver.com/video.m3u8') output = Output('rtmp://streamserver', Stream(input1)) #stream with python-ffmpeg-video-streaming output.run()

Questions about programming?Chat with your personal AI assistant