How to detect whether a moive is 3D or not?
I have a side by side 3D video file, play with "Moives & TV", it not show the picture side by side, just left (or maybe right) picture.Use MFMediaPropDump...
View ArticleIMFSinkWriter::Finalize() returns DXGI_ERROR_INVALID_CALL, when MF buffer is...
Well I'm trying acquire desktop image via Desktop Duplication API and send to MF SinkWrite to encode to a H.264 video.I did like this:- IDXGIOutputDuplication::AcquireNextFrame(), get one frame- Query...
View ArticleGetting H.264 stream from Logitech C920 or Logitech BCC950 cam
This is strictly not a media foundation issue. I was wondering if anybody else had encountered this before.These two Logitech cams supposedly output H.264 streams and they do indeed work with Logitech...
View ArticleMFCreateAggregateSource - E_INVALIDARG
I'm trying to create an aggregate source from two sources - one with 1 video stream and another with 1 audio stream, but get theE_INVALIDARG error. The documentation states that MFCreateAggregateSource...
View ArticleHow to capture h264 raw stream from a camera device?
My Logitech C920 cam has 3 streams to output,and the stream3 output h264 raw stream,I wrote below code to capture h264 raw stream with HD1080p30 format,but the "ReadSample()" function failed,it return...
View ArticleFew questions about MF
Hi all,I am developping a video editing application based on MF. At the moment I have a big Player class in which you can add segments and that support rate control and scubbing. I would like to add...
View ArticleWavSource doesn't work?
Hi all,I am trying to make the MF WavSource sample to work.I can compile it with not problem and I am sure it is registred correctly.However, when I try to load a wav file (with .xyz extension) using...
View ArticleYUY2 video chroma problems on Surface Pro 4 only
The application I'm working on captures video in YUY2 format. It gets converted to I420 for compression, and later uses Direct3D to display the image.On every laptop EXCEPT the Surface Pro 4, video...
View ArticleMake IMFSinkWriter::WriteSample block when writing from D3D11? Find needed...
I wrote a simple test program which reads an h.264 video using a source reader as BGRA textures, copies them to another texture, and writes that texture (after wrapping it with...
View ArticleIMFSinkWriter::WriteSample drops frames / stutters when writing from D3D11
(Edited with simpler example)I wrote a simple example which writes a Direct3D texture to a video using IMFSyncWriter. The texture changes each frame. The result should be a red vertical line moving 6...
View ArticleH265 DXVA2.0 fails
I am trying to use the DXVA 2.0 HEVC decoder (GPU is Geforce 1080 GTX) isolated (only transformation ,no renderer and no source object). Everything seems to be fine but after decoding 13 frames...
View ArticleMFT Encode H264 at low bitrate gets repeated frames
I am using MFT to encode H264 at low bitrate (actually not that low, such as 10Mbps).Some of my source pictures have a lot of details. So I notice MFT starts up output repeated frame (of size 20 bytes...
View ArticleCutting Video Clip from live stream
My requirement is that, I want to cut the clip from live streaming from a particular time period start to end time.Can you please suggest how could be that possible using Media foundation.
View ArticleCut a part of video from inputstream
My requirement is that I need to cut the video from last position towards start if the size of video is more than 4 minutes.I want to cut the clip of 4 minutes before saving the video. How that would...
View ArticleCut Video clip using Media foundation c#
I need to cut a part of video clip which is possible by ffmpeg but not want to use ffmpeg and want to strict with Media Foundation approach in asp.net. Can anyone suggest me how could be that possible....
View ArticleCut Video clip using Media foundation c#
I need to cut a part of video clip which is possible by ffmpeg but not want to use ffmpeg and want to strict with Media Foundation approach in asp.net. Can anyone suggest me how could be that possible....
View ArticleAsynchronous MFT example
Is there an example anywhere for Asynchronous MFT implementation? I am writing a hardware MFT encoder. I already have a regular encoder working. Now want to add hardware capabilities as well.Would...
View Articlewho have ParseTopologies ParseTimestamps ParseDirectShowGraphs ?
Hi!who have ParseTopologies/ ParseTimestamps/ParseDirectShowGraphs file, i want use it to trace media foundation. Can you give me a link to download them? Thank you !
View ArticleAecSDKDemo AllocateStreamingResources() E_FAIL
Hi, I'm getting a COM E_FAIL error generated by CMediaObjectDetours::AllocateStreamingResources() in the AecSDKDemo sample that comes with the Windows SDK (v7.1). It occurs when I enable beam forming...
View Article