How do I control image quality when encoding (using IMFSinkWriter)? RRS feed

  • Question

  • I noticed a major difference in image quality between Media Foundation and FFMPEG. This seems to have nothing to do with bitrate, and is evident even in the first image in the video, so probably the I-frame level is already losing a lot of detail.

    How do I set the IMFSinkWriter to encode with more details?

    Sunday, April 7, 2019 8:09 AM

All replies

  • Have you tested the SDK sample MFCaptureToFile ?

    (mainly ConfigureEncoder function)
    • Edited by Castorix31 Sunday, April 7, 2019 10:04 AM
    Sunday, April 7, 2019 9:52 AM
  • That function unfortunately has nothing relevant to quality.
    Sunday, April 7, 2019 12:42 PM
  • if you set wrong parameters, it will impact the result
    Sunday, April 7, 2019 2:25 PM
  • I'm not sure what parameters I could set. That's the problem.

    Bit rate takes fine. What other parameters can be set? If anyone responding to this thread can tell me that, that would be a good start.

    Sunday, April 7, 2019 2:32 PM