Skip to content

Commit

Permalink
Revert "obs-ffmpeg: Use FFmpeg's "fast" AAC encoder by default"
Browse files Browse the repository at this point in the history
This reverts commit aa58b9c.

FFmpeg has reverted their default AAC encoder from fast to twoloop,
which has much better rate control management, making it closer to CBR,
and it sounds much better.
  • Loading branch information
norihiro authored and jp9000 committed Mar 12, 2023
1 parent 02225aa commit baddacc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions plugins/obs-ffmpeg/obs-ffmpeg-audio-encoders.c
Expand Up @@ -22,7 +22,6 @@
#include <obs-module.h>

#include <libavutil/channel_layout.h>
#include <libavutil/opt.h>
#include <libavformat/avformat.h>

#include "obs-ffmpeg-formats.h"
Expand Down Expand Up @@ -265,7 +264,6 @@ static void *enc_create(obs_data_t *settings, obs_encoder_t *encoder,
}

if (strcmp(enc->codec->name, "aac") == 0) {
av_opt_set(enc->context->priv_data, "aac_coder", "fast", 0);
}

#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(59, 24, 100)
Expand Down

0 comments on commit baddacc

Please sign in to comment.