PW Akshay

Generation

generate functionTue, 17 Jan 2023

create a python program to stream video from m3u8 url to youtube using moviepy.editor module

from moviepy.editor import * def stream_video(source, destination): clip = VideoFileClip(source) clip.write_videofile(destination, fps=24) stream_video('source.m3u8', 'destination.mp4')

Questions about programming?Chat with your personal AI assistant