snd_hda multichannel support added

Christian Weisgerber naddy at
Wed Jan 20 01:46:25 UTC 2010

Clemens Ladisch <clemens at> wrote:

> > > On a vaguely related note: Is there anything anywhere in the open
> > > source world that real-time encodes multi-channel audio into AC3
> > > or DTS so that it can be squeezed through an S/PDIF link?
> > 
> > ffmpeg?
> I don't think the tool can be made to work in real time.
> ALSA's a52 plugin uses ffmpeg's libavcodec to convert 6-channel PCM to
> AC-3.

It turns out that new versions of mplayer can do that, too.
The magic to use is "-af lavcac3enc".

I assume this will be available once the mplayer port has been

Christian "naddy" Weisgerber                          naddy at

More information about the freebsd-multimedia mailing list