视频压缩
在本设备处理 · 无需上传直接在浏览器中压缩视频文件。
如何压缩视频
- 拖放或选择要压缩的视频文件。
- 选择编码器(H.264、MPEG-4)并设置画质(CRF)。
- 压缩完成后下载文件。
Compressing video helps you beat email and messenger size limits, or speed up web and social uploads. This tool re-encodes MP4 / H.264 video using ffmpeg compiled to WebAssembly, running entirely in your browser. Your video is never uploaded, so even sensitive footage stays private.
Understanding CRF and codecs
CRF (quality factor) works in reverse: lower numbers mean better quality and larger files, higher numbers mean smaller files. Around 23 is a good balance of quality and size. For the codec, H.264 (MP4) is the safest default thanks to its broad compatibility.
When this is useful
Handy when a file exceeds a mail attachment limit (often 25MB), when archiving lecture or meeting recordings, or when you only need the audio as MP3. See our guide to compressing video for settings tips.
常见问题
- 支持哪些编码格式?
- 支持H.264(MP4)、MPEG-4和MP3音频提取。H.264兼容性最好,推荐使用。
- 视频压缩需要多长时间?
- 取决于文件大小。压缩通过浏览器内的ffmpeg.wasm处理,速度受设备性能影响。
- 使用安全吗?
- 安全。所有处理均在浏览器本地完成,不会向任何服务器上传文件。
- 可以只提取音频吗?
- 可以,选择MP3编码器即可从视频中提取音频并下载为MP3文件。
- Why is processing slow?
- Encoding happens directly in your browser, so it depends on your device's power and the video length. In exchange, nothing is sent to a server.
- Can I extract just the audio?
- Yes. Choose MP3 (audio only) to pull the sound out of the video and download it.