ks-tools/doc/ks-mp3-album.md

66 lines
1.6 KiB
Markdown
Raw Normal View History

2021-03-07 21:24:26 +01:00
ks-mp3-album - Convert folder album to MP3 Audio Format.
========================================================
2021-03-22 18:43:19 +01:00
### Syntax:
2021-03-07 21:24:26 +01:00
2021-04-18 00:21:59 +02:00
```shell
$ ks-mp3-album </absolute/path/album>
```
2021-03-07 21:24:26 +01:00
### Default configuration:
* The script `ks-mp3-album` use by default the following configuration:
2021-04-18 00:21:59 +02:00
```shell
- Audio codec: libmp3lame
- Bitrate audio: 128k
- Container: oga
````
2021-03-07 21:24:26 +01:00
2022-01-02 12:25:43 +01:00
* If you want to change the settings, you need to edit the `~/.ks-tools/ks-mp3` file and change the following variables:
2021-04-18 00:21:59 +02:00
```shell
acodec="libmp3lame"
b_acodec="128k"
v_ext="mp3"
default_lang_audio="spa"
````
2022-01-02 16:47:57 +01:00
* RECOMMENDED: You can use the [ks-conf](https://github.com/q3aql/ks-tools/blob/main/doc/ks-conf.md) tool to edit the configuration.
2021-03-07 21:24:26 +01:00
### Example of use:
* An example of use would be the following:
2021-04-18 00:21:59 +02:00
```shell
$ ks-mp3-album /data/albums/matrix-soundtrack
````
2021-03-07 21:24:26 +01:00
* Executing the command, the folder will be analized and you can see the following wizard:
2021-04-18 00:21:59 +02:00
```shell
* Scanning /data/albums/matrix-soundtrack
+ Video file(s) in .mp4 found!
* Common METADATA configuration:
* (Default: Album-Disc) Type name of album: Matrix Soundtrack
* (Default: 2021) Type the year of album: 1999
* (Default: Pop) Type the genre of album: Original Motion Picture Soundtrack
* List of files:
+ track01.mp4
+ track02.mp4
+ track03.mp4
* The output folder will be '/data/albums/matrix-soundtrack/to-mp3'
2021-03-07 21:24:26 +01:00
2021-04-18 00:21:59 +02:00
* (Default: y) Do you want run the conversion? (y/n): y
````
2021-03-07 21:24:26 +01:00
### Back to README.md
* [Go back](https://github.com/q3aql/ks-tools/blob/main/README.md)
2021-03-22 18:43:19 +01:00