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

66 lines
1.6 KiB
Markdown
Raw Permalink Normal View History

2021-03-07 21:24:26 +01:00
ks-oga-album - Convert folder album to OGA (OGG 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-oga-album </absolute/path/album>
```
2021-03-07 21:24:26 +01:00
### Default configuration:
* The script `ks-oga-album` use by default the following configuration:
2021-04-18 00:21:59 +02:00
```shell
- Audio codec: libvorbis
- Bitrate audio: 130k
- Container: oga
````
2021-03-07 21:24:26 +01:00
2022-01-02 12:28:09 +01:00
* If you want to change the settings, you need to edit the `~/.ks-tools/ks-oga` file and change the following variables:
2021-03-07 21:24:26 +01:00
2021-04-18 00:21:59 +02:00
```shell
acodec="libvorbis"`
b_acodec="130k"`
v_ext="oga"`
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-oga-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-oga'
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