{"id":1519,"date":"2015-04-15T21:44:39","date_gmt":"2015-04-15T19:44:39","guid":{"rendered":"https:\/\/alax.info\/blog\/?p=1519"},"modified":"2015-04-15T14:56:21","modified_gmt":"2015-04-15T12:56:21","slug":"windows-media-player-encountered-a-problem-while-playing-asfwmv-file-with-multiple-audio-tracks","status":"publish","type":"post","link":"https:\/\/alax.info\/blog\/1519","title":{"rendered":"Windows Media Player encountered a problem while playing ASF\/WMV file with multiple audio tracks"},"content":{"rendered":"<p>This is not really obvious: Windows Media Player refuses to open a Windows Media (ASF) file with an undescriptive error message: &#8220;Windows Media Player encountered a problem while playing the file&#8221;.<\/p>\n<p><a href=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2015\/04\/Image001.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-1520\" src=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2015\/04\/Image001-800x565.png\" alt=\"Broken WMV file in Windows Media Player\" width=\"625\" height=\"441\" srcset=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2015\/04\/Image001-800x565.png 800w, https:\/\/alax.info\/blog\/wp-content\/uploads\/2015\/04\/Image001-320x226.png 320w, https:\/\/alax.info\/blog\/wp-content\/uploads\/2015\/04\/Image001-624x441.png 624w, https:\/\/alax.info\/blog\/wp-content\/uploads\/2015\/04\/Image001.png 857w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><\/a><\/p>\n<p>The problem, however, is that the file is actually good, more or less. The file plays well in DirectShow and Media Foundation APIs. There is a unusual thing, of course, that the file contains two audio tracks. The tracks are <a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/windows\/desktop\/bb970579\">mutually exclusive<\/a> as they should be (exclusion of language type &#8211; <a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/windows\/desktop\/bb970387\">MFASFMutexType_Language<\/a>).<\/p>\n<p>href=&#8221;https:\/\/alax.info\/blog\/wp-content\/uploads\/2015\/04\/Image003.png&#8221;&gt;<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-1522\" src=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2015\/04\/Image003.png\" alt=\"Image003\" width=\"625\" height=\"328\" srcset=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2015\/04\/Image003.png 758w, https:\/\/alax.info\/blog\/wp-content\/uploads\/2015\/04\/Image003-320x168.png 320w, https:\/\/alax.info\/blog\/wp-content\/uploads\/2015\/04\/Image003-624x328.png 624w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><\/p>\n<p><a href=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2015\/04\/Image004.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-1523\" src=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2015\/04\/Image004.png\" alt=\"Image004\" width=\"625\" height=\"466\" srcset=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2015\/04\/Image004.png 725w, https:\/\/alax.info\/blog\/wp-content\/uploads\/2015\/04\/Image004-320x239.png 320w, https:\/\/alax.info\/blog\/wp-content\/uploads\/2015\/04\/Image004-624x466.png 624w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><\/a><\/p>\n<p>It appears that Windows Media Player does a strict checking of language strings, and expects them to be <a href=\"https:\/\/www.ietf.org\/rfc\/rfc1766.txt\">RFC 1766<\/a> compatible. They are free style tags in this file:<\/p>\n<p><a href=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2015\/04\/Image002.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-1521\" src=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2015\/04\/Image002-800x398.png\" alt=\"Image002\" width=\"625\" height=\"311\" srcset=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2015\/04\/Image002-800x398.png 800w, https:\/\/alax.info\/blog\/wp-content\/uploads\/2015\/04\/Image002-320x159.png 320w, https:\/\/alax.info\/blog\/wp-content\/uploads\/2015\/04\/Image002-624x311.png 624w, https:\/\/alax.info\/blog\/wp-content\/uploads\/2015\/04\/Image002.png 956w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><\/a><\/p>\n<p>Not a valid language string? OK, no playback then.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is not really obvious: Windows Media Player refuses to open a Windows Media (ASF) file with an undescriptive error message: &#8220;Windows Media Player encountered a problem while playing the file&#8221;. The problem, however, is that the file is actually good, more or less. The file plays well in DirectShow and Media Foundation APIs. There&hellip; <\/p>\n<p><a class=\"moretag\" href=\"https:\/\/alax.info\/blog\/1519\">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":[6,10],"tags":[467,78,380,474,466],"class_list":["post-1519","post","type-post","status-publish","format-standard","hentry","category-audio","category-video","tag-asf","tag-directshow","tag-playback","tag-wmp","tag-wmv"],"_links":{"self":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/posts\/1519","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=1519"}],"version-history":[{"count":0,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/posts\/1519\/revisions"}],"wp:attachment":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/media?parent=1519"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/categories?post=1519"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/tags?post=1519"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}