IMFTransform::ProcessOutput method always returning...
MftH264Decoder::DecoderOutputState MftH264Decoder::GetOutput() {CComPtr<IMFSample> output_sample;if (!use_dxva_) {// If DXVA is enabled, the decoder will allocate the sample for...
View ArticleIssue with SimpleAudioVolume interface on Win7
I am trying to get SimpleAudioVolume interface from IMFSourceReader on Win 7. (see code bellow) It works well on Win8, but on Win7hr=...
View ArticleMultiple webcams composite video streaming
I am relatively new to media foundation and I had just finished building my first single webcam streaming application using 'Developing Microsoft Media foundation Applications'. I have multiple dynamic...
View Articlemultiple media playing
Hi Is playing multiple video streams in a session synchronously using Media Foundation possible? I am working on c++ and QT5.3. Currently i am now able to play 1 video and 2 voice streams...
View ArticleSample 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 fonudation...
View ArticleCan Media Foundation output the data of only H.264 video frames?
Microsoft Media Foundation can encode a video from multiple images.This sample creates a mp4 file. However, I don't need complicated mp4 format because I want only the stream data of h.264....
View ArticleMedia Foundation:Playback using Raw Data Bytes Frame by Frame
I have a stream of bytes encoded by H264.Now I want to playback using Media Foundation I have the frames as raw data without container and I receive it frame by frame.does any one have any idea how can...
View ArticleIMFSSLCertificateManager gives errors 0x80072ee2 & 0x80092003
I am trying to figure out how to use IMFSSLCertificateManager. So far I have gotten to where my IMFSSLCertificateManager::GetCertificatePolicy is getting called. But after that, I begin to have...
View ArticleCreateObjectFromURL First-chance exception
I am creating a test application that uses the href="https://msdn.microsoft.com/en-us/library/ms698996(v=vs.85).aspx SequencerSource similar to...
View ArticleMedia Foundation MFGetAttributeRatio works differently for Win 7 than WIn8 -...
I am Using Media foundation ISourceReader, ISourceMedia etc.My camera supports several Resolutions with 60 FPS and 30 FPS. running the code in win 8 I get a different profile with MAX 60 for the 60 and...
View ArticleHow to convert the data decoded by MJPEG Decoder MFT into RGB32
I try to play .avi file(Motion JPEG) with MJPEG Decoder MFT and My ColorConverter MFT to convert into RGB32 by using the Media Foundation.The output format of MJPEG Decoder MFT is YUY2. So, I...
View ArticleMicrosoft AAC Encoder to result WAVE_FORMAT_RAW_AAC1 payload
According to the docs, MF AAC Encoder on Win8 is able to output either WAVE_FORMAT_MPEG_ADTS_AAC(0x1600) orWAVE_FORMAT_MPEG_HEAAC(0x1610), I need to be able to have AAC payload encoded...
View ArticleWindows Media Player SDK for 64-bit applications
I wish to include the Windows Media Player ActiveX control in a 64-bit WinForms application. When I add the control in the Forms designer, it automatically adds references to associated32-bit DLLs to...
View ArticleIMFSinkWriter settings for live video streaming
I have tried whether to be able to publish live video streaming with Microsoft Media Foundation.MF_LOW_LATENCY parameter can be used in Windows 8, but it seems that this doesn't become effective in...
View ArticleIMFSourceReader : is it really possible to accurately seek and read samples...
When decoding PCM data from an MP3 from position 0 and in one go there is obviously no problem. However, when I try to seek to a certain position for reading some samples, no matter what I do, the...
View ArticleTee nodes with custom MFTs as outputs
Hi guys,Hopefully you have an idea on what I am observing. To give you guys a background on my application. I originally setup a pipeline that would take some user video editing requests and applies...
View Articlewavsink ignores last samples
I tried saving wav file using wavsink sample. Input file is simple wav file, containing 1024 samples (values: 0-1023). I expected wavsink to produce the same file. However, the output file is 46...
View ArticleProblems undetstanding IMFClock::GetCorrelatedTime() [Solved]
Hi Guys,For the past couple of weeks I have been learning about Media Foundation and all is going well so far.The problem I am currently facing is how to get the current time (from the start of...
View ArticleDo I need the PE production signed .DLL file to use MFCreatePMPMediaSession...
I have a test signed .DLL file (the root certification authority is "MS Protected Media Test root").And I test that file using modified MF_ProtectedPlayback sample.When I useCase-1)...
View ArticleHow to set media format in IMFMediaSource
I'm, trying to implement a grabber using IMFMediaSource, IMFMediaSession and IMFTopology. I built a topology including the IMFMediaSource and an IMFSampleGrabberSinkCallback. My problem is how to set...
View Article