[FFmpeg-devel] [PATCH 01/10] lavfi: add avfilter_get_audio_buffer_ref_from_arrays_channels.
derek.buitenhuis at gmail.com
Tue Jan 1 02:03:16 CET 2013
On 31/12/2012 7:47 PM, Nicolas George wrote:
> Sorry, I thought that part was rhetoric:
> * For planar audio, each channel has a separate data pointer, and
> * linesize contains the size of each channel buffer.
> * For packed audio, there is just one data pointer, and linesize
> * contains the total size of the buffer for all channels.
> I am about to push the patch with Stefano's comments.
So what it really is, is the size of one audio channel's buffer ("planes", which
is also a hideous abuse of the word.).
FWIW I think audio "planes" and "linesize" are abominations which have sprung
up from reusing AVFrame for audio, using video-specific fields. I have no idea
how anyone outside of FFmpeg/Libav could understand this...
Is the above at least documented somewhere public?
More information about the ffmpeg-devel