You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.1 KiB

4 years ago
# UsmToolkit
Tool to convert USM video files into user-friendly formats.
## Getting started
To begin with, make sure to install the dependency `ffmpeg`. This is platform-specific and can be figured out easily enough.
4 years ago
After that, it's as easy as it can get.
### Extracting
```
UsmToolkit extract <file/folder>
```
4 years ago
### Converting
4 years ago
```
4 years ago
UsmToolkit convert <file/folder>
4 years ago
```
4 years ago
For more informations run `UsmToolkit extract -h` and `UsmToolkit convert -h`.
4 years ago
4 years ago
## Custom conversion parameter
4 years ago
You should find `config.json` in the folder of the executable. With it, you can completly customize how the extracted file is processed by ffmpeg.
The default configuration ships as follows:
* Video: Will be copied
4 years ago
* Audio: Re-encoded as AC3 at 640kb/s. If the file has 6 channels, they will be merged into stereo
* Left channel: CH1, CH3, CH5 50% volume, CH6
* Right channel: CH2, CH4, CH5 50% volume, CH6
4 years ago
* Output is a MP4 file
You can change these settings to your likings, it's standard ffmpeg syntax.
## License
3 years ago
UsmToolkit follows the MIT License. It uses code from [VGMToolbox](https://sourceforge.net/projects/vgmtoolbox/).