[MPlayer-dev-eng] lavcac3enc broken?

Reimar Döffinger Reimar.Doeffinger at gmx.de
Wed Mar 29 13:51:00 EEST 2023


> On 27 Mar 2023, at 17:37, eatdirt <eatdirt at protonmail.com> wrote:
> 
> Hi there,
> I am a long term user of mplayer, and my "custom" usage is to reencode audio streams to ac3 to feed my "old" amplifier.
> 
> Since version 1.5, it seems that the audio chain having:
> 
> -af lavcac3enc 1:x:y
> 
> is broken as soon as the stream is not ac3 (it used to work with any stream pre-version 1.5).
> 
> Here the errors popping out, for instance from an eac3 audio channel:
> 
> [ac3_fixed @ 0x7f72fd553760]Specified sample format s16p is invalid or not supported

Seems there was a FFmpeg change making the ac3 encoder only support 32-bit input.
So the lavcac3enc code would need to be changed to take that instead of 16-bit inputs.
It should not be hard, but might take a bit of time to do.



More information about the MPlayer-dev-eng mailing list