From 7682e3ce7a336d329ca6989e574561516bbe498e Mon Sep 17 00:00:00 2001 From: Andre-1998 <77193164+Andre-1998@users.noreply.github.com> Date: Mon, 16 Nov 2026 20:21:13 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feat(express-media):=20=E6=80=A5=E4=BB=B6?= =?UTF-8?q?=20=C2=B7=20=E8=A7=86=E9=A2=91=E6=8A=95=E9=80=92=20=E2=80=94?= =?UTF-8?q?=E2=80=94=20=E6=8C=89=E5=B9=B3=E5=8F=B0=E9=99=90=E5=88=B6?= =?UTF-8?q?=E6=8A=8A=E8=A7=86=E9=A2=91=E5=8E=8B=E5=88=B0=E5=88=9A=E5=A5=BD?= =?UTF-8?q?=E8=83=BD=E5=8F=91=E7=9A=84=E5=A4=A7=E5=B0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + README.zh-CN.md | 1 + .../express-media/.minimax-plugin/plugin.json | 21 + plugins/andre-1998/express-media/LICENSE | 21 + plugins/andre-1998/express-media/README.md | 95 ++++ .../andre-1998/express-media/README.zh-CN.md | 83 +++ .../andre-1998/express-media/bin/express.mjs | 7 + .../express-media/data/platforms.json | 208 +++++++ .../andre-1998/express-media/icon-dark.png | Bin 0 -> 122187 bytes plugins/andre-1998/express-media/icon.png | Bin 0 -> 1592343 bytes .../express-media/miniapp/client/index.html | 155 ++++++ .../express-media/miniapp/miniapp.json | 20 + .../express-media/miniapp/node/server.mjs | 103 ++++ plugins/andre-1998/express-media/package.json | 10 + .../skills/express-media/SKILL.md | 149 +++++ plugins/andre-1998/express-media/src/card.js | 145 +++++ .../andre-1998/express-media/src/classify.js | 218 ++++++++ plugins/andre-1998/express-media/src/cli.js | 525 ++++++++++++++++++ .../andre-1998/express-media/src/doctor.js | 86 +++ .../andre-1998/express-media/src/ffmpeg.js | 257 +++++++++ plugins/andre-1998/express-media/src/fit.js | 435 +++++++++++++++ .../andre-1998/express-media/src/format.js | 174 ++++++ plugins/andre-1998/express-media/src/gif.js | 83 +++ .../andre-1998/express-media/src/ledger.js | 157 ++++++ plugins/andre-1998/express-media/src/probe.js | 159 ++++++ plugins/andre-1998/express-media/src/split.js | 79 +++ plugins/andre-1998/express-media/src/trim.js | 91 +++ 27 files changed, 3283 insertions(+) create mode 100644 plugins/andre-1998/express-media/.minimax-plugin/plugin.json create mode 100644 plugins/andre-1998/express-media/LICENSE create mode 100644 plugins/andre-1998/express-media/README.md create mode 100644 plugins/andre-1998/express-media/README.zh-CN.md create mode 100644 plugins/andre-1998/express-media/bin/express.mjs create mode 100644 plugins/andre-1998/express-media/data/platforms.json create mode 100644 plugins/andre-1998/express-media/icon-dark.png create mode 100644 plugins/andre-1998/express-media/icon.png create mode 100644 plugins/andre-1998/express-media/miniapp/client/index.html create mode 100644 plugins/andre-1998/express-media/miniapp/miniapp.json create mode 100644 plugins/andre-1998/express-media/miniapp/node/server.mjs create mode 100644 plugins/andre-1998/express-media/package.json create mode 100644 plugins/andre-1998/express-media/skills/express-media/SKILL.md create mode 100644 plugins/andre-1998/express-media/src/card.js create mode 100644 plugins/andre-1998/express-media/src/classify.js create mode 100644 plugins/andre-1998/express-media/src/cli.js create mode 100644 plugins/andre-1998/express-media/src/doctor.js create mode 100644 plugins/andre-1998/express-media/src/ffmpeg.js create mode 100644 plugins/andre-1998/express-media/src/fit.js create mode 100644 plugins/andre-1998/express-media/src/format.js create mode 100644 plugins/andre-1998/express-media/src/gif.js create mode 100644 plugins/andre-1998/express-media/src/ledger.js create mode 100644 plugins/andre-1998/express-media/src/probe.js create mode 100644 plugins/andre-1998/express-media/src/split.js create mode 100644 plugins/andre-1998/express-media/src/trim.js diff --git a/README.md b/README.md index dcda9d15..72471612 100644 --- a/README.md +++ b/README.md @@ -91,6 +91,7 @@ The MiniMax Code Agent communicates through the host MCP client. Business reques | [Quota Bottle](plugins/7723qqq/quota-bottle/) | An octopus-shaped glass bottle that floats on your desktop and shows the remaining Token Plan quota from a login you configure yourself, with the liquid level and opacity following the remaining share, and a device-code login plus an opt-in local token-usage estimate as fallbacks | [7723qqq](https://github.com/7723qqq) | | [Site QA](plugins/lonelyguy-se1/site-qa/) | Check local HTML/robots/sitemap for SEO and accessibility gaps, then ask the agent to fix them (Mini App + skill/CLI). Requires MiniMax Code 3.1.6 or later | [LonelyGuySE1](https://github.com/LonelyGuy-SE1) | | [H3-Image-Executor](plugins/liddalidd/h3-image-executor/) | Turn one sentence into verified 4K images: it plans the shot list, searches for reference images, generates, reviews each image by looking at it, corrects colour cast, runs a bounded fix loop and delivers the result with an acceptance report; multi-image runs generate a character sheet first so the same subject stays the same subject. Needs an H3-Image endpoint and key you configure yourself. Requires MiniMax Code 3.1.6 or later | [liddalidd](https://github.com/liddalidd) | +| [Express Media](plugins/andre-1998/express-media/) | Compress a video to the size each platform accepts and report whether it fits; the bundled limits table shows where every number comes from | [Andre-1998](https://github.com/Andre-1998) |
Preview: Cutline diff --git a/README.zh-CN.md b/README.zh-CN.md index 223aae0b..911e8dcd 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -91,6 +91,7 @@ MiniMax Code Agent 通过宿主 MCP 客户端与 MiniApp 协作。业务请求 | [额度瓶](plugins/7723qqq/quota-bottle/README.zh-CN.md) | 一只悬浮在桌面上的章鱼形玻璃瓶,用你自己配置的登录读取 Token Plan 剩余额度;液面与透明度按剩余占比走,拿不到实时额度时回退到设备码登录或手填总额与可选的本机本月用量 | [7723qqq](https://github.com/7723qqq) | | [Site QA](plugins/lonelyguy-se1/site-qa/) | 检查本地 HTML/robots/sitemap 的 SEO / 无障碍问题,再让 Agent 修复(Mini App + skill/CLI)。需要 MiniMax Code 3.1.6 或更高版本(说明文档为英文) | [LonelyGuySE1](https://github.com/LonelyGuy-SE1) | | [H3-Image-Executor](plugins/liddalidd/h3-image-executor/README.zh-CN.md) | 把一句话需求跑成经过校验的 4K 图片:规划分镜、检索参考图、生成、看图评审、色偏校正、有限次修正,最后交付图片和验收报告;多图任务会先生成角色设定图锁定主体外观。需要自备 H3-Image 接口地址和 Key。需要 MiniMax Code 3.1.6 或更高版本 | [liddalidd](https://github.com/liddalidd) | +| [急件 · 视频投递](plugins/andre-1998/express-media/README.zh-CN.md) | 把视频压到各平台能收的体积,并如实告诉你发不发得出去;内置上限表标明每个数字的来源 | [Andre-1998](https://github.com/Andre-1998) |
预览:Cutline diff --git a/plugins/andre-1998/express-media/.minimax-plugin/plugin.json b/plugins/andre-1998/express-media/.minimax-plugin/plugin.json new file mode 100644 index 00000000..7bd33f18 --- /dev/null +++ b/plugins/andre-1998/express-media/.minimax-plugin/plugin.json @@ -0,0 +1,21 @@ +{ + "schemaVersion": 1, + "name": "express-media", + "displayName": "急件 · 视频投递", + "version": "1.1.0", + "description": "在本地把视频压到各平台能收的体积,并能如实告诉你发不发得出去。用于「视频太大发不出去」「微信/Telegram/Discord/邮件限制多少」「压到 25MB」「转 GIF 表情包」「视频太长要裁一段」这类场景。全部在本机处理,文件不上传。", + "author": "Andre-7245", + "icon": "icon.png", + "darkIcon": "icon-dark.png", + "category": "Productivity", + "exampleQueries": [ + "这个视频 90MB,微信发不出去,帮我压到能发的大小", + "帮我查一下这个视频发到微信、Telegram、Discord 各是什么限制", + "把这段视频转成 GIF 表情包,控制在 1MB 以内" + ], + "apps": [], + "mcpServers": [], + "skills": [ + "skills/express-media/SKILL.md" + ] +} diff --git a/plugins/andre-1998/express-media/LICENSE b/plugins/andre-1998/express-media/LICENSE new file mode 100644 index 00000000..69cd2220 --- /dev/null +++ b/plugins/andre-1998/express-media/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 Andre-1998 + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/plugins/andre-1998/express-media/README.md b/plugins/andre-1998/express-media/README.md new file mode 100644 index 00000000..b15eee15 --- /dev/null +++ b/plugins/andre-1998/express-media/README.md @@ -0,0 +1,95 @@ +# Express Media (`express-media`) + +English | [简体中文](README.zh-CN.md) + +A video that is too big to send is a problem you cannot solve by wishing harder. Express Media +measures your clip against the size each platform actually accepts, compresses it locally until +it fits, and tells you the truth when it cannot fit. + +**Everything runs on your machine. No file is uploaded anywhere.** + +## What you get + +- **A Mini App that looks up the limits.** One page listing every supported platform: the size + cap, the duration cap, how trustworthy that number is, and the source it came from. +- **A bundled skill.** Ask for it in plain language: "this video is 90MB and WeChat refuses it, + shrink it to something that fits" or "what is the WeChat / Telegram / Discord video limit". +- **A local CLI.** The same work without the chat: inspect, fit, split, trim, GIF, and a delivery + card for the result. + +## The Mini App + +Open it from the Mini App entry in the right panel, or ask the Agent to open +"急件 · 平台限制速查". The page reads the bundled `data/platforms.json` — the same table the skill +and the CLI use — and never touches the network. + +## The skill + +```text +这个视频发不到微信 / 发不出去 / 太大了 +帮我压到 25MB / 20MB 以内 +微信、Telegram、Discord 的视频限制是多少 +视频太长,裁一段 / 切成几段 +``` + +The skill drives the CLI under the plugin root. Every compression pass is measured with +`ffprobe` afterwards, so "it fits" means the file on disk really is that small. When the target +cannot be reached, the tool says so and offers the next step instead of handing you a file that +still fails. + +## The CLI + +```bash +node bin/express.mjs doctor # check ffmpeg and report broken candidates +node bin/express.mjs inspect clip.mp4 # size, duration, and what each platform accepts +node bin/express.mjs fit clip.mp4 --to wechat-chat +node bin/express.mjs split clip.mp4 --to wechat-chat +node bin/express.mjs trim clip.mp4 --start 0:10 --end 1:20 +node bin/express.mjs gif clip.mp4 --width 320 --square +node bin/express.mjs card clip.mp4 --from clip.mp4 +``` + +Exit codes: `0` fits, `1` compressed but still over the limit, `2` bad arguments or environment. + +## Install + +Copy this directory, including the hidden `.minimax-plugin/`, into the MiniMax Code plugins +directory as `express-media/` (`~/.minimax/plugins/express-media/` by default; see the root +README's Install section). Restart MiniMax Code, then open "急件 · 平台限制速查" from the +Mini App entry in the right panel. + +From MiniMax Code 3.1.11 you can import it instead of copying it: on the Plugins page, choose +**Create**, then **Import from a Git repository** under Mini App, and paste the URL of this +directory: + +```text +https://github.com/MiniMax-AI/MiniMax-Code-MiniApps/tree/main/plugins/andre-1998/express-media +``` + +Compressing needs Node.js 20.11 or later and an ffmpeg build with `libx264`, `aac`, `gif` and +the `sidedata` filter. The limits page needs neither. + +## Tested environment + +- Windows 11, Node.js 24, ffmpeg 9.0.2 (`libx264`, `aac`, `gif`, `sidedata` all reported usable + by `express doctor`). +- The CLI and the skill were exercised on real video: 96 unit tests and 63 end-to-end tests pass, + every compressed output was measured with `ffprobe`, and the split path was checked by summing + the real duration of every segment. +- The Mini App was exercised locally against a stub Host context: the Node entry started, served + `/limits` and `/api/platforms`, and returned the platform table. It has **not** been opened + inside the MiniMax Code Host in this environment, so the in-Host look is unverified. + +## Data & access + +- **Reads** the bundled `data/platforms.json`, and the video file you name. Nothing else. +- **Writes** the compressed file next to the source (or wherever `--out` points) and, unless + `--no-ledger` is given, one ledger line per run in `~/.express/ledger.jsonl`. +- **Network**: none. The plugin never uploads a file, and the limits page loads nothing remote. +- **Permissions**: the Mini App declares no agent, tool, device or host access. It reads no + microphone, camera or notification. +- **Accounts**: none. Nothing is signed in, and no usage data leaves the machine. + +## License + +MIT \ No newline at end of file diff --git a/plugins/andre-1998/express-media/README.zh-CN.md b/plugins/andre-1998/express-media/README.zh-CN.md new file mode 100644 index 00000000..fd23eb5c --- /dev/null +++ b/plugins/andre-1998/express-media/README.zh-CN.md @@ -0,0 +1,83 @@ +# 急件 · 视频投递 (`express-media`) + +[English](README.md) | 简体中文 + +视频太大发不出去,不是靠想想就能解决的。急件先量一遍你的片子在各平台到底能收多大,再在本机压到 +刚好能发的大小;实在压不进去,它会直说,并给出下一步该怎么处理。 + +**全部在本机处理,文件不上传任何服务器。** + +## 里面有什么 + +- **一个查上限的 Mini App**:一页列出所有支持平台的体积上限、时长上限、这个数字有多可信,以及它来自哪里。 +- **一个内置 skill**:用大白话说就行 —— 「这个视频 90MB,微信发不出去,帮我压到能发的大小」、 + 「微信、Telegram、Discord 的视频限制分别是多少」。 +- **一个本地命令行工具**:同样的活儿,不用聊天也能做 —— 体检、压、分段、裁剪、转 GIF、出投递卡。 + +## Mini App + +在右侧面板的 Mini App 入口打开,或直接让 Agent 打开「急件 · 平台限制速查」。页面读的是插件自带的 +`data/platforms.json` —— 和 skill、命令行用的是同一份表,全程不联网。 + +## skill + +```text +这个视频发不到微信 / 发不出去 / 太大了 +帮我压到 25MB / 20MB 以内 +微信、Telegram、Discord 的视频限制是多少 +视频太长,裁一段 / 切成几段 +``` + +skill 会驱动插件根目录下的命令行工具。每压一档都用 `ffprobe` 量真实体积,所以「达标」说的是磁盘上 +那个文件真的那么大。真压不进去时,工具会明说,并给出替代方案,而不是丢一个仍然发不出去的文件给你。 + +## 命令行 + +```bash +node bin/express.mjs doctor # 体检环境(先跑这个) +node bin/express.mjs inspect clip.mp4 # 多大、多长、能不能发 +node bin/express.mjs fit clip.mp4 --to wechat-chat +node bin/express.mjs split clip.mp4 --to wechat-chat +node bin/express.mjs trim clip.mp4 --start 0:10 --end 1:20 +node bin/express.mjs gif clip.mp4 --width 320 --square +node bin/express.mjs card clip.mp4 --from clip.mp4 +``` + +退出码:`0` 达标 | `1` 压了但仍超限 | `2` 参数或环境问题。 + +## 安装 + +把这个目录(含隐藏的 `.minimax-plugin/`)整个复制进 MiniMax Code 的插件目录,命名为 +`express-media/`(默认是 `~/.minimax/plugins/express-media/`;见根 README 的 Install 一节)。 +重启 MiniMax Code 后,在右侧面板的 Mini App 入口打开「急件 · 平台限制速查」。 + +MiniMax Code 3.1.11 起也可以直接导入:在插件页选 **创建** → Mini App 下的 **从 Git 仓库导入**, +粘贴本目录地址: + +```text +https://github.com/MiniMax-AI/MiniMax-Code-MiniApps/tree/main/plugins/andre-1998/express-media +``` + +压缩需要 Node.js 20.11 及以上,以及带 `libx264`、`aac`、`gif` 和 `sidedata` 滤镜的 ffmpeg; +只查上限的话两者都不需要。 + +## 实测环境 + +- Windows 11,Node.js 24,ffmpeg 9.0.2(`express doctor` 报告 `libx264`、`aac`、`gif`、`sidedata` 均可用)。 +- 命令行与 skill 用真实视频跑过:96 个单测、63 个端到端测试全过;每个产物都用 `ffprobe` 独立量过体积, + 分段结果逐段核对了真实时长。 +- Mini App 用桩 Host 上下文在本机跑过:Node 入口能起来,`/limits` 与 `/api/platforms` 都正常返回平台表。 + **尚未在 MiniMax Code 宿主里打开过**,宿主内的实际观感未经验证。 + +## 数据与权限 + +- **读取**:插件自带的 `data/platforms.json`,以及你指定的那个视频文件。没有别的。 +- **写入**:压好的文件放在源文件旁边(或 `--out` 指定的位置);除非加 `--no-ledger`, + 每次运行会在 `~/.express/ledger.jsonl` 追加一行台账。 +- **网络**:无。插件不上传任何文件,上限页也不加载任何远程资源。 +- **权限**:Mini App 没有声明 agent、tool、设备、宿主权限,不碰麦克风、摄像头和通知。 +- **账号**:无。不需要登录,也没有任何使用数据离开本机。 + +## 许可 + +MIT \ No newline at end of file diff --git a/plugins/andre-1998/express-media/bin/express.mjs b/plugins/andre-1998/express-media/bin/express.mjs new file mode 100644 index 00000000..96811b1f --- /dev/null +++ b/plugins/andre-1998/express-media/bin/express.mjs @@ -0,0 +1,7 @@ +#!/usr/bin/env node +import { main } from '../src/cli.js'; + +main().catch((err) => { + process.stderr.write(`急件崩了:${err?.stack || err}\n`); + process.exit(1); +}); diff --git a/plugins/andre-1998/express-media/data/platforms.json b/plugins/andre-1998/express-media/data/platforms.json new file mode 100644 index 00000000..35c88e33 --- /dev/null +++ b/plugins/andre-1998/express-media/data/platforms.json @@ -0,0 +1,208 @@ +{ + "schema": 1, + "updatedAt": "2026-10-01", + "disclaimer": "平台限制经常变,而且同一个平台不同入口(聊天 / 朋友圈 / 网页投稿)的限制并不一样。本表每条都带来源与置信度:confidence=official 表示官方文档或厂商客服明确写出,community 表示社区实测或第三方汇总(可能已过期或因版本而异)。判定「能不能发」以 maxBytes 为准,压缩时以 suggestedMaxBytes 为目标并留出余量。", + "confidenceLevels": { + "official": "官方文档 / 厂商客服明确写出", + "community": "社区实测 / 第三方汇总,可能随版本变化", + "mixed": "存在互相矛盾的口径,已在 variants 里全部列出,取最保守值作为 maxBytes" + }, + "targets": [ + { + "id": "wechat-chat", + "label": "微信 · 聊天窗口", + "maxBytes": 26214400, + "suggestedMaxBytes": 18874368, + "maxDurationSec": 300, + "container": "mp4", + "video": "h264", + "audio": "aac", + "confidence": "mixed", + "notes": [ + "不勾选「原画 / 原视频」时微信会自己压缩,容易被压成糊画质;勾了又常常直接超限发不出去", + "社区实测约 25MB 开始失败;厂商客服口径是聊天支持 1GB 以下视频传输", + "两侧口径不一致,这里取更保守的 25MB 作为硬上限" + ], + "variants": [ + { "maxBytes": 1073741824, "note": "厂商客服口径:微信聊天仅支持 1GB 以下的视频传输" } + ], + "sources": [ + { "url": "https://club.honor.com/cn/forum.php?mod=viewthread&tid=29334258", "note": "厂商客服回复:微信聊天仅支持 1GB 以下的视频传输" }, + { "url": "https://www.wyouhua.com/case/show/1633.html", "note": "社区汇总:聊天窗口约 25MB、朋友圈更严,建议压到 18MB 以内" } + ] + }, + { + "id": "wechat-moments", + "label": "微信 · 朋友圈", + "maxBytes": 10485760, + "suggestedMaxBytes": 8388608, + "maxDurationSec": 30, + "container": "mp4", + "video": "h264", + "audio": "aac", + "confidence": "community", + "notes": [ + "时长限制比体积更早触发:超过 30 秒需要先发视频号再转发", + "2025 年起朋友圈灰度支持 5 分钟长视频,未全量放开,这里按 30 秒保守判定" + ], + "sources": [ + { "url": "https://m.gmw.cn/2025-03/11/content_1303988124.htm", "note": "朋友圈由 30 秒放宽到 5 分钟,仍处灰度放量" }, + { "url": "https://vibbit.ai/zh-CN/blog/video-export-settings-guide", "note": "第三方汇总:朋友圈建议不超过 25MB、10MB 以内更稳" } + ] + }, + { + "id": "telegram-bot", + "label": "Telegram · Bot API", + "maxBytes": 52428800, + "suggestedMaxBytes": 50331648, + "maxDurationSec": null, + "container": "mp4", + "video": "h264", + "audio": "aac", + "confidence": "official", + "notes": [ + "官方原文:bot 目前只能发送不超过 50MB 的文件,该限制未来可能变更", + "超 200MB 的视频有些第三方集成会「原样透传」然后被 Telegram 拒收" + ], + "sources": [ + { "url": "https://core.telegram.org/bots/faq", "note": "官方 FAQ:Bots can currently send files of any type of up to 50 MB in size" } + ] + }, + { + "id": "discord-free", + "label": "Discord · 免费账号", + "maxBytes": 20971520, + "suggestedMaxBytes": 19922944, + "maxDurationSec": null, + "container": "mp4", + "video": "h264", + "audio": "aac", + "confidence": "mixed", + "notes": [ + "2026-08-17 官方把免费账号单文件上限从 10MB 提到 20MB", + "部分账号仍在 A/B 测试 25MB,别按 25MB 规划", + "图片超过约 8MB 会退化成下载链接,不内嵌显示" + ], + "variants": [{ "maxBytes": 26214400, "note": "部分账号 A/B 测试中的 25MB" }], + "sources": [ + { "url": "https://baike.baidu.com/item/Nitro/68368766", "note": "2026-08-17 Discord 将免费账号单文件上传上限从 10MB 提高至 20MB" }, + { "url": "https://discordtexttools.com/blog/discord-file-size-limit", "note": "2026 免费账号 20MB,仍在 A/B 测试,可能再次变动" } + ] + }, + { + "id": "discord-nitro", + "label": "Discord · Nitro Basic / Nitro", + "maxBytes": 52428800, + "suggestedMaxBytes": 50331648, + "maxDurationSec": null, + "container": "mp4", + "video": "h264", + "audio": "aac", + "confidence": "community", + "notes": ["Nitro Basic 50MB;完整 Nitro 最高 500MB,服务器 Boost 还能叠加"], + "variants": [{ "maxBytes": 524288000, "note": "完整 Nitro 500MB" }], + "sources": [ + { "url": "https://filesize.org/limits/discord/", "note": "Nitro Basic 50MB / Nitro 500MB" } + ] + }, + { + "id": "gmail", + "label": "Gmail 附件", + "maxBytes": 26214400, + "suggestedMaxBytes": 24000000, + "maxDurationSec": null, + "container": "mp4", + "video": "h264", + "audio": "aac", + "confidence": "community", + "notes": [ + "超过约 25MB 会变成 Google Drive 链接而不是附件", + "不少企业邮件网关自行压到 20MB 甚至更小,按 20MB 更稳" + ], + "sources": [ + { "url": "https://support.google.com/mail/answer/6580", "note": "Gmail 附件上限 25MB,超出自动转 Drive 链接" } + ] + }, + { + "id": "xiaohongshu", + "label": "小红书", + "maxBytes": 1073741824, + "suggestedMaxBytes": 1006632960, + "maxDurationSec": 900, + "aspect": "3:4 或 9:16", + "container": "mp4", + "video": "h264", + "audio": "aac", + "confidence": "community", + "notes": [ + "体积上限很宽松(1GB),真正的痛点是竖屏比例和首帧封面", + "3:4(1080×1440)在信息流里显示面积比 9:16 更大,推荐优先" + ], + "sources": [ + { "url": "https://vibbit.ai/zh-CN/blog/video-export-settings-guide", "note": "小红书:1080×1440 或 1080×1920、≤1GB、5 秒至 15 分钟" }, + { "url": "https://www.secaiyun.com/docs/social-media-video-size-specification-guide-2026-08-28.html", "note": "小红书 3:4 封面推荐,时长 15 分钟" } + ] + }, + { + "id": "douyin", + "label": "抖音", + "maxBytes": 75497472, + "suggestedMaxBytes": 71303168, + "maxDurationSec": 900, + "aspect": "9:16", + "container": "mp4", + "video": "h264", + "audio": "aac", + "confidence": "community", + "notes": [ + "安卓端上传上限约 72MB,iOS 端约 287MB,取小的那个", + "9:16 竖屏 1080×1920,15–60 秒表现最佳" + ], + "variants": [{ "maxBytes": 301989888, "note": "iOS 端约 287.6MB" }], + "sources": [ + { "url": "https://vibbit.ai/zh-CN/blog/video-export-settings-guide", "note": "抖音:iOS 不超过 287.6MB,安卓不超过 72MB" } + ] + }, + { + "id": "bilibili", + "label": "B 站", + "maxBytes": 8589934592, + "suggestedMaxBytes": 2147483648, + "maxDurationSec": 36000, + "aspect": "16:9", + "container": "mp4", + "video": "h264", + "audio": "aac", + "confidence": "community", + "notes": [ + "投稿上限很宽松:来源明确写的是文件不超过 8GB、最长 10 小时,这里按 8GB / 10 小时取", + "真正的成本是二压:上传码率给足比事后补救划算", + "封面推荐 1146×717(16:10),和视频 16:9 不是一回事,要单独做" + ], + "variants": [ + { "maxBytes": 10737418240, "note": "部分第三方汇总写成 10GB,与来源的 8GB 不一致,取更保守的 8GB" } + ], + "sources": [ + { "url": "https://vibbit.ai/zh-CN/blog/video-export-settings-guide", "note": "B 站:文件不超过 8GB,最长 10 小时" }, + { "url": "https://www.secaiyun.com/docs/social-media-video-size-specification-guide-2026-08-28.html", "note": "B 站封面 1146×717,建议码率 20-30Mbps" } + ] + }, + { + "id": "shipinhao", + "label": "微信视频号", + "maxBytes": 1073741824, + "suggestedMaxBytes": 1006632960, + "maxDurationSec": 1800, + "aspect": "9:16 或 1:1", + "container": "mp4", + "video": "h264", + "audio": "aac", + "confidence": "community", + "notes": ["视频号转码较狠,码率建议给到 6–10Mbps 再上传"], + "sources": [ + { "url": "https://www.secaiyun.com/docs/social-media-video-size-specification-guide-2026-08-28.html", "note": "视频号 1080×1920、30 分钟、16-20Mbps" }, + { "url": "https://cutfa.st/blog/how-to-resize-mp4-online-free-2026-cutfast-guide", "note": "视频号 1:1 或 9:16 均可,时长上限 60 分钟" } + ] + } + ] +} diff --git a/plugins/andre-1998/express-media/icon-dark.png b/plugins/andre-1998/express-media/icon-dark.png new file mode 100644 index 0000000000000000000000000000000000000000..42027da010855c3a3ffaec275437e028747ebe3d GIT binary patch literal 122187 zcmYg%1z1yk`~RUkbfkjxKst1!v`7sEB_*Y$Lqd>Il1fN3V5F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