javascript to capture user selection Are you sure you want to leave page
As per my requirement I need to write a code to capture the IE 9 on close. Am able to captue the close event and now the requirement is to identify the user selection on the alert window. i.e, how can...
View ArticleObtaining display aspect ratio from AVI files
Hi, I am reading SD PAL sized avi files that are 4:3 and 16:9 display aspect ratio but am not able to read this from the file.When I call MFGetAttributeRatio() with GUID MF_MT_PIXEL_ASPECT_RATIO this...
View ArticleE_UNEXPECTED in MESessionStarted event when topology has two branches
I am working on a session topology that records a video (with audio) while showing the video stream with an EVR. I am using SampleGrabber sinks for the video and audio streams so I can easily control...
View ArticleIntel hareware H.264 encoder MFT failed
Hi, I'm trying to use Intel hardware H.264 encoder on my machine which has an Intel Core i5-2400 and latest Intel driver installed. The code I tested is based on the example here...
View ArticleAPI to get requested video frames
Hi, could you tell me what I have to do to get any encoded video frame I want, by Media Foundation? At the moment I`m using the sourceReader API. It is simple but has its limitations.For example the...
View ArticleBehavior of Media Foundation Media Session in Windwos Store App when...
Hello, I am developing a multimedia application for Windows Store App. I use my MFTs for audio/video decoders. I noticed that behavior of Windows Store App MF Media Session is different between Windows...
View ArticleProcessOutput: H.264 decoder problems
Hi, I have some problems with the H.264 decoder. The behaviour of this decoder is quiet different to other Microsoft MFTT decoders like the DV decoder, which is already working.First of all, it seems...
View Articledetermine GOP size of video
Hi, I want to determine if a video has a GOP size bigger than 1. Which attribute can I use for this purpose? Using the sourceReader API, I get the IMFMediaType object for the video stream of my MPEG-4...
View ArticlePTS & DTS timestamp information using sourceReader
Hi, using the sourceReader, I read out the encoded video samples. Additional to the IMFSample I get also the DTS timestamp information. In a second step I will send these samples to the decoder.For...
View ArticleFLAC 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 ArticleHow to access custom method on my CustomEVRPresenter
Hi: I'm able to have media foundation use the CustomEVRPresenter by :CComPtr<IMFMediaSink> spRendererSink;hr =...
View ArticleBehavior of the Sink Writer and Microsoft's H 264 Encoder when it comes to...
Hi,i would like to know how the Sink Writer and Microsoft's H 264 Encoder behave when passing DX surfaces which are in Default Pool ( Device Memory ). Normaly i am using Media Sessions, but for a small...
View Articlehow do i engage hdcp on itunes in windows 10
my iTunes movies will not play hd videos in windows 10 I get a message hd movies will not play
View Articleone second latency in MFT running in debug mode
Hey, is there a known performance issue, using the Media Foundation in a debug build?I setup a synchronous MFT and get the first two decoded frames. After that I do not send any message to the MFT or...
View Articlesystem requirements for asynchronous MFTs
Hey, could you tell me the hardware requirements for asynchronous MFTs? I have a Windows 8.1 system with an Nvidia Quadro video card, and there is no asynchronous MFT available for...
View ArticleMF_MPEG4SINK_MOOV_BEFORE_MDAT
Hi, The documentation on the MF_MPEG4SINK_MOOV_BEFORE_MDAT attribute is a bit unclear. To configure the MPEG-4 sink to store the moov atom before the mdat, is this the intended way:...
View Articleclosed captions for Iphone 5
I am deaf & need closed captions for my device & HP Computer Laptop-Windows 10
View ArticleVideo segment looping.
Hi, What is the recommended way of doing video segment looping within a file?Let's say that I have a one minute video, but I am for some reason only interested at the segment 15 seconds -> 25...
View ArticleDisplay of several videos at the same time with media foundation
I am trying to display several videos at the same time in a media foundation application. As the video files are encrypted and encoded as H264 without any container, I have developed a custom source...
View ArticleTrueColor technology with Media Foundation for Windows 7
Hello,I am writing an application using WMF at Windows 7 to capture video with web camera Microsoft LifeCam Studio. The LifeCam camera is capable of capturing video using TrueColor technology that also...
View Article