MCPcopy Index your code
hub / github.com/duckeaty/ScratchMediaPictures

github.com/duckeaty/ScratchMediaPictures @1.6

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.6 ↗ · + Follow
82 symbols 226 edges 2 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

视频帧提取器

从视频中提取封面和缩略图的自动工具,配合EMBY之类的使用。

功能:

1。支持JPG或PNG格式抓取

2。支持文件夹及文件拖入自动获取视频

3。支持首帧提取

4。支持指定帧提取

5。支持随机帧多帧提取,并可设置提取时间范围(按比例设置)

6。可自行设置抓取图片保存地址。

7。支持操作记录及设置保存。

8。支持抓取后选图自动在视频对应地址生成封面图和缩略图,并自动对图片进行裁剪适合EMBY用。

9。支持缩放

10。支持一键设置封面/缩略图,并可对不满意的直接点击修改

11。支持单独设置抓取横竖图的长宽比

20251119更新: 1。增加抓取图片的长宽比设置(横竖图可独立设置)

20250222更新:

1。增加了一键设置封面/缩略图功能,如果自动选择的不满意可以点击更改

2。优化了内存占用,大量图片处理的情况下内存占用小了20倍以上

3。增加了图片缓存,第一次读新图显示时会稍慢,后面就非常流畅

4。对界面和流畅度作了一定优化

5。修复了一堆BUG

6。其它想不起来的更新

强烈推荐更新,短期不准备更了

20240804更新: 支持抓取横版和竖版图片,抓取竖版时会同时抓取横版和竖版。

其它功能自己摸索吧。

a_1 a_2 a_3 image image

Core symbols most depended-on inside this repo

setButton_enabled
called by 23
main.py
thread_it
called by 13
main.py
dataFile_write
called by 11
main.py
getOutPath
called by 8
main.py
sec_to_time
called by 6
main.py
d_stop
called by 5
main.py
d_set_allpics
called by 4
main.py
getPiccache
called by 4
main.py

Shape

Method 75
Class 7

Languages

Python100%

Modules by API surface

main.py73 symbols
UI.py9 symbols

For agents

$ claude mcp add ScratchMediaPictures \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact