WMP 12 doesn't "play" SAMI files (Closed Captions) RRS feed

  • Question

  • I have used a lot WMP 9 control embeded in html pages for playing audio/vedeo files with closed captions in smi file. In Win XP everything works fine, with Vista problem start and now in Windows 7 and WMP 12 I can play only mid (karaoke) for audio file types and avi for video file types (with VobSub filter installed). Even with video in wmv format WMP 12 will not show closed captions but when I convert same video in avi format WMP 12 will proper show closed captions in smi file (because of DirectShow filter), Is there CC filter from Microsoft or something else which will enable WMP 12 to show closed captions when playing video in wmv or mp4 format. Same thing for audio. If playing midi (mid or kar extension) there will be CC (in karaoke style) but if audio is in wav of mp3 format then nothing.

    All I want to know is did Microsoft abandoned SAMI support in WMP 12 control in favor of HTML5 audio/video tag and WebTTT text format for Closed Captions. Even samples for Microsoft official pages doesn't work for me (and other people from my country). Is this somehow relevant? I don't think so. Maybe again some security patch made unexpected things but then what is a workarround to make it work again? Can someone please give me a link to some pages where video is in wmv format and embeded WMP 12 control shows CC which are in sami text format.

    Friday, January 31, 2014 12:52 AM

All replies

  • WMP SDK still has SAMI in documentation. WMP 12 has more security settings than WMP9, go to http://answers.microsoft.com/en-us/windows/forum/pictures?tab=Threads and search "close caption security media player" for existing discussions. 

    You can't change the user's WMP setting (short of educating the user how to do that). If you don't want to rely on WMP's security setting, you may want to try play video and add the close captioning the HTML5 way. You can have wider browser support by moving to HTML5.

    Visual C++ MVP

    Friday, January 31, 2014 2:01 AM
  • Good day and thank you for your replay. As moderator on Micrososft forum said to me to go here you advise me to go there. I also like ping-pong game but I need answer that make sense. SAMI technology was invented by Micrososft, smi format for close captioning also, WMP 9 control embeded in html pages was the only way to show CC in div tag for video or audio (for supported video/audio formats like wmv, vma, wav, mpe, mpg. mpeg etc). Now WMP 12 control will not show smi text (CC) for neither audio format (wav is even not supported), on desktop WMP will show CC only if video is in avi format and only if VobSub filter is installed. Only way to get WMP to show CC with wmv format is when I use Microsoft Expression Encoder 4 to import smi file into header of video but then I lose all formating (color, font size) and all timeings for words (display is line by line, very simple and rudiment). Don't give me answer about security setting, it don't work for me, on my computer where I am a admin. I put in same folder three files: indentical names but with extension wmv, avi, smi. When I play asx file with WMP 12 (wmv video with smi text) then there are no CC but when I play that same video converted to avi format then CC was shown with all formats. WMP 12 act as all DirectShow players (VLC etc). Where is DirectShow filter for CC? Officially  Microsoft Media Player and Media Center full support CC in smi format, people from Sony Vegas Video software write articles how user can make smi files that it will be shown with video in wmv format but it not works. Even sample from Microsoft (wmv+smi) doesn't works.

    Finally, just give me sample asx file which someone claims that works in Windows 7 , IE 11, WMP 12

    like this simpla asx file, it is Microsoft sample which also doesn't works (remove brackets)


    <!-- This is a basic .asx file -->
    <asx version="3.0">
    <ref href<ref href="(http)(://)(www).proseware.com/Media/seattle.wmv?SAMI=(http)(://)(www).proseware.com/Media/seattle.smi" />" />



    Friday, January 31, 2014 11:44 PM
  • We must help people of Microsoft to correct this thing out, in effort to fix one bug (probably with some security patch) they create another bug and dissabled sami support in Windows Media Player. Or developers of Internet Explorer did that.

    I made sample asx file (remove bracjets from URLs because I am not allowed here to put links).  Please can anyone confirm that WMP on his system shows smi text.

    In XP SP3 when I first start asx file WMP 9 will connect, load media file, there will be first two lines from smi file and then when start to play will stop with error code: 0xC00D11C0: Cannot play the file (Windows Media Player cannot play the file because a network problem occurred). After that when I try to replay there be no text lines and another error will be thrown: The server redireced the player to an invalid location. In Win7 Ultimate 32-bit WMP 12 will connect, load and play wmv video "no problemo" but no smi text. It will parse smi file because there is URL for banner file (gif animation) which will be shown on player window. I will repeat, that all works before and as of Micrososft, it should works now.

    Last thing. In Win 7 Windows Media Center will play video but there will be no banner.

    <asx version="3.0">
    <abstract>captionng series</abstract>
    <title>mamic u elementu 2</title>
    <author>Nino Rilović</author>
    <copyright>2011 - nino R.</copyright>
    <ref href="(http:)//(www).ninek.net84.net/ZPR/mcr1B11.wmv?SAMI=(http:)//(www).ninek.net84.net/ZPR/mcr1B11.smi" />
    <BANNER HREF="(http:)//(www).ninek.net84.net/ZPR/muabaX1.gif">
    <title>mamic u elementu 2</title>
    <copyright>2011 - nino R.</copyright>

    Saturday, February 1, 2014 9:27 PM
  • WMP does not support smi extensions. You must have some third-party addons installed on your XP version of WMP.


    Support for XP ends in April this year.... most popular public websites are targeting browsers that support the html5 media api.

    f12>Networking tag, click "start" button...

    copy and paste the url to the smi file into the address bar, to start the download.

    URL Protocol Method Result Type Received Taken Initiator Wait‎‎ Start‎‎ Request‎‎ Response‎‎ Cache read‎‎ Gap‎‎
    http://ninek.net84.net/ZPR/mcr1B11.smi HTTP GET 200 application/smil+xml 378 B 0.62 s  0 250 265 109 0 0


    Monday, February 3, 2014 2:05 AM
  • Thank you IECustomizer for you answer. if you put full path(url) and file name in address bar browser will give you choice: Open or Download but this is not a issue. Problem is tha WMP 12 won't to interpret closed captions (CC) in smi format.

    "WMP does not support smi extensions?" From when? There is no official statement from Microsoft. They said before that they will abandon develompment of Silverlight in favor of HTML5 video tag.

    I will repeat situation in Windows 7 and WMP 12. By default there are no CC in WMP 12 if they are in smi file. After I installed VobSub 2.23 if video is in avi format averything is nice but same video in wmv format then again no CC from smi file. Why is so?

    Anyhow, there are articles form 2013. year, even from Microsoft itself where they are talking how to enable CC for SAMI technology (smi format). Give us back support for CC in smi format simple because it is a smart thing to do and cost nothing.

    Tuesday, February 4, 2014 5:58 PM