AVBlocks for C++  3.0
Audio and Video Software Development Kit
Loading...
Searching...
No Matches
primo::avblocks::TranscoderError Namespace Reference

Defines Transcoder specific errors. More...

Enumerations

enum  Enum {
  NoChain = 1 ,
  UndefinedSocketType = 2 ,
  UnsupportedInterlacedConversion = 3 ,
  NoCodec = 4 ,
  UnsupportedVideoConversion = 5 ,
  InputFull = 6 ,
  BufferFull = InputFull ,
  InputNeeded = 7
}
 TranscoderError::Enum. More...
 

Detailed Description

Defines Transcoder specific errors.

The Transcoder may also return a CodecError or a system error.

Enumeration Type Documentation

◆ Enum

enum Enum

TranscoderError::Enum.

Enumerator
NoChain 

The transcoder could not build a processing chain based on its inputs and outputs.

Either the transcoder inputs and outputs are not configured properly or they are not compatible with each other.

This error is returned by Transcoder::open()

UndefinedSocketType 

The stream type of a MediaSocket is not defined.

When a media socket describes a file, the stream type is deduced from the file extension. When a media socket describes a stream the stream type must be set explicitly. See StreamType::Enum.

This error is returned by Transcoder::open()

UnsupportedInterlacedConversion 

It is not possible to convert from progressive to interlaced video.

Also it is not possible to switch interlace type from top-first to bottom-first or vice versa.

This error is returned by Transcoder::open()

NoCodec 

A required encoder or decoder is not available.

UnsupportedVideoConversion 

It is not possible to convert from one uncompressed video format to another.

See ColorFormat::Enum.

InputFull 

Cannot accept more input through Transcoder::push().

Call Transcoder::pull() to obtain output samples.

BufferFull 
Deprecated:
Replaced by primo::avblocks::TranscoderError::InputFull
InputNeeded 

Cannot return output through Transcoder::pull().

Call Transcoder::push() to provide input samples.