MegatronUK
9th September 2007, 16:06
I have several mkv files, all containing either an xvid or divx5 video track (29.97fps) and a single aac (5.1) audio track. Run time when played back through mplayer or vlc is approx ~24 minutes.
As I want to watch these files on a stand alone player which does not support mkv, I'm in the process of converting them into basic avi containers.
I use the mkvtoolnix package and mkvextract to extract both of the tracks, however when the two files are extracted from the mkv container, they differ in length considerably; the audio track is ~24 minutes, while the video track is somehow only 19 minutes long.
Obviously when I remux the files back into an avi container, they are quite out of sync, yet play fine in the original container.
Any ideas what is happening? Is Matroska somehow able to sync the shorter run time of the video up to the longer audio track? If it does, then I'm very impressed, but a little bewildered as to how it is doing it!
As I want to watch these files on a stand alone player which does not support mkv, I'm in the process of converting them into basic avi containers.
I use the mkvtoolnix package and mkvextract to extract both of the tracks, however when the two files are extracted from the mkv container, they differ in length considerably; the audio track is ~24 minutes, while the video track is somehow only 19 minutes long.
Obviously when I remux the files back into an avi container, they are quite out of sync, yet play fine in the original container.
Any ideas what is happening? Is Matroska somehow able to sync the shorter run time of the video up to the longer audio track? If it does, then I'm very impressed, but a little bewildered as to how it is doing it!