Skip to content

Snesnopic/mp3packercpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mp3packercpp

mp3packercpp is a modern C++17 port of the original mp3packer utility. It focuses on providing lossless MP3 repacking and aggressive Huffman tree recompression to minimize the file size of MP3 audio without any loss in audio quality.

While the original tool was written in OCaml, this port aims to provide a native and easily compilable C++ alternative. Please note that not all features from the original mp3packer have been ported; this project focuses strictly on the recompression and bit reservoir constraint solving logic, including the Huffman recompression.

Building from source

The project uses CMake for its build system. A C++17 compliant compiler is required.

To build the project:

mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build . --config Release

Original project and pre-built binaries

The original mp3packer was written in OCaml. The source code for the original version can be found here.

Additionally, an effort to modernize the original OCaml codebase for OCaml 5.3.0 and the Dune build system is available in this branch. Pre-built binaries of the original OCaml version can also be easily downloaded from that repository branch.

About

C++ port of mp3packer

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors