#ffmpeg #decode #encode #re-encode

app decoreco

decode and re-encode big media files to save space

6 releases

0.2.3 Sep 24, 2023
0.2.2 Jun 27, 2022
0.2.0 Nov 12, 2021
0.1.1 Nov 7, 2021

#62 in Multimedia

CC0 license

35KB
766 lines

decoreco

decode and re-encode big media files to save space

usage examples

# 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

installation

macOS or linux using brew:

brew install jabster28/jabster28/decoreco

building latest release with 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

Dependencies

~7–16MB
~216K SLoC