All Products
Search
Document Center

ApsaraVideo VOD:Error codes

Last Updated:Apr 08, 2022

This topic describes the error codes of the short video SDK, which are categorized by feature.

General

Error code

Description

0

Indicates success.

-1

Indicates failure.

-2

Indicates a parameter error.

-3

Indicates an unknown error.

-4

Indicates a status error.

Video muxer

Error code

Description

-10001001

Indicates that the remuxing context failed to be created.

-10001002

Indicates that the audio remuxing context failed to be created.

-10001003

Indicates that the remuxing stream failed to be created.

-10001004

Indicates that the video remuxing context failed to be created.

-10001005

Indicates that the remuxing data package failed to be created.

-10001006

Indicates that an exception occurred when you configured the parameters of the audio and video streams.

-10001007

Indicates that a remuxing status error occurred.

-10001008

Indicates that the remuxing file header failed to be written.

-10001009

Indicates that the remuxing file trailer failed to be written.

-10001010

Indicates that one or more parameters that you specified are invalid. For example, you specified an empty value for the input path, output path, audio sample rate, number of audio channels, or resolution.

-10001011

Indicates that the specified encoder type for remuxing could not be found.

-10001012

Indicates that the remuxing stream failed to be created.

-10001013

Indicates that the remuxing context failed to be created.

-10001014

Indicates that the remuxing I/O context failed to be created.

Video demuxer

Error code

Description

-10002001

Indicates that the file failed to be parsed.

-10002002

Indicates that the file is being parsed repeatedly.

-10002003

Indicates that the file failed to be opened.

-10002004

Indicates that the file stream was not found.

-10002005

Indicates that an error occurred when the file parsing was complete.

Video encoder

Error code

Description

-10003001

Indicates that the video encoder failed to be created because the parameters are invalid.

-10003002

Indicates that the video encoder failed to be created because it does not meet the requirements of the encoding scenario.

-10003003

Indicates that the video encoding component does not work properly because no output data receiver is configured for the component.

-10003004

Indicates that the video encoder was interrupted because an error was reported during running.

-10003005

Indicates that the video hardware encoder failed to be created due to an incorrect system version.

-10003006

Indicates that the video encoder failed to start.

-10003007

Indicates that the input data of the video frame is invalid.

-10003008

Indicates that the internal cache of the video encoder is full. Wait for a few seconds and try again.

-10003009

Indicates that an error occurred in the session for iOS video hardware encoding.

-10003010

Indicates that the PTS of the input data does not meet the encoding requirements.

-10003011

Indicates that the video encoder is paused and awaits wake-up.

-10003012

Indicates that the video encoder is paused and awaits wake-up.

-10003013

Indicates that the video encoder returned empty data and the encoding failed.

-10003101

Indicates that OpenH264 initialization failed.

-10003102

Indicates that the input data for OpenH264 is invalid.

-10003103

Indicates that the OpenH264 encoder failed to be initialized.

-10003104

Indicates that the format is not supported for OpenH264.

-10003105

Indicates that OpenH264 encoding failed.

-10003106

Indicates that OpenH264 encoding generates no output.

-10003107

Indicates that SPS parsing failed during OpenH264 encoding.

-10003201

Indicates a MediaCodec status error.

-10003202

Indicates a MediaCodec buffer error.

-10003203

Indicates a MediaCodec error of other types.

-10003204

Indicates that the input is NULL during encoding on Android.

-10003205

Indicates that the output handler is NULL during encoding on Android.

-10003206

Indicates that the feat is not supported for encoding on Android.

-10003207

Indicates that the format is not supported for encoding on Android.

-10003208

Indicates that initialization failed during encoding on Android.

-10003209

Indicates that the output frame failed to be obtained during encoding on Android.

-10003210

Indicates that the bitrate failed to be updated during encoding on Android because the bitrate is out of range.

-10003211

Indicates that the bitrate failed to be updated during encoding on Android because the encoder is released.

-10003212

Indicates that the bitrate failed to be updated during encoding on Android due to other reasons.

-10003213

Indicates that the bitrate failed to be updated during encoding on Android because the width of the video exceeds 4,096 pixels.

