This has been often discussed, and everyone agreed it was a good idea. Here are patches which add such an API, but without making proper use of it yet.
wm4 (6): lavu: improve documentation of some AVFrame functions lavc: factor apply_param_change() AV_EF_EXPLODE handling lavc: introduce a new decoding/encoding API with decoupled input/output ffmpeg: remove sub-frame warning ffmpeg: use new decode API ffmpeg: use new encode API ffmpeg.c | 122 +++++++++++++-------- ffmpeg.h | 1 - libavcodec/avcodec.h | 223 +++++++++++++++++++++++++++++++++++++ libavcodec/internal.h | 12 ++ libavcodec/utils.c | 297 +++++++++++++++++++++++++++++++++++++++++++++++--- libavutil/frame.h | 12 ++ 6 files changed, 606 insertions(+), 61 deletions(-) -- 2.7.0 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel