IMFSourceReader and MFVideoFormat_NV12 subtype
I'm trying to get the RGB frames from a video using the IMFSourceReader, all works fine so far; but I've noticed the frame format returned by the IMFSample interface when the output subtype is...
View ArticleRendering Audio Samples with Media Foundation
Hello,I am wanting to render out audio from a micraphone via an IMFSample in Media Foundation, I have spent days on trying to figure out how to do this, I have looked at the MSDN docs for media...
View ArticleMFCreateSourceReaderFromByteStream() fails with about 60 IMFSourceReaders...
In Firefox we now use WMF for playback of HTML5 audio and video on Windows. We have an IMFByteStream implementation that connects to our network stack, and we use the IMFSourceReader to demux and...
View ArticleRecompiling topoedit
I'm trying to recompile topoeditusing Visual Studio 2012 (RC, still got 42 days to use it). After VS2012 auto converted, the tedutil project would make successfully. However, the topoedit project...
View Articlemaking video converter/editor in Media Foundation (or any other VS package)
I was wanting to make a video converter than can convert between different video formats, especially AVCHD to mp4 and give any resolution I want, or to clip the frame at certain points wherever I want...
View Articleis mms supported over Media Foundation?
hi,I am running Media foundation sample example MFPlayer to render the URL mms://.this is getting failed with error code MF_E_INVALIDMEDIATYPE. In GetMajorType of this Sample, type is coming as...
View Article10 and 16 bit per channel color support in EVR
Does EVR support 10 or 16 bit color formats such as Y216, Y210, Y416, or Y410? Does it require hardware support from the video card? Assuming that the video card supports it, is it possible to hook up...
View ArticleHow to Use IWMPNetwork Methods in a C++ Program
I'm writing a simple C++ program that should launch a video in Windows Media Player, then retrieve statistics about the video.The program successfully uses the IWMPCore method launchURL and media...
View ArticleHow to generate an MP4 file incluiding an audio stream of...
Hi All,I want to know how to generate an MP4 file that must have an H.264/AVC stream and a DDP(EAC3) stream.The input sources are YUV file and PCM file.Is it possible? if it's possible, please explain...
View ArticleIMFSinkWriter: WriteFrame returns E_CHANGED_STATE when encoding H.264
(Note: I originally posted this question in the Windows Apps with C++ forum about 3 weeks ago, but received no replies. I realized quickly that this might be a better forum for this, but wanted to let...
View ArticleIMFMediaEvent::GetStatus Error code
Hello, all.I'm tried that MPEG1Source sample, and i used BasicPlayback sample. MPEG1Source is successfully, but BasicPlayback sample still can't play .mpg files.This problem occurred 'hr =...
View ArticleWriting metadata and text stream via IMFSinkWriter?
We are working on an application that supports saving video files into ASF and MP4 containers, via Media Foundation.Our question is, how to write text stream (subtitle) and metadata to these...
View ArticleWhere is the Windows Media Player SDK exactly ??
Hi out there,I'm not sure whether this is the right forum, but maybe someone can help me find it.I'm planning to develop a WMP 12 video-dsp plugin. I want to use the video-dsp plugin sample as a...
View ArticleRGBA ( source ) to BGRA ( WMF / DSHOW )
Hi,is there a reason why the uncompressed RGB32 formats in WMF and DSHOW are BGRA in memory while outside there are lot of commonly used RGBA formats like in DXGI ? And is there any possibilty to alter...
View Articlec# Windows Media Player - Plays one video, won't play the next one
Hi all,I wrote a simple little program to unveil the draft order for my league's next Fantasy Football draft. The premise is simple, each time the button at the bottom was clicked, it would play a...
View ArticleDXVA-HD EVR Custom Mixer
Hi,I am trying to implement a custom mixer for the EVR that uses DXVA-HD for mixing streams.In ProcessMessage I get the MFT_MESSAGE_SET_D3D_MANAGERso I can get a reference to the...
View ArticleMedia Foundation - Working with video files properties
Hello Everyone, I am working currently on a video player based on media foundation. I was wondering is there is something similar to IBasicVideo (from DirectShow) available in MF. It would be way...
View ArticleAbout AAC decoder config
Hi all,I have developed a MKV media source, it's ok to play video, but audio is not, and i have check aduio parameter, it's correct. This is my config and file info:WAVEFORMATEX afmt; WAVEFORMATEX* wfe...
View ArticleMedia Foundation - Working with video files properties
Hello Everyone,I am working currently on a video player based on media foundation.I was wondering is there is something similar to IBasicVideo (from DirectShow) available in MF. It would be way easier...
View ArticleScrubbing in Media Foundation is not working
I'm using sequencer for seamless playback. I'm trying to perform scrubbing on my playlist, but it doesn't work as MSDN describes it.To simplify my steps:1) call Pause() 2) call SetRate() to set the...
View Article