Some specifications require the size of ld/eld frames to be 480 samples
instead of the default 512. libfdk_aac provides an option to set an alternative
frame size, but it's not exposed via the ffmpeg interface.
This patch adds a frame_length option to solve this problem.
Signed-off-by: Raphael Schlarb <info@raphael.schlarb.one>
Reviewed-by: Martin Storsjö <martin@martin.st>
Signed-off-by: James Almer <jamrial@gmail.com>
{"comp_profile","The desired compression profile for AAC DRC",offsetof(AACContext,comp_profile),AV_OPT_TYPE_INT,{.i64=0},0,256,AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_ENCODING_PARAM},
{"comp_target_ref","Expected target reference level at decoder side in dB (for clipping prevention/limiter)",offsetof(AACContext,comp_target_ref),AV_OPT_TYPE_INT,{.i64=0.0},-31.75,0,AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_ENCODING_PARAM},
{"prog_ref","The program reference level or dialog level in dB",offsetof(AACContext,prog_ref),AV_OPT_TYPE_INT,{.i64=0.0},-31.75,0,AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_ENCODING_PARAM},