Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I think this is a pretty common knowledge, but i'm just curious to know the cause. A little example. When i edit a video and export it to the .avi format, it resulted in a +600MB video file. However, when i export it as .flv, it's only about 5MB.

Same thing happens with movies. Usually, a movie with .avi format with DVD quality can be downloaded for about 3GB. However, with .mkv files it's only about 600MB.

This question might be really stupid but.. Why is this happening?

Edit: A similar question was asked on Yahoo Answers, but the answer doesn't really get to the 'why' part: http://answers.yahoo.com/question/index?qid=20130620145300AA5Uun5

share|improve this question
    
Also, if this Q is a dup, please just close it :) –  aIKid Mar 26 '14 at 5:48

1 Answer 1

up vote 3 down vote accepted

For the 1st question: Let me assume that the video saved as FLV was okay to play and there was nothing wrong on the FLV file. If so, possibly the AVI file you saved was not compressed at all and contained a bitmap stream which must be really heavy. See the "export", "compression" or "codec" option (or anything like that) on your tool to export the movie and there should be an option to change the codec for AVI exports.

For the 2nd question: Basically, if the bitrates used in AVI and MKV are the same, the sizes of output files should be almost the same. (Strictly speaking, AVI file will be very little bit bigger than MKV due to their structural difference but it's not an issue here.) So, probably the stream bitrate on the AVI is higher than the MKV's one. However, this doesn't mean the media quality of the MKV is inferior than the AVI's one because codes can be different. For your case, probably the AVI used DIVX-like codec whilst the MKV used h.264 which provides much better video compression. But please don't misunderstand this - AVI and MKV are just containers (so is FLV) which can have (almost) anything whilst DIVX and H.264 are codecs which actually populate the data in the containers. Codecs and bitrate settings mainly contribute on the file size.

Interestingly, there is a tendency for AVI files to have video streams encoded in DIVX-like codecs and for MKVs to have ones in H.264 so many think MKVs have better video quality or smaller file size, but this is not technically true.

share|improve this answer
    
Great answer. Thank you! –  aIKid Mar 26 '14 at 7:17

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.