PW Akshay


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 ffmpeg_streaming import Formats, Bitrate, Representation, Size from ffmpeg_streaming import HLSStream stream = HLSStream( ffmpeg_path=r'C:\Users\Nancy\AppData\Local\Programs\Python\Python36\Scripts\ffmpeg.exe', input_path='', output=r'C:\Users\Nancy\Desktop\ffmpeg_streaming-master\output.mp4', format='mp4')

Questions about programming?Chat with your personal AI assistant