Enum CodecFlags
Represents various codec flags used to control the behavior of codecs in FFmpeg.
Namespace: FFmpeg.Codecs
Assembly: FFmpeg.dll
Syntax
[Flags]
public enum CodecFlags : long
Fields
| Name | Description |
|---|---|
| AdvancedIntraCoding | Use advanced intra coding or MPEG-4 AC prediction. |
| AdvancedMotionVectors | Allow 4 motion vectors per macroblock / advanced prediction for H.263. |
| AllowSpeedupTricks | Allow non-spec compliant speedup tricks. |
| AllowUnalignedFrames | Allow decoders to produce frames with data planes that are not aligned to CPU requirements (e.g., due to cropping). |
| BitExactOperations | Use only bit-exact operations (except (I)DCT). |
| CalculatePSNR | Notify PSNR (Peak Signal-to-Noise Ratio) variables during encoding. |
| ClosedGOP | Use closed Group of Pictures (GOP). |
| DiscardCroppingInfo | Discard cropping information from the Sequence Parameter Notify (SPS). |
| ExportMotionVectors | Export motion vectors through frame side data. |
| ExportSkipInformation | Do not skip samples and export skip information as frame side data. |
| FixedQuantizationScale | Use fixed quantization scale. |
| ForceLowDelay | Force low latency encoding/decoding. |
| GlobalHeader | Place global headers in extradata instead of every keyframe. |
| GlobalHeadersAtKeyframes | Place global headers at every keyframe instead of in extradata. |
| GrayscaleOnly | Only decode or encode grayscale images. |
| HandleICCProfiles | Generate or parse ICC profiles on encode or decode, as appropriate. |
| InterlacedDCT | Use interlaced Discrete Cosine Transform (DCT). |
| InterlacedMotionEstimation | Use interlaced motion estimation. |
| KeepReadOrderOnFlush | Do not reset ASS ReadOrder field on flush for subtitle decoding. |
| None | No codec flags set. |
| OutputCorruptedFrames | Output even frames that might be corrupted. |
| OutputReconstructedFrames | Request the encoder to output reconstructed frames that would be produced by decoding the encoded bitstream. |
| PropagateOpaqueData | Propagate each packet's opaque data to its corresponding output frame or each frame's opaque data to its corresponding output packet. |
| QuarterPixelMotionCompensation | Use quarter-pixel motion compensation. |
| ShowAllFramesBeforeKeyframe | Show all frames before the first keyframe. |
| SkipBitstreamEncoding | Skip bitstream encoding. |
| TruncateAtPacketBoundaries | Allow input bitstream to be truncated at packet boundaries. |
| Use2PassRateControlFirstPass | Use internal 2-pass rate control in the first pass mode. |
| Use2PassRateControlSecondPass | Use internal 2-pass rate control in the second pass mode. |
| UseFrameDurations | Signal to the encoder that the values of frame durations are valid and should be used. |
| UseLoopFilter | Use loop filtering. |