[FFmpeg-devel] [RFC] lavfi: audio data packing

Mina Nagy Zaki mnzaki at gmail.com
Tue Jul 5 16:07:37 CEST 2011

Hello lists,
I need opinions on whether the lavfi framework should negotiate audio data
packing between filters or should it just assume all filters will support
handling both packed and planar data.

In other words, should we allow filters to just declare that they only support
handling planar data (or packed data) and have the framework automatically
convert incoming data to that filter? 

AISI this can cause a lot of inefficiency as it may lead to loads of unnecessary
conversions. It will probably lead to filter writers just supporting the easier
option and letting the framework convert for them, when in most cases it is
probably not too difficult to support both.

Also, what does ffmpeg/libav do about this internally? In what format is audio
data passed around?

Comments appreciated! Thanks!

Mina Nagy

More information about the ffmpeg-devel mailing list