Write resolution Metadata to tag

then I recommend this 3rd party tool:

And maybe have a look at this thread:

Using the above "Icaros", VLC - for example - shows the technical details from a MKV as: