{"id":49537349,"url":"https://github.com/peakchen90/tiny-cut","last_synced_at":"2026-05-02T12:01:14.258Z","repository":{"id":354992588,"uuid":"1225901973","full_name":"peakchen90/tiny-cut","owner":"peakchen90","description":"A lightweight, open-source, cross-platform video trimming application","archived":false,"fork":false,"pushed_at":"2026-05-01T11:04:44.000Z","size":2043,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-05-01T11:24:52.009Z","etag":null,"topics":["desktop-application","macos","tool","video","video-cut","video-trimming","windows"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/peakchen90.png","metadata":{"files":{"readme":"README-ZH.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-30T19:07:03.000Z","updated_at":"2026-05-01T11:04:48.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/peakchen90/tiny-cut","commit_stats":null,"previous_names":["peakchen90/tiny-cut"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/peakchen90/tiny-cut","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peakchen90%2Ftiny-cut","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peakchen90%2Ftiny-cut/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peakchen90%2Ftiny-cut/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peakchen90%2Ftiny-cut/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peakchen90","download_url":"https://codeload.github.com/peakchen90/tiny-cut/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peakchen90%2Ftiny-cut/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32533344,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T11:28:32.350Z","status":"ssl_error","status_checked_at":"2026-05-02T11:27:30.140Z","response_time":132,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["desktop-application","macos","tool","video","video-cut","video-trimming","windows"],"created_at":"2026-05-02T12:00:57.278Z","updated_at":"2026-05-02T12:01:14.248Z","avatar_url":"https://github.com/peakchen90.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TinyCut\n\n\u003cdiv style=\"text-align: center\"\u003e\n\n**一款轻量级、开源、跨平台的视频剪辑应用**\n\n[![Release](https://img.shields.io/github/v/release/peakchen90/tiny-cut?style=flat-square)](https://github.com/peakchen90/tiny-cut/releases)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg?style=flat-square)](LICENSE)\n[![Platform](https://img.shields.io/badge/platform-macOS%20%7C%20Windows-lightgrey?style=flat-square)]()\n\n**[English](README.md)** | 中文\n\n\u003c/div\u003e\n\n\u003cdiv style=\"text-align: center\"\u003e\n  \u003cimg src=\"./docs/screenshot01.png\" alt=\"Screenshot01\" style=\"width: 45%; min-width: 400px;\"\u003e\n  \u003cimg src=\"./docs/screenshot02.png\" alt=\"Screenshot02\" style=\"width: 45%; min-width: 400px;\"\u003e\n\u003c/div\u003e\n\n## 功能特性\n\n- **简洁直观** — 界面清爽，专注核心功能\n- **统一导出** — 将视频导出为 H.264 或 H.265\n- **精准剪切** — 逐帧精确裁剪，并支持导出编码配置\n- **拖拽支持** — 直接拖拽视频文件到窗口\n- **内置 FFmpeg** — 无需安装外部依赖\n- **GPU 加速** — 支持 Apple、NVIDIA、Intel、AMD 平台的硬件编码\n- **隐私安全** — 所有处理均在本地完成\n- **跨平台** — 支持 macOS（Intel 和 Apple Silicon）和 Windows\n\n## 支持格式\n\nTinyCut 支持以下视频格式：\n\n| 格式 | 扩展名 |\n|------|--------|\n| MP4 | `.mp4` |\n| MOV | `.mov` |\n| AVI | `.avi` |\n| MKV | `.mkv` |\n| WebM | `.webm` |\n| FLV | `.flv` |\n| WMV | `.wmv` |\n| M4V | `.m4v` |\n| 3GP | `.3gp` |\n\n## GPU 加速\n\nTinyCut 会将视频导出为 H.264 或 H.265。硬件编码可用时会优先使用对应的 GPU 编码器，不可用时回退到 CPU 编码。\n\n### 支持的编码器\n\n| 平台 | 硬件 | H.264 | H.265 / HEVC |\n|------|------|-------|--------------|\n| macOS | Apple VideoToolbox | `h264_videotoolbox` | `hevc_videotoolbox` |\n| Windows | NVIDIA NVENC | `h264_nvenc` | `hevc_nvenc` |\n| Windows | Intel Quick Sync | `h264_qsv` | `hevc_qsv` |\n| Windows | AMD AMF | `h264_amf` | `hevc_amf` |\n\n### 探测缓存\n\n使用 GPU 编码前，TinyCut 会先验证当前设备上的编码器是否真的可用。探测结果会按编码类型（`h264`、`h265`）缓存在本地 24 小时，避免每次导出都重复探测。\n\n如果没有可用硬件编码器，H.264/H.265 会回退到 CPU 编码。\n\n## 下载安装\n\n从 [Releases](https://github.com/peakchen90/tiny-cut/releases) 页面下载适合您平台的最新版本。\n\n| 平台 | 架构 | 文件 |\n|------|------|------|\n| macOS | Apple Silicon | [TinyCut_darwin_aarch64.dmg](https://github.com/peakchen90/tiny-cut/releases/latest/download/TinyCut_darwin_aarch64.dmg) |\n| macOS | Intel | [TinyCut_darwin_x64.dmg](https://github.com/peakchen90/tiny-cut/releases/latest/download/TinyCut_darwin_x64.dmg) |\n| Windows | x64 | [TinyCut_win32_x64.exe](https://github.com/peakchen90/tiny-cut/releases/latest/download/TinyCut_win32_x64.exe) |\n\n\u003e **macOS 用户**：如果打开时提示\"应用已损坏\"，请执行以下命令：\n\u003e ```\n\u003e xattr -cr /Applications/TinyCut.app\n\u003e ```\n\n## 使用方法\n\n### 基本操作\n\n1. 启动 TinyCut\n2. 将视频文件拖拽到窗口，或点击选择文件\n3. 使用时间轴设置起始点和结束点\n4. 点击菜单 (⋮) 选择 **导出**\n5. 选择保存位置，等待处理完成\n\n### 导出设置\n\n在导出弹窗中，您可以：\n\n- **选择导出位置**：点击\"选择\"按钮设置保存路径\n- **调整分辨率**：支持原始、4K、1440p、1080p、720p、480p\n- **调整帧率**：支持原始、60fps、30fps、25fps、24fps\n- **选择格式**：支持 MP4 和 MOV\n- **预估大小**：实时预估导出文件大小\n\n### 快捷键\n\n| 按键 | 功能 |\n|------|------|\n| `空格` | 播放 / 暂停 |\n| `←` | 后退 0.2 秒 |\n| `→` | 前进 0.2 秒 |\n| `Shift + ←` | 后退 2 秒 |\n| `Shift + →` | 前进 2 秒 |\n| `⌘/Ctrl + N` | 新建项目 |\n| `⌘/Ctrl + I` | 视频信息 |\n| `⌘/Ctrl + E` | 导出 |\n| `Esc` | 关闭弹窗 |\n\n### 视频信息\n\n点击 **更多 (⋮) → 信息** 可查看视频详细信息：\n\n- 文件名和文件大小\n- 分辨率和帧率\n- 视频编码和色彩空间\n- 码率和时长\n- 音频编码、采样率、声道数和码率\n\n### 拖拽支持\n\n在任意界面都可以直接拖拽视频文件到窗口，自动加载新视频：\n\n- 支持格式：MP4、MOV、AVI、MKV、WebM、FLV、WMV、M4V、3GP\n- 支持单个文件拖拽\n\n## 开发指南\n\n### 环境要求\n\n- [Node.js](https://nodejs.org/) \u003e= 18\n- [Yarn](https://yarnpkg.com/) 1.x\n- [Rust](https://www.rust-lang.org/tools/install) (stable)\n\n### 快速开始\n\n```bash\n# 克隆仓库\ngit clone https://github.com/peakchen90/tiny-cut.git\ncd tiny-cut\n\n# 安装前端依赖\nyarn install\n\n# 启动开发服务器\nyarn tauri:dev\n```\n\n### 构建打包\n\n```bash\n# 构建生产版本\nyarn tauri:build\n```\n\n构建产物位于 `src-tauri/target/release/bundle/` 目录。\n\n## 技术栈\n\n| 层级 | 技术 |\n|------|------|\n| 前端 | React, TypeScript, Vite |\n| 后端 | Rust, Tauri v2 |\n| 视频处理 | FFmpeg（内置） |\n| GPU 加速 | VideoToolbox, NVENC, QSV, AMF |\n\n## 项目结构\n\n```\ntiny-cut/\n├── src/                    # 前端源码\n│   ├── components/         # React 组件\n│   ├── lib/                # 工具函数（国际化、时间处理）\n│   └── types/              # TypeScript 类型定义\n├── src-tauri/              # Rust 后端\n│   ├── src/                # Rust 源码\n│   ├── binaries/           # 内置的 FFmpeg 二进制文件\n│   └── capabilities/       # Tauri 权限配置\n├── docs/                   # 文档\n└── .github/                # GitHub 工作流和模板\n```\n\n## 参与贡献\n\n欢迎贡献代码！请参阅 [CONTRIBUTING.md](CONTRIBUTING.md) 了解贡献指南。\n\n## 开源协议\n\n本项目基于 MIT 协议开源 - 详见 [LICENSE](LICENSE) 文件。\n\n### FFmpeg 协议\n\nTinyCut 内置了 FFmpeg 二进制文件。FFmpeg 基于 [GNU Lesser General Public License (LGPL) v2.1](https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html) 或更高版本，或 [GNU General Public License (GPL) v2](https://www.gnu.org/licenses/old-licenses/gpl-2.0.html) 或更高版本开源，具体取决于构建配置。详见 [docs/ffmpeg-license.md](docs/ffmpeg-license.md)。\n\n## 致谢\n\n- [Tauri](https://tauri.app/) — 优秀的桌面应用框架\n- [FFmpeg](https://ffmpeg.org/) — 强大的视频处理能力\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeakchen90%2Ftiny-cut","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeakchen90%2Ftiny-cut","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeakchen90%2Ftiny-cut/lists"}