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

Michael Niedermayer michaelni at gmx.at
Wed Jul 6 02:09:20 CEST 2011


On Tue, Jul 05, 2011 at 05:07:37PM +0300, Mina Nagy Zaki wrote:
> 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!

if you consider decoders & encoders & audio out apis to be part of
the filter graph then there certainly are ones that support planar
and not packed and some that support packed and not planar and that
wont chnage

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

There seems to be only one solution to NIH syndrom, ... a shooting squad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110706/56f335e7/attachment.asc>


More information about the ffmpeg-devel mailing list