# Videos that open in Windows Media Player but not in VideoComponent

**URL:** <https://forum.juce.com/t/videos-that-open-in-windows-media-player-but-not-in-videocomponent/50940>\
**Category:** General JUCE discussion\
**Created:** [April 8, 2022, 8:59pm UTC](https://forum.juce.com/t/videos-that-open-in-windows-media-player-but-not-in-videocomponent/50940 "2022-04-08T20:59:52Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![daniel](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/daniel/32/790_2.png) [@daniel](https://forum.juce.com/u/daniel)\
**Post date:** [April 8, 2022, 10:16pm UTC](https://forum.juce.com/t/videos-that-open-in-windows-media-player-but-not-in-videocomponent/50940/2 "2022-04-08T22:16:55Z")

</div>

There is a good answer here:

> [@Unsupported stream and h264](https://forum.juce.com/t/unsupported-stream-and-h264/50601/3):
>
> Hi Daniel, thanks for your in depth answer! The thing is: Windows Media Player can playback the files! So the codec is actually installed! So the problem must be somewhere else. I will try to sum up what we’ve found out: We know that JUCE wraps OS capabilities in order to play back video files I think Windows provides to approaches for media playback: the first is Direct Show (older/outdated) and the second is “Windows Media Foundation” (current). Unfortunatly JUCE uses Direct Show. Windows…

TL;DR: WMP uses a more modern framework “Windows Media Foundation”, but JUCE uses an old “Direct Show” widget.  
It is not known if and when JUCE updates to Media Foundation.

There is a feature request that @t0m linked, but it is not specified, if that would encompass video as well, since it says AudioFormatReader:

> [@AudioFormatReader - AAC - MP4 Reader For Windows](https://forum.juce.com/t/audioformatreader-aac-mp4-reader-for-windows/40468):
>
> I understand there are licensing issues with the AAC encoder, however the lack of native Windows support for reading AAC/MP4 files is a significant limitation. This has been at the TOP of my personal JUCE ‘Wish List’ for quite some time

---

_[View the full topic](https://forum.juce.com/t/videos-that-open-in-windows-media-player-but-not-in-videocomponent/50940)._