-10003301

Indicates that the creation failed when you use FFmpeg.

-10003302

Indicates that FFmpeg could not find the encoder.

-10003303

Indicates that FFmpeg encoding failed.

-10003304

Indicates that FFmpeg encoding failed.

-10003401

Indicates that initialization failed during mixed encoding.

-10003402

Indicates that hardware encoding initialization failed during mixed encoding.

-10003403

Indicates that decoding failed to start during mixed encoding.

-10003404

Indicates that software encoding initialization failed during mixed encoding.

-10003405

Indicates that the software encoding service failed to start during mixed encoding.

Video decoder

Error code

Description

-10004001

Indicates that no SPS data exists.

-10004002

Indicates that the H.264 decoding task failed to be created.

-10004003

Indicates that the HEVC decoding task failed to be created.

-10004004

Indicates that the decoding task failed.

-10004005

Indicates a decoding status error.

-10004006

Indicates that the decoding task failed.

-10004007

Indicates insufficient cache for decoding.

-10004008

Indicates that decoding was interrupted.

-10004009

Indicates that the SPS data failed to be decoded.

-10004010

Indicates that the resources failed to be decoded.

-10004011

Indicates that decoding failed.

-10004101

Indicates that the OES output format is not supported for software decoding.

-10004102

Indicates that the corresponding decoder for the codec could not be found during software decoding.

-10004103

Indicates that the context could not be found during software decoding.

-10004104

Indicates that the context failed to be created during software decoding.

-10004105

Indicates that the software decoder failed to be opened.

-10004106

Indicates that one frame failed during software decoding.

-10004107

Indicates an unknown output format during software decoding.

-10004108

Indicates an unknown type of input frame during software decoding.

-10004109

Indicates that flushing failed during software decoding.

-10004201

Indicates that the object is not supported for hardware decoding on Android because the object is in the blacklist.

-10004202

Indicates that the encoding type is not supported for hardware decoding on Android.

-10004203

Indicates that SurfaceTexture failed to be created during hardware decoding on Android.

-10004204

Indicates that MediaCodec initialization failed during hardware decoding on Android.

-10004205

Indicates that the configure operation of MediaCodec failed during hardware decoding on Android.

-10004206

Indicates an unknown type of input frame during hardware decoding on Android.

-10004207

Indicates that the queueInput method of MediaCodec failed during hardware decoding on Android.

-10004208

Indicates that the start method of MediaCodec failed during hardware decoding on Android.

-10004209

Indicates that the dequeueInput method of MediaCodec failed during hardware decoding on Android.

-10004210

Indicates that the dequeueInput method of MediaCodec failed during hardware decoding on Android.

-10004211

Indicates that the dequeueOut method of MediaCodec failed during hardware decoding on Android.

-10004212

Indicates that the queueIn method of MediaCodec failed during hardware decoding on Android.

-10004213

Indicates that the queueIn method of MediaCodec failed during hardware decoding on Android.

-10004214

Indicates that the queueIn method of MediaCodec failed during hardware decoding on Android.

-10004215

Indicates that the flush method of MediaCodec failed during hardware decoding on Android.

-10004216

Indicates that the flush method timed out during hardware decoding on Android.

-10004217

Indicates that the flush method was interrupted during hardware decoding on Android.

-10004302

Indicates that a too low version causes HEVC failures during hardware decoding on iOS.

-10004303

Indicates that the hardware is not supported for hardware decoding on iOS.

-10004304

Indicates that hardware decoding on iOS does not support the decoding type.

-10004305

Indicates an incorrect input frame during hardware decoding on iOS.

-10004306

Indicates that the input frame failed to be parsed during hardware decoding on iOS.

-10004308

Indicates a compilation platform error during hardware decoding on iOS.

-10004309

Indicates the createSession method failed during hardware decoding on iOS.

-10004310

Indicates the createBuffer method failed during hardware decoding on iOS.

-10004311

Indicates the createSampleBuffer method failed during hardware decoding on iOS.

-10004312

Indicates that the kVTInvalidSessionErr error occurred during hardware decoding on iOS.

