Reducing MKV size


Recommended Posts

Hi :)

 

I have a couple of files of anime, like this:

 

 

General
Format                                   : Matroska
Format version                     : Version 2
File size                                 : 534 MiB
Duration                                : 22mn 38s
Overall bit rate                      : 3 294 Kbps
Encoded date                       : UTC 2011-05-05 15:39:57
Writing application               : mkvmerge v4.0.0 ('The Stars were mine') built on Jun  6 2010 16:18:42
Writing library                        : libebml v1.0.0 + libmatroska v1.0.0

Video
ID                                                       : 1
Format                                              : AVC
Format/Info                                      : Advanced Video Codec
Format profile                                 : [email protected]
Format settings, CABAC               : No
Format settings, ReFrames         : 2 frames
Codec ID                                           : V_MPEG4/ISO/AVC
Duration                                            : 22mn 38s
Width                                                 : 1 280 pixels
Height                                                : 720 pixels
Display aspect ratio                        : 16:9
Frame rate mode                            : Constant
Frame rate                                        : 23.976 fps
Color space                                      : YUV
Chroma subsampling                    : 4:2:0
Bit depth                                            : 8 bits
Scan type                                          : Progressive
Language                                         : English
Default                                               : Yes
Forced                                               : No
Color primaries                               : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                            : BT.709

Audio
ID                                                        : 2
Format                                               : AAC
Format/Info                                       : Advanced Audio Codec
Format profile                                  : LC
Codec ID                                          : A_AAC
Duration                                           : 22mn 38s
Channel(s)                                     : 2 channels
Channel positions                        : Front: L R
Sampling rate                                : 48.0 KHz
Compression mode                     : Lossy
Language                                       : English
Default                                            : Yes
Forced                                            : No

 

 

And I want to reduze the size of them, 500/600MB each 22m file is taking a lot of space.

 

I want to reduce 200 or 300MB on each file (let's say they become files of 250 or 300MB), maintaning the same resolution of 720p, the same container MKV and reducing as much as possible the loss of quality in the conversion.

 

 

Is handbrake a good tool for this?

 

The original Format profile is 3.1, if I change to 4.1 would it be worth it? And should I mantain the status of "High"?

 

 

I'm no expert in codecs, far from it and I'm a bit lost on this since the trial and error on files that will take hours to convert is a bit too much time consuming (I'm not being lazy, just realistic that I'm never going to finish this without some point of start where I reduce the trial and error aproach as much as I can).

 

 

Thank you neowin :)

Link to comment
https://www.neowin.net/forum/topic/1205041-reducing-mkv-size/
Share on other sites

Yeah I think Handbrake is your best bet. I wouldn't change the Profile level, all that does is define the spec and set the maximum bitrate. Since you'll be controlling bitrate in Handbrake the achieve the file size you need you don't need to worry about profile level. Changing the profile level is usually only something you have to do to get a file to play in a player that isn't compatible with newer profiles.

I think it's going to be hard to encode your video at 720p and keep it good quality and under 300 MB.

 

Again I'm no expert on codecs and don't want to sound like I'm one (I don't want seem like one and being rude :) ), but you can easily download mkv files of 200/300MB with great 720p quality with the same duration, I'm not trying to reduce to 50 or 100MB files, but to a more reasonable 300MB

This is true, best way is to load your MKV into handbrake and give it a go. I don't think HB offers a target bit-rate option anymore, so you will have to experiment with the RF slider ("quality") to get your desired file-size, and that's going to change between each episode depending on how complicated it is to encode.

 

Again, in HB I don't think you can select a profile setting, but this setting will make little difference to your encoding. Certainly increasing the profile would allow the codec to spend more bits on how it encodes your movie, but only if it needs to and that depends on your source. Levels are described well here http://en.wikipedia.org/wiki/H.264/MPEG-4_AVC#Levels if you want to read about them.

 

