Quantcast
Channel: Media Foundation Development for Windows Desktop forum
Browsing all 1079 articles
Browse latest View live

Video with alpha channel ... comes out opaque

Hi,   Got an uncompressed avi with ARGB frames, each with an alpha channel. When I render this with media foundation, the frames are decoded, but the alpha seems to be ignored and the frames come out...

View Article


MFPlayer fails with no audio device

Hi,    MFPlayer fails with playback error 0xC00D36FA when I open a video file on a machine with no audio device installed. Your other example media foundation players gracefully degrade as expected...

View Article


How can I create an MP4 container from an h.264 byte stream (Annex B)?

Basically, I have a neat H.264 byte stream in the form of I and P samples. I can play these samples using MediaStreamSource and MediaElement and they play good. I also need to save them as an MP4 file...

View Article

Need to stream UDP into Windows Media Foundation

There is a helpful package for WMF use in C# which I am attempting to modify to accept a streaming video over a very local network. This video can be accessed in my tests with VLC, but only via...

View Article

Video capture card in GraphEdit

Hi everyone,I've got an AverMedia HD Live Gamer capture card for capturing an HDMI plugged video camera.I've ensured that this capture card supports DirectShow so I've started to build a custom graph...

View Article


Windows 8.1 - Video Capture Start->Stop->Start

There is a bug in Media Foundation on Windows 8.1.  It's simple to reproduce, including in Topoedit.Steps... -Add a video capture source (we've tried several - including the AVStream Simulated Hardware...

View Article

Draw analog values from windows media player

I would like to analog sound draw values from windows media player as when the video is being played. May i know if there is such function in visual studio 2012 which can help me do it. Will...

View Article

Using the ID3D11VideoDecoder API with AVC/H.264

I am trying to get AVC/H264 decoding using the DX11 Video Decoding APIs working. Are there any code samples on how to correctly feed the DXVA2 structures into the buffers to get a correct output image?...

View Article


Using Integrated Camera on Lenovo X201 with Media Foundation

Hi, I am using the Integrated Camera on Lenovo x201 with Media Foundation.  It works fine the first time I try it , however the next time  even when I call release on the source reader object, it can...

View Article


Dynamically changing multiple MF media sources

Hello everybody, I'm working with MF topology that has multiple video sources. Until now I've been successfully usingMFCreateAggregateSource() to combine them into a single source, since MF can't...

View Article

h.264 rtp ts stream and media foundation

Dear community,I would need some help with the media foundation. I have the following scenario:A rtp multicast ts stream has to be displayed with the WPF media element. I have found the Media Extension...

View Article

Draw analog values from windows media player

I would like to analog sound draw values from windows media player as when the video is being played. May i know if there is such function in visual studio 2012 which can help me do it. Will...

View Article

Capture and write float PCM samples in MP4 using Source Reader / Sink writer

I have a problem with the sink writer to write AAC samples to MP4 sink. I capture 44.1k stereo float samples.I use a  IMFTransform resampler to convert them into PCM 16bits stereo samples.These samples...

View Article


MFT - Custom overlays Question

Hello all,I'm a little stumped on how to achieve my goal of combining Text overlay in a video stream. I'm currently reading and looking at the book "Developing Microsoft Media Foundation Applications"...

View Article

SetItemInfo for a playlist directly...not through the embedded...

I have a program that creates and accesses Windows Media Playlists (for audio / *.wma files).Recently, I have tried to set attributes, other than: Title and Author. When I try using...

View Article


Video Processor MFT missing

When I look under HKEY_LOCAL_MACHINE\Software\Classes\MediaFoundation\Transforms I do not see the "Video Processor MFT" entry, described in...

View Article

Need technique for removing frames from an MP4 video

I am currently prototyping the ability to remove sections from a video and saving the results using Media Foundation in a C++ program. There is a fundamental flaw in my approach that I'm hoping...

View Article


Getting sound intensity values from playing a video on WMP

I would like to read analog sound intensity values from playing a video from windows media player that was created as a platform on Visual Studio 2012. May I know what program, protocol, function in...

View Article

Chaning the resolution of Photos

hi thereI am tasked with building a camera application for a tablet, using windows desktop.I found this sample online, which does almost everything i need to, I adapted it to fit my needs, but i need...

View Article

Windows Media Player control with crossfading and auto sound leveling

Hi all,I am using Windows Media Player control v.12.0.9600.16384 on my Windows Desktop application which is actually a custom mp3 player. How can I enableCrossfading feature on windows media player...

View Article
Browsing all 1079 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>