From suggestion here, this should be implemented with audio_ffmpeg_params argument in write_videofile method.
audio_ffmpeg_params
write_videofile
Fixed in PR #1666