video-thumbnail-extractor
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseVideo Thumbnail Extractor
视频缩略图提取工具
Extract frames and create thumbnails from videos.
从视频中提取帧并创建缩略图。
Features
功能特性
- Frame Extraction: Extract at timestamps or intervals
- Best Frame Detection: Find sharpest/brightest frames
- Grid Previews: Contact sheet thumbnails
- Batch Processing: Process multiple videos
- Multiple Formats: PNG, JPG output
- 帧提取:按时间点或时间间隔提取
- 最佳帧检测:筛选最清晰/最明亮的帧
- 网格预览:生成联系表式缩略图
- 批量处理:处理多个视频
- 多格式支持:输出PNG、JPG格式
CLI Usage
CLI 使用方法
bash
python video_thumbnail_extractor.py --input video.mp4 --time 00:01:30 --output thumb.jpg
python video_thumbnail_extractor.py --input video.mp4 --grid 4x4 --output preview.jpgbash
python video_thumbnail_extractor.py --input video.mp4 --time 00:01:30 --output thumb.jpg
python video_thumbnail_extractor.py --input video.mp4 --grid 4x4 --output preview.jpgDependencies
依赖项
- moviepy>=1.0.3
- pillow>=10.0.0
- numpy>=1.24.0
- moviepy>=1.0.3
- pillow>=10.0.0
- numpy>=1.24.0