[Libav-user] Audio quality loss while encoding

Paul B Mahol onemda at gmail.com
Wed Apr 24 20:15:49 CEST 2013


On 4/24/13, Brad O'Hearne <brado at bighillsoftware.com> wrote:
> On Apr 24, 2013, at 10:57 AM, Paul B Mahol <onemda at gmail.com> wrote:
>
>> For planar sample format, each channel is in separate array:
>>
>> channel left = data[0]
>> channel right = data[1]
>>
>> If you use more than 8 channels, use extended_data instead.
>> _______________________________________________
>> Libav-user mailing list
>> Libav-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/libav-user
>
>
> Paul -- thx for the reply. Fair enough on the above -- so as a contrast to
> this structure, what does the data array look like for a non-planar format
> with two channels?

Its one big array, only data[0] points to something.

This is asked at least 10 times a day on irc channel.


More information about the Libav-user mailing list