Asked by:
IMFMediaEngine::TransferVideoFrame using WIC surface

Question
-
Hi there,
The IMFMediaEngine::TransferVideoFrame interface is described as below.
"Copies the current video frame to a DXGI surface or WIC bitmap."
Can anybody give me a sample on how to use this interface with the WIC bitmap or surface.
Any help will be very much appreciated.
Cheers!
Wednesday, February 6, 2013 2:31 AM
All replies
-
Hi,
Maybe you can follow the codes in this thread.
http://social.msdn.microsoft.com/Forums/en-AU/winappswithnativecode/thread/1c689901-751d-4da5-98a1-b378fb064bcfBest regards,
JesseJesse Jiang
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help.Thursday, February 7, 2013 3:07 AM -
Hi Jesse,
Thanks for your reply but unfortunately you did not answer my question yet.
I am looking for an example on how to use IMFMediaEngine::TransferVideoFrame with WIC bitmap. I already know that using a DXGI surface works as you pointed out. But the MSDN documentation specifies "Copies the current video frame to a DXGI surface or WIC bitmap." meaning there is an option of using WIC bitmap but how?
I think this was the same question as in the thread you pointed out but your answer merely redirected us to a different solution but not exactly the solution I need.
Can you also help out on this?
Thanks!
Thursday, February 7, 2013 3:53 AM -
Hi - I'm looking into this and will update when I know more.
Matt Small - Microsoft Escalation Engineer - Forum Moderator
If my reply answers your question, please mark this post as answered.
NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.Monday, February 11, 2013 8:25 PMModerator -
Thanks heaps Matt!
Appreciate it.
Tuesday, February 12, 2013 12:41 AM