I've tried to compress some MKVs that were copied from DVD with MakeMKV, & the size of each file is around 700-900MBs. I've now been trying to convert them to x264 (h264) using the best settings possible for these 720x576 videos, however they are turning out around 100MBs each. I've tried with 4 different programs (including Handbrake, DVDFab, & VidCoder), but they are still around the same size.
Should they be so small, & is this because I had already used MakeMKV (My understanding of it is that it's not supposed to shrink them, but it does)?
Also, can anyone suggest the best program with the least fiddling needed?
+ Reply to Thread
Results 1 to 17 of 17
-
-
I've tried to compress some MKVs that were copied from DVD with MakeMKV, & the size of each file is around 700-900MBs.
I've now been trying to convert them to x264 (h264) using the best settings possible
they are turning out around 100MBs each
I had already used MakeMKV (My understanding of it is that it's not supposed to shrink them, but it does)?
but it does
Also, can anyone suggest the best program with the least fiddling needed?
Sorry, not trying to be awkward, but if your files, if they are movies, are being converted using the H264 video codec, are coming out at 100MB then it's obvious your video bitrate setting is far too low.
Are you using a bitrate value? (what bitrate?) or constant quality value? (what value?) -
With MakeMKV, I completely forgot the the files (which are all 25 minute TV episodes) were altered after being made MKV. The audio was PCM I think, & I converted it to AC3. This reduced the file sizes Also, when I said about saving them at the best quality what I meant was, as with Handbrake, using the High Profile setting with no alterations.
-
-
It will be much bigger than an MPEG 2 DVD source. But it's the highest quality.
But my real point is that you need to specify what you mean by "best settings". Personally, for DVD sources, I usually use x264 at CRF 18 and the Slow preset. Maybe tuning for grain, film, or animation, depending on the source. I find that to be a reasonable compromise of file size, quality, and encoding time.Last edited by jagabo; 26th May 2018 at 09:25.
-
-
Last edited by magnu; 26th May 2018 at 09:47.
-
By the way, video varies in its compressibility. There can be a 10 fold difference it bitrate required to maintain qualitiy depending on the nature of the video. Cartoon with very little detail and no noise can be compressed to quite small file sizes without losing quality. High action content, with lots of motion, billowing smoke, flickering fire/lights, etc. will require much higher bitrates.
Note bitrate and file size are directly proportional. In fact, the definition of bitrate is stream size divided by running time. -
-
It's on the Video tab when H.264 (x264) is selected as the codec. Move the Encoder Preset slider left/right to select different presets. In general, the slower the preset the smaller the size and the higher the quality. Tuning is there too.
It's also important that you use the correct filtering for your source. But that's a big discussion. -
You haven't given us any indication about running times, so we have no way of knowing whether 700, 900, or 100MB is appropriate or not. Same with content. No clue of complexity, which greatly determines compressibility.
Don't know what your endgame is for these files (I would assume some kind of consumer media player playback), but IIWY I'd go back to square one and rip the DVDs again to their constituent MPEGs and cut out the middle man so you know for a fact you only have ONE re-encoding stage.
Then target your files either for bitrate value or quality value, depending on application. Then, assuming you have known what you are doing with tool settings, live with the result.
My guess is that there may be other encode stages you are not telling us about, or are aware of. Or that these are short clips.
Scott -
-
When using Rate Factor based encoding the setting that has the largest effect on size and quality is the Rate Factor. The lower it is set the higher the quality and the bigger the file. With an x264 rate factor of 18 it is pretty hard to tell the original from the source at normal playback speed. Around 12 it's difficult to see a difference even with A/B switching of enlarged still frames. At 0 you get lossless encoding (and gigantic file sizes). A typtical online streaming video may somewhere in the mid 20's.
Secondary effects are from the encoding presets. Ultrafast and superfast use only the least effective compression techniques. They are meant for speed, not high compression. From veryfast on up there's not a huge difference if files size, but quality increases a bit.
And, of course, you can tune many individual settings manually if you know what you're doing. But be careful: many devices cannot handle all possible settings of h.264. You may need to limit settings like max consecutive b-frames, max reference frames, max bitrate, etc. You can use the Profile/Level settings to help with this.
Basically, if the exact file size is not critical, use Rate Factor based encoding with a value you find acceptable. Then set the preset as slow as you can stand. A 25 minute video might encode in 2 or 3 minutes at the veryfast preset, but take an hour at the placebo preset. The latter will be a little smaller (maybe 20 percent) and will have a little better visual quality. It's up to you to decide what compromise of speed, quality, and file size is best for you.
If exact file size is critical, for example you need to compress a 2 hour movie to fit on a 700 MB CD, use 2-pass variable bitrate encoding. Again, at the slowest preset you can stand. This gives you a known file size but unknown quality. But you know it's the best quality you can get for that video at that file size (and the other settings you used).
In short, use bitrate based encoding when you need a specific size. Use rate factor based encoding when you want to be assured of the quality. They deliver the same quality at the same file size.Last edited by jagabo; 26th May 2018 at 11:37.
Similar Threads
-
X264 CUDA vs X264
By ben45 in forum Video ConversionReplies: 3Last Post: 21st Nov 2016, 08:47 -
x264 Help
By rorzg0d in forum Video ConversionReplies: 3Last Post: 22nd Jan 2016, 01:49 -
x264 Mediainfo to MeGUI x264 Settings
By Arugen in forum Video ConversionReplies: 2Last Post: 13th Aug 2015, 01:14 -
x264 to x264 (copy)
By Anonymous1 in forum Newbie / General discussionsReplies: 6Last Post: 31st Jul 2015, 08:53 -
x264 avi to x264 mkv
By deadman36g in forum Video ConversionReplies: 3Last Post: 17th Sep 2013, 10:13