This project is a simple audio transcoder that converts any audio file to AAC format using the LibAV library. The implementation is done in C.
- Convert various audio file formats to AAC
- Simple and efficient
- Uses LibAV for encoding and decoding
- FFMPEG installed on your system (FFMPEG version: 4.3.1)
- C compiler (e.g., GCC)
-
Clone the repository:
git clone https://github.com/Vaibhav-20022002/Audio-Transcoder.git cd audio-transcoder-to-aac -
Install FFMPEG/LibAV:
sudo apt-get install libavformat-dev libavcodec-dev libavutil-dev libswresample-dev ffmpeg
-
Compile the program:
gcc -o audio_converter transcode_to_aac.c -lavformat -lavcodec -lavutil -lswresample -lswscale -lm
To convert an audio file to AAC format, use the following command:
./audio_converter input_file.mp3 output_file.aac