generate functionSun, 04 Dec 2022
stream m3u8 url to rtmp in python with pyffmpeg
from pyffmpeg import FFmpeg def stream_to_rtmp(m3u8_url, rtmp_url): ff = FFmpeg( inputs={m3u8_url: None}, outputs={rtmp_url: '-c copy -f flv'} ) ff.cmd ff.run()
Python
Generate More