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 have not even heard of that game. will take a look
    • Chasys Photo 5.41.01 by Razvan Serea Chasys Photo is a suite of image editing applications including a layer-based image editor with adjustment layers, linked layers, timeline and frame-based animation, icon editing, image stacking and comprehensive plug-in support (Chasys Photo Editor), a fast image viewer (Chasys Photo Viewer) and a fast multi-threaded image file converter (Chasys Photo Converter) , with RAW image support in all components. It supports the native file formats of several competitors including Adobe Photoshop, Affinity Photo, ArtWeaver, Corel PhotoPaint, FireAlpaca, GIMP, Krita, Paint.NET, PaintShop Pro and Pixlr, and the whole suite is designed to make effective use of multi-core processors, touch-screens and pen-input devices. Designed under the mantra of “unique, flexible and powerful”, Chasys Photo takes a radically different approach to image editing with the aim of opening up new possibilities for those who dare to be different. Chasys Photo key features: Free-style layering with blending modes Adjustment layers with multiple adjustments per layer Linked layers (a.k.a Linked Smart Objects) Composite, Image List, Frame Animation and Object Animation image modes Animation, both frame-based and object-based (timeline animation) Animation Composer engine Image Stacking for noise reduction, super-resolution, etc. Tablet/Pen-input/Stylus support with pressure control Touch-screen support with gestures including pitch-to-zoom and multi-finger panning Support for the native formats of Adobe Photoshop, Affinity Photo, ArtWeaver, Corel PhotoPaint, FireAlpaca, GIMP, Krita, Paint.NET, PaintShop Pro and Pixlr Support for common formats such as JPEG, animated PNG, animated GIF, TIFF, PICT, WebP, HEIF, DDS, JPEG-2000, JPEG-XR, JPEG-XL, AVI video, etc. Support for the OpenRaster interchange file format and rare formats such as QOI, MNG/JNG and DPX Support for older formats such as PPM/PGM/PBM, PCX/DCX, PCD, TGA, COKE, etc. Comprehensive Camera RAW file support with live adjustment Extensive plug-in support with streamlined SDKs Support for Photoshop Filter Plug-ins (.8BF) Advanced printing and scanning engines PDF document generation Icon and cursor editing, import and export, including Vista-style and Mac-OS icons Screen Capture, including Video Screen Capture with multiple triggering modes Video capture from devices (e.g. TV/Video) Supports multi-core processors, High-DPI displays and Multiple Display setups Integrated File Browser, Bluetooth OBEX and in-built utilities (Calculator, Notepad) Shell integration with thumbnails and conflict detection Unlimited Undo/Redo and Asynchronous Auto-Save, with Just-in-time memory compression to save space Fully re-editable text with advanced styling and effects (TextArt) Full alpha channel through out the workflow with Alpha protection (a.k.a. transparency protection) Multiple language support with user-editable language files and translation assistant (Chasys Photo Language Studio) Anti-aliasing and super-sampling support in tools and paths* Smart-resizing (similar to seam-carving) Best-in-class post-edit heuristics anti-aliasing engine Physical measurement specification with display size detection via EDID Uses the latest CD5 specification with animation and multi-resolution Super-fast internal graphics engine (JpDRAW2) Full UNICODE support in all components Metadata save, restore and scale to imitate vector art Configurable Guides and Grids with Snap-to-Grid Smart-dither to custom palette Asynchronous preview rendering engine Pantone equivalent palettes for PMS 100 to 814-2x Automatic color naming ... and many more! Chasys Photo 5.41.01 changelog: New Features Layered images with multiple pages (Composite/Multi-page) Additional templates to support template-centric workflow New Layer Blend Mode: Inverse Luma Mask Horizon detection in Rotate Transform Cropping option when importing video Orientation options in QR Code Generator plug-in Solved angle ambiguities (CCW versus CW) Internal Improvements Improved graphics engine (JpDRAW2™ v26.05) Improved CD5 codec (v4.10, improved ACSC compression) Improved interpolation when downsizing images Improved motion detection in Video Capture Slightly lower memory usage (RAM is getting expensive!) File Support and Bug Fixes Improved PXZ file support (placeholders, blanks) [bug-fix] Memory leak in flt_JPEG.dll Download: Chasys Photo 5.41.01 | 46.1 MB (Freeware) View: Chasys Photo Home Page | Wikipedia Page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • We don't need stars for the word, just use the word "CSAM"
    • If they want to do business in the UK then they can't ignore it. thats why Imgur pulled out of the UK
    • Most of UK Gov are involved in pedophelia and satanic cults/rituals aka epstein mossad agent.
  • Recent Achievements

    • Very Popular
      Captain_Eric earned a badge
      Very Popular
    • One Month Later
      amusc earned a badge
      One Month Later
    • One Month Later
      DJC50PLUS earned a badge
      One Month Later
    • Week One Done
      DJC50PLUS earned a badge
      Week One Done
    • Proficient
      Eric Biran went up a rank
      Proficient
  • Popular Contributors

    1. 1
      +primortal
      508
    2. 2
      PsYcHoKiLLa
      220
    3. 3
      ATLien_0
      92
    4. 4
      +Edouard
      89
    5. 5
      Steven P.
      83
  • Tell a friend

    Love Neowin? Tell a friend!