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

Sample timestamps in custom live source

Hi,I'm developing a custom media foundation source that captures video and/or audio from some capture device. According to the instructions provided in MSDN...

View Article


Add a new source after start.

I used 'MFCreateAggregateSource' to play multiple videos at the same time.After I played multiple videos, I want to add more videos to this topology.I want to use only one sink (which is already added...

View Article


About Sequencer source

Hello, I'm wondered how sequencer source can be used in the following way.Play streams from multiple sources simultaneously; for example, play the audio from one file with the video from another.(From...

View Article

Sink Writer Audio Streams Limit

Hi, I have a question regarding the streams limits of the Sink Writer. I'm trying to add multiple audio streams to the Sink Writer and it fails after the first one. I'm using MFCreateSinkWriterFromURL...

View Article

Is the AAC Decoder working in Windows 7?

Hi, can you tell me if it is possible to use the AAC decoder at Windows 7 successfully? At the moment I can configurate the AAC decoder and I can send IMFSamples to the decoder by ProcessInput. But the...

View Article


How to play video files (avi, wmv, mp4, mpg, etc) with both mciSendCommand...

How do I play video files (avi, wmv, mp4, mpg, etc) with both mciSendCommand and mciSendString functionsonly?

View Article

SetCurrentMediaType() not triggering MF_SOURCE_READERF_CURRENTMEDIATYPECHANGED

Hi, Currently using MFC for my application, I would like to change the current MediaType used by my webcam at runtime (dynamically). These are the steps of my algorithm: 1.) Create a IMFMediaSource and...

View Article

Approved file types in Windows Mobile 6.1 and Windows Mobile 6.5?

Make a list of approved file types in Windows Mobile 6.1 and Windows Mobile 6.5.

View Article


How to use the MS MFT HEVC decoder after enable the HW acceleration

Hi all:I'm trying to enable the HW acceleration of MS MFT HEVC decoder.Windows 10, Intel(R) core(TM) i7-6700K CPU @ 4.00GHz, Intel(R) HD Graphics 530Using ProcessInput and ProcessOutput, I can get...

View Article


Audio / Video sync in media foundation

HiI'm working on a Windows Media Foundation application, and would like to add the ability to shift the timestamps of either audio or video frames, in order to achieve a perfect sync when using several...

View Article

Problems with EVR custom mixer

Can anybody provide accurate details on what the MS EVR Mixer is doing on MFT_MESSAGE_SET_D3D_MANAGER?I have implemented a custom mixer and handled all APIs specified in the Custom Mixers article, but...

View Article

WMAV2 MFT encoder

Hi, I'm trying to use WMA8 encoder in MFT to encode audio data. The whole duration of audio is 10 seconds, and ProcessInput and ProcessOut both run correctly/successfully. The time stamps of encoded...

View Article

Windows 10 - Seeking in Session while Stopped or Paused.- MFPlayer sample...

I have been trying for two weeks to get seeking to work properly, and have just come to the conclusion that it does not work. I would be happy if someone could point me to an updated player sample that...

View Article


An app default was reset

For the last 2 days everytime i turn my computer on i get the message that an app default was reset and it was reset to Microsoft Edge and i have to sign into Firefox and verify my email and reset my...

View Article

Network Path Broken and 3rd monitor cannot be detected

Update broke my computer...My computer is the host for all files used in the office.  After this update, no one can log into my computer on the network anymore.  It gives error message that "Network...

View Article


Iproperty setting Commit fails for fragmented mp4 files

I am trying to set PKEY_Media_Publisher for mp4 files.This is how I am doing it (I don't have error checking here.):IShellItem2 * shellItem = NULL; IPropertyStore * propStore = NULL; PROPVARIANT value;...

View Article

Live capture session does not restart after changing media type

Hello,Inspired by the sample code https://msdn.microsoft.com/en-us/library/windows/desktop/hh184779(v=vs.85).aspx, I could successfully build a program that : -enumerates the devices and detects my...

View Article


Capturing an image from photo stream, using SourceReader, gives video stream...

Hi, I have developed the desktop camera application using SourceReader technique in MediaFoundation. The features of application are following:            1. Video Streaming            2. Still Capture...

View Article

Screen Capture with Media Foundation

Hi,My first two questions in this forum got zero replies, maybe third time's a charm.Is there any sample that shows how to perform screen capture with Media Foundation ?I tried to write a custom source...

View Article

Encoding float audio input to MP3

I have a float audio source which is 32 bits/sample.  What is the best way to get it into an MP3 format.  The MF MP3 encoder states it can only support PCM 16 bits/sample sourceMartin Autry

View Article
Browsing all 1079 articles
Browse latest View live


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