Re: [Alsa-user] AC-3 encoder

2002-08-14 Thread Takashi Iwai
At Wed, 14 Aug 2002 19:11:23 +0200, Emmanuel Fleury wrote: > > It seems feasible: > yes, extracting from ac3 to multi-channel wav is not available as default, but can be enabled by applying the patch below. running ffmpeg like this % ffmpeg -ac 6 -ar 48000 -i foo.ac3 foo.wav will resu

Re: [Alsa-user] AC-3 encoder

2002-08-14 Thread Emmanuel Fleury
It seems feasible: We start with: static int AC3_encode_init(AVCodecContext *avctx) And the struct AVCodecContext contain the number of channels: typedef struct AVCodecContext { int bit_rate; int bit_rate_tolerance; /* amount of +- bits (>0)*/ int flags; int sub_id;/* s

Re: [Alsa-user] AC-3 encoder

2002-08-14 Thread Emmanuel Fleury
Andy Lo-A-Foe wrote: > On Wed, Aug 14, 2002 at 06:34:15PM +0200, Emmanuel Fleury wrote: > > >>But, does it support more than mono and stereo (I mean, is the >>5.1 mode effective ?). > > > I have only ever tested it in mono. Not sure 5.1 works. My original > interests were real-time AC3 encodin

Re: [Alsa-user] AC-3 encoder

2002-08-14 Thread Andy Lo-A-Foe
On Wed, Aug 14, 2002 at 06:34:15PM +0200, Emmanuel Fleury wrote: > But, does it support more than mono and stereo (I mean, is the > 5.1 mode effective ?). I have only ever tested it in mono. Not sure 5.1 works. My original interests were real-time AC3 encoding. However, it looks like even a 1.4G

Re: [Alsa-user] AC-3 encoder

2002-08-14 Thread Emmanuel Fleury
Ok, I get the code through the CVS, I'll take a look by myself. Thanks a lot. :-) -- Emmanuel To iterate is human; to recurse, is divine. -- Unknown --- This sf.net email is sponsored by: Dice - The leading online job board for high-tec

Re: [Alsa-user] AC-3 encoder

2002-08-14 Thread Emmanuel Fleury
Hi, Thanks, it seems you're right: AC3 encoder - Generates Fully compliant AC3 bitstreams. - Mono and stereo modes supported. - Handles low bitrates modes. - Use only integer computations (suitable for low end processors). But, does it support more than mono and stereo (I mean,

Re: [Alsa-user] AC-3 encoder

2002-08-14 Thread Takashi Iwai
At Wed, 14 Aug 2002 13:21:50 +0200, Emmanuel Fleury wrote: > > Hi, > > Is there some softwares to encode AC-3 (aka Dolby Digital)? > > And if not, is there some attempt to do it ? > > It seems that there is some patent on it, but there is still > some documentations freely accessible about it

[Alsa-user] AC-3 encoder

2002-08-14 Thread Emmanuel Fleury
Hi, Is there some softwares to encode AC-3 (aka Dolby Digital)? And if not, is there some attempt to do it ? It seems that there is some patent on it, but there is still some documentations freely accessible about it (not very detailled). For example, on http://www.dolby.com/: http://www.dolb