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

MPEG_2 TS

Hi all, I am new to this forum. I am now interested in Multimedia development. I want to know how to play mpeg 2 streams using visual c++. What are all the basic things I need to develop such...

View Article


Registering a custom media foundation source for enumeration

Hi,I am trying to create a custom media source for a live video source, which will be enumerated as a capture device, when calling MFEnumDeviceSources. How do I register the media source to achieve...

View Article


IE9 HTML5 fails to play MP4 videos after registering a custom media source

I am facing a problem using IE9 under Windows 7.  When opening an HTML5 page that has a video tag of type (H.264 / MP4), the video tag will fail to play the source video.The problem occurs when I...

View Article

SinkWriter and frame resizing

I'm working on a simple video editing application.  It is required to do simple trimming and combining across multiple video files (ie take 10 seconds from video A and 10 seconds from video B and write...

View Article

How can get instance of ITA?

Hi all.I red that: Protected Media Path.In that document, "An ITA is created by a trusted media source" But, I don't know how to get a instance of ITA.Please help me. Thanks reader.- JooJin

View Article


Creating WMV file with Media Foundation: output file not showing...

When I used Media Foundation to create a WMV file, I am not able to see any properties such as frame width, frame height, data rate and more by right-clicking on the created file on selecting the...

View Article

how can to create proxy of Media Source in protected process.

Hello, all.I just have a question about the Protected Media Path.As you know, if the media source is created inside the application process, the source creates a proxy for itself in the protected...

View Article

SinkWriter and frame resizing

Re-posting this under MSDN account.I'm working on a simple video editing application.  It is required to do simple trimming and combining across multiple video files (ie take 10 seconds from video A...

View Article


How can I create a 3D(stereo) MMF topology which is able to capture, tranform...

Hello,  I want to develop a MMF program, which is able to capture 3D(stereo, not 3D Graphics) videos from two cameras, and then do some transforms and output them. But I have not seen relative samples...

View Article


sample grabber sink does not produce output when h.264 encoder transform...

I am captureing MJPEG frames from a Webcam using the Media Session.The topology is: IMFMediaSource -> h.264 Encoder -> SampleGrabberSinkActivate.When removing the encoder, the grabber works as...

View Article

IMFSinkWriter quit working

My code used to output a large .mp4 file (e.g. 4MB) that I could successfully play in WMF12.  Since the last time I tested this feature, however, the file being produced is only 677 bytes and WMF12...

View Article

encode WAVE_FORMAT_EXTENSIBLE with a FLOAT format to WMA Lossless

Hi,i am working on audio encoding and struggling with the initialization of the sink writers input and output.My app does real time audio recording of the system mix via loopback/event-driven-buffering...

View Article

how to config the evr to process d3d surface directly when using a custom...

Hi all, Does anyone know how to configure the evr's mixer when using a custorm presenter to directly process the d3d surface which come from the dxva decoder?  I am writing a custom evr presenter by...

View Article


What does need to get certification for PMP-PE?

Hi, all?I want to have the PMP-PE certification, but i don't know email form that to send Microsoft.My company name, company phone number, etc.. What do Microsoft want any email form?And should attach...

View Article

Setting GOP size on 'WMVideo9 Encoder MFT' encoder

I have to set the GOP size on 'WMVideo9 Encoder MFT' encoder, but I don't know how. I didn't find such attribute through the IMFAttributes. Also, I would have to tell encoder to use closed GOP. The...

View Article


Adding Script commands to Live Multi bitrate video

I am using WMVNetWrite sample in Windows Media Format SDK and inserting timestamp to stream every 10 seconds with script commands , but for multi bitrate streams on user side where I embed the stream...

View Article

play video with separate audio file

in my application i need to play a video and audio file simultaneously. The video is without audio and the audio file is selected based on the language we want to play.The audio files have the same...

View Article


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 Article

MFPutWorkItem returns MF_E_UNEXPECTED sometimes

hi there,in my scenario, i have several Mediasessions running in parallel with Custom MediaSources and a custom Decoder MFT.These sessions (and therefore also the media sources) are created and closed...

View Article

Problem with IMFSourceReader::ReadSample() when using SampleGrabber in a MF...

In a project, I use media session + sample grabber to capture audio and video buffers from media file. To keep A/V sync, the attribute MF_SAMPLEGRABBERSINK_IGNORE_CLOCK is set to be FALSE for both...

View Article
Browsing all 1079 articles
Browse latest View live


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