video-clipper
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseVideo Clipper
视频剪辑工具
Cut and trim video segments with precise timestamp control.
通过精确的时间戳控制来剪切和修剪视频片段。
Features
功能特性
- Timestamp Clipping: Cut segments by start/end times
- Multi-Segment: Extract multiple clips from one video
- Split by Duration: Auto-split into equal chunks
- Trim: Remove start/end portions
- Format Preservation: Maintain quality and format
- 时间戳剪切:通过开始/结束时间剪切片段
- 多片段提取:从单个视频中提取多个剪辑片段
- 按时长分割:自动分割为等长片段
- 修剪功能:移除开头/结尾部分
- 格式保留:保持视频质量和格式不变
CLI Usage
CLI 使用方法
bash
python video_clipper.py --input video.mp4 --start 00:01:00 --end 00:02:30 --output clip.mp4
python video_clipper.py --input video.mp4 --split 60 --output clips/bash
python video_clipper.py --input video.mp4 --start 00:01:00 --end 00:02:30 --output clip.mp4
python video_clipper.py --input video.mp4 --split 60 --output clips/Dependencies
依赖项
- moviepy>=1.0.3
- ffmpeg-python>=0.2.0
- moviepy>=1.0.3
- ffmpeg-python>=0.2.0