Compressing (Handbrake) blu-ray MKVs once ripped with MakeMKV?

MKV playback, recompression, remuxing, codec packs, players, howtos, etc.
Post Reply
NotMeOssifer
Posts: 17
Joined: Sat Jan 19, 2019 5:44 pm

Compressing (Handbrake) blu-ray MKVs once ripped with MakeMKV?

Post by NotMeOssifer »

I've done a number of blu ray discs. That many that they're scattered over 3 hard drives now, which I don't particularly want.

I'm sure you all know as you'll have all done the same but the rips are in and about the 20GB-40GB range. I don't think I have any blu ray over that or under that.

What I want to do is compress the MKV files so that:

1) I'm saving space (obviously)

...BUT...

2) where there is no obvious loss in image quality.

There obviously has to be some kind of loss as it's being compressed but I want to watch these movies back (TV: Panasonic LED TV TX-58DX750B) via Plex and not even know they've been compressed. I would like for say someone else to come in & think they're watching the blu-ray disc itself.

So no grainy images in other words.

So with that in mind, what kind of filesize are we talking about getting say a 30GB (middle of the park) file to? Not what can we get it to as in the smallest file possible, but what is a realistic file size while still retaining no obvious loss in image quality?

And if you care to talk about settings then don't let me stop you. The more help the better :)
Woodstock
Posts: 9912
Joined: Sun Jul 24, 2011 11:21 pm

Re: Compressing (Handbrake) blu-ray MKVs once ripped with MakeMKV?

Post by Woodstock »

You can adjust handbrake to compensate for how much quality you want. A video disk (DVD, BD, or UHD BD) is already compressed; it's compressed ENOUGH to fit the format.

I compress everything to RF 20 to 18 and get pretty good compression. I have no idea if it's "perfect", because I'm NOT watching anything to the level of "oh, an image defect!" when I'm watching TV. I could probable live with BDs compressed to 14 if I "needed space". But I'm only halfway through my 60TB RAID array, so I'm not desperate for space, yet. That's with around 30 thousand episodes of TV series and around 600 movies. Almost all of them are compressed between 18 and 20 with handbrake.

EVERYTHING goes through handbrake after ripping, except the couple of 3d titles I have. I rarely look at anything (beyond trying to determine what subtitles are in the mix) before handbrake runs against it.
MakeMKV Frequently Asked Questions
How to aid in finding the answer to your problem: Activating Debug Logging
dcoke22
Posts: 2561
Joined: Wed Jul 22, 2020 11:25 pm

Re: Compressing (Handbrake) blu-ray MKVs once ripped with MakeMKV?

Post by dcoke22 »

I prefer to use the command line to compress rips. I've been using Don Melton's Video Transcoding Tools to that end. The files produced with those tools have no obvious flaws or loss in quality compared to the original rips. A 30GB rip will end up under 10GB and often under 8GB.

Those tools use the major open source projects, like Handbrake, to do the heavy lifting. They produce h.264 files in a .mkv container by default, which is highly compatible with lots of playback setups.
wmcclain
Posts: 80
Joined: Tue Jun 07, 2016 8:23 pm
Contact:

Re: Compressing (Handbrake) blu-ray MKVs once ripped with MakeMKV?

Post by wmcclain »

I use -q 18 on DVDs and -q 20 on Blu-rays.

DVDs compress by a factor of 2-3x, but Blu-rays have a much wider range, from "just about nothing" to 10x and more.

Grainy sources are hard to compress, but modern films with lots of CGI and grainless digital cameras compress like a dream.

You should pick a source you know well, say 1 chapter, and test it with various Handbrake levels and and presets. See what you can detect on your display.
Capsule film reviews: Strange Picture Scroll
DataMeister
Posts: 14
Joined: Tue Mar 14, 2017 5:55 am

Re: Compressing (Handbrake) blu-ray MKVs once ripped with MakeMKV?

Post by DataMeister »

wmcclain wrote:
Mon Sep 26, 2022 8:39 pm
I use -q 18 on DVDs and -q 20 on Blu-rays.

DVDs compress by a factor of 2-3x, but Blu-rays have a much wider range, from "just about nothing" to 10x and more.
I have not found a Blu-ray that doesn't compress at 3:1 or better. Which titles are you seeing that do that?
wmcclain
Posts: 80
Joined: Tue Jun 07, 2016 8:23 pm
Contact:

Re: Compressing (Handbrake) blu-ray MKVs once ripped with MakeMKV?

Post by wmcclain »

DataMeister wrote:
Sat Oct 01, 2022 10:18 pm
wmcclain wrote:
Mon Sep 26, 2022 8:39 pm
I use -q 18 on DVDs and -q 20 on Blu-rays.

DVDs compress by a factor of 2-3x, but Blu-rays have a much wider range, from "just about nothing" to 10x and more.
I have not found a Blu-ray that doesn't compress at 3:1 or better. Which titles are you seeing that do that?
Very grainy sources. Criterion's "12 Angry Men (1957)" was 1.33x. Mill Creek's "Age of Consent (1969)" was 1.57x.

Sometimes the cause is not grain but some other video processing I do not know how to characterize.
Capsule film reviews: Strange Picture Scroll
ArArdin
Posts: 187
Joined: Fri Nov 20, 2020 1:40 pm

Re: Compressing (Handbrake) blu-ray MKVs once ripped with MakeMKV?

Post by ArArdin »

Preserving grain takes both CPU power/time and size, compared to "smoother" video. One likes it, others may hate it.
If you don't mind losing some grit, apply a grain/noise filter. Be very restrained with the settings though. Usually very weak to medium will do. Handbrake has a few onboard that you can try. Can save up quite some harddrive space.
Post Reply