[FFmpeg-user] How to re-initialize an audio encoder on input attributes change.
Dennis Mungai
dmngaie at gmail.com
Sat Sep 21 07:56:03 EEST 2019
On Sat, 21 Sep 2019 at 07:44, Dennis Mungai <dmngaie at gmail.com> wrote:
>
> Hello there,
>
> Is it possible to restart an audio encoder on the CLI, such as aac and
> libfdk_aac when used with an input stream, say udp, whose audio stream
> attributes such as channel layouts and sample rates are liable to
> change over time?
>
> A point of reference would be the -reinit_filter 1 flag which
> re-initializes the filter chain should input attributes change. Is
> there such an option for audio encoders? And if so, how can this be
> achieved?
>
> Warm regards,
>
> Dennis.
Here's a similar ticket on the issue: https://trac.ffmpeg.org/ticket/4158
More information about the ffmpeg-user
mailing list