1The following table lists most error codes found in various operating
2systems supported by FFmpeg.
3
4                             OS
5Code             Std    F  LBMWwb Text (YMMV)
6
7E2BIG            POSIX     ++++++  Argument list too long
8EACCES           POSIX     ++++++  Permission denied
9EADDRINUSE       POSIX     +++..+  Address in use
10EADDRNOTAVAIL    POSIX     +++..+  Cannot assign requested address
11EADV                       +.....  Advertise error
12EAFNOSUPPORT     POSIX     +++..+  Address family not supported
13EAGAIN           POSIX  +  ++++++  Resource temporarily unavailable
14EALREADY         POSIX     +++..+  Operation already in progress
15EAUTH                      .++...  Authentication error
16EBADARCH                   ..+...  Bad CPU type in executable
17EBADE                      +.....  Invalid exchange
18EBADEXEC                   ..+...  Bad executable
19EBADF            POSIX     ++++++  Bad file descriptor
20EBADFD                     +.....  File descriptor in bad state
21EBADMACHO                  ..+...  Malformed Macho file
22EBADMSG          POSIX     ++4...  Bad message
23EBADR                      +.....  Invalid request descriptor
24EBADRPC                    .++...  RPC struct is bad
25EBADRQC                    +.....  Invalid request code
26EBADSLT                    +.....  Invalid slot
27EBFONT                     +.....  Bad font file format
28EBUSY            POSIX  -  ++++++  Device or resource busy
29ECANCELED        POSIX     +++...  Operation canceled
30ECHILD           POSIX     ++++++  No child processes
31ECHRNG                     +.....  Channel number out of range
32ECOMM                      +.....  Communication error on send
33ECONNABORTED     POSIX     +++..+  Software caused connection abort
34ECONNREFUSED     POSIX  -  +++ss+  Connection refused
35ECONNRESET       POSIX     +++..+  Connection reset
36EDEADLK          POSIX     ++++++  Resource deadlock avoided
37EDEADLOCK                  +..++.  File locking deadlock error
38EDESTADDRREQ     POSIX     +++...  Destination address required
39EDEVERR                    ..+...  Device error
40EDOM             C89    -  ++++++  Numerical argument out of domain
41EDOOFUS                    .F....  Programming error
42EDOTDOT                    +.....  RFS specific error
43EDQUOT           POSIX     +++...  Disc quota exceeded
44EEXIST           POSIX     ++++++  File exists
45EFAULT           POSIX  -  ++++++  Bad address
46EFBIG            POSIX  -  ++++++  File too large
47EFTYPE                     .++...  Inappropriate file type or format
48EHOSTDOWN                  +++...  Host is down
49EHOSTUNREACH     POSIX     +++..+  No route to host
50EHWPOISON                  +.....  Memory page has hardware error
51EIDRM            POSIX     +++...  Identifier removed
52EILSEQ           C99       ++++++  Illegal byte sequence
53EINPROGRESS      POSIX  -  +++ss+  Operation in progress
54EINTR            POSIX  -  ++++++  Interrupted system call
55EINVAL           POSIX  +  ++++++  Invalid argument
56EIO              POSIX  +  ++++++  I/O error
57EISCONN          POSIX     +++..+  Socket is already connected
58EISDIR           POSIX     ++++++  Is a directory
59EISNAM                     +.....  Is a named type file
60EKEYEXPIRED                +.....  Key has expired
61EKEYREJECTED               +.....  Key was rejected by service
62EKEYREVOKED                +.....  Key has been revoked
63EL2HLT                     +.....  Level 2 halted
64EL2NSYNC                   +.....  Level 2 not synchronized
65EL3HLT                     +.....  Level 3 halted
66EL3RST                     +.....  Level 3 reset
67ELIBACC                    +.....  Can not access a needed shared library
68ELIBBAD                    +.....  Accessing a corrupted shared library
69ELIBEXEC                   +.....  Cannot exec a shared library directly
70ELIBMAX                    +.....  Too many shared libraries
71ELIBSCN                    +.....  .lib section in a.out corrupted
72ELNRNG                     +.....  Link number out of range
73ELOOP            POSIX     +++..+  Too many levels of symbolic links
74EMEDIUMTYPE                +.....  Wrong medium type
75EMFILE           POSIX     ++++++  Too many open files
76EMLINK           POSIX     ++++++  Too many links
77EMSGSIZE         POSIX     +++..+  Message too long
78EMULTIHOP        POSIX     ++4...  Multihop attempted
79ENAMETOOLONG     POSIX  -  ++++++  Filen ame too long
80ENAVAIL                    +.....  No XENIX semaphores available
81ENEEDAUTH                  .++...  Need authenticator
82ENETDOWN         POSIX     +++..+  Network is down
83ENETRESET        SUSv3     +++..+  Network dropped connection on reset
84ENETUNREACH      POSIX     +++..+  Network unreachable
85ENFILE           POSIX     ++++++  Too many open files in system
86ENOANO                     +.....  No anode
87ENOATTR                    .++...  Attribute not found
88ENOBUFS          POSIX  -  +++..+  No buffer space available
89ENOCSI                     +.....  No CSI structure available
90ENODATA          XSR       +N4...  No message available
91ENODEV           POSIX  -  ++++++  No such device
92ENOENT           POSIX  -  ++++++  No such file or directory
93ENOEXEC          POSIX     ++++++  Exec format error
94ENOFILE                    ...++.  No such file or directory
95ENOKEY                     +.....  Required key not available
96ENOLCK           POSIX     ++++++  No locks available
97ENOLINK          POSIX     ++4...  Link has been severed
98ENOMEDIUM                  +.....  No medium found
99ENOMEM           POSIX     ++++++  Not enough space
100ENOMSG           POSIX     +++..+  No message of desired type
101ENONET                     +.....  Machine is not on the network
102ENOPKG                     +.....  Package not installed
103ENOPROTOOPT      POSIX     +++..+  Protocol not available
104ENOSPC           POSIX     ++++++  No space left on device
105ENOSR            XSR       +N4...  No STREAM resources
106ENOSTR           XSR       +N4...  Not a STREAM
107ENOSYS           POSIX  +  ++++++  Function not implemented
108ENOTBLK                    +++...  Block device required
109ENOTCONN         POSIX     +++..+  Socket is not connected
110ENOTDIR          POSIX     ++++++  Not a directory
111ENOTEMPTY        POSIX     ++++++  Directory not empty
112ENOTNAM                    +.....  Not a XENIX named type file
113ENOTRECOVERABLE  SUSv4  -  +.....  State not recoverable
114ENOTSOCK         POSIX     +++..+  Socket operation on non-socket
115ENOTSUP          POSIX     +++...  Operation not supported
116ENOTTY           POSIX     ++++++  Inappropriate I/O control operation
117ENOTUNIQ                   +.....  Name not unique on network
118ENXIO            POSIX     ++++++  No such device or address
119EOPNOTSUPP       POSIX     +++..+  Operation not supported (on socket)
120EOVERFLOW        POSIX     +++..+  Value too large to be stored in data type
121EOWNERDEAD       SUSv4     +.....  Owner died
122EPERM            POSIX  -  ++++++  Operation not permitted
123EPFNOSUPPORT               +++..+  Protocol family not supported
124EPIPE            POSIX  -  ++++++  Broken pipe
125EPROCLIM                   .++...  Too many processes
126EPROCUNAVAIL               .++...  Bad procedure for program
127EPROGMISMATCH              .++...  Program version wrong
128EPROGUNAVAIL               .++...  RPC prog. not avail
129EPROTO           POSIX     ++4...  Protocol error
130EPROTONOSUPPORT  POSIX  -  +++ss+  Protocol not supported
131EPROTOTYPE       POSIX     +++..+  Protocol wrong type for socket
132EPWROFF                    ..+...  Device power is off
133ERANGE           C89    -  ++++++  Result too large
134EREMCHG                    +.....  Remote address changed
135EREMOTE                    +++...  Object is remote
136EREMOTEIO                  +.....  Remote I/O error
137ERESTART                   +.....  Interrupted system call should be restarted
138ERFKILL                    +.....  Operation not possible due to RF-kill
139EROFS            POSIX     ++++++  Read-only file system
140ERPCMISMATCH               .++...  RPC version wrong
141ESHLIBVERS                 ..+...  Shared library version mismatch
142ESHUTDOWN                  +++..+  Cannot send after socket shutdown
143ESOCKTNOSUPPORT            +++...  Socket type not supported
144ESPIPE           POSIX     ++++++  Illegal seek
145ESRCH            POSIX     ++++++  No such process
146ESRMNT                     +.....  Srmount error
147ESTALE           POSIX     +++..+  Stale NFS file handle
148ESTRPIPE                   +.....  Streams pipe error
149ETIME            XSR       +N4...  Stream ioctl timeout
150ETIMEDOUT        POSIX  -  +++ss+  Connection timed out
151ETOOMANYREFS               +++...  Too many references: cannot splice
152ETXTBSY          POSIX     +++...  Text file busy
153EUCLEAN                    +.....  Structure needs cleaning
154EUNATCH                    +.....  Protocol driver not attached
155EUSERS                     +++...  Too many users
156EWOULDBLOCK      POSIX     +++..+  Operation would block
157EXDEV            POSIX     ++++++  Cross-device link
158EXFULL                     +.....  Exchange full
159
160Notations:
161
162F: used in FFmpeg (-: a few times, +: a lot)
163
164SUSv3: Single Unix Specification, version 3
165SUSv4: Single Unix Specification, version 4
166XSR: XSI STREAMS (obsolete)
167
168OS: availability on some supported operating systems
169L: GNU/Linux
170B: BSD (F: FreeBSD, N: NetBSD)
171M: MacOS X
172W: Microsoft Windows (s: emulated with winsock, see libavformat/network.h)
173w: Mingw32 (3.17) and Mingw64 (2.0.1)
174b: BeOS
175