So in handbrake load your MKV, set the audio tab to pass-through your AAC audio stream (so it doesn't re-encode it), and then set your resolution and frame-rate up to match your source. Use the RF slider to set a quality level (lower number = higher quality) and encode your video and see how it looks at the end :)

 

edit: Yes, some MKVs can be a small file size for 720p, but that's related to the quality of the source material. Dark, low movement, noise-free sources can be encoded to a high quality/low file size no problem. But bright, high movement, noisy source take a higher bit-rate (file-size) to encode to the same quality level. I guess this depends on your source.

This is true, best way is to load your MKV into handbrake and give it a go. I don't think HB offers a target bit-rate option anymore, so you will have to experiment with the RF slider ("quality") to get your desired file-size, and that's going to change between each episode depending on how complicated it is to encode.

 

Again, in HB I don't think you can select a profile setting, but this setting will make little difference to your encoding. Certainly increasing the profile would allow the codec to spend more bits on how it encodes your movie, but only if it needs to and that depends on your source. Levels are described well here http://en.wikipedia.org/wiki/H.264/MPEG-4_AVC#Levels if you want to read about them.

 

So in handbrake load your MKV, set the audio tab to pass-through your AAC audio stream (so it doesn't re-encode it), and then set your resolution and frame-rate up to match your source. Use the RF slider to set a quality level (lower number = higher quality) and encode your video and see how it looks at the end :)

 

edit: Yes, some MKVs can be a small file size for 720p, but that's related to the quality of the source material. Dark, low movement, noise-free sources can be encoded to a high quality/low file size no problem. But bright, high movement, noisy source take a higher bit-rate (file-size) to encode to the same quality level. I guess this depends on your source.

 

Many thanks for the help :)

Handbrake is all you need. It has the best encoder and it's simply finding the right options for your kind of media you need. Since you're encoding anime, use the highest profile you can find. It has a lot of optimisations and that should help a lot to keep the size down without losing much quality. And play with the RF slider, target bitrate or filesize is not a good idea.

a lot of people that are suggesting HandBrake haven't tried an easier better program that I have had way drastically more success with. Its a progam called FreeMake and is indeed free. Make sure to decline the extra-ware that comes as an option when installing it. its about 27 megs. Find it from their website or download from filehippo.com

a lot of people that are suggesting HandBrake haven't tried an easier better program that I have had way drastically more success with. Its a progam called FreeMake and is indeed free. Make sure to decline the extra-ware that comes as an option when installing it. its about 27 megs. Find it from their website or download from filehippo.com

 

I dont understand? Handbrake you select the file and save location then press covert what is easier than that! When i instal i don't need to worry about  any extra-ware option to not install.

I dont understand? Handbrake you select the file and save location then press covert what is easier than that! When i instal i don't need to worry about  any extra-ware option to not install.

 

I edit and convert around 20 movies a week. I have tried dozens of different programs, some good, some complicated, some not easy to understand, some too extravagant, some with horrible ui's, and some with bad results either with video or audio problems. Its been probably a year and a half since using handbrake, but the handbrake I used for about 4 months had an extremely horrible UI which would confuse people that didn't quite know what they were doing. And almost 25% of the time, audio synchronization would not be correct with converting flash to avi or MP4. After trying Freemake, I can't imagine why anyone would use anything else. The program is extremely simple with a very clean and logical UI, has close to 98% success rate (from my usage stats) and can give the user extremely advanced settings if they so should desire to fine tune it. Have you tried FreeMake for comparison?

 

added: downloading the current Handbreak version to see if it has changed since last using it.

 

 

Added: after downloading and installing, I actually was mixing up Handbreak with another converting program. This Handbrake isn't bad and I did like it which is why I did use it for a period of time before switching to FreeMake. But after using Freemake, I defiantly still prefer and recommend Freemake over handbreak. All I can suggest is try it and you may too.

  • Like 1

I edit and convert around 20 movies a week. I have tried dozens of different programs, some good, some complicated, some not easy to understand, some too extravagant, some with horrible ui's, and some with bad results either with video or audio problems. Its been probably a year and a half since using handbrake, but the handbrake I used for about 4 months had an extremely horrible UI which would confuse people that didn't quite know what they were doing. And almost 25% of the time, audio synchronization would not be correct with converting flash to avi or MP4. After trying Freemake, I can't imagine why anyone would use anything else. The program is extremely simple with a very clean and logical UI, has close to 98% success rate (from my usage stats) and can give the user extremely advanced settings if they so should desire to fine tune it. Have you tried FreeMake for comparison?

 

added: downloading the current Handbreak version to see if it has changed since last using it.

 

 

Added: after downloading and installing, I actually was mixing up Handbreak with another converting program. This Handbrake isn't bad and I did like it which is why I did use it for a period of time before switching to FreeMake. But after using Freemake, I defiantly still prefer and recommend Freemake over handbreak. All I can suggest is try it and you may too.

 

Dont convert alot of content. Will take a look at this program. What content i do convert atm handbrake works for me. Will look at your Freemake.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • I do trust Apple probably more than these other companies with certain data, but I also do think (and it has been demonstrated that) Apple pulls a lot of shenanigans and always has for a long time.
    • Does your iPhone support the latest iOS version? Here's the iOS 27 compatibility list by Aditya Tiwari It's that time of year when we get to know about the latest operating system updates for Apple devices. For iPhone, Apple previewed the iOS 27 update at WWDC 2026, where the company finally introduced an upgraded version of Siri. Apple typically supports iPhone models for up to five years. But it has been making exceptions in recent years (read iPhone 11). If you're wondering whether your iPhone is compatible with the iOS 27 update, here is the official list of devices: iPhone 17 Pro Max, iPhone 17 Pro, iPhone 17, iPhone 17e, iPhone Air iPhone 16 Pro Max, iPhone 16 Pro, iPhone 16, iPhone 16 Plus, iPhone 16e iPhone 15 Pro Max, iPhone 15 Pro, iPhone 15 Plus, iPhone 15 iPhone 14 Pro Max, iPhone 14 Pro, iPhone 14 Plus, iPhone 14 iPhone 13 Pro Max, iPhone 13 Pro, iPhone 13, iPhone 13 mini iPhone 12 Pro Max, iPhone 12 Pro, iPhone 12, iPhone 12 mini iPhone 11 Pro Max, iPhone 11 Pro, iPhone 11 iPhone SE (2nd generation), iPhone SE (3rd generation) So, you can download the iOS 27 developer beta on up to 31 different iPhone models. There has been no change to the list of supported iPhones since iOS 26. However, it will expand to include more devices when the iPhone 18 series arrives later this year. To download the developer beta on your iPhone, go to Settings > General > Software Update > Beta Updates. Here, select "iOS 27 Developer Beta" from the list of choices to get the new update. In addition to iOS 27, you can try the developer beta versions of macOS 27, iPadOS 27, watchOS 27, tvOS 27, and HomePod software 27 on your supported devices. iOS 27 comes with improved Liquid Glass, which you can adjust using a new transparency slider. Apple said during the keynote that iPhone apps now launch up to 30% faster, new photos appear in the Photos app up to 70% faster, and AirDrop transfers work up to 80% faster. The new update promises to improve performance on older iPhones by introducing a new CPU Scheduler that supports devices all the way back to the iPhone 11. While iOS 27 is supported on older iPhones, it goes without saying that they'll lack several features due to hardware differences. For instance, iPhone 14/14 Plus and older models come with a notch instead of the Dynamic Island. Similarly, Apple Intelligence features are supported on iPhone 15 Pro/Pro Max and later models.
    • The Radeon RX 9070 XT is right up there with the GeForce RTX 5070 Ti
    • I don't know why someone said useless, but it does have that pesky kernel driver bundled, and it's in perennial turmoil. When it goes bad, it goes very bad, and it's impossible to predict when it will due to system differences. I know that they're in the middle of development for a major new version that will include a completely new driver, one that they expect will largely solve the problem, but that's a ways out and it's unproven at this point.
    • doesn't AdGuard let ads through that pay to be let through?
  • Recent Achievements

    • Experienced
      JayZJay went up a rank
      Experienced
    • Reacting Well
      Sir_Timbit earned a badge
      Reacting Well
    • Week One Done
      rubentuben8 earned a badge
      Week One Done
    • Week One Done
      ARaclen earned a badge
      Week One Done
    • Week One Done
      jojodbn earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      524
    2. 2
      PsYcHoKiLLa
      231
    3. 3
      +Edouard
      132
    4. 4
      ATLien_0
      88
    5. 5
      Steven P.
      83
  • Tell a friend

    Love Neowin? Tell a friend!