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

avi mjeg decoding windows 1803 mfmjpegdec dll issue ?

Hi, I' have an issue using an avi Mjpeg file with the last update of Windows 10.Last time I have tested my application, it's worked well with Windows 10 version 1709.With the last update 1803. it's not...

View Article


Custom Media Sink Help needed (MF_E_TRANSFORM_NEED_MORE_INPUT)

Hello,I am trying to create a custom media sink (and stream sink) for video playback in OpenGL using C# and MediaFoundation.NET. My issue is that my Stream Sink never receives any samples. My testing...

View Article


How to determine Audio stream index in source reader OnReadSample call back...

I'm writing an application to create mp4 video from camera and microphone using Media Foundation.I do step as following:1. Aggregate camera source and microphone source using MFCreateAggregateSource2....

View Article

unresolved external symbol _MFEnumDeviceSources@12

Hi,I'm new to windows MF / C++ programming and i have a basic code that lists capture devices. But the linker still can't resolve the only 2 Media Foundation functions called in the code. But, the...

View Article

MFCreateSinkWriterFromURL creates mp4 file with wrong duration

Hello, I'm using MFCreateSinkWriterFromURL to create an mp4 file from an existing audio/video stream. By existing, I mean the capture is started before the sink writer and the stream is already sent to...

View Article


Why is audio loosing one millisecond after resampling with the Audio...

HelloMaybe i should ask the following questions in the Audio Pro forum, because i have the feeling that this is related to audio resampling formulas in general, but i will give it a try over here...

View Article

headphone sound is broken

i accidently put echo on my headphone in settings and I dont Know how to remove echo from it...sorry for my bad English but i dont Know how to fix my headphones to not have echo in it...can i have any...

View Article

Decoded file runs too fast

Hi,i have a problem rendering my video file. My application is capturing samples from a webcam,decoding these samples/images(NV12 -> RGB32) for further processing and then encodes them (H264) before...

View Article


Is it possible to have a new video frame available callback in Media Foundation?

I am looking into Media Foundation and have found a MediaEngine example that works in frame server mode but the only way I can see of finding when a new frame is available is by calling...

View Article


Please could someone provide an example of IMFMediaEngineSrcElements

Please could someone provide an example of how to use IMFMediaEngineSrcElements ?

View Article

What withelds Media Foundation from playing HLS streams above 1080p?

The HLS file I'm using supports resolutions from 360p, 480p, 720p, 1080p, 1440p and 4K but Media Foundation starts with one fragment of 360p and then only plays 1080p, it does not play 4K even though...

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

MFT support for multiple input for N:1 composition

Hello, Can anyone point me to a article or documentation that shows whether an MFT supports multiple input streams. We would like to implement N:1 video composition. Thanks

View Article


IMFSinkWriter: set ICodecAPI parameters

Hi, I`m trying to use the IMFSinkWriter API to encode a H264 video file. Starting with the example from Microsoft Sink Writer Tutorial it was relatively easy to create a first mp4 video file with the...

View Article

MFSampleExtension_DeviceTimestamp does not contain documented QPC value

When capturing using AVstream (i.e connecting a USB camera) and reading samples using Media Foundation, the MFSampleExtension_DeviceTimestamp attribute does not contain a raw QPC value. The...

View Article


Mutl-input and multi-output

Hello:I am writing a media source that output 2 streams. One is a video stream and another is a audio stream. When start play, I got a error code from session get event (MEError, E_FAIL -> no any...

View Article

MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_VIDCAP_SYMBOLIC_LINK differs from...

I am using WMF video device in my application.As WMF does not behave the same under Windows 7 and Windows 10, it seems that MEVideoCaptureDeviceRemoved is never sent to the application under Windows...

View Article


How to extract R8_UNORM and R8G8_UNORM from an NV12 texture, preferably with...

I have a Direct3D11 Texture2D / DXGI surface with a pixel format of NV12Is there a way to get the Y Luminance R8_UNORM portion of it in another texture? preferably shared without copying.And the same...

View Article

Questions about the audio resampler

Hi,Is the resampler capable of resamping a signal obtained at 250kHz down to 192kHz?  I think it is since it works with a wave file which has a sampling rate of 250kHz and is converted properly by...

View Article

Memory leak in IMFMediaEngine when playing any file containing audio

This leak happens when loading normal MP4 files with AAC audio tracks.  If I strip out the audio track then there is no leak.  If I strip out the video track and leave the audio track, the leak...

View Article
Browsing all 1079 articles
Browse latest View live


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