Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
mkvmerge does not detect type of certain raw H.264/AVC files #1946
as the title says I have trouble opening some raw H.264/AVC files created by older x264 versions. I have uploaded a small sample to your ftp. This does not happen with newer x264 versions but I cannot see any commit in the x264 gitlog that seems to be relevant.
Tested using mkvtoolnix-32bit-10.0.0-build20170416-01478-21eb1ecd5 (pre).
For the record: the error is gone somewhere between x264 2334 and 2345. I'm using the de-facto official builds that changed from x264.nl to videolan, though. Maybe it has something to do with that - there seem to be differences in the framerate detection of x264.
The sequence parameter set contains some interesting timing values (confirmed by both mkvmerge and ffmpeg):
ffmpeg interprets this as 25 FPS. I'd like to know why…
For mkvmerge this leads to a calculated default duration of 0, which in turn leads to a division by zero error later on causing the detection to fail.
I can make mkvmerge recognize such values as meaning 25 FPS, but not without knowing how ffmpeg arrives at that value.