mirror of
https://github.com/furrysalamander/rubedo.git
synced 2025-09-26 23:29:12 +08:00

The code is basically functional. I wouldn't call it robust, but it does return generally correct results.
5 lines
167 B
Python
5 lines
167 B
Python
from glob import glob
|
|
import os
|
|
from pathlib import Path
|
|
for file_name in glob("sample_data/*"):
|
|
os.system(f"ffmpeg -i {file_name} gif/{Path(file_name).stem}.gif") |