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

IMFSourceReader to play back H264 from network (RTP)

I have implemented a custom media source (IMFMediaSource and IMFMediaStream) to feed packets for a IMFSourceReader created with MFCreateSourceReaderFromMediaSource.I have followed the custom media...

View Article


libraries cannot be read

I'm using an "old" ide for developping win32 applications. I have downloaded both the 6.1 as the 8.1 windows sdk. My ide cannot use the libraries shipped with the 8.1 sdk. The headers of the 6.1 sdk...

View Article


Capture video from webcam and write as ismv (fragmented mp4)

Hello,I want to capture video from the media device (Webcam) and write stream in the form of ismv (framented mp4).I have used Microsoft media foundation tool to capture video.And I have smooth...

View Article

Media Foundation H264 encoder - IMFTransform::SetOutputType() return...

I want to use Media Foundation H264 encoder to encode some Sample. But I'm failed while I call IMFTransform::SetOutputType() method and get MF_E_ATTRIBUTENOTFOUNDerror code.The step I use the H264...

View Article

IMFTransform problem in decoding h.264

Help to see if there is any problem with the following code.   ppDecoder->processout returns no s_ok, and at last no video data got out.IMFActivate **ppActivate = NULL; UINT32 count = 0;...

View Article


How to use SourceReader (for H.264 to RGB conversion)?

I'm trying to move from DirectShow land to Media Foundation and an trying to build around some existing code. Unfortunately I've run in some issues. Basically what I want to do is take an MPEG4 video...

View Article

SetInputType fails on Hardware MFT

I have code that activates the Intel M-JPEG Decoder MFT.  Calling SetInputType on the MFT return E_FAIL.  Is there another attribute that must be set on the MFT?  This code works on synchronous MFT...

View Article

Topoedit error: Topoedit.exe is not a valid win32 application

Hi,I have recently downloaded and installed the Windows SDK to start some Windows desktop media application development. If it helps give context for an answer, I only have Windows 7 so I downloaded...

View Article


How to tear down the topology connection in media foundation and change video...

Hi,I'm working on media foundation to show preview from USB camera.I used Media Session to show preview.I built partial  topology such as follows : Video Capture Device(Source node)->EVR...

View Article


Image may be NSFW.
Clik here to view.

Does Windows take the most exceedingly practical method of displaying image...

I know an app of machine vision that takes 0% CPU usage rate while displaying very high resolution image(2000x5000, 10000x10000 , and higher, of cource with two scrolls) captured by an industrial...

View Article

Use Work Queues or regular threads for Vista compatible WASAPI?

We have an application which has used WASAPI for years with both Exclusive and Shared Event driven mode.  In exclusive mode, we use the 3ms buffer.  If that is too small for our users' machines, we...

View Article

IMF Source Reader leaking/consuming memory

I don't know if it's not source reader basic behavior, but even thoug I am releasing every sample it keeps consuming memory up to size of file that is being red. Source reader: hr =...

View Article

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 Article


Source Reader ReadSample(), IMFSourceReaderCallback::OnReadSample() memory leak?

First Executehr = m_pReader->ReadSample(        (DWORD)MF_SOURCE_READER_FIRST_VIDEO_STREAM,        0,        NULL,   // actual        NULL,   // flags        NULL,   // timestamp        NULL    //...

View Article

Media Foundation - How to use custom wav byte stream parser

Hi,I am working on a win32 MFT application and I would like to use my custom .WAV byte stream parser instead of OS in-built wav parser. the application always uses the in-built wav parser even though I...

View Article


DX11 Video Renderer sample code is incomplete.

Your ref : http://code.msdn.microsoft.com/windowsdesktop/DirectX-11-Video-Renderer-0e749100 Dear Sirs,    So ... that project creates a DLL, which isn't a standard EVR so I have no clue how to fire it...

View Article

sometimes readsample() do not let onreadsample() happen in asynchronous mode?

when i debug my program, i find that sometimes readsample() do not let onreadsample() happen in asynchronous mode.  Hot to know if a readsample() do not let onreadsample() happen?

View Article


IMFCaptureEngineOnSampleCallback::OnSample callback stalls :(

Hello,New to MediaFoundation's video capture API here. But I have an app that performs a video capture preview of a webcam. I picked up most of the ideas from this sample code...

View Article

How to display high resolution video frames with low time consumption

My app takes very high CPU usage rate and very long time when displaying a frame of size 2000x5000 or 10000x10000 captured by a camera What is the method I should use?

View Article

Invoke executed by queue created with MFAllocateWorkQueue stopped to run...

Hello Folks,Quite strange situation. I have my own source and to improve performance switched from MFASYNC_CALLBACK_QUEUE_STANDARD to  custom one. Initially I had problem with performance but not with...

View Article
Browsing all 1079 articles
Browse latest View live


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