Log in

View Full Version : Regenerating mkv metadata


clidx
11th February 2021, 12:36
I just finished a big batch transcode of HEVC+THD into mkv but chose not to pass through the metadata. I didn't realize that the metadata included some bits that MediaInfo displays, specifically I need the bitrate of individual tracks. Is there any way to regenerate the bitrate without starting from scratch? Some tool that will analyze the files and add it in?

If not are there tools, preferably CLI so scriptable, which a) calculate bitrate of tracks and b) add it to a mkv file in-place?
I looked at mkvtoolnix's header editor but there's no bitrate there.

tebasuna51
12th February 2021, 17:50
Check if you have (see the image: 1->2->3->4) disabled the statistics in MkvMerge. Uncheck it.

Remux the mkv now with MkvMerge.

clidx
16th February 2021, 19:04
Yup that worked. Thanks.

hubblec4
20th February 2021, 14:02
mkvpropedit.exe can insert stats Tags, without re-encoding.