mpv/audio/filter
ferreum 096d35dac7 af_scaletempo2: prioritize louder channels for similarity measure
Playback with many audio channels could be distorted when using
scaletempo2. This was most noticeable when there were a lot of quiet
channels and few louder channels.

Fix this by increasing the weight of louder channels in relation to
quieter channels. Each channel's target block energy is factored into
the usual similarity measure.

This should have little effect on very correlated channels (such as most
stereo media), where the factors are very similar for all channels.

See-Also: #8705
See-Also: #13737
2024-04-12 17:40:00 +00:00
..
af_drop.c various: make filter internal function names more descriptive 2024-04-10 19:00:22 +02:00
af_format.c various: make filter internal function names more descriptive 2024-04-10 19:00:22 +02:00
af_lavcac3enc.c various: make filter internal function names more descriptive 2024-04-10 19:00:22 +02:00
af_rubberband.c various: make filter internal function names more descriptive 2024-04-10 19:00:22 +02:00
af_scaletempo.c various: make filter internal function names more descriptive 2024-04-10 19:00:22 +02:00
af_scaletempo2.c various: make filter internal function names more descriptive 2024-04-10 19:00:22 +02:00
af_scaletempo2_internals.c af_scaletempo2: prioritize louder channels for similarity measure 2024-04-12 17:40:00 +00:00
af_scaletempo2_internals.h af_scaletempo2: fix processing of final packet 2023-09-20 14:36:23 +02:00