Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/osa413/ffmpeg-based-adx-converter

Simple ADX converter that uses FFmpeg
https://github.com/osa413/ffmpeg-based-adx-converter

adx conversion converter ffmpeg

Last synced: about 2 months ago
JSON representation

Simple ADX converter that uses FFmpeg

Awesome Lists containing this project

README

        

# FFmpeg-based ADX converter

Simple ADX converter that uses FFmpeg

----------------------

## How to use
### ADX to WAV/FLAC
1. Place ADX files you want to convert into the `SOUND` directory.
2. Run `adx_to_wav.bat` or `adx_to_flac.bat`.
3. Converted files will appear in the `SOUND_raw` directory keeping original file hierarchy.

### WAV/FLAC/MP3 to ADX
1. Place the files you want to convert into the `SOUND_raw` directory.
2. Run `convert_to_adx.bat`.
3. Converted files will appear in the `SOUND` directory keeping original file hierarchy.

You can also use the converter via your terminal. Run one of the scripts and files in `./SOUND(_raw)` will be converted!

## Technical information
FFmpeg compiled with the parameters in the build file from the repository supports:

Way | Formats
---------|--------
Encoding | ADX (ADXv3 without loop samples), WAV (s16le), and FLAC
Decoding | WAV, MP3, FLAC, and ADX

You can freely replace the bundled FFmpeg with your own or the one from the official site (version 4.3 or newer).

## How to compile
0. You need a Linux or Windows Subsystem for Linux.
1. Prepare your environment: https://trac.ffmpeg.org/wiki/CompilationGuide/CrossCompilingForWindows (listed in "Linux Packages")
2. Clone the repository and run `git submodule init && git submodule update`.
3. In case Bash says something related to the carriage return symbol (`\r`) after cloning the repo on Windows/WSL, run `python3 fix_sh_newline.py`.
4. Run `bash build/build_pack_win.sh`. If you get `yasm/nasm not found or too old`, install yasm or nasm.
5. `dist` directory should appear with a `7z` file with the program after compilation.

## License
Conversion scripts in this repository are licensed under the MIT license.

FFmpeg compiled with the parameters in the build file from the repository is licensed under the LGPLv2.1+. For more information: https://ffmpeg.org/legal.html