I have one mkv file that doesn't have valid duration. I want to change this duration parameter manually. I gone through this matroska specification defined at http://www.matroska.org/technical/specs/index.html
Looking at specification for matroska this contains only identification magic numbers, but this doesn't specify length for data.
How to parse this matroska header so that i get duration field and change this field?