[FFmpeg-devel] Add audio support to lavfi/framepool

Matthieu Bouron matthieu.bouron at gmail.com
Thu Jan 5 13:11:31 EET 2017

Patchset updated and rebased on master with the following minor changes:
  * add av_assert0 in ff_frame_pool_get_{audio,video}_config
  * FFFramePool.type declared as enum AVMediaType instead of int

I was not able to reproduce the issue Michael had with the following command line:
ffmpeg -f lavfi -i testsrc -vcodec libxvid -vframes 2  out.mov

The end goal of having lavfi/framepool support audio, despite the really minor
performance gain, is to provide a framepool API that could be shared between
lavc/utils.c and libavfilter with a few code interations over the FFFramePool

Please comment,

More information about the ffmpeg-devel mailing list