PW Akshay

Generation

generate functionTue, 17 Jan 2023

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

from moviepy.editor import * def save_video(url, output_file): clip = VideoFileClip(url) clip.write_videofile(output_file) save_video("http://example.com/file.m3u8", "output.mp4")

Questions about programming?Chat with your personal AI assistant