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

How can I get the real resolution from the decoder in mft?

I am developing using a media foundation provided by Microsoft. The mft (media foundation transform) h264 decoder is used. There is a problem in getting the resolution when decoding hardware using...

View Article


Class implements IMFMediaEventGenerator to listen for events in its queue and...

I have a DeviceMFT for video capture in my project. Within DMFT, I have various classes I want to send custom events (like RAW_FRAME_READY etc.. ) between classes . Say ,- I have ClassA that initiates...

View Article


IMFMediaEngine stops unexpectedly

Hello,I'm using IMFMediaEngine and DirectX11 to build a video player application. Get the texture (ID3D11Texture2D) using IMFMediaEngine :: TransferVideoFrame. Display the acquired texture on the...

View Article

Changes in the HEVCVideoExtensions from version 1.0.21822.0 to 1.0.2276.0

Sometime last week, the windows store appears to have pushed an update to the HEVC decoder that has caused our application that uses it to stop playback after 7 minutes.  Media foundation using MFTrace...

View Article

Can we sell the app which use MediaFoundation for H.264 encoding without...

Can we sell the app which use MediaFoundation for H.264 encoding without license fee? My understanding is that license fee for H.264 is paid by Microsoft so we don’ t have responsibility for paying...

View Article


IMFMediaEngine, frame delay

Hello,I'm using IMFMediaEngine and DirectX11 to build a video player application. Get the texture (ID3D11Texture2D) using IMFMediaEngine :: TransferVideoFrame. Display the acquired texture on the...

View Article

Encoding a D3D Surface obtained through Desktop Duplication using Media...

I want to encode Desktop Duplication API frames to send over the network after encoding them with Media Foundation. I'm stuck with a E_NOTIMPL error when I call IMFTransform::ProcessInput, leaving me...

View Article

Converting audio using MFT was successful on windows 7 but failed on windows 10

When we implement the conversion of  video with Audio sample rate from 16Khz to 44.1 Khz, there was a problem as follows: - On windows 7, the program worked successful. - On Windows 10, the program...

View Article


Someone help to understand encoding in h.264

I use c#, Windows 10.Please help me understand the sequence of actions. I have a lot of images in ARGB32 format and I convert them to NV12 with these actions:1.MFExtern.MFTEnumEx 2. hr =...

View Article


E_UNEXPECTED in MESessionStarted event when topology has two branches

I am working on a session topology that records a video (with audio) while showing the video stream with an EVR. I am using SampleGrabber sinks for the video and audio streams so I can easily control...

View Article

Decoding at lower resolution than full frame

Hi all,Read this : https://docs.microsoft.com/en-us/windows/win32/medfound/video-quality-management Did this :    // Create a new topology.    IMFTopology *topology = nullptr;    HRESULT hr =...

View Article

Transcode asf file with MJPG codec to mp4/avi

I've been trying to transcode an asf video clip with MJPG codec to mp4 or avi.I'm getting an error saying "The operation failed because no samples were processed by the sink".I tried the sample code...

View Article

Intel graphics hardware H264 MFT ProcessInput call fails after feeding few...

I'm capturing the desktop using DesktopDuplication API and converting the samples from RGBA to NV12 in GPU and feeding the same to MediaFoundation hardware H264 MFT. This works fine with Nvidia...

View Article


Adding media information like title to mp4 file via SinkWriter

Hi,I'm using the SinkWriter example from docs.microsoft.com/en-us/windows/win32/medfound/tutorial--using-the-sink-writer-to-encode-video. I would like to add a title to the mp4 file generated similar...

View Article

H264 decoder does not give output with high quality frames

Hi,We are developing an application to stream H264 frames from a camera using Media Topology. The media pipeline is as follows,                                                 Camera Source --> H264...

View Article


Disable Video Auto-processing with EVR

My program uses Media Foundation to play video. It uses a Media Foundation session, topology, media source and the Enhanced Video Renderer (EVR) to play video in a window, as described in "How to Play...

View Article

Redirected audio streams faster than associated video resulting in unwanted...

Hi all,     I've worked from WavSink sample code which emits a decoded audio bytestream in chunks. Rather than save to a file as per the sample's original purpose, I direct the PCM stream at an audio...

View Article


Media foundation multiple videos playback results in memory-leak & crash...

So we are using a stack consisting of c++ media foundation code in order to playback video files. An important requirement is the ability to play these videos in constantly repeating sequences, so...

View Article

Try RAW Decode h.264 IMFSample

HI AllI use windows 10 x64. c# http://mfnet.sourceforge.net/I described the H.264 encoder, I get the IMFSample output with frames, which I immediately send to the Microsoft Microsoft H264 Video Decoder...

View Article

Encoding PCM audio to an MP4/avi file

Hi,I'm trying to encode audio into an mp4/avi file using sinkwriter. I've used the example from...

View Article
Browsing all 1079 articles
Browse latest View live


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