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

Source Resolver CreateObjectFromUrl hangs when called from ByteStreamHandler

HiI have a  MediaFoundation Bytestreamhandler for a specific extension and for a specific case  I have to create a mediasource from a modified URL within the Bytestreamhandler.  I am trying to do this...

View Article


MFCreateSourceReaderFromURL causes program to hang (solved)

Solved:I forgot to add MFStartup(MF_VERSION) before any Media Foundation functions.Hi,I am using Media Foundation to create a program which gets frames from a video file as textures.I have some problem...

View Article


Provide IDirect3DDeviceManager9 from Custom Media Sink

I am writing a custom media sink to render video to a device, following the example of the WavSink.Now how to proceed if I want to use DirectX surfaces for carrying video frame samples? As far as I...

View Article

Confused about how to seek using IMFSourceReader:: SetCurrentPosition

I'm using IMFSourceReader to grab samples on an audio file.I want to be able to seek anywhere in the audio timeline.I have this function which sets the position:void Seek(Windows::Foundation::TimeSpan...

View Article

Calling IMFSourceResolver::CreateObjectFromURL in an event callback

  Is this allowed?  It seems to deadlock the event callback thread. The thread is stuck in CreateObjectFromURL, apparently it is stuck on CAsyncResult::Wait.  Is there only one async event dispatch...

View Article


Relevant to Protecting Files with DRM in windows 8.1

Hello ,I have few question about windows media format sdk1. What is the latest release version of the "Windows media format sdk" specially for windows 8.1 Os? Is it included insideWDK 8.1?2. I have...

View Article

hot to set a guid-represented property MFNETSOURCE_AUTORECONNECTLIMIT into...

I want to set IPropertyStore, and set the property MFNETSOURCE_AUTORECONNECTLIMIT with some value, but MFNETSOURCE_AUTORECONNECTLIMIT is a guid symbol, and it does not work by...

View Article

Why the red value can not be larger than 229 in dxvahd VideoProcessBltHD?

I am using dxvahd with Visual C++ 2010 in Window 7.There is a problem when I mix two stream with DXVAHD.The video main format is YV12, and the sub format is D3DFMT_A8R8G8B8.In the substream, I draw a...

View Article


why onreadsample() cannot invoke onreadsample() in multiple ip camera videos...

why onreadsample() cannot invoke onreadsample() in multiple video scenaria?

View Article


why readsample() cannot invoke onreadsample() in multiple ip camera videos...

why readsample() cannot invoke onreadsample() in multiple video scenaria?

View Article

IMFSourceReader, H264 decoder and DXVA2_SurfaceType_D3DRenderTargetTexture

Hi, I have created a IMFSourceReader from a H264 file using MFCreateSourceReaderFromURL, I provided a IDirect3DDeviceManager by setting the MF_SOURCE_READER_D3D_MANAGER attribute. So now when I read a...

View Article

How can I get the real size from SourceReader

I use SourceReader to decode H264 video to NV12. The actual size of output video is 1920x1088 with crop 1920x1080 When I call MFGetAttributeSize with MF_MT_FRAME_SIZE attribute for input IMFMediaType...

View Article

IMFSinkWriter::WriteSample consume 80% processor.

1. Processor - WriteSample uses up 80% of my processor when my webcam runs at 30fps with audio around 26samples per second, while it uses up around only 22% processor when my webcam runs at around...

View Article


EVR, PresentImage

Hi everyone,Is there any function of EVR works like PresentImage of VMR9? If not, how can we get in touch with the surface to be drawn in EVR? Do I have to write a custom presenter for this?Thanks in...

View Article

Mpeg1Source Sample

I'm trying to get the new mpeg1sample to work but when I open a mpg file using MF_BasicPlayback the app just hangs and doing break all in the debugger doesn't seem to stot anywhere obvious.  This...

View Article


DXVA2 Allocator & EVR

Hi,I hope it's a right place for this questions, so.. here it is:I'm writing DXVA 2.0 decoder filter and I have a problem with media type change negotiation (on-fly). I haven't found any doc on msdn...

View Article

EVR and DirectX 10

Hi, I try to write custom muxer and presenter for EVR. Now I have DirectX10 application that required some video processing features. I write skeleton for using media foundation, but if I set...

View Article


Hardware acceleration in transcoding

My original goal was extract part of a video into a separate file. I tried to connect a media sink directly to a media source. However, from...

View Article

IMFVideoRenderer::InitializeRenderer and E_INVALIDARG response

Hey all,After 5-10 playback graphs have been created and destroyed throughout the course of my application's lifetime, for some reason the EVR presenter returns E_INVALIDARG on InitializeRenderer....

View Article

How to Disable Video acceleration programmatically?

Hello everyone.,How do I Disable Video acceleration programmatically like the option in Media player->Tools->Performance->Video acceleration.?Thanks in advance.!

View Article
Browsing all 1079 articles
Browse latest View live


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