Discord-Media-Compressor-su.../README.md

31 lines
1.6 KiB
Markdown
Raw Normal View History

2022-05-02 02:00:39 +00:00
For all those who want to post memes that are just too big and surpass the 8mb free upload limit on discord, this is the app for you!
# Automatically converts any video into webm, makes sure its 8mb or less!
Easy to use: Just drag a file on the executable and off it goes!
2022-05-05 00:55:12 +00:00
![multiencoding](https://user-images.githubusercontent.com/25299243/166849422-5a687ec5-c110-4de9-bbc3-1ded54bbeaa8.gif)
![cmd_7he2xYV2XK](https://user-images.githubusercontent.com/25299243/166849534-482cd9f0-6a57-4454-bbca-813167cb9ac2.gif)
2022-05-02 02:00:39 +00:00
How to install(Windows, Linux, MacOS):
1. get node.js from [here](https://nodejs.org)
2022-05-05 00:57:18 +00:00
2. get ffmpeg for your platform [here](https://ffmpeg.org/download.html), put into $PATH
3. clone repo into any folder you like.
4. run `npm install --save` to get all dependencies
5. run `npm install -g .`
6. execute anywhere using the `8mb [optional: -preset {preset Index}] [file1] [file2] . . .` command!
2022-05-05 00:55:12 +00:00
*might have bugs
*NOT WORKING RN, TERMKIT REFUSES TO BUILD*
>How to install(Windows with binaries):
>1. make a folder in `C:\Program Files` called "DMC", put release binaries and [ffmpeg windows full-build executables](https://github.com/GyanD/codexffmpeg/releases/) into `C:\Program Files\DMC\`
>2. Add ffmpeg to PATH: `[Win BTN] + R`, type `SystemPropertiesAdvanced`, click `Environment Variables`, under "User variables for (user)" find variable Path, click on it and edit, in the now open window click `new`, and paste `C:\Program Files\DMC\`.
>3. If the command `ffmpeg` in cmd works, you can now drag and drop files onto the binary and have it work!
>4. to set performance preset, doubleclick the binary