Le 29/03/2018 à 2:53 PM, sebastian-doerf...@t-online.de a écrit :
use the ost->enc_ctx->channel_layout for f->channel_layout
not
f->channel_layout = av_get_default_channel_layout(ost->enc_ctx->channels);
ffmpeg_opt.c
static int open_output_file(OptionsContext *o, const char *f
use the ost->enc_ctx->channel_layout for f->channel_layout
not
f->channel_layout = av_get_default_channel_layout(ost->enc_ctx->channels);
ffmpeg_opt.c
static int open_output_file(OptionsContext *o, const char *filename)
Old:
if (ost->enc_ctx->channels) {
f->channel_layout = av_ge