But if that info is missing you must manually calculate the bit rate of your source file from each track size & lenght (I don't even tested if it's possible to easily see the track size without demux). Let's say you want to make the MKV file smaller, you need to chose a smaller bit rate for video and audio. That info is important especially for anyone who want to re-encode the file (encoded with Handbrake). If the developers of FFmpeg won't add this future, there is the solution to make Handbrake use a different muxer like mkvmerge, or after muxed with FFmpeg to use mkvpropedit with parameter with "-add-track-statistics-tags" again, it's definitely possible and will be very nice to have. So can anyone open an issue ticket to FFmpeg?
#How big is an average mkv movie file Patch#
Why the "overall bit rate" is present? Maybe that one is calculated by MediaInfo? (like suggested)Īnd the solution for fixing this issue is to have a patch for statistic metadata support in FFmpeg Matroska muxer. Because if you demux a MKV file with stream bitrate info, likely the resulted HEVC/AVC file will NOT have bitrate info in mediainfo either (it is the case for the batch of MKV files I tested at the only issue there is that the muxer used by HandBrake (FFmpeg) did not implement the support of the statistic tags (it is a muxer issue, and only that) The only thing I want to repeat again is that OP said "I demuxed the video track from the mkv, open with mediainfo and it has the same problem." this is not a proof of problem either way. Basically I'm just stating the reason MKVs encoded by HB doesn't have bitrate for streams is because it's not mandatory in MKV format (that's what I meant when I say "it's about the format").īut again, it's definitely possible and will be very nice to have. I deleted my original comment as it's indeed confusing. For example, when I say "It doesn't even have meta tag fields", I meant to say "no header fields" (in contrast to optional tags). mkvmerge for remuxing the streams (so you keep the compression settings from HandBrake, just not the Matroska stuff) after having used HandBrake, and bitrate will be displayed in think we pretty much agree on most of things, just that my wordings are pretty poor (English is not my first language, sorry about that!), which causes your confusion. Summary: the only issue there is that the muxer used by HandBrake (FFmpeg) did not implement the support of the statistic tags (it is a muxer issue, and only that), and the solution for fixing this issue is to have a patch for statistic metadata support in FFmpeg Matroska muxer.Īs a workaround, you can use e.g. But it is not the reason it disappeared (actually source bitrate tags are no more relevant, as they are about the old stream), the reason it disappeared is that the muxer you used does not write optional bitrate info, so the one to blame is the muxer you use, which did not implement such optional metadata, that's all. Just not pure Matroska elements and not mandatory.Īs mentioned above, the bitrate info just doesn't exist, as they're not mandatory for either MKV So they have meta tag fields, you said a thing and its opposite -). It doesn't even have meta tag fields for average bitrate.Ĭalculate such info on-the-go and then store it in tags (mostly this) The lack of support of 1 Matroska feature by a specific muxer does not mean the format has a problem, it just mean that the muxer did not implement something.