eAVEncMPVSceneDetection enumeration (codecapi.h)
[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]
Specifies how the encoder behaves when it detects a new scene. This enumeration is used with the AVEncMPVSceneDetection property.
Syntax
typedef enum eAVEncMPVSceneDetection {
eAVEncMPVSceneDetection_None = 0,
eAVEncMPVSceneDetection_InsertIPicture = 1,
eAVEncMPVSceneDetection_StartNewGOP = 2,
eAVEncMPVSceneDetection_StartNewLocatableGOP = 3
} ;
Constants
eAVEncMPVSceneDetection_None Value: 0 No special behavior. |
eAVEncMPVSceneDetection_InsertIPicture Value: 1 Insert an I frame. |
eAVEncMPVSceneDetection_StartNewGOP Value: 2 Start a new group of pictures (GOP). |
eAVEncMPVSceneDetection_StartNewLocatableGOP Value: 3 Start a new GOP in which the first consecutive B frames do not reference the previous GOP. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps | UWP apps] |
Minimum supported server | Windows 2000 Server [desktop apps | UWP apps] |
Header | codecapi.h |