Mercurial > codedump
view intro.py @ 26:9bc3913e95c4
Update README.md
committer: GitHub <noreply@github.com>
author | Paper <37962225+mrpapersonic@users.noreply.github.com> |
---|---|
date | Sat, 15 May 2021 01:12:12 -0400 |
parents | 704432ea7eac |
children | 0f81a012ead6 |
line wrap: on
line source
import os amt = 1 for subdir, dirs, files in os.walk("./"): for file in files: ext = os.path.splitext(file)[-1].lower() if ext == ".mkv": os.system(f'ffmpeg -i "{file}" -t 30 -pix_fmt yuv420p "Clips\intro_{amt}.mp4') amt += 1