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

How to set bit depth for MFT encode case?

I'd like to do 10 bit HEVC encode test with MFT interface. How to set bit depth for both input media type and output media type?

View Article


Hardware-accelerated decoding with D3D11 and IMFTransform

Hi, I've been trying to get hardware-accelerated video decoding working with D3D11 and IMFTransform using this article:...

View Article


The interface IMFQualityAdvise of Microsoft H264 Video Decoder MFT not working

hi,i am trying to set the drop mode of the transform,but it‘s not working.code:                        HRESULT hr1;CComPtr<IMFQualityAdvise> quality_advise;hr1 =...

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

Having separate volume control over multiple media sessions

Hello, I have a class that loads an audio file (wav/mp3) and play them, the class has IMFSimpleAudioVolume member initialized with MFGetSErvice for example:IMFSimpleAudioVolume* pVolume;...

View Article


where have examples to encode Desktop Duplication texture to h264 through...

where have examples to encode Desktop Duplication texture to h264 through media foundation?

View Article

Using Mpeg4/H.264 output with Sink Writer gives output with frames upside down

I've written a simple application that is based on the Sink Writer sample found here:http://msdn.microsoft.com/en-us/library/windows/desktop/ff819477(v=vs.85).aspxWhen using the default encoding setup,...

View Article

Media Foundation SinkWriter gives vertically flipped H264 encoded video

Hi I am using Media Foundation SinkWriter to convert some bitmap images into H264 encoded video. I use the exact same example provided in the microsoft documentation link, where it encodes a static...

View Article


Media Foundation record audio

When I let audio data to an input stream on this Media Foundation transform, I always get "MF_E_NOTACCEPTING". How can I do to avoid the issue?

View Article


Linking issues (mfuuid+Cygwin)

I am porting BasicPlayback code to Cygwin environment and I have some problems with linking.I located most needed linking parts from dll files (mf.dll and mfplat.dll) but there are few things I didn't...

View Article

When using IMFMediaEngine, what is the best way to draw timed text like...

I'm using IMFMediaEngine to build a video player application, the basic playback works well with IMFMediaEngine but I'm in a trouble with displaying timed text(IMFTimedText) which is used for closed...

View Article

Getting null IMFDXGIBuffer

Hi, I am new to media foundation and DirectX. I am capturing frames from webcam using IMFSourceReader. and getting the IMFSourceReaderCallback as expected. Now I want to render these frames on...

View Article

Is there any Audio Stream Routing feature at all in Media Foundation ?

HiI always wanted to know why the Audio Stream Routing feature, which is meantioned everywhere for Media Foundation in the MSDN, does not work at all.It is meantioned in several places in the MSDN, but...

View Article


Rendering Delay when using h264 Decoder

hi there, i´m dealing with a custom media source that provides live video streams from network cameras. the  IMFSample Timestamps are set to 0 so all frames are rendered immediately after their...

View Article

Video Decoding with custom MFT or MSFT H.264 Decoder MFT

Hi,I'm trying to decode an h.264 video stream in real-time, and I had 2 questions.1) There used to be a delay with the MSFT H.264 Decoder MFT of about 1 second. Has this been resolved?2) When I call...

View Article


The output audio has been run faster when converting audio sample rate from...

I created a SinkWriter that is able to encode video and audio using Microsoft's Media Foundation Platform. Video is working fine so far but I have some troubles with audio only. I converted audio...

View Article

Show ID3D11Texture2D on Screen

Hi, I have an RGBA ID3D11Texture2D that I want to display on screen in an application window that I create. I've followed relevant tutorials about creating a swap chain, and render target views, but I...

View Article


H265 Encoder Missing

This page says Windows 10 ships with software H265 encoder MFT.I’m using Windows 10 Pro version 1803 (OS Build 17134.950) and I don’t have Mfh265enc.dll anywhere on my system. MFTEnumEx API doesn’t...

View Article

Reading/writing metadata in a UWP app

I'm trying to read/write metadata for an MP4 video from a UWP app using the Media Foundation APIs.I have the following codeco_await winrt::resume_background(); check_hresult(MFStartup(MF_VERSION));...

View Article

Media Foundation and Windows Explorer reporting incorrect video resolution,...

Reproduce this issue using this video, and view frame size in explorer or use any app based on Media Foundation source reader. VLC, FFMPEG correctly report the file as...

View Article
Browsing all 1079 articles
Browse latest View live


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