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

Matthieu Bouron matthieu.bouron at gmail.com
Wed Jan 11 19:03:33 EET 2017


On Thu, Jan 05, 2017 at 12:11:31PM +0100, Matthieu Bouron wrote:
> 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
> code.
> 
> Please comment,
> Matthieu
> 

I'll push the patchset in a few hours if there is no objection.

Matthieu


More information about the ffmpeg-devel mailing list