Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 1.12 KB

whydoesthevideoencoderdmorejectanoutputformatthati.md

File metadata and controls

27 lines (16 loc) · 1.12 KB
description ms.assetid title ms.topic ms.date
Why does the video encoder reject an output format that I try to set, when I retrieved the format from the same object?
f0747450-d224-423a-a9f1-04580df8a17e
Why does the video encoder reject an output format that I try to set, when I retrieved the format from the same object?
article
05/31/2018

Why does the video encoder reject an output format that I try to set, when I retrieved the format from the same object?

Unlike audio encoder output types, the supported outputs enumerated by the video encoders are not complete as delivered. You must set the bit rate of the stream in the dwBitrate member of the VIDEOINFOHEADER structure to match the value set for the MFPKEY_RAVG property.

After all of the options are set the way that you want them, you must retrieve the codec private data and append it to the VIDEOINFOHEADER structure. For more information, see Using Video Codec Private Data.

Related topics

Frequently Asked Questions