Why does remuxing (w/o removing anything) change file size?
Posted: Mon Dec 07, 2015 10:02 pm
So I have a blu-ray that I ripped to mkv using MakeMKV and its file size was 12,066,915,621 bytes. It has 4 audio tracks, 3 of which are commentaries. I opened this .mkv file using mkvmergeGUI and took the 3rd track and moved it up so it's now the 2nd track. That's it. Then I clicked 'remux.'
My new file size is 12,057,623,542 bytes, so about 9MB smaller. I didn't remove anything, I just reordered the audio tracks.
So just for science, I decided to take this smaller file, open it up in mkvmergeGUI, and switch the tracks back and remux again.
Now I end up with an even smaller file, although the change wasn't as much. This new file is 12,057,617,754 bytes, so about 5kB smaller.
Well, of course I had to go another step further and switch the tracks back again and remux again and now I end up with a file...that's bigger(!) by only 36 bytes. It's 12,057,617,790 bytes.
What is going on here? From what I understand, remuxing is not re-encoding anything, so my audio/video experience is not suffering, right? Is mkvmerge just adding and deleting some metadata or something? If so and anyone knows, just for my own curiosity's sake, what metadata is being messed with here?
My new file size is 12,057,623,542 bytes, so about 9MB smaller. I didn't remove anything, I just reordered the audio tracks.
So just for science, I decided to take this smaller file, open it up in mkvmergeGUI, and switch the tracks back and remux again.
Now I end up with an even smaller file, although the change wasn't as much. This new file is 12,057,617,754 bytes, so about 5kB smaller.
Well, of course I had to go another step further and switch the tracks back again and remux again and now I end up with a file...that's bigger(!) by only 36 bytes. It's 12,057,617,790 bytes.
What is going on here? From what I understand, remuxing is not re-encoding anything, so my audio/video experience is not suffering, right? Is mkvmerge just adding and deleting some metadata or something? If so and anyone knows, just for my own curiosity's sake, what metadata is being messed with here?