-10004313

Indicates that hardware decoding on iOS failed.

-10004314

Indicates that a decoding callback error occurred during hardware decoding on iOS.

-10004315

Indicates that the format failed to be created during hardware decoding on iOS.

-10004316

Indicates that no video format is available during hardware decoding on iOS.

Audio encoder

Error code

Description

-10005001

Indicates that the audio encoder failed to be created because the parameters are invalid.

-10005002

Indicates the status of the audio encoding component is invalid.

-10005003

Indicates that the audio frame input data is invalid.

-10005004

Indicates that the audio encoder was interrupted and could not continue to work.

-10005005

Indicates that the audio encoding component does not work properly because no output data receiver is configured for the component.

-10005006

Indicates that no encoder that meets the requirements of the encoding scenario is available.

-10005007

Indicates that the open method failed.

-10005008

Indicates that the set bitrate method failed.

-10005009

Indicates that the set sample rate method failed.

-10005010

Indicates that the set aot method failed.

-10005011

Indicates that the set transmux method failed.

-10005012

Indicates that the set singlemode method failed.

-10005013

Indicates that the set channel method failed.

-10005014

Indicates that the set channelloader method failed.

-10005015

Indicates that the set afterburner method failed.

-10005016

Indicates that the get info method failed.

-10005017

Indicates that no encoder exists.

-10005018

Indicates that the input configuration for audio initialization is invalid.

-10005019

Indicates repeated initialization.

-10005020

Indicates that the encoder failed to be created.

-10005021

Indicates that no encoder that meets the requirements of the encoding scenario is available.

-10005022

Indicates that no encoder instance exists.

Audio decoder

Error code

Description

-10006001

Indicates that the audio decoder failed to be created because the parameters are invalid.

-10006002

Indicates that the status of the audio decoding component is invalid and repeated creation or destruction occurs.

-10006003

Indicates that the input audio packet data is invalid.

-10006004

Indicates that the internal cache of the audio decoder is full. Wait for a few seconds and try again.

-10006005

Indicates that the audio decoder failed to be opened.

-10006006

Indicates that the audio decoding type is not supported.

-10006007

Indicates that one frame failed during decoding with the audio decoder.

-10006008

Indicates that the audio decoder cannot be created due to insufficient memory.

-10006009

Indicates that the decoder already exists.

-10006010

Indicates that the audio decoder failed to be created because the parameters are invalid.

-10006011

Indicates that the decoder already exists.

-10006012

Indicates that the decoder already exists.

-10006013

Indicates that the decoder failed to be created.

-10006014

Indicates that the input data for the decoder is incorrect.

-10006015

Indicates that the cookie data failed to be configured for the decoder.

Rendering

Error code

Description

-10007001

Indicates that the first frame has been rendered.

-10007002

Indicates an EGL error.

-10007003

Indicates a GL error.

-10007004

Indicates that the data that you want to render is invalid.

-10007006

Indicates that the size of the render window is invalid.

-10007007

Indicates an orchestration exception occurred on the render node.

-10007008

Indicates that an exception occurred when the parameters were configured for the render node.

-10007009

Indicates a render orchestration and build exception.

-10007010

Indicates that an exception occurred when the parameters of the frame animation were passed.

-10007011

Indicates that the GL context failed to be created.

-10007013

Indicates that eglSwapBuffers failed.

Data pool

Error code

Description

-10008001

Indicates that the status of the data pool is invalid.

-10008002

Indicates that data pool processing failed.

-10008003

Indicates insufficient disk space.

-10008004

Indicates that an error occurred when the group of pictures (GOP) of videos in the data pool was parsed.

-10008005

Indicates that initialization of audio streams in the data pool failed.

-10008006

Indicates that initialization of video streams in the data pool failed.

-10008007

Indicates that a buffer overflow occurred in the data pool.

-10008008

Indicates that the media stream does not exist in the data pool.

Audio processing

Error code

Description

-10009001

Indicates a creation failure.

-10009002

Indicates repeated creation.

-10009003

Indicates a destruction failure.

-10009004

Indicates repeated destruction.

