[Libav-user] Converting audio sample buffer format

Nicolas George nicolas.george at normalesup.org
Wed Feb 27 00:16:25 CET 2013


L'octidi 8 ventôse, an CCXXI, Brad O'Hearne a écrit :
> Nicolas - thanks for the reply. This makes sense (more or less) to me for
> a planar format -- if I'm understanding you correctly, such a structure
> would look something like:
> 
> uint8_t **data
> data[0]-> channel 1 buffer
> data[1]-> channel 2 buffer

Yes.

> If this is right, then what does an interleaved format look like, is it like this:
> 
> uint8_t **data
> data[0]-> buffer containing interleaved channel 1 and channel 2 data
> 
> Is that correct?

Yes.

Regards,

-- 
  Nicolas George
-------------- 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/libav-user/attachments/20130227/bb7d7a69/attachment.asc>


More information about the Libav-user mailing list