Captura 介绍Author:duanyduan CreateTime:2022-04-27
一款开源,免费,无广告的视频录制,截屏等强大的软件。
Captura *** 作需要准备以下文件(可参考上一节内容)
captura-cli.exe
ffmpeg.exe
def main():
_basePath='E:\Luncher\viedo'
_fileBasePath =f'D:\Video\av\python\{datetime.date.today()}'
if not os.path.exists(_fileBasePath):
os.makedirs(_fileBasePath)
_filePath = f'{_fileBasePath}\{uuid.uuid1()}.mp4'
os.chdir(_basePath)
_cmdlines = f'captura-cli start --cursor --keys --clicks --delay=1000 --source screen:0 -f {_filePath} -y'
sub_process = subprocess.Popen(_cmdlines,shell=True)
time.sleep(15)
sub_process.kill()
录制结果展示
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)