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

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


RLE video codec not working in Windows 2012 in native AVI API.

I have been using the native AVI API to create AVI videos on XP, 2003, 2008, and Windows 7 using the MRLE codec for years. The same exact software running on 2012 creates a video with every frame being...

View Article


Doc error for MFCreateAVIMediaSink & MFCreateWAVEMediaSink

Despite what the docs for MFCreateAVIMediaSink& MFCreateWAVEMediaSink say, they are NOT exported from MF.dll, but instead from MFSRCSNK.dll.  Similarly, they aren't in mf.lib, but MFSRCSNK.lib.  On...

View Article

multichannel support for AAC encoder

Hi,I'm writing a program using Windows Media Foundation AAC encoder to encode audio. According to documentation here https://msdn.microsoft.com/en-us/library/windows/desktop/dd742785(v=vs.85).aspx 6...

View Article

Sequencer Source with file sink

Does the Sequencer Source work with a file sink?A session with 2 non-contiguous segments raised an MEError event after the first segment.  The first segment was written to the file, but silence before...

View Article


Are work items from the Timer Queue ( MFScheduleWorkItem ) and Long-Function...

Hi,are work items serialized between the Timer, Long-Function and Standard Queue ? I did a lot of tests and it seems so, as they never interfere with each other. When i put a scheduled work item on the...

View Article

SetOutputType failed because of resolution

Hi,I'm using H.264 encoder MFT to do video encoding in my program. Everything works correctly until I found a file on which the H.264 encoder couldn't set output type successfully.The code I used to...

View Article

MediaPlayer Playlist

Hi,I have an older VB 2010 project, a sort of media manger what imports and renames my pictures and videos into structured file folders and allows to play a slide show and videos.This was working for...

View Article


How to use hardware H.264 encoder?

Hi,I'm writing a program using H.264 encoder MFT to do video encoding.The way I'm using to select/create the encoder is like:MFT_REGISTER_TYPE_INFO encoderInfo; encoderInfo.guidMajorType =...

View Article


High CPU usage: ntdll.dll!RtlRegisterThreadWithCsrss+0x174: MFReadWrite.dll...

I'm seeing a case where a long running service based on UCMA4 (which uses media foundation) spikes CPU usage.  Loading this up in process explorer, I can see the thread sitting at 25% CPU (on a 4 core...

View Article

Trying to run EVRPresenter

Hi:   I'm trying to run EVRPresenter.  It compiles/links/regsvr32 correctly.  However the MFPLAYER sample no longer exists so I cannot execute it.  If I try to run it from TopoEdit by putting the CLSID...

View Article

Using new W10 interface IMFTimedText

Looking at the new interfaces for W10, I see IMFTimedText.  However, the current (pre-release) docs don't describe where to get an instance of this class.  I don't see any new CLSIDs that seem to...

View Article

Multithreading in WMF using ID3D10Multithread

Hi everybody,At our company we are currently working on a real time video processing / rendering project. We are using Windows Media Foundation (WMF) for video input. One reason is the capability to...

View Article


Cannot setup windows media video 9 screen encoder

Hi folks,I am trying to set up the SinkWriter to use the Windows Media Video Screen Encoder 9. I registered the MFT before my actual setup, but I am having trouble when setting the input type. It gave...

View Article

How To Decode a frame mp4 from IMFSourceReader::ReadSample using...

Dear sir.I would like to extract a image frame from a MPEG-4 part 2 file.I have done on MPEG-4 file. but as MPEG-4 part 2 did not.Here's the source code.---------------------------------- TCHAR...

View Article


Library for Creating MFTs

For anyone interested in writing MFTs, I have created a library to make things easier. The library handles all the basic plumbing involved in writing an MFT, leaving you to focus on the actual work of...

View Article

MFInitMediaTypeFromWaveFormatEx failed

Hi guys,I'm now trying to use MP3 encoder mft on Win10 pro Insider preview, but failed to set output media type. Below is my code:// Fill in MPEGLAYER3WAVEFORMAT data    MPEGLAYER3WAVEFORMAT mp3wfx;...

View Article


Synchronization in MPEG-1 Media Source

Hi, I would like to know why creating of the media source(MPEG1ByteStreamHandler::BeginCreateObject,MPEG1ByteStreamHandler::EndCreateObject, etc) isn't protected from the concurrent execution?

View Article

IMFSourceReader->ReadSample never returns

Hi, I have a media file that causes ReadSample to hang indefinitely when reading from the audio channel of a video file. This appears to be happening at the end of the stream. It successfully reads...

View Article

Unhandled exception at mfh265enc.dll

Hi,I'm trying to encode video with H.265 encoder MFT on Win10 Pro Insider Preview.Originally I create/init an H.265 encoder in my own program and call ProcessInput/ProcessOuput and it crashed inside...

View Article
Browsing all 1079 articles
Browse latest View live


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