A batch script to automatically compress video and audio files to under 25MB to allow for free upload to discord.
The script requires FFmpeg to be installed on your system. Make sure FFmpeg is in your system's path.
To compress a video or audio file, simply drag and drop the file onto the batch script or use the terminal with the command discompress.bat <input_file>
.
The output file is saved as a .mp4 (if video) or a .mp3 (if audio) in the inputs file directory with the name 25MB_
Path to batchfile can also be added to the registry to be able to compress in the windows right-click menu.
.mp4 .avi .mkv .mov .flv .wmv .webm .mpeg .3gp
..mp3 .wav .m4a .flac .aac .ogg .wma
.If you encounter any issues while running the script, try the following:
This script is released under the MIT License.