primo::codecs::CodecError

Common errors for encoders, decoders, muxers, demuxers and other A/V components.

enum primo::codecs::CodecError::Enum

Values:

enumerator Success
enumerator Init

Failed to initialize or open codec.

enumerator NoConfigData

Codec configuration data is required, but is missing.

This data is part of a container format and is stored separately from the audio/video stream. It is essential for decoding an elementary stream stored in the container.

enumerator NoOutput

No output has been generated (insufficient input data).

This is a non-fatal error. The component may recover after it receives more valid data.

enumerator OutputBufferNotEnough

The output buffer is not big enough for the generated output data.

enumerator Unsupported

Unsupported format or operation.

enumerator Failed

The operation failed for unknown reason.

enumerator NotInitialized

The operation cannot be completed because the component is not initialized.

enumerator NullPointer

One or more of the input parameters are NULL but are expected to be valid pointers.

enumerator EOS

End of stream; no more data.

enumerator Alloc

Failed to allocate memory.

enumerator InvalidStream

Invalid bitstream.

enumerator NotImplemented

The operation is not implemented yet.

enumerator InvalidParams

At least one of the input parameters has an invalid value for the specified operation.

Check ErrorInfo::hint() for details.

enumerator InvalidOperation

The operation is not allowed.

Check ErrorInfo::hint() for more details.

enumerator MissingDependency

A required library/dependency is not present.

Check ErrorInfo::hint() for more details.

enumerator StreamOpen

Could not open a user stream (primo::Stream).

enumerator StreamRead

Could not read from a user stream (primo::Stream).

enumerator StreamWrite

Could not write to a user stream (primo::Stream).

enumerator StreamSeek

Could not seek in a user stream (primo::Stream).

enumerator BufferFull

One of the input/output buffers is full and cannot accept more data.

enumerator MissingHardwareIntelQuickSync

Intel QuickSync Video hardware not found.

enumerator MissingHardwareAmdVce

AMD VCE hardware not found.

enumerator MissingHardwareNvidiaNVENC

NVIDIA NVENC hardware not found.

enumerator Decoding

Error while decoding due to unsupported decoding settings.

@verison 3.3

enumerator Encoding

Error while encoding due to unsupported encoding settings.

@verison 3.3