Questions tagged [ms-media-foundation]

Media Foundation is an API which enables development of multimedia applications on Windows.

Media Foundation is an API which enables development of multimedia applications on Windows. Media Foundation is intended to replace DirectShow.

Please refer Media Foundation documentation for more details.

846 questions
0
votes
3 answers

Metro MediaCapture MFT Effect Explaination

I'm trying to apply an effect on a mediacapture stream for a WPF app I'm porting over to Metro. In the WPF app I used Pixel shaders to modify a bitmap whose source was set to the stream of a webcam, but since effects have been dropped for Metro I'm…
GGCO
  • 183
  • 5
  • 12
0
votes
1 answer

Media extensions sample metro bug?

Media extensions sample This sample demonstrates how to use media extensions to apply effects to video, decode video, and create media streams using scheme handlers. I just debug the sample. I choose one mpg file, the file duration is 4mins. the sdk…
ayuppie
  • 45
  • 6
0
votes
1 answer

How to run H.264 through RTSP on WMP?

I've heard that Windows Media Player has problems trying to play H.264 video over RTSP. I've just made a fresh install of Windows 7, which claims to support H.264 natively (and it actually did ok playing the simpsons sample from…
0
votes
1 answer

how to write third party media sink(muxer) in media foundation

Media Sink components fall into two general categories,renderer and archive sink. for playback, I can use windows default renderer. but now I want to encode some file, and write out to a file. does windows media foundation have some sample code…
ayuppie
  • 45
  • 6
0
votes
1 answer

how to set wmv spec info for decoder in media foundation

In some of the multimedia framework, we send the spec info such as VC1 Profile Type (AP/SP/MP) and bit stream format (RCV) as the first frame between WMV parser and WMV decoder. The spec info is for initializing WMV decoder. I am using the default…
ayuppie
  • 45
  • 6
0
votes
1 answer

How to output PCM data in MFT

Now I have create an ogg decoder in media foundation. I have decode the ogg data to PCM data in IMFTransform::ProcessOutput. but I cannot play the PCM data, so now how to play the pcm data? This is my ProcessOutput code: HRESULT OggDecoder::…
troyou
  • 190
  • 1
  • 13
0
votes
1 answer

Command line MP4 to WMV9 converter

So XNA seems to need videos in WMV9 format and I have MP4 files. I found a nice tool called ffmpeg but it only supports wmv8 formats. Does anyone know of any tools that are freely available
Real World
  • 1,593
  • 1
  • 21
  • 46
-1
votes
0 answers

.wav format byte stream to IMFMediaSource

I am working on the Microsoft Media Foundation. Project: I am trying to read the byte stream and return it as IMFMediaSource. Sample Code: I implemented the code for the reading and returning media source as well. Implementation: // TODO: support…
-1
votes
2 answers

Microsoft Media Foundation Full Playback Topology

I am new to COM and Windows programming. I am trying to play a mp3 file using media foundation. Below is the code which I have tried to execute on windows 10. Here is the overview what I did in this code. I first initialize the COM Then I start the…
Khur
  • 9
  • 4
-1
votes
1 answer

Media Foundation Source Reader : Video timestamp increase additional 16 ms every N samples

I have a real time application of webcam. I use Source Reader of Media Foundation in Win 10 to capture video in real time. Everything works fine, except the timestamp. I need to know when the sample is captured, so I record the timestamp with each…
BenChao
  • 1
  • 1
-1
votes
2 answers

IMFMediaSource "no symbol loaded for mfcore.dll" and QueryInterface gives "E_NOINTERFACE"

I'am new to COM programming but well versed in C#.Net, trying to run this code but for some reason IMFMediaSource object doesn't get initialized as the Visual studio in debug mode when i check the value by hovering over "pSource" pointer it shows…
-1
votes
2 answers

How to use Windows Media Foundation instead DirectShow Editing Services?

I am developing a non-linear video editor. I need to have the support timeline, mixing of audio streams, the transitions between videos, etc. These all features are in DirectShow Editing Services, but it is no longer supported in the new versions of…
Den
  • 41
  • 4
-1
votes
1 answer

MFT Frame Extraction in c++

I have working solution to extract frames from a video in c++ at github. Problem is its very slow. What I am doing is I am using a timer and playing video and whenever frame is ready I convert it into bitmap and saves it and seek to next position .…
Shivam cv
  • 526
  • 5
  • 16
-1
votes
2 answers

What should I know before I start using a Media Foundation Transform?

I would like to use the H264 Video Encoder Media Foundation Transform within my program since it seems to be the only library I can find for encoding H264 that is reasonably priced and non-LGPL licensed Few Questions: Which versions of windows do…
mczarnek
  • 1,305
  • 2
  • 11
  • 24
-2
votes
2 answers

Memory leak in Windows Media Foundation MFCreateSourceReaderFromURL function. Any alternative functions?

On Windows 10 there is bug in Windows Media Foundation function (MFCreateSourceReaderFromURL). It causes memory leak after every use. Are there any alternative functions to use without memory leak? It seems Windows Media foundation is full of bugs,…
1 2 3
56
57