[FFmpeg-devel] [PATCH] libswresample: avoid s16p internal processing format

Michael Niedermayer michael at niedermayer.cc
Thu Jan 5 22:53:42 EET 2023


On Thu, Jan 05, 2023 at 01:44:10PM +0100, Paul B Mahol wrote:
> Patch attached.

>  swresample.c |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> eee7a0685b44aa867562138a2e2437ecb8844612  0001-libswresample-swresample-avoid-s16p-internal-transfe.patch
> From 9c4cd60e2dd41cf98d693c8251f4cfade0807073 Mon Sep 17 00:00:00 2001
> From: Paul B Mahol <onemda at gmail.com>
> Date: Thu, 5 Jan 2023 13:40:12 +0100
> Subject: [PATCH] libswresample/swresample: avoid s16p internal transfer format
> 
> Instead use float one by default for sample rate conversions.
> The s16p internal transfer format produces visible and hearable
> quantization artifacts.

When does this occur and why?
This change should be limited to the case that benefits, this would force this
even without resampling in some cases.

thx

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The day soldiers stop bringing you their problems is the day you have stopped 
leading them. They have either lost confidence that you can help or concluded 
you do not care. Either case is a failure of leadership. - Colin Powell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20230105/dba1c081/attachment.sig>


More information about the ffmpeg-devel mailing list