Gorka Olaizola wrote:
> On Tue, Jan 16, 2007 at 02:54:32PM +0100, Dirk Meyer wrote:
>> 
>> I always wonder if there would be some alsa setting (or something
>> else) that would transform a x channel sound to AC3 on-the-fly.
>>
> It seems that from Alsa 1.0.14-rc1 on there is an a52 plugin that
> encodes AC3 in realtime. It uses libavcodec to do the encoding.
>
> http://farragut.flameeyes.is-a-geek.org/articles/tag/ac3

Thanks. I just downloaded vom wmv test files from
http://www.microsoft.com/windows/windowsmedia/musicandvideo/hdvideo/contentshowcase.aspx

and created an .asoundrc:
pcm.ac3 {
        type a52
        channels 6
        slavepcm "hw:0,0"
}

So far so good, I now run
mplayer -ao alsa:device=ac3 -channels 6 ...
but the sound is a bit strange. One files has the speaker rear left,
one other file does not use the rear speaker at all. Someone an idea
how to make it right?

Next question: if I have less than 6 channels in the media file, can I
still use -channels 6 and the defined pcm device in my .asoundrc? I
tried playing a mp3 file with that settings and it is using the left
and right front speaker as it should be.

It would be nice if Freevo 2.0 (or in this case kaa.popcorn) would
support such stuff.

Dischi

-- 
BREAKFAST.COM halted... cereal port not responding!

Attachment: pgpgtM9FG2NX4.pgp
Description: PGP signature

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to