view intro.py @ 129:8c39820da60a default tip

add decode-mixed-mode.c this decodes macintosh mixed-mode procedure types. It currently only supports stack-based procedures :)
author Paper <paper@tflc.us>
date Sun, 19 Oct 2025 22:48:24 -0400
parents 37f231f85a67
children
line wrap: on
line source

import os
import ffmpeg

amt = 1
for files in os.walk("./"):
    for file in files:
        ext = os.path.splitext(file)[-1].lower()
        if ext == ".mkv":
            stream = ffmpeg.input(file)
            os.system(f'ffmpeg -i "{file}" -t 30 -pix_fmt yuv420p "Clips\\intro_{amt}.mp4"')
            amt += 1