Encode audio to aac with libavcodec

后端 未结 2 420
时光说笑
时光说笑 2020-12-14 11:28

I\'m using libavcodec (latest git as of 3/3/10) to encode raw pcm to aac (libfaac support enabled). I do this by calling avcodec_encode_audio repeatedly with codec_context-

2条回答
  •  被撕碎了的回忆
    2020-12-14 12:05

    The problem seems to go away if the bitrate is less than 386000. Not sure why this is, as I can encode at bitrates higher than that using FAAC directly. But 128000 is good enough for my purposes, so I'm able to move forward.

提交回复
热议问题