Mercurial > codedump
view intro.py @ 30:6f784c5d13ce
add getlist.py
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Mon, 31 May 2021 15:37:50 -0400 |
parents | 0f81a012ead6 |
children | 2aa9614cb39a |
line wrap: on
line source
import os amt = 1 for 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