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

decode IMFSample by SourceReader?

Hi, I want to use the SourceReader to read frames from a URL (video file) - without using the decoding part. If I`m right, I have to set the output format with the type returned by...

View Article


SequencerSource EVR vs SequencerSource MP4 Sink

I'm writing an application that uses a SequencerSource and either the EVR or a MP4 sink. I have 3 videos and create a topology for each one.  If I use the EVR as the sink the videos play in sequence,...

View Article


Encoding framerate and time problem on Media Foundation

I am writing the program which encodes RGBA frames to the mp4 video with Microsoft Media Foundation. But, probably because a frame rate and the duration are not correct, a result video plays quickly...

View Article

media foundation decoder MFT for DV, MPEG1 and MPEG2

Hi,could you please tell me where I can find the correct decoder MFT for the DV codec as well as for the MPEG1 and MPEG2 codec?At the moment I can only find a suitable decoder MFT for H.264 and MPEG-4...

View Article

0xC00D36C4 MF_MEDIA_ENGINE_ERR_SRC_NOT_SUPPORTED for AVI that should work

(Hello,I have been using Windows Media Foundation for some time and it works well. I can open and read many video without problems.But recently, I tried to open a sequence which fails. This is an AVI...

View Article


decode h264 frames encoded by Android MediaCode H264 encoder.

I am trying to decode  H264 encoded frames I receive from an android device.The frames are encoded using the MediaCodec APIs on the android device and the output of the encoder is  streamed to a...

View Article

Sample index to timestamp

Hello,QuickTime has functions like MediaDisplayTimeToSampleNum() and SampleNumToMediaDecodeTime(), that can be used to quickly convert a sample index to a media timestamp.With the Media foundation...

View Article

[Microsoft Media Foundation]Requirements which enable...

I am trying an encoding program on Windows 8.1/Visual C++ 2013 by referring this page. I tried various ways in the combination of MFVideoFormat_H264 and MFAudioFormat_AAC with...

View Article


IMFMediaSession::Start method stops working on second intance

I have created a test app modeled on the playlist example in the vista sdk. I modified it a bit to play video and loop with the skip function. I then set it up to create two windows with a player in...

View Article


Using MF for Blu-Ray 3D support on a WPF Application

Hi!Is it possible to use MediaFoundation to integrate Blu-Ray 3D playback support into a WPF Application? What would be the requirements for it?I've looked at WPFMediaKit and MFNET without much...

View Article

Take photo from image stream using capture engine technique in media foundation

Hi,I am beginner for media foundation.I have to develop Win32 desktop application using capture engine technique in media foundation.I have to implement the following features:1)Show video streaming...

View Article

[Microsoft Media Foundation]Problem of asynchronous custom media source

I asked about MF_READWRITE_ENABLE_HARDWARE_TRANSFORMS previously and I got an answer. My hardware doesn't support it. It requires asynchronous.Based on these problems, I rewrote the program with...

View Article

WaveOut is causing ducking/audio attenuation to occur unintentionally.

Hi there,I've encountered a strange issue with the waveOut API's and I'm not sure if its by design or if I'm missing something.Basically If I open a device specifying that the default communication...

View Article


GUI Tool for MF Trace Analysis

In 2010 article Automating Trace Analysis there was a method described to visualize MFTrace output. There was a link provided to MSDN Code Gallery for corresponding Perl scripts, which doesn't work...

View Article

Using Sink Writer to remux VC1 into WMV container

I have configured Sink Writer to store VC1 Elementary Stream with TS into WMV9 format file. And I've experienced with a problem.The SinkWriter returns OK HRESULTS but is not produces any output if...

View Article


The server is sending too much data error

Hi everyone, I'm having a little issue with my media player playing a mms stream from the windows media server. The stream plays for more than half but then it stops and I get the error 'The server is...

View Article

MFMediaEngine - not possible to set specific audio endpoint ?

Hi. We currently using MFMediaEngine in our application and it seems works very good and can do everything that we need. But recently we got requirement to set audio output device and find out that...

View Article


Please help in understanding some basics

I'm very green when it comes to the MMF, so please bear with me.  What I'm trying to do is create a simple "Hello World" style Media Source. The purpose is to simply make as thin an implementation as...

View Article

Registering a ByteStreamHandler for Internet Explorer?

Ultimately my goal is to get my own custom media type to play within the HTML5 <video> tag from Internet Explorer.  I have a byte stream handler, source and stream objects and they're working...

View Article

Best performance/rendering method for Media Foundation in WPF

I have a CLI/C++ component that implements a Media Foundation player. Currently I am creating a Systems.Windows.Forms.PictureBox in XAML and passing the PictureBox handle to...

View Article
Browsing all 1079 articles
Browse latest View live


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