Log in

View Full Version : Merging mkv Files Using mkvmerge


zammil
5th January 2011, 10:48
Hi friends,

I'm having problems merging mkv fles using mkvmerge.I want to hardcore subtitles to certain frames where different language other than English is used.so i cut these particular portion from these movies and hard cored subtitles using Xvid4psp.The problem is when i append these edited portions to original clip the it is not playing or gets blurry.i don't want to re-encode and merge them as a single clip as it would degrade the video quality.

These are the links for the video:
Video 1(subtitle hard coded):http://www.mediafire.com/?t8l15qxada3cxtz
Video 2(Sample of Original file to be appended): http://www.mediafire.com/?yyoyrtwj3vs7i5s
Video 3(The resulting file when appended video 1 & video 3):http://www.mediafire.com/?zu845vbi0vl27u1

I get this warning when i append Video 1 & Video 2 using mkvmerge

Warning: The track number 1 from the file 'C:\Documents and Settings\My Documents\Video 2.mkv' can probably not be appended correctly to the track number 1 from the file 'C:\Documents and Settings\My Documents\Video 1.mkv': The codec's private data does not match. Both have the same length (42) but different content. Please make sure that the resulting file plays correctly the whole time. The author of this program will probably not give support for playback issues with the resulting file.


plz tell me any way to merge and play the movie as normal by making any changes to the Video 1.any help will be greatly appreciated

zammil
5th January 2011, 13:12
any help!!!!!!!

nm
5th January 2011, 13:58
Works fine if I demux the H.264 tracks first with mkvextract and then join them with mkvmerge. Otherwise there seems to be some inconsistency in the codec data stored to the MKV files that breaks playback.

sneaker_ger
5th January 2011, 14:08
Did you try to use the same settings and encoder version as for the original file? You can see the version and settings used for x264 encodes if you run mediainfo on the complete original file.

/edit: nevermind, if de- and remuxing as suggested by nm already works...
/edit2: yes, works here too.

zammil
5th January 2011, 17:48
Thank you nm thank you .you know i have been pulling my hair over the last month trying to do this .converting this to mp4 then mux it using yamb.trying to match every mediainfo details of two videos but in vain .I posted this thread in videohelp,doom 10 and many video forums.nobody could solve this.i was losing hope and trying to re-encode the whole movie.thanks to you i don't have to do that .i owe you big time