AVBlocks for C++  1.9
Audio and Video Software Development Kit
primo::avblocks::TranscoderError Namespace Reference

Defines Transcoder specific errors. More...

Enumerations

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

Detailed Description

Defines Transcoder specific errors.

The Transcoder may also return errors like an AVBlocksError, a CodecError and others.


Enumeration Type Documentation

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.

BufferFull 

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

Cannot accept more input through Transcoder::push(). Call Transcoder::pull() to obtain output samples.

InputNeeded 

Cannot return output through Transcoder::pull().

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

 All Classes Namespaces Files Functions Variables Enumerations Enumerator