6个版本
0.2.3 | 2023年9月24日 |
---|---|
0.2.2 | 2022年6月27日 |
0.2.0 | 2021年11月12日 |
0.1.1 | 2021年11月7日 |
#41 in 多媒体
35KB
766 代码行
decoreco
解码和重新编码大型媒体文件以节省空间
使用示例
# re-encode all video files in your downloads folder to h264 and aac
decoreco ~/Downloads
# re-encode all video files in your downloads folder to hevc and mp3
decoreco -v hevc -a mp3 ~/Downloads
# list all video files in your home folder and sort them by size
decoreco -l -s ~/
# perform a dry run of converting your movies folder to avi
decoreco -d -v avi ~/Movies
安装
macOS或linux使用brew
brew install jabster28/jabster28/decoreco
使用cargo构建最新版本
# rust should be installed by installing rustup from your favourite package manger e.g pacman -S rustup
cargo install decoreco
# if cargo complains about binaries not being in PATH, add this to your shell profile:
# export PATH=$PATH:$HOME/.cargo/bin
依赖关系
~6–19MB
~208K SLoC