locked
MediaCapture.SetEncoderProperty find GUIDs

    Question

  • Hi All,

    I have started implementation of app which use web cam.

    I would like to have opportunity to configure encoder. I have found following method

    public:
    void SetEncoderProperty(
      MediaStreamType mediaStreamType,
      Guid propertyId,
      Object^ propertyValue
    )

    But I don't know where I can find proper GUIDs for encoder properties.

    Could somebody help me?

    Thanks in advance.

    Tuesday, October 23, 2012 10:33 AM

Answers

All replies

  • You need to find the documentation for the codecs you are using. See Native WIC Codecs for information on the in-box WIC Codecs.

    --Rob

    Tuesday, October 23, 2012 5:24 PM
    Owner
  • Thanks. But if I understand correctly this applicable for picture processing.

    I would like configure video encoder and tune properties like frame rate, bitrate etc.

    It make sense or I don't fully understand you?

    Wednesday, October 24, 2012 7:24 AM
  • For Media Codecs see Codec Objects .

    --Rob

    Wednesday, October 24, 2012 10:57 PM
    Owner
  • Thanks. It seems that what I need. But it applicable only for desktop application.

    What should I use for real time encoder configuration when I develop metro app?

    Thursday, October 25, 2012 7:14 AM
  • You use (a subset of) the same codecs for Windows Store apps as for desktop apps. Use the property GUIDs from the previously linked documentation for the codec that you are using.

    --Rob

    Thursday, December 6, 2012 2:13 AM
    Owner