1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-30 11:02:10 +00:00
mpv/audio/filter
wm4 171ec0a7e4
af_scaletempo: output minimally sized audio frame
This helps the filter to adapt much faster to speed changes. Before this
commit, the filter just converted and output the full input frame, which
could cause problems with large input frames. This was made worse by
certain filters like dynaudnorm or loudnorm outputting pretty large
frames.

This commit changes the filter from trying to convert all input at once
to only outputting a single internally filtered frame. Internally, this
filter already output data in units of 60ms by default (controlled by
the "stride" sub-option), and concatenated as many output frames as
necessary to consume all input.

Behavior is still kind of bad when inserting the filter. This is because
the large frames can be buffered up after the insertion point, so the
speed change will be performed with a larger latency. The scaletempo
filter can't do anything against this, although it can be fixed by
inserting scaletempo as user filter as part of --af.
2018-02-03 05:01:29 -08:00
..
af_format.c audio: rewrite filtering glue code 2018-01-30 03:10:27 -08:00
af_lavcac3enc.c audio: rewrite filtering glue code 2018-01-30 03:10:27 -08:00
af_lavrresample.c audio: rewrite filtering glue code 2018-01-30 03:10:27 -08:00
af_rubberband.c audio: rewrite filtering glue code 2018-01-30 03:10:27 -08:00
af_scaletempo.c af_scaletempo: output minimally sized audio frame 2018-02-03 05:01:29 -08:00
equalizer.h Update license headers 2015-04-13 12:10:01 +02:00