PW Akshay

Generation

generate functionMon, 05 Dec 2022

Program to stream m3u8 urlto rtmp in python using Videostream .

import videostream import ffmpeg # the code is from https://github.com/zachbruggeman/videostream # this is a demo to stream webcam to rtmp server by using videostream # coding=utf-8 # 以下是在docker環境下使用videostream這個package,將webcam的畫面轉成rtmp檔案 # 轉檔案的過程,基本上只要有ffmpeg的指令就可以做到,但很麻煩,因此使用videostream這個package簡化 # 這個package使用python執行,可以直接在docker中執行,不

Questions about programming?Chat with your personal AI assistant