You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
aacenc: temporarily disable Mid/Side coding with multichannel files
Results in dropping out in channels, usually on EIGHT_SHORT windows. Will be reenabled once the cause has been investigated and a fix has been made. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
This commit is contained in:
@@ -995,6 +995,10 @@ static av_cold int aac_encode_init(AVCodecContext *avctx)
|
|||||||
ERROR_IF(s->options.ltp && avctx->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL,
|
ERROR_IF(s->options.ltp && avctx->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL,
|
||||||
"The LPT profile requires experimental compliance, add -strict -2 to enable!\n");
|
"The LPT profile requires experimental compliance, add -strict -2 to enable!\n");
|
||||||
|
|
||||||
|
/* M/S introduces horrible artifacts with multichannel files, this is temporary */
|
||||||
|
if (s->channels > 3)
|
||||||
|
s->options.mid_side = 0;
|
||||||
|
|
||||||
if ((ret = dsp_init(avctx, s)) < 0)
|
if ((ret = dsp_init(avctx, s)) < 0)
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user