Regarding to Windows Media Foundation?

Hi All,
I am confused about Window Media Foundation  and following Link's sample code.
http://blogs.msdn.com/b/mediasdkstuff/archive/2013/06/27/list-of-windows-8-1-preview-audio-video-and-camera-samples.aspx
Are those Link's sample code based on Window Media Foundation?
It seems like, it is slightly different or completely based on different APIs. Isn't?
some of those code didn't work as expect.
I following the tutorial
https://msdn.microsoft.com/en-us/library/windows/desktop/ms703190(v=vs.85).aspx
I could not make it works, I need very simple code. Can someone confirm me if I can port those code to Windows Store App?
Regards,
Weera

Hi All,
I am confused about Windows Media Foundation and following Link's sample code.http://blogs.msdn.com/b/mediasdkstuff/archive/2013/06/27/list-of-windows-8-1-preview-audio-video-and-camera-samples.aspx
Is that Link's code based on Windows Media Foundation? It seems like, it is slightly different or completely different. Isn't?
I am following tutorial and can't make it works for Window Store App.
https://msdn.microsoft.com/en-us/library/windows/desktop/ms703190(v=vs.85).aspx
Regards,
Weera 

Similar Messages

  • What does 'media.windows-media-foundation.enabled' do?

    I disabled media.windows-media-foundation.enabled in order to get .mp3/mp4 to stop playing in firefox, but rather prompt me to open/save as. It works fine. However, the place where I found this solution said it was going to break some embedded playback functionality.. or something.
    Vimeo still works, HTML5 Youtube still works, Vine still works. I'm not sure what is supposed to break, and I *KNOW* I'm going to find it eventually and completely forget that I ever did this. Can anyone explain what is supposed to stop working?
    Thanks! :)

    Media Foundation is used to decode MPEG media, such as MP3 and MP4. Many sites that feature HTML5 are using alternative formats such as WebM that are not patented.
    I think you might occasionally have a problem on some sites. For example, the site might only offer MPEG media in its HTML5 player and use a script that doesn't test carefully and provide an alternative (e.g., Flash player media) for browsers that do not support MPEG media. But... hopefully not too many sites.

  • Media.windows-media-foundation.enabled funcationality in 35.0

    I want MP4 files to open in an external player. I had media.windows-media-foundation.enabled set to false but it seems that stopped working with the new release. When set to false I now get an error from the link: Video can't be played because the file is corrupt.
    Any help would be appreciated.

    hello tobyexx79, please set media.windows-media-foundation.enabled back to its default preference and turn '''media.play-stand-alone''' to '''false '''instead.

  • Windows Media Centre - Windows Media Foundation - Windows Apps. Replacement for WMC

    Still looking for a PVR replacement but DVBLogic looks like it might do the job.
    Have gone down the Plex Windows App route (The clostest replacement to WMC player so far) but they are saying they are hamstrung by limitations of the App sandbox? and Windows Media Foundation.
    I need some concrete information from the Windows Media Centre People or Windows Media Foundation people so that developers can be steered in the right direction to help people like me switch over from WMC to something else without major headaches, frustrations,
    days and days of conversion and metadata reentry.
    My post from Microsoft Community
    Hi,
    Since Windows Media Centre almost didn't make it into Windows 8 I have been looking to move to something else before it disappears for good.
    While it might just make it into Windows 10 there certainly won't be any future development.
    I not a big fan of Microsoft products but WMC is one application they nailed
    Some additional smart recording options
    i.e. I had to add "The Big Bang Theory - Return", "The Big Bang Theory - New", "The Big Bang Theory - Finale" etc to my series recording
    A proper library manager (Plex does a great job of this) e.g. by series, season, episode - Movies - Documentaries etc with additional data downloaded.
    A few more playable formats/containers
    It would be perfect.
    A proper Library wasn't as important as most of the metadata could be viewed directly in windows explorer.
    Not supported with other containers.
    This brings me to the first obstacle.
    All the alternatives I have looked at so far can't or won't support .wtv files
    Converting the files to another format/container loses all the explorer properties. (And some of the metadata completely)
    Discussions I have had so far are pointing the finger at the "Windows Media Foundation"
    I.e. Developers can't do anything with .wtv files because WMF doesn't support them.
    So the question is: If Windows Media Centre is no longer viable for Microsoft why haven't they atleast provided the tools for developers to support the format/container they forced upon so many users of their product.
    i.e. Metadata reader/writer
    Codec/Container? player?
    I need a replacement for Windows Media Centre: What is/are the alternative(s)?

    Hi,
    Since Windows Media Centre almost didn't make it into Windows 8 I have been looking to move to something else before it disappears for good.
    While it might just make it into Windows 10 there certainly won't be any future development.
    I not a big fan of Microsoft products but WMC is one application they nailed
    Some additional smart recording options
    i.e. I had to add "The Big Bang Theory - Return", "The Big Bang Theory - New", "The Big Bang Theory - Finale" etc to my series recording
    A proper library manager (Plex does a great job of this) e.g. by series, season, episode - Movies - Documentaries etc with additional data downloaded.
    A few more playable formats/containers
    It would be perfect.
    A proper Library wasn't as important as most of the metadata could be viewed directly in windows explorer.
    Not supported with other containers.
    This brings me to the first obstacle.
    All the alternatives I have looked at so far can't or won't support .wtv files
    Converting the files to another format/container loses all the explorer properties. (And some of the metadata completely)
    Discussions I have had far are pointing the finger at the "Windows Media Foundation"
    I really like the Plex Store App byt they can't play Recoreded TV Files without transcoding them.
    I.e. Developers can't do anything with .wtv files because WMF doesn't support them.
    So the question is: If Windows Media Centre is no longer viable for Microsoft why haven't they atleast provided the tools for developers to support the format/container they forced upon so many users of their product.
    i.e. Metadata reader/writer
    Codec/Container? player?
    I need a replacement for Windows Media Centre: What is/are the alternative(s)?
    Other
    post

  • How to utilize media.windows-media-foundation.enabled?

    I have read all the articles I can find on media.foundation. But, I do not know what firefox is looking to on the host os for the appropriate codex.
    I am running windows xp pro sp3 and firefox 22. I interpret various forum questions that firefox should play an mp3 file if the os has the appropriate codex. Under windows device manager I have a registered system codex for mp3. Firefox will not play the file but rather offers to d/l it. Is Firefox looking to windows media player for this information?
    I would like to know how firefox is using the media.foundation preference in order to adjust my system to it. Any help would be appreciated.

    i'm not very good at the technical level but from past crash reports i know that the mfplat.dll library is called which handles the media foundation stuff...
    http://msdn.microsoft.com/en-us/library/windows/desktop/bb970511%28v=vs.85%29.aspx
    <br>http://msdn.microsoft.com/en-us/library/windows/desktop/ee663600%28v=vs.85%29.aspx

  • Creative and Windows Media Pla

    Hi- I'm looking in to getting a MP3 player soon and am currently on bouncing between the iPod 20GB, Creative Zen touch or Zen Micro- I'm mainly concerned with battery life and the sturdiness of the player (and the radio feature on the creatives sounds great too)
    My question is regarding using Windows Media Player with the Creative Zens.. I read somewhere that it is compatible with these players, does anyone use this program with your mp3 player? I really like WMP (so much more than iTunes) and would prefer to use that to the other programs Creative offers with its players.

    Duplicate post.

  • Media Foundation support

    Hi,
    I want to develop a driver for FMLE.
    And I want to know whether it supports Windows Media Foundation drivers.
    Thank you
    Ravindra

    That seems to have done the trick! Thanks a million.

  • .mp4 video's audio won't play on Firefox, even with Microsoft Windows Media Player Firefox Plugin 1.0.0.8

    Title says it all: trying to play any .mp4 video files, or anything that utilizes .mp4 files period, will have the video play just fine, but with absolutely no audio at all. I run a Windows 7 Home Premium, and have tested several sites that utilize .mp4 video files, and have tested it on Internet Explorer, with Explorer showing better results at playing both the audio and video.
    I have checked to see if media.windows-media-foundation.enabled is true in the about:config menu, and restarted Firefox, but to no avail. Any ideas as to what could be the root of this problem?

    Hi Soundless_Cyborg,
    Can you please specify an example url where this is happening, sometimes the video player does not support the codec.
    Maybe you need to set it as default for this file type:
    Open Control Panel > Programs > Default Programs > Set your default programs > Select Windows Media Player from the lists under Programs > Set this program as default > OK

  • Firefox's Media Foundation support breaks music playback and turning it off doesn't do anything.

    A friend sent me an MP3 link about a month ago, and I was confused when Firefox told me the file was corrupt. I figured it was just the server it was on.
    Then, I stopped being able to listen to music posted through Tumblr. I figured they just updated their player and broke something.
    Then I tried listening directly to an MP3 on another site tonight, and again, Firefox told me "Video can't be played because the file is corrupt." I dashed around to a handful of other sites and every single one of them told me the same thing when I tried to play an MP3 file.
    After doing some investigation, I learned that the Firefox team has tried to implement their own internal music playback system that either can't find a codec or isn't detecting these files as music properly. Now, a long time ago, I got pretty used to all these files playing through Quicktime, to the point where I would specifically install Quicktime with each version of Windows just to restore this functionality. But now Firefox is overriding that functionality for some reason.
    The culprit seemed to be the option "media.windows-media-foundation.enabled", which I promptly disabled. Didn't help. Firefox is still insisting that these files are corrupt instead of letting Quicktime handle them.
    This site also suggested turning plugins.load_appdir_plugins to true, but that didn't help, either.
    It would seem Firefox is intentionally relying on a part of Windows that I don't have, because I'm still stuck on Windows XP (video capture hardware I depend on doesn't have drivers for Vista on up). The annoying part is that I can't seem to change it back to the way it was, and I'm pretty angry because this has broken a significant portion of the internet for me.

    That seems to have done the trick! Thanks a million.

  • Media Foundation Source or H264 / AC3 differences between Windows and Phone 8?

    I've got a working Matroska (MKV) Media Foundation Source for a Windows Store app (PC x86). It will play several different matroska files that contain H264 encoded video and AC3-encoded audio.  It even has seek support.  I've written the app
    as a HTML/typescript Universal app with the MF Source as a C++ dll. 
    The problem is that the same code will not work on Windows Phone 8.  I can play videos that don't require the external MF Source (i.e. MP4 files and AVI files) just fine on both platforms through my app, but the same MKV videos that played on an x86
    PC will not play on Windows Phone 8 (Lumia 920).
    I looked at the specs for the Snapdragon processor and it should be able to support both H264 at 720p resolution and AC3 (2-channel only).  So I don't know what else I need to do to get this to work on WP8.  The audio I'm trying to play is actually
    6-channel, so that made me wonder if it was failing because WP8 supports 2-channel max, but I would have thought the audio just wouldn't work and the video would play normally.
    Does anyone have any suggestions?
    *edit* - just to be more specific, I can parse the file and create the presentation descriptor without errors.  But when I finish opening the file and call the event for that, nothing else happens.  What is weird is that the javascript video player
    never throws the "canplay" event, nor does it throw the "error" event.
    Lee McPherson

    Thanks, not a bad suggestion to try. 
    On my Windows machine, I tried to get the MediaEncodingProfile via the createFromFileAsyc method.  With a known file type, it outputs all properties of the video and audio streams (bitrate, etc).  With an MKV file (container file with H264 video
    and AC3 audio), I only get the type and subtype properties. Everything else is zero or null.  This is because in my MFSource, I only set the type and subtype.  This still allows the video to play on my windows machine.  I assume the
    built-in MFTransform for H264 video-to-uncompressed video parses the stream to get the relevant information.  Likewise for audio.
    On Windows Phone, when querying the file's MediaEncodingProfile, I get the same result. This is telling me that my MFSource will parse the file properly and set the subtypes for video and audio correctly.  Everything else is still null or zero. 
    However, the file does not play.  There is no returned event to the video element that it even *can* play.
    Perhaps, I need to fill in the video and audio stream properties on the Windows Phone version.  I really don't want to because that would mean having to parse some of the underlying video and audio streams themselves, not just parsing the container
    information.  (More work!)  But this is what I mean when I ask about the differences between Windows and Windows Phone... perhaps the WP8.1 & Windows MFTransforms are different? 
    *EDIT* - I do get a JavaScript Console error that I didn't notice before: AUDIO/VIDEO: unknown MIME type.  (VS error code: MEDIA12899)
    Lee McPherson

  • G570 4334 DVD problem regarding windows media message saying missing codecs

    I am stumped on this.  When we go to play any dvd, it works until it gets to the main program.  That a message comes up saying that we are missing the proper codes or our video driver needs to be updated.  The driver seems to be fine.  The codecs seem to be fine but I have installed Cnet's codecs.
    Anyone have any ideas of what is wrong?

    Here is the exact message that I am receiving.  My video driver is up to date.  I am using the original dvd's and not doing anything wrong with copy protection.
    Windows Media Player cannot play this DVD because there is a problem with digital copy protection between your DVD drive, decoder, and video card. Try installing an updated driver for your video card.

  • Replacing Windows 2012 foundation

    I have an old industrial application running on Windows Server 2003, If I buy a server with Windows 2012 foundation, can I use windows server 2013 instead of the original

    Hi,
    Windows Server 2012 Foundation is full-featured 64-bit version of Windows Server. You need to determine whether your computer is running a 32-bit version or 64-bit version of the Windows Server 2003 operating system. Some application running on 32-bit
    Operating System cannot compatible with 64-bit Operating system.
    In addition, Windows Server 2012 Foundation is only available through original equipment manufacturers. You cannot obtain installation media for Windows Server 2012 Foundation at retail locations. Besides, upgrade of Windows Server 2012 Foundation is not
    supported. Before you do that, please refer to the article about Windows Server 2012 Foundation:
    Introduction to Windows Server 2012 Foundation
    Best regards,
    Susie
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Windows Media Player on Windows Server 2012 R2 Datacenter Edition

    I have a server with Windows Server 2012 R2 Datacenter edition installed. This server is being used as a terminal server and I needed to have Windows Media Player installed in order to use a certain feature of a program running on the terminal server. After
    researching online I found that all I should need to do is install the Desktop Experience feature and Windows Media Player was included in that. After installing the Desktop Experience feature and restarting the server, I was not able to find Windows
    Media Player anywhere. I tried the same process on another server running Windows Server 2012 R2 Datacenter with the same results.
    I was curious as to if this was a Datacenter thing where it was specifically not included with Datacenter edition. I was not able to find any documentation stating that WMP was not included in Datacenter, and everything that I found stated that the feature
    sets for Standard and Datacenter were the same, it was just the licensing for them was different.
    Curious to see if it would get installed with Desktop Experience on Standard, I spun up a Windows Server 2012 R2 Standard VM and installed Desktop Experience and sure enough WMP was installed as well. I then upgraded the Standard VM to Datacenter with a
    Datacenter product key and after a restart WMP was still present.
    I have also tried this exact same process with Windows Server 2012 (non R2) Datacenter edition and WMP was installed as expected, so it appears that this is only a problem with R2.
    My question is, I this "works as designed" and I was just not able to find the documentation to support it or is this a bug?
    Update: After doing some more playing around I noticed that if I did a clean install of Windows Server 2012 R2 Datacenter and then installed the Desktop Experience feature and WMP does get installed. Then I remembered that on the servers that I was trying to
    install WMP on and it wasn't working were upgraded from 2012 to 2012 R2. So I created a brand new VM and installed Server 2012 Datacenter (non R2), then upgraded to Server 2012 R2 Datacenter and installed Desktop Experience and sure enough, WMP did not
    install. So now I really think it is a bug and it is related to the 2012 to 2012 R2 upgrade process.

    Hi Caleb CSG,
    Thanks for your feedback.
    I'll feedback a report to Microsoft, and I also recommend you can post this bug in Microsoft connect.
    https://connect.microsoft.com/WindowsServer/feedback/CreateFeedbackForm.aspx?FeedbackFormConfigurationID=5352&FeedbackType=1
    Best Regards,
    Anna
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Problem with "play to device" on windows media player

    Hello, I'm having a problem with the play to device feature of windows media player.  I am trying to use it to play music files to my T.V.  It works fine if i try to play a single file or a small number of files (50 or so), but if I try to play
    my entire playlist (346 songs, if it matters)in this way or a large number of random songs, nothing happens.  No error messages or freezes either, it's as if i never clicked play.  I thought this might be a limitation with the t.v. or my network
    (im doing this via wi-fi) but when i tried this using windows explorer instead of windows media player it worked just fine, and this was with all the music on my computer which is about 3000 songs.  Therefore, i know this is a problem with windows media
    player and not my t.v., network or computer.  This is a problem because i don't want to play all my music, just my playlist.  Short of making a separate folder with duplicate files in it for each and every playlist i want to play in this manner(which
    is not only time consuming and tedious but takes up space on my hard drive)  how do i remove this limitation or otherwise get around it?  Thanks!
    P.S.  Out of curiosity, why does this limitation exist and what causes it?

     when i tried this using windows explorer instead of windows media player it worked just fine, and this was with all the music on my computer which is about 3000 songs.  
    Hi,
    According to your description,you said that you used windows explorer.Did you share 3000 songs with your TV?
    If so,I think this method is different with "play to" feature.
    Also,we haven't found any limitation with Windows media player.
    Regards,
    Kelvin Xu
    TechNet Community Support

  • A small bug in Windows Media Player 12 on Windows 8.1 and Windows 7

    First of all, do excuse me as I have absolutely no idea where to go to report bugs in either Windows Media Player, or the Microsoft's Media Foundation filters that most probably handle the actual parsing and decoding. I see that some related bug reports
    have gotten noticed here on the Technet forums, and thus ended up writing here.
    Some time ago I helped a fellow internet user to update his encoding pipe line from quite an older version of ffmpeg and libx264 to a newer one. After some testing, I noticed him being unhappy with the result because of "black borders" around the
    video clip, but only in WMP12, not in other players. Being interested in what this was, I went on and started checking out the behavior.
    What I found out is that, with the newer ffmpeg and libx264, WMP12 was only seeing the video resolution (which was 1440x1080) at first, and resized/matched the player window according to that. Only after that did it then, within this window, actually show
    the video and apply the correct aspect ratio to it (4:3 sample/pixel aspect ratio, or 16:9 display aspect ratio). In other words, the video would play correctly, but within a 4:3 display aspect ratio video surface, leading to black bars on the top and the
    bottom.
    Now, if you manually resize the window, the black borders would of course go away. This is because they were not part of the video, but just something the player had based its window size calculations on originally. With the older ffmpeg + libx264 mix
    things would Just Work, and the auto-sizing worked.
    So I went off to look up all the data in the files that could relate to aspect ratio :) .
    [tkhd: Track Header Box] in the container has the width and height set to 1920x1080 in both files, so this is most probably ignored
    [pasp: Pixel Aspect Ratio Box] in the container is only present in the new one, and thus most probably ignored. hSpacing and vSpacing are set to 4 and 3, thus becoming 4:3 (this is the
    pixel or sample aspect ratio, so this is correct for 1440x1080 to be shown as 16:9). This information, if available, should trump the aspect ratio information in the stream (a quote from ISO/IEC 14496-12: "These
    (pasp and clap boxes) are both optional; if present, they over-ride the declarations (if any) in
    structures specific to the video codec, which structures should be examined if these boxes are absent.") .
    In the actual AVC/H.264 stream both files have aspect_ratio_idc set. The older file has the value set to 255 (Extended_SAR structure follows), and Extended_SAR then contains sar_width set to 4 and sar_height set to 3. On the newer file, on the other hand,
    we have a value of 14. Looking at the H.264 specification, value 14 is defined as "4:3 , 1440x1080 16:9 frame without horizontal overscan"
    So... Since the pasp box seems to be completely irrelevant and ignored, and since the tkhd box contains exactly the same information in both cases and thus seems to be ignored, the only thing that comes to mind is that:
    Only the information from the AVC/H.264 video stream is actually taken into mention at this stage.
    The AVC/H.264 video stream parser does not know the aspect_ratio_idc value 14.
    I haven't actually tried to change the values in the parameter set's VUI parameters around to be sure of this being the reason, but, unless WMP misunderstands what the pasp box's value means (4:3 read as the aspect ratio for the whole picture, instead of
    one sample/pixel), that's the only reason I can see this happening because of.
    A small sample mp4 file for this issue is provided at fushizen.eu/samples/wmp12_mp4/merry_christmas.mp4 . Having the automatic zoom set to 50% does help replicating it with smaller displays :) . WMP will resize its video window to a 4:3 display aspect ratio,
    and then show the 16:9 display aspect ratio content within that. This happens with both Windows 8.1 as well as Windows 7, on Windows Media Player 12.
    Now, if the issue is actually on ffmpeg's or libx264's side, feel free to note the technical problems with the sample, and I will review and then report them if I see the related specifications agreeing on the issue. So far this seems to be purely a problem
    with the related Media Foundation filters, and/or Windows Media Player 12.

    I have a lot of grief with this version of Windows Media Player.
    It is very buggy and frustrating to use.
    I have my Music library on a QNAP NAS, which is as reliable as they come.
    System notifications make it not save changes.  It also does not do a good job of interpreting albums and artists from folders.  Changes to track names are not saved, nor are tracks moved to other albums, renamed albums, changes to genre, artist
    or date.  It separates and merges albums/tracks without sense or reason.  Some changes I've made up to 4 times, then closed WMP and re-started my machine to check if it has/hasn't saved the changes.  Often it has not.
    This is the first time I've used WMP in this capacity, and I do not recommend it.
    New service pack please.

Maybe you are looking for

  • [Solved] Can't see GPT disk partitions in Windows 7 (64-bit)

    I just added 2 new disks and had them set up equally with GPT and equal partitions, to use the partitions as RAID1 in Arch, and the rest of the storage for Windows. It works as expected in Linux (I guess), but Windows shows them as uninitialized. Can

  • Most recent UK update March 2014 Xperia T

    Sony, i generally consider myself supportive but... What the **bleep** have you done to my phone with your latest update?!!! I've lost the ability to screen print Google Now fails to launch Voice recognition crashes EVERY time. ...but worst of all ta

  • Messed up iTunes account

    Hello guys, I have à bit of à problem. My iTunes account is comepletely Messed up. The thing is: If i want to upload some apps it's bit posibble for me to log in into my own account. If i go to the menu to change the settings it is logged on in my ow

  • VIDEO - AUDIO SYNCHRONIZATION

    Hello, I am trying to export a 1920X1080 25ps (50i) file. When I export it with same settings (1920X1080) viseo and audio are perfectly synchronized. But when I am trying to export it with 1280X720 settings, audio is not synchronized. Audio comes a l

  • Checkbox inside tableview

    Hi Experts Im designing a application in that i want to place a check box, pls help how to create it Thanks and Regards