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

Does sink writer on windows phone 8.1 support aac file in 22050Hz?

HiI am trying to encode raw pcm to aac file with the following code: m_outputAudioFormat = MFAudioFormat_AAC; m_sourceSamplesPerSecond = 44100; m_samplesPerSecond =44100; m_samplesRatio = 1.0;...

View Article


Transcode Apple ProRes

I am working through the tutorial at https://msdn.microsoft.com/en-us/library/windows/desktop/ff819476(v=vs.85).aspx because I need to write a program to transcode Apple ProRes files to H.264. The...

View Article


different behavior of H.264 encoder MFT on Win7 and Win8

Hi guys,Several months have passed since I finished my program which uses H.264 and AAC encoder MFT to convert video files into MP4. While it works well on Win7, when I ran it on Win8 (also tried on...

View Article

AAC Decoder cannot handle 16000 Hz since Win10

CMSAACDecMFT decoder filter fails to decode AAC audio with 16.000 Hz since Win10. Works fine with 48 and 44.1 kHz and works fine with 16 kHz in Win 8.1Since Win10 I get...

View Article

AAC Decoder cannot handle 16000 Hz since Win10

CMSAACDecMFT decoder filter fails to decode AAC audio with 16.000 Hz since Win10. Works fine with 48 and 44.1 kHz and works fine with 16 kHz in Win 8.1.Since Win10 I get a MF_E_TRANSFORM_TYPE_NOT_SET...

View Article


Program is blocked at ProcessOutput of H264 decoder MFT.

Hello,We are trying to use MFT to decode H264 stream.To take advantage of hardware decode, I pass a Direct3DManager pointer to the MFT and set output type with NV12 successfully. An output queue with 3...

View Article

Get black image using IMFVideoDisplayControl GetCurrentImage

I am using the method GetCurrentImage of the IMFVideoDisplayInterface to capture a screenshot of a video. The video displays OK and, when I tries to capture the screenshot and call to GetCurrentImage,...

View Article

midiOutOpen fails with MMSYSERR_ERROR for the Microsoft GS Wavetable Synth in...

Has anyone else encountered this or found a workaround? - see https://stackoverflow.com/questions/31752786/midioutopen-on-windows-10-using-microsoft-gs-wavetable-synth-fails

View Article


ffmpeg VS Media Foundation.

Hi All,I have a little experience with Media Foundation and I know how to use it. But I don't know about the ffmpeg. Could someone tell me which is the best one. Actaully, I am not a huge fan of Open...

View Article


Program is blocked at ProcessOutput method of H264 decoder MFT.

Hello,We are trying to use MFT to decode H264 stream.To take advantage of hardware decode, I pass a Direct3DManager pointer to the MFT and set output type with NV12 successfully. An output queue with 3...

View Article

MP4 H.264 seeking problem

Hi, I have a seeking problem with some mp4 video files. Using the SetCurrentPosition method of the SourceReader and after that the ReadSample method, sometimes you get the correct previous keyframe,...

View Article

Why does Trancoder IMFMediaSession result in truncated output files in Azure VM?

HelloI am using The MF Transcoder API (this SDK sample). Its a simple console app whose job is to convert a bunch of compressed WAV files to M4A (MP4) in a multithread fashion. n threads are spun, and...

View Article

Play audio from file to speaker with Media Foundation

I'm attempting to play the audio track from an mp4 file to my speaker. I know Media Foundation is able to decode the audio stream as I can play it with the TopoEdit tool. In the sample code below I'm...

View Article


FLAC metadata/tags being read incorrectly in Windows Media Player on Windows 10

I recently converted my lossless music to FLAC now that Windows 10 supports it natively. But when viewing these FLAC files in Windows Media Player, the year of the songs show up as "unknown year"...

View Article

IMFTransform::SetInput failing with MF_E_ATTRIBUTENOTFOUND on Windows 8.1

I am trying to configure a IMFTransform instance to convert between YUY2 and RGB24. I can get the pointer to the IMFTransform but attempts to call SetInput always ends with a MF_E_ATTRIBUTENOTFOUND...

View Article


Windows 10 support for HLS/DASH playback

Hi,Per this link, Is it possible to play HLS/DASH using the Network Source MF Object ? If not, is there any other way to consume HLS/DASH using C++ APIs on Windows 10 ( Desktop ) ?Nadav Rubinstein, See...

View Article

multichannel support for AAC encoder

Hi,I'm writing a program using Windows Media Foundation AAC encoder to encode audio. According to documentation here https://msdn.microsoft.com/en-us/library/windows/desktop/dd742785(v=vs.85).aspx 6...

View Article


How to create a H.264 Media Type for the AVI File Sink ?

Hi,it was like 2 years ago when the "MFCreateAVIMediaSink" function popped up. Back then my program needed Windows 7 support so it was out of the question. I tryed the method anyway but had no luck...

View Article

this is not notepc

Hi,What does error - this is not notepc mean? I have just upgraded to windows 10.

View Article

Writing H264 videos larger than 2048x2048?

I used code from the SinkWriter sample to write a H264 MP4 file. That worked well until I tried to go over 2048x2048, at which point I get a MF_E_INVALIDMEDIATYPE error when calling SetInputMediaType...

View Article
Browsing all 1079 articles
Browse latest View live


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