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

Webcam capture not working on win 8.1

Hi,I recently updated my laptop from win8 to win8.1 and external webcams from Logitech and Creative are not working. My application uses Media Foundation for the capture process and everything was fine...

View Article


Possible Buffer Underrun Issues Causing Noisy Playback

I am trying to make a sequence synthesizer and feel like I am so close to the finish line but I am having a weird issue. When there are no oscillators feeding the buffer its silent, like it should be....

View Article


H264 Full HD Encoding

I have a following setup:IMFSinkWriter that outputs to H264/AAC using MF encoders. I feed the sink writer with RGB24 or IYUV frames. I'm trying with 2 types of sink: File Sink and Multicast.Everything...

View Article

Media foundation playlist

I am having trouble finding a sample program to play a playlist under Media Foundation. I see a comment that an example was removed 'in favor' of another interface, now deprecated. No one seems to have...

View Article

how to write a network source?

 I want to write a network source that can implement other network protocol, but I do not know how to implement it, Can anyone give me some suggestion?

View Article


Media Foundation will not release a file after MFShutdown is called

We are using the now deprecated IMFPMediaPlayer for a small media player that is embedded in a larger Java Desktop Application.  We use the IMFPMediaPlayer::CreateMediaItemFromURL with a call back...

View Article

Using IMFSinkWriter and IMFSourceReader, how to store custom timestamp or tag...

Hello,I need to store a custom timestamp per frame when encoding frames using IMFSinkWriter, to be later read in as attributes from the sample using IMFSourceReader. This is using the H264 encoder and...

View Article

Make SinkWriter Encode, yet not write output to File/ByteStream.

I have my end to end scenario completed, creating IMFSamples from Raw YUV and encoding into mp4 or ByteStream.However, for my purposes I am trying to isolate the Cycles spent on the SinkWriter doing...

View Article


Multiple videos on multiple displays synced

Hi, I would like to play multiple video streams on multiple displays (screens, monitors) in fullscreen modes synced.All video streams must starts absolutely in same time. Which component/technique...

View Article


DX11 Video Renderer sample code is incomplete.

Your ref : http://code.msdn.microsoft.com/windowsdesktop/DirectX-11-Video-Renderer-0e749100 Dear Sirs,    So ... that project creates a DLL, which isn't a standard EVR so I have no clue how to fire it...

View Article

How to properly shutdown media session when micophone is unplugged ?

I modified the transcode sample to record microphone to wmv file. The record stopped when I unplugged the mic.However, the recorded file show that the length of the media is 0:00:00 (file size looks...

View Article

IMFActivate::ActivateObject memory leak?

Hi,I think that there is a memory leak when I execute IMFActivate::ActivateObject.I found that when method IMFActivate::ActivateObject is executed, the inner COM counter is increased on 1, but when I...

View Article

IMFSinkWriter very slow and use of MF_SINK_WRITER_DISABLE_THROTTLING

I have a test app using MPEG4 media sink and IMFSinkWriter. I am writing RGB32 samples. The sink writer appears to be incredibly slow.Running the app the I can only process about 3 frames per second...

View Article


Source code link broken : Media Foundation / MEPG1Source

Hi guys, Since you've migrated over to http://code.msdn.microsoft.com/... the link to the source for MEPG1Source has broken. Please fix....

View Article

Media Foundation Applications Don't run under Windows Server 2012R2

Hello,I'm trying to run a Media Foundation video player under a Windows Server 2012R2 Update 1. I started the application and it said that the file can't be player back (wmv v9). At this point I...

View Article


Adding the same topology several times in the sequencer source

Hello,I have some trouble finding how to make the following :I have one video file and 5 audio files (mp4 and mp3) that must play at the same time, and I need to be able to select a section of  the...

View Article

The max resolution for mp4(h264) encoder

hi guysI want to know what is the max resolution for mp4(h264) encoder in media foundation. I can't use sinkwriter to encoder a 4k resolution mp4 file.Thanks.

View Article


IMFSinkWriter bogs down after about 10800 frames

Hiya folks,I'm creating audio and video and sending it to an IMFSinkWriter to output as an H.264/AAC mp4 movie.  I've noticed that after about10800 frames of 640 x 480 resolution video with audio the...

View Article

Trouble setting the H.264 Encoder's Max Key Frame Spacing.

HiI am currently trying to change the max key frame interval of the media foundation H.264 encoder by setting the MF_MT_MAX_KEYFRAME_SPACING on the output media type of the encoder. But every video...

View Article

MFDub sample sources are not available anymore

The sample link for MFDub ( http://blogs.msdn.com/b/mf/archive/2010/03/12/mfdub.aspx ) don't work. Where can I get the sample sources, even if they were out of date (in that case, an updated but...

View Article
Browsing all 1079 articles
Browse latest View live


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