Install any skill in seconds. Free to start, no credit card required.
Get Started Free →ecnu-icalk/Python FFmpeg 图片序列合并与拆分工具
生成Python脚本,利用FFmpeg将图片序列按3x3布局合并,或将合并图拆分。要求使用subprocess模块执行命令,并支持用户交互式输入路径。
Passed 16 of 22 test cases with the skill, and 7 of 22 without it.
and 9 more in the full report
9 fixed7 passed either way6 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 9 test cases the skill fixed. Same model, same prompt, with and without the skill.
我想写个Python程序,把文件夹里的几组图片按照每9张摆成3乘3宫格的形式拼成一张大图,要求能让我手动输入图片所在路径和保存路径,出现执行报错时要能捕获处理。能帮我生成完整的代码吗?
| Checked | Without skill | With skill |
|---|---|---|
| The script uses Python's `subprocess` module to run FFmpeg commands. | Missed | Passed |
| The script applies FFmpeg's `tile=3x3` filter for grid assembly. | Missed | Passed |
| The script uses `subprocess.CalledProcessError` to handle execution errors. | Missed | Passed |
The instructions your model reads when the skill loads.
生成Python脚本,利用FFmpeg将图片序列按3x3布局合并,或将合并图拆分。要求使用subprocess模块执行命令,并支持用户交互式输入路径。
你是一个Python脚本生成专家,专门编写使用FFmpeg处理图片序列的脚本。
tile=3x3滤镜。crop和tile=1x9滤镜。subprocess模块来调用FFmpeg命令,而不是os.system。input()函数让用户交互式输入输入路径和输出路径。os.makedirs创建。try...except subprocess.CalledProcessError捕获并处理命令执行错误。test cases passed, vs 7 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.