-10009005

Indicates that the stream failed to be configured.

-10009006

Indicates that the attribute failed to be configured.

-10009007

Indicates that the algorithm module failed.

-10009008

Indicates that the memory is full.

-10009009

Indicates that the application failed to be configured.

-10009010

Indicates a dragging failure.

-10009011

Indicates an unknown configuration.

-10009012

Indicates that empty data was pushed.

-10010001

Indicates that the kernel failed to be created.

-10010002

Indicates repeated audio rendering.

-10010003

Indicates that the volume failed to be muted.

License

Error code

Description

-10011001

Indicates that the license is invalid because the license has expired or you are not authorized to use the license.

-10011002

Indicates that a license verification exception occurred because the MV permission is not granted.

-10011003

Indicates that a license verification exception occurred because the animation or subtitle permission is not granted.

-10011004

Indicates that a license verification exception occurred because the cropping permission is not granted.

-20001001

Indicates that the license is invalid.

Short videos

Error code

Description

-20001002

Indicates that you have not paid for the effect.

-20001003

Indicates that the effect resources do not exist.

-20001004

Indicates that the effect cannot overwrite existing effects.

-20001005

Indicates that the effect failed to be used.

-20001006

Indicates Android device permissions are not granted, such as audio collection, file read/write, camera use, and network access.

-20001007

Indicates that the parameters for background music that you specified, such as the path of the background music and time parameters, are invalid.

-20001008

Indicates that the format of the background music that you specified is not supported.

TRES

Error code

Description

-20002001

Indicates that the player was not ready.

-20002002

Indicates that an exception occurred during multiple calls.

-20002003

Indicates that an error occurred on the input audio stream.

-20002004

Indicates a video rendering exception.

-20002005

Indicates repeated added effect.

-20002006

Indicates an invalid status.

Parameters

Error code

Description

-20003001

Indicates a parameter exception.

-20003002

Indicates an invalid parameter.

-20003003

Indicates that the input path is empty.

-20003004

Indicates that the input video path is empty.

-20003005

Indicates that the file does not exist.

-20003006

Indicates that the clip index is invalid because the maximum number of clips in the list is exceeded or the index is incorrect.

-20003007

Indicates that the clip is invalid because the clip is NULL.

-20003008

Indicates that no clip exists in the list and you cannot perform operations.

-20003009

Indicates that the size specified for the video is invalid.

-20003010

Indicates that an exception occurred when you specified the duration of the video or audio.

-20003011

Indicates an animation path exception.

-20003012

Indicates a resource parsing exception.

-20003013

Indicates an image path exception.

-20003014

Indicates a filter path exception.

-20003015

Indicates invalid PictureSize.

-20003016

Indicates that the watermark object is empty.

-20003017

Indicates invalid doodles.

-20003018

Indicates that the periods of time to which the effects apply conflict, for example, the periods of time of two animated filters overlap.

-20003019

Indicates that the project is empty.

-20003020

Indicates that the media file failed to be added.

-20003021

Indicates that the output path is invalid.

-20003022

Indicates an MV path exception.

Media

Error code

Description

-20004001

Indicates that the video format is not supported.

-20004002

Indicates that the audio format is not supported.

-20004003

Indicates that the image format is not supported.

-20004004

Indicates that the media type is not supported.

-20004005

Indicates an internal error in the video encoder.

-20004006

Indicates an internal error in the audio encoder.

-20004007

Indicates that the image failed to be cropped.

-20004008

Indicates an internal error in the video decoder.

-20004009

Indicates a parameter error in the video encoder.

-20004010

Indicates a parameter error in the audio encoder.

-20004011

Indicates an internal error in the audio decoder.

-20004012

Indicates that the pixel format is not supported.

-20004013

Indicates an internal error in the player.

-20004014

Indicates that the pixel format is not supported.

-20004015

Indicates that the encoding component failed to be initialized.

-20004016

Indicates that the input file failed to be parsed.

-20004017

Indicates that the video queue is empty.

-20004018

Indicates that the audio queue is empty.

-20004019

Indicates that up to two input channels are supported for audio processing and the maximum number is exceeded.

-20004020

Indicates that audio processing initialization failed.

-20004021

Indicates that the MV configuration file failed to be parsed.

I/O

Error code

Description

-20005001

Indicates that preview failed to be enabled.

-20005002

Indicates that the camera failed to be turned on.

-20005003

Indicates that camera switching failed.

-20005004

Indicates that the temporary recording file failed to be created.

-20005005

Indicates that audio recording failed.

-20005006

Indicates that the camera parameters you specified are invalid.

-20005007

Indicates that the camera was not turned on.

-20005008

Indicates that the camera type is not supported.

Video recording

Error code

Description

-20008001

Indicates that the video input handle is set to NULL.

-20008002

Indicates that the video input handle is set to NULL.

-20008003

Indicates that the audio input handle is set to NULL.

-20008004

Indicates that recording failed to end.

-20008005

Indicates that recording failed to stop.

-20008006

Indicates the recording encoder failed to be initialized.

-20008007

Indicates that recording was not ready.

-20008008

Indicates that the recording reached the maximum duration.

-20008009

Indicates that the recording service failed to be created.

-20008010

Indicates that the recording proxy failed to be created.

-20008011

Indicates that the status of the recording service is invalid.

-20008012

Indicates that the data collected from recording is not supported.

-20008013

Indicates that the information about the SurfaceTexture class could not be found.

-20009001

Indicates that the rendering layout for duet recording failed.

Video editing

Error code

Description

-20011001

Indicates a system error, such as codec error, in the editing module.

-20011002

Indicates that an error occurred when you prepared for editing.

-20011003

Indicates that an error occurred when you started editing, for example, when you started to play or produce a video.

-20011004

Indicates that an error occurred when you stopped editing, for example, when you stopped playing or producing a video.

-20011005

Indicates that an error occurred when you paused editing, for example, when you paused video playback or production.

-20011006

Indicates that an error occurred when you continued editing, for example, when you continued to play or produce a video.

-20011007

Indicates that an error occurred when you fast-forwarded a video during editing.

-20011008

Indicates that the multi-clip video does not support time effects during editing, including looping and reverse playback.

-20011009

Indicates that editing initialization failed.

-20011010

Indicates that the component of a mode failed before de-initialization when you switched mode during editing.

-20011011

Indicates that the corresponding display output settings were not found when you set the mode during editing.

-20011012

Indicates that the interval between fast-forwards is too short.

-20011013

Indicates that the display parameters failed to be configured during editing.

-20011014

Indicates that the corresponding file could not be found during editing.

-20011015

Indicates that the effect resources failed to be parsed.

-20011016

Indicates that the type of the image effect is not supported.

-20011017

Indicates that the demuxer failed to parse the file.

-20011018

Indicates a production status error.

-20011019

Indicates an editing status error.

-20011020

Indicates that the production is invalid because the required parameters are empty.

-20011021

Indicates that production initialization failed.

-20011022

Indicates an invalid transition duration.

-20011023

Indicates that the components which are required for production are empty, usually because they are in an incorrect status.

-20011024

Indicates that editing initialization has not been performed.

Video upload

Error code

Description

-20012001

Indicates an upload failure.

-20012002

Indicates that the upload parameters are empty.

-20012003

Indicates that the upload status is incorrect.

Others

Error code

Description

-20006001

Indicates that recording failed because of an incoming call.

-20006002

Indicates that an error occurred when the application was switched to the background.

-20007001

Indicates that the internal logic of the thumbnail is incorrect.

-20007002

Indicates that initialization of thumbnail color space conversion failed.

-20007003

Indicates that the thumbnail color space conversion failed.

-20007004

Indicates an internal error in the thumbnail decoder.

-20007005

Indicates a thumbnail stream parsing error.

-20007007

Indicates that thumbnail preparation failed.

-20010001

Indicates that the transcoding status is incorrect.

-20010002

Indicates that the transcoding parameters are incorrect.

-20010003

Indicates that an error occurred when the application was switched to the background during transcoding.

-20010004

Indicates that the parameters for transcoding initialization are invalid.