1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-22 06:42:03 +00:00
mpv/audio
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
..
decode codecs: remove unused family field 2018-02-01 10:21:55 +01:00
filter af_scaletempo: output minimally sized audio frame 2018-02-03 05:01:29 -08:00
out ao_null: add --ao-null-format option for debugging 2018-01-30 03:10:27 -08:00
aframe.c audio: rewrite filtering glue code 2018-01-30 03:10:27 -08:00
aframe.h audio: rewrite filtering glue code 2018-01-30 03:10:27 -08:00
audio_buffer.c audio_buffer: remove dependency on mp_audio 2017-09-21 04:10:19 +02:00
audio_buffer.h audio_buffer: remove dependency on mp_audio 2017-09-21 04:10:19 +02:00
chmap_sel.c
chmap_sel.h
chmap.c chmap: remove misleading "downmix" channel layout name 2017-06-24 11:36:10 +02:00
chmap.h
fmt-conversion.c audio/fmt-conversion: change license to LGPL 2017-05-05 07:25:55 +02:00
fmt-conversion.h audio/fmt-conversion: change license to LGPL 2017-05-05 07:25:55 +02:00
format.c audio: rewrite filtering glue code 2018-01-30 03:10:27 -08:00
format.h audio: rewrite filtering glue code 2018-01-30 03:10:27 -08:00