[FFmpeg-devel] [PATCH] lavd/oss: support for more than 2 channels

Paul B Mahol onemda at gmail.com
Fri Jul 20 19:00:33 CEST 2012

On 7/20/12, Nicolas George <nicolas.george at normalesup.org> wrote:
> Le tridi 3 thermidor, an CCXX, Paul B Mahol a ecrit :
>> Really? Channel ordering have nothing to do with this patch, without this
> Any patch that deals with more than 2 channels has to do with channel
> layouts and ordering. Or you end up with files that have the back left
> channel where the front center should be.
>> patch more than 2 channels data is not played correctly at all.
>> (So better something than nothing).
> Actually, it is quite reasonable to consider it worse to produce invalid
> results than to produce no results at all. Especially if the invalidity is
> subtle and can easily go unnoticed.

Currently ffmpeg does not play 5.1 using oss outdev correctly, I get only noise
(even if I give -channels 2 argument, yet another bug to fix).
With my patch I get actual sound. If you want to fix ordering (for which i have
no interest nor way to test) go ahead.

More information about the ffmpeg-devel mailing list