Open Sjj1024 opened 7 months ago
timestamp = int(time.time())
now = time.strftime("%Y%m%d-%H%M%S", time.localtime(timestamp))
print(now)
reccmd = "ffmpeg -i '" + res_stream_flv + "' -c copy '" + now + '-'+ nickname +".flv'"
reccmd = reccmd.replace("'", '"')
print(f"录制FLV命令: {reccmd}")
os.system('start ' + reccmd)
将直播视频本地录制