Hi,
I have an AC3 input stream that I want to downmix to stereo using ffmpeg right
after decoding:
int len = avcodec_decode_audio3(aCodecCtx, (int16_t *)audio_buf,
&audio_buf_size, &packet);
Is there a function I can call to do the downmix on the audio buffer? I don't
want to simply filter out 4 channels to get to stereo. I have found plenty
about
resampling, but hardly anything about downmixing.
I have been researching this for hours and cannot find an elegant solution. I
must be missing something. Can you please help?
Thanks, Thomas
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user