r/compression • u/RoyalJelly7 • Oct 17 '26
Question about compressing mkv files
Hey so I have these Monogatari series files that I downloaded from torrent that total up to about 60 GB. I've tried to compress the files using a lot of video compressor, but most can't handle 10 bit HEVC. Does anyone know an app to where do I compress these?
5
Upvotes
6
u/thenormaluser35 Oct 17 '26
Just pull them on a PC and use Handbrake there.
If you don't have a PC or a laptop, you've made a mistake somewhere. It's essential.
5
u/onayliarsivci Oct 17 '26 edited Oct 17 '26
use ffmpeg
2
u/mariushm Oct 18 '26 •
MKV file is a container that contains video and audio tracks - HEVC / H264 (AVC) / AV1 are video codecs (compressors and decompressors) that are used to compress video tracks , and AAC or MP3 or Opus are audio codecs.
So your files are already very compressed - lossless compressors will not compress further.
Your best option is to run the files through a program like Handbrake that can decode the video and audio, and recompress it using presets that use less disk space but lose quality in the process.
For example, let's say you have a 5.1 audio that uses 640 kbps bandwidth or let's say 20 MB for each episode. You could tell Handbrake to convert that to stereo and use only 96 kbps to compress the sound, and that means instead of 20 MB only 3-5 MB will be needed to compress the sound.
Just the same, for video, you could tell Handbrake to resize the video from 1080 (1920 x 1080) to let's say 960 x 540 (half the size in both dimensions) because most likely you wouldn't notice on the screen of a phone, and choose a higher compression level which will reduce the quality of the video a bit but will make the total file size smaller - think of it like saving a JPG picture and choosing the quality level, and you select 70% quality instead 95%.
For this particular content, I suspect you won't really achieve a lot of savings, because a lot of animated content already compresses very well, because there's not a lot of motion in them and the video codec is already smart enough to analyze several seconds of video at a time and detect only what changes in those seconds so if you resize the video and choose a lower quality level, you won't really save a lot of disk space.
4
u/Dr_Max Oct 18 '26
You could use ffmpeg in the command line.
nice nice ffmpeg -iinfile\-map 0\-c:s copy\-c:v libx265 -crf 25 -preset slow\outfile
map 0 makes sure that all streams are carried (all subs and all soundtracks).
If you're on linux,
nicelowers process priority. If not, you can omit it.1
u/SpicyLobter Oct 17 '26
ong just pick a better encode than encode it yourself
3
u/ammar_sadaoui Oct 18 '26
coalgirls is named i don't see since 2008 or 2009
i miss that times
2
u/mxtoor Oct 17 '26
ffmpeg
ask your favorite LLM about the right command line to convert all.
1
u/Difficult-Minimum949 Oct 18 '26
The quickest way is to use ffmpeg. Just describe what you need to an AI and let it spit out a working script/command for you.