view intro.py @ 38:310a73329fa4

Update updatechromium.py unnecessary because pacman does that by itself committer: GitHub <noreply@github.com>
author Paper <37962225+mrpapersonic@users.noreply.github.com>
date Mon, 21 Jun 2021 10:26:44 -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