Repository navigation
feat(express-media): 急件 · 视频投递 —— 按平台限制把视频压到刚好能发的大小 - #140
Open
Andre-1998 wants to merge 2 commits into
Open
Andre-1998 wants to merge 2 commits into
Andre-1998 wants to merge 2 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
新增 急件 · 视频投递(
express-media):把「视频太大发不出去」变成可执行的——先量清各平台到底能收多大,再在本机压到刚好能发的大小;压不进去就直说,并给出下一步。包内含一个查平台上限的 Mini App、一个内置 skill 和一个零依赖的 Node 命令行,全程本机处理,不上传任何文件,也不需要账号。这是官方插件市场上架提交 PLUGIN-202611100252(
express-media-1.1.0.zip,中文,仅桌面端)对应的合并请求。市场上架记录里的作者是组织Andre-7245;本仓库的author按社区惯例写拥有plugins/andre-1998/的 GitHub 账号,两者指同一位作者。Tested environment(实测环境与结果)
express doctor报告libx264、aac、gif、sidedata均可用)。ffprobe独立量过体积,分段结果逐段核对了真实时长。npm run check:92 个测试全过、0 失败;npm run validate全仓 0 errors,本包plugins/andre-1998/express-media: OK(0 error、0 warning,其余包自带的 warning 与本 PR 无关)。未验证
剩余的
npm run check警告本包无,一次跑干净;其他包自带的 warning 不在本 PR 范围内。
新增权限或更高的最低客户端版本
无。包内没有声明
agentAccess、toolAccess、deviceAccess、hostAccess,也没有抬高最低客户端版本。Written by MiniMax M3.1 Flash
包里有什么
miniapp/miniapp.json、miniapp/node/server.mjsdata/platforms.json提供上限页与/api/platformsminiapp/client/index.htmlskills/express-media/SKILL.mdbin/express.mjs、src/doctor、inspect、fit、split、trim、gif、carddata/platforms.json这些数字怎么来的
每个平台都有自己的「口径」:
官方(厂商公开说明)、社区实测(社区实测)、口径不一(两边说法不一致时取更保守的那个)。表上标了数据更新日期,所以过期的上限是看得见的,而不是被默默当真。Mini App、skill 和命令行读的是同一份data/platforms.json,上限不会在三者之间漂移。压缩那一步从不信编码器的说法:每一档压完都用
ffprobe量一遍真实体积,所以「达标」说的是磁盘上那个文件真的那么大。目标够不着时,工具会明说并给出替代方案,而不是丢一个仍然发不出去的文件给你。安装
把整个目录(含隐藏的
.minimax-plugin/)复制进 MiniMax Code 的插件目录,命名为express-media/(默认~/.minimax/plugins/express-media/),重启 MiniMax Code 后在右侧面板的 Mini App 入口打开「急件 · 平台限制速查」。MiniMax Code 3.1.11 起也可以在插件页 创建 → Import from a Git repository 粘贴本目录地址导入。压缩需要 Node.js 20.11 及以上,以及带
libx264、aac、gif和sidedata滤镜的 ffmpeg;只查上限的话两者都不需要。维护
源码与历史:https://github.com/Andre-1998/express-media
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.