comparison intro.py @ 27:0f81a012ead6

minor inconvenience it wouldn't work with it anyway committer: GitHub <noreply@github.com>
author Paper <37962225+mrpapersonic@users.noreply.github.com>
date Sat, 15 May 2021 01:14:13 -0400
parents 704432ea7eac
children 2aa9614cb39a
comparison
equal deleted inserted replaced
26:9bc3913e95c4 27:0f81a012ead6
1 import os 1 import os
2 2
3 amt = 1 3 amt = 1
4 for subdir, dirs, files in os.walk("./"): 4 for files in os.walk("./"):
5 for file in files: 5 for file in files:
6 ext = os.path.splitext(file)[-1].lower() 6 ext = os.path.splitext(file)[-1].lower()
7 if ext == ".mkv": 7 if ext == ".mkv":
8 os.system(f'ffmpeg -i "{file}" -t 30 -pix_fmt yuv420p "Clips\intro_{amt}.mp4') 8 os.system(f'ffmpeg -i "{file}" -t 30 -pix_fmt yuv420p "Clips\intro_{amt}.mp4')
9 amt += 1 9 amt += 1