How to re-initialize an audio encoder on input attributes change.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to re-initialize an audio encoder on input attributes change.

Brainiarc7
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.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: How to re-initialize an audio encoder on input attributes change.

Brainiarc7
On Sat, 21 Sep 2019 at 07:44, Dennis Mungai <[hidden email]> 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
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".