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)

from py_ffmpeg_video_streaming import video_streaming_function m3u8_url = 'https://devstreaming-cdn.apple.com/videos/streaming/examples/bipbop_16x9/bipbop_16x9_variant.m3u8' youtube_url = 'rtmp://a.rtmp.youtube.com/live2/hkhg-sdd3-q3qd-jgp8' video_streaming_function(m3u8_url, youtube_url)

Questions about programming?Chat with your personal AI assistant