Selur
14th September 2007, 20:09
here's the problem:
I got two mkv(avc,mp3) files which I want to append using mkvmerge or avimux gui.
(you can grab the files here and here)
According to avinaptic (see here and here) the x264 settings to create the files are identical (just other releases were used). (I also tried without audio, which didn't help either; audio should be encoded the same way to)
When I try to append the files mkvmerge gives me the following warning:
Warning: The track number 1 from the file '...Video2.mkv' can probably not be appended correctly to the track number 1 from the file '...Video1.mkv': The codec's private data does not match (lengths: 41 and 40). 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.
The resulting file has the correct length audio plays fine, but the video only play up to the end of Video1, after that video is frozen.
So, here's my question:
1. how can I change the 'codec's private data' that they match and the files can be merged?
2. it is possible to merge x264 encodes that were encoded with differend revisions,as long as the features used are the same, is it?
Hope someone can shed some ligh to solve this problem and yes I used google and the forum search but didn't find an a solution, but since I'm human I might have overlooked it, so don't flame me if I did. ;)
Thx to all who try to help. :)
Cu Selur
Ps.: x264 settings used were: x264.exe --crf 20 --level 5.1 --keyint 240 --min-keyint 24 --ref 5 --mixed-refs --no-fast-pskip --bframes 3 --b-pyramid --b-rdo --bime --weightb --direct temporal --filter 1,1 --subme 7 --analyse all --8x8dct --vbv-maxrate 25000 --qcomp 1 --me umh --threads auto --thread-input --progress --no-psnr --no-ssim
I got two mkv(avc,mp3) files which I want to append using mkvmerge or avimux gui.
(you can grab the files here and here)
According to avinaptic (see here and here) the x264 settings to create the files are identical (just other releases were used). (I also tried without audio, which didn't help either; audio should be encoded the same way to)
When I try to append the files mkvmerge gives me the following warning:
Warning: The track number 1 from the file '...Video2.mkv' can probably not be appended correctly to the track number 1 from the file '...Video1.mkv': The codec's private data does not match (lengths: 41 and 40). 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.
The resulting file has the correct length audio plays fine, but the video only play up to the end of Video1, after that video is frozen.
So, here's my question:
1. how can I change the 'codec's private data' that they match and the files can be merged?
2. it is possible to merge x264 encodes that were encoded with differend revisions,as long as the features used are the same, is it?
Hope someone can shed some ligh to solve this problem and yes I used google and the forum search but didn't find an a solution, but since I'm human I might have overlooked it, so don't flame me if I did. ;)
Thx to all who try to help. :)
Cu Selur
Ps.: x264 settings used were: x264.exe --crf 20 --level 5.1 --keyint 240 --min-keyint 24 --ref 5 --mixed-refs --no-fast-pskip --bframes 3 --b-pyramid --b-rdo --bime --weightb --direct temporal --filter 1,1 --subme 7 --analyse all --8x8dct --vbv-maxrate 25000 --qcomp 1 --me umh --threads auto --thread-input --progress --no-psnr --no-ssim