Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/yy-tromb/yy-many-convert

convert super many media file for me
https://github.com/yy-tromb/yy-many-convert

Last synced: about 1 month ago
JSON representation

convert super many media file for me

Awesome Lists containing this project

README

        

# yy-many-convert
convert super many media file for me
## Usage
### **You need to install [Node.js](https://nodejs.org/en)**
Usage: `path_to_Node.js path_to_yy-many-convert.js {source_folder} {output_folder} {MAX_PROCESS (int)}`
### I recomend that MAX_PROCESS value is less your computer core counts.
## Custom
Please edit some code.
in line 15:`const CONVERT_COMMAND = "ffmpeg";` for your favorite converter like qaac.
-> `const CONVERT_COMMAND = "qaac";`
below line 16,
```js
const compile_args = (source_file, output_file) => {
return [
"-i",
source_file,
"-c:v",
"libaom-av1",
"-pix_fmt",
"yuv420p",
"-crf",
"18",
"-still-picture",
"1",
"-y",
output_file,
];
};
```
edit for your favorite converter arguments like qaac.
->
```js
const compile_args = (source_file, output_file) => {
return [
source_file,
"-a",
"192k",
"-o",
output_file,
"-y",
];
};
```
source_file is file that you want to convert.
output_file is file that is converted.
source_file and output_file is automatically given.
in line 32:`const OUTPUT_EXTENTION = ".avif";` for your favorite extention like m4a.
->`const OUTPUT_EXTENTION = ".m4a";`. Please include `.`