Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/yy-tromb/yy-many-convert
- Owner: yy-tromb
- License: mit
- Created: 2024-01-01T09:46:16.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-02T15:57:10.000Z (almost 1 year ago)
- Last Synced: 2024-01-03T10:41:25.837Z (12 months ago)
- Language: JavaScript
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 `.`