Click here to Skip to main content
15,891,951 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

I have seen your SampleCapture application.You are using MFMediaPlayer concept to switch different resolution.I am beginner to Media Foundation.
I am using topology to show USB camera device streaming.I have been done to get supported video and still resolutions.Now i want to change video resolution of the particular camera.Before change resolution,i stopped the preview and disconnect the topology node.
Camera supports two video formats:one is YUY2 and another one is MJPEG.
After select the resolution,I am creating fresh topology.I can change YUY2 resolutions.I am getting error when i switch YUY2 to MJPEG format.
Media session MFMediaEvent is giving "0x80070491 There was no match for the specified key in the index" as it's hrStatus parameter.

Please help me out from this issue.Give me a sample application to change the video formats and rebuild the topology.
Thanks in advance.

Regards,
Ambika
Posted
Updated 7-Nov-14 2:36am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900