{"id":1733,"date":"2016-12-04T13:38:33","date_gmt":"2016-12-04T11:38:33","guid":{"rendered":"https:\/\/alax.info\/blog\/?p=1733"},"modified":"2016-12-04T13:39:24","modified_gmt":"2016-12-04T11:39:24","slug":"bug-in-media-foundation-mpeg-4-file-source","status":"publish","type":"post","link":"https:\/\/alax.info\/blog\/1733","title":{"rendered":"Bug in Media Foundation MPEG-4 File Source related to timestamping video frames of a fragmented MP4 file"},"content":{"rendered":"<p>Some recent update in Media Foundation platform introduced a new bug related to fragmented MP4 files and H.264 video. The bug shows up consistently with file versions:<\/p>\n<ul>\n<li>mfplat.dll &#8211; 10.0.14393.351 (rs1_release_inmarket.161014-1755)\u00c2\u00a0\u00c2\u00a0 \u00c2\u00a015-Oct-16 05:48<\/li>\n<li>mfmp4srcsnk.dll &#8211; 10.0.14393.351 (rs1_release_inmarket.161014-1755)\u00c2\u00a0\u00c2\u00a0 \u00c2\u00a015-Oct-16 05:45<\/li>\n<\/ul>\n<p>The nature of the problem is that <a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/windows\/desktop\/dd757766\">MPEG-4 File Source<\/a> is incorrectly time stamping the data: frame time stamps are incorrect, they seems to be getting wrong durations and increments, then quickly jumps into future&#8230; and on playback this leads to unobvious playback freezes. As Media Foundation is used by Windows Media Player, Windows 10 Movies &amp; TV Player, the bug is present there as well.<\/p>\n<p>The original report is <a href=\"https:\/\/social.msdn.microsoft.com\/Forums\/windowsdesktop\/en-US\/7758567c-7fb7-44b2-90a5-e1ebcfeacbb3\/major-bug-in-latest-windows-10-media-players-for-fragmented-mp4-files?forum=mediafoundationdevelopment\">on MSDN Forums<\/a>.<\/p>\n<p>Presumably it is possible to roll certain Windows Update package back, or alternatively one has to wait for Microsoft to fix the problem and deliver a new update deploying the fix.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Some recent update in Media Foundation platform introduced a new bug related to fragmented MP4 files and H.264 video. The bug shows up consistently with file versions: mfplat.dll &#8211; 10.0.14393.351 (rs1_release_inmarket.161014-1755)\u00c2\u00a0\u00c2\u00a0 \u00c2\u00a015-Oct-16 05:48 mfmp4srcsnk.dll &#8211; 10.0.14393.351 (rs1_release_inmarket.161014-1755)\u00c2\u00a0\u00c2\u00a0 \u00c2\u00a015-Oct-16 05:45 The nature of the problem is that MPEG-4 File Source is incorrectly time stamping the data:&hellip; <\/p>\n<p><a class=\"moretag\" href=\"https:\/\/alax.info\/blog\/1733\">Read the full article<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[63,379,424,470,70],"class_list":["post-1733","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-bug","tag-h-264","tag-media-foundation","tag-mp4","tag-winapi"],"_links":{"self":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/posts\/1733","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/comments?post=1733"}],"version-history":[{"count":0,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/posts\/1733\/revisions"}],"wp:attachment":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/media?parent=1733"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/categories?post=1733"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/tags?post=1733"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}