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)

import ffmpeg stream = ffmpeg.input('') audio = ffmpeg.output(stream, '-c:a aac -b:a 128k myaudio.m4a') video = ffmpeg.output(stream, '-c:v h264 -b:v 1M myvideo.mp4'), video)

Questions about programming?Chat with your personal AI assistant