scripts/README.md

26 lines
1.3 KiB
Markdown
Raw Normal View History

2024-04-12 15:51:46 +02:00
# scripts
This repository contains some of my scripts. Feel free to use, modify or share as you wish.
Quality of the script and or code might or might not be questionable. I am not responsible
for any accidental rimraffing of your home or any other directories nor for any other damage.
## Index
### `flac2opus_collection.bash`
This script converts a copy of a directory containing `.flac` files and converts them all to opus.
The source folder remains unmodified and the whole directory structure, including non-flac files, will
be simply copied over to the output directory. This serves the purpose of being able to compress
your whole lossless library to copy over to devices which are storage limited and or unable to playback
the lossless files at a quality where they are distinguishable from the compressed files.
#### Overview of arguments
```
arguments:
in [input directory] (required) <The flac directory> {default: none}
out [output directory] (required) <The opus directory> {default: none}
verify [on/off] (optional) <Check converted files for corruption> {default: on}
vbr [on/off] (optional) <Toggle variable bit rate> {default: on}
bitrate [{bitrate}k] (optional) <Set the bitrate to be passed to ffmpeg> {default: 128k}
```