Skip to content

djkato/n-mb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Buy Me a Coffee at ko-fi.com

Automatically converts any media file and makes sure its under your limit!

For all those who want to post memes that are just too big and surpass the 8mb 25mb 10mb free upload limit on discord, this is the app for you!

nbm usage

This program outputs to following formats:

  • audio codec: opus .ogg
  • video codec: vp9 + opus .webm, x265 + opus, AV1 + opus
  • image codec: vp8 .webp (for gifs too, but animated)

How to install Binary(Windows, Linux):

Releases are no longer being kept uptodate, please follow Source installation

  1. Download binary from Releases, put into $PATH
  2. get ffmpeg for your platform here, put into $PATH
  3. execute anywhere using the nmb --size/-s <SIZE IN MB> --codec/-c <WEBM/HEVC> --files/-f=<FILE 1>,<FILE 2> . . . command!

How to install From Source(Windows, Linux, MacOS):

  1. get rustup (cargo, rustc etc) from here
  2. get ffmpeg for your platform here, put into $PATH
  3. run cargo install n-mb in your favourite terminal
  4. execute anywhere using the nmb --size/-s <SIZE IN MB> --codec/-c <WEBM/HEVC/AV1> --files/-f=<FILE 1>,<FILE 2> . . . command!

Thanks for an amazing read on how to optimize vp9 for file sizes deterenkelt, I recommend this read: https://codeberg.org/deterenkelt/Nadeshiko/wiki/Researches%E2%80%89%E2%80%93%E2%80%89VP9-and-overshooting

About

Automatically converts any media file and makes sure its under your limit! For all those who want to post memes that are just too big and surpass the 25mb free upload limit on discord, this is the app for you!

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages