On Fri, Aug 8, 2014 at 2:31 AM, Michael Niedermayer <michae...@gmx.at> wrote: > On Thu, Aug 07, 2014 at 04:52:43PM +0200, Robert Krüger wrote: >> Hi, >> >> could someone explain, what the difference between those two is and >> when to use which one? >> >> #define AV_CH_LAYOUT_STEREO (AV_CH_FRONT_LEFT|AV_CH_FRONT_RIGHT) >> #define AV_CH_LAYOUT_STEREO_DOWNMIX (AV_CH_STEREO_LEFT|AV_CH_STEREO_RIGHT) > > if you have a file with 2 channels these would likely be AV_CH_LAYOUT_STEREO > > if you have a file with 5.1 that in addition have 2 channels for > stereo playback equipment then that would have 8 channels and use > AV_CH_LAYOUT_STEREO_DOWNMIX + whatever else for 5.1
Are you actually talking about having one track with 8 channels with this layout? It's beginning to make sense now. Thanks for the feedback, Robert _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel