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)

import ffmpeg stream = ffmpeg.input('http://playertest.longtailvideo.com/adaptive/bipbop/gear4/prog_index.m3u8') stream = ffmpeg.output(stream, 'output.mp4') ffmpeg.run(stream)

Want to kickstart your project?Use the new AI Studio to create your code