PW Akshay

Generation

generate functionMon, 05 Dec 2022

Program to live stream m3u8 to rtmp in python (no function)

import subprocess command = 'ffmpeg -i "https://bitdash-a.akamaihd.net/content/MI201109210084_1/m3u8s/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.m3u8" -c:v copy -c:a aac -ar 44100 -ab 128k -ac 2 -strict -2 -f flv -listen 1 rtmp://127.0.0.1:1935/live/stream' subprocess.call(command, shell=True)

Questions about programming?Chat with your personal AI assistant