[FFmpeg-devel] More specific error codes

Andrey Utkin andrey.krieger.utkin at gmail.com
Wed Sep 17 21:56:27 CEST 2014


I have got many complaints about FFmpeg error codes being too
abstract. Not helpful for quick resolution, in a lot of such cases
real issue with application must be investigated manually (by
reviewing log with debug loglevel and/or sniffing traffic).
E.g., "Invalid data" may mean almost everything, including 404 Not
Found by RTSP.
I propose to introduce more specific error codes, like
- "resource not found",
- "auth failed"
and so on.
Please let me know what you think about this.

For now, is there a reference table for possible reasons of currently
used error codes?

-- 
Andrey Utkin


More information about the ffmpeg-devel mailing list