diff mbox series

[FFmpeg-devel,v2,9/9] avformat/pcm: decrease target audio frame per sec to 10

Message ID 20240308005333.12416-9-cus@passwd.hu
State Accepted
Commit 44b2769619242ab3746d6477b88f5d5345a591ee
Headers show
Series [FFmpeg-devel,v2,1/9] avcodec/bsf/pcm_rechunk: reorder supported codec list | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished

Commit Message

Marton Balint March 8, 2024, 12:53 a.m. UTC
This makes the wav and pcm demuxer demux bigger packets, which is more
efficient.

Signed-off-by: Marton Balint <cus@passwd.hu>
---
 libavformat/pcm.c                             |   2 +-
 tests/ref/acodec/pcm-s16be                    |   2 +-
 tests/ref/acodec/pcm-s16be_planar             |   4 +-
 tests/ref/acodec/pcm-s16le_planar             |   4 +-
 tests/ref/acodec/pcm-s24be                    |   2 +-
 tests/ref/acodec/pcm-s24le_planar             |   4 +-
 tests/ref/acodec/pcm-s32be                    |   2 +-
 tests/ref/acodec/pcm-s32le_planar             |   4 +-
 tests/ref/acodec/pcm-s8_planar                |   4 +-
 tests/ref/acodec/pcm-u16be                    |   4 +-
 tests/ref/acodec/pcm-u16le                    |   4 +-
 tests/ref/acodec/pcm-u24be                    |   4 +-
 tests/ref/acodec/pcm-u24le                    |   4 +-
 tests/ref/acodec/pcm-u32be                    |   4 +-
 tests/ref/acodec/pcm-u32le                    |   4 +-
 tests/ref/acodec/s302m                        |   8 +-
 tests/ref/fate/dcinema-encode                 |  63 +-
 tests/ref/fate/filter-acrossfade              | 623 ++++--------------
 tests/ref/fate/filter-adelay                  | 324 ++-------
 tests/ref/fate/filter-aecho                   | 324 ++-------
 tests/ref/fate/filter-aemphasis-50fm          | 324 ++-------
 tests/ref/fate/filter-aemphasis-75kf          | 324 ++-------
 tests/ref/fate/filter-afade-esin              | 324 ++-------
 tests/ref/fate/filter-afade-exp               | 324 ++-------
 tests/ref/fate/filter-afade-hsin              | 324 ++-------
 tests/ref/fate/filter-afade-iqsin             | 324 ++-------
 tests/ref/fate/filter-afade-log               | 324 ++-------
 tests/ref/fate/filter-afade-qsin              | 324 ++-------
 tests/ref/fate/filter-agate                   | 324 ++-------
 tests/ref/fate/filter-alimiter                | 324 ++-------
 tests/ref/fate/filter-amerge                  | 324 ++-------
 tests/ref/fate/filter-anequalizer             | 324 ++-------
 tests/ref/fate/filter-apad                    | 324 ++-------
 .../ref/fate/filter-asegment-samples-absolute | 324 ++-------
 .../ref/fate/filter-asegment-samples-relative | 324 ++-------
 .../fate/filter-asegment-timestamps-absolute  | 326 ++-------
 .../fate/filter-asegment-timestamps-relative  | 326 ++-------
 tests/ref/fate/filter-asetrate                |  40 +-
 tests/ref/fate/filter-atrim-mixed             |   4 +-
 tests/ref/fate/filter-atrim-time              |   5 +-
 tests/ref/fate/filter-chorus                  |  20 +-
 tests/ref/fate/filter-compand                 |  40 +-
 tests/ref/fate/filter-crystalizer             | 324 ++-------
 tests/ref/fate/filter-dcshift                 |  40 +-
 tests/ref/fate/filter-earwax                  |  40 +-
 tests/ref/fate/filter-extrastereo             |  40 +-
 tests/ref/fate/filter-pan-downmix1            |  40 +-
 tests/ref/fate/filter-pan-downmix2            |  40 +-
 tests/ref/fate/filter-pan-mono1               |  40 +-
 tests/ref/fate/filter-pan-mono2               |  40 +-
 tests/ref/fate/filter-pan-stereo1             |  40 +-
 tests/ref/fate/filter-pan-stereo2             |  40 +-
 tests/ref/fate/filter-pan-stereo3             |  40 +-
 tests/ref/fate/filter-pan-stereo4             |  40 +-
 tests/ref/fate/filter-pan-upmix1              |  40 +-
 tests/ref/fate/filter-pan-upmix2              |  40 +-
 tests/ref/fate/filter-stereotools             |  40 +-
 tests/ref/fate/flcl1905                       | 612 ++++++++---------
 tests/ref/fate/g722-encode                    | 282 +++-----
 tests/ref/fate/g726-encode-2bit               | 282 +++-----
 tests/ref/fate/g726-encode-3bit               | 282 +++-----
 tests/ref/fate/g726-encode-4bit               | 282 +++-----
 tests/ref/fate/g726-encode-5bit               | 282 +++-----
 tests/ref/fate/matroska-move-cues-to-front    |  18 +-
 tests/ref/fate/mov-channel-description        |   4 +-
 tests/ref/fate/mov-mp4-pcm                    |   4 +-
 tests/ref/fate/mov-mp4-pcm-float              |   2 +-
 tests/ref/lavf/ast                            |   4 +-
 tests/ref/lavf/mov                            |  12 +-
 tests/ref/lavf/mov_rtphint                    |   4 +-
 tests/ref/lavf/s16.voc                        |   4 +-
 tests/ref/lavf/smjpeg                         |   6 +-
 tests/ref/lavf/voc                            |   4 +-
 tests/ref/seek/acodec-adpcm-ima_wav           |  54 +-
 tests/ref/seek/acodec-adpcm-ima_wav-trellis   |  54 +-
 tests/ref/seek/acodec-adpcm-ms                |  54 +-
 tests/ref/seek/acodec-adpcm-ms-trellis        |  54 +-
 tests/ref/seek/acodec-adpcm-yamaha            |  54 +-
 tests/ref/seek/acodec-adpcm-yamaha-trellis    |  54 +-
 tests/ref/seek/acodec-pcm-alaw                |  54 +-
 tests/ref/seek/acodec-pcm-f32be               |  54 +-
 tests/ref/seek/acodec-pcm-f32le               |  54 +-
 tests/ref/seek/acodec-pcm-f64be               |  54 +-
 tests/ref/seek/acodec-pcm-f64le               |  54 +-
 tests/ref/seek/acodec-pcm-mulaw               |  54 +-
 tests/ref/seek/acodec-pcm-s16le               |  54 +-
 tests/ref/seek/acodec-pcm-s24le               |  54 +-
 tests/ref/seek/acodec-pcm-s32le               |  54 +-
 tests/ref/seek/acodec-pcm-u8                  |  54 +-
 tests/ref/seek/lavf-al                        |  46 +-
 tests/ref/seek/lavf-au                        |  30 +-
 tests/ref/seek/lavf-mov                       |  44 +-
 tests/ref/seek/lavf-ul                        |  46 +-
 tests/ref/seek/lavf-voc                       |  22 +-
 tests/ref/seek/lavf-wav                       |  30 +-
 95 files changed, 3153 insertions(+), 7912 deletions(-)

Comments

Tobias Rapp March 14, 2024, 8:10 a.m. UTC | #1
On 08/03/2024 01:53, Marton Balint wrote:

> This makes the wav and pcm demuxer demux bigger packets, which is more
> efficient.
>
> Signed-off-by: Marton Balint<cus@passwd.hu>
> ---
>   libavformat/pcm.c                             |   2 +-
>   tests/ref/acodec/pcm-s16be                    |   2 +-
>   tests/ref/acodec/pcm-s16be_planar             |   4 +-
>   tests/ref/acodec/pcm-s16le_planar             |   4 +-
>   tests/ref/acodec/pcm-s24be                    |   2 +-
>   tests/ref/acodec/pcm-s24le_planar             |   4 +-
>   tests/ref/acodec/pcm-s32be                    |   2 +-
>   tests/ref/acodec/pcm-s32le_planar             |   4 +-
>   tests/ref/acodec/pcm-s8_planar                |   4 +-
>   tests/ref/acodec/pcm-u16be                    |   4 +-
>   tests/ref/acodec/pcm-u16le                    |   4 +-
>   tests/ref/acodec/pcm-u24be                    |   4 +-
>   tests/ref/acodec/pcm-u24le                    |   4 +-
>   tests/ref/acodec/pcm-u32be                    |   4 +-
>   tests/ref/acodec/pcm-u32le                    |   4 +-
>   tests/ref/acodec/s302m                        |   8 +-
>   tests/ref/fate/dcinema-encode                 |  63 +-
>   tests/ref/fate/filter-acrossfade              | 623 ++++--------------
>   tests/ref/fate/filter-adelay                  | 324 ++-------
>   tests/ref/fate/filter-aecho                   | 324 ++-------
>   tests/ref/fate/filter-aemphasis-50fm          | 324 ++-------
>   tests/ref/fate/filter-aemphasis-75kf          | 324 ++-------
>   tests/ref/fate/filter-afade-esin              | 324 ++-------
>   tests/ref/fate/filter-afade-exp               | 324 ++-------
>   tests/ref/fate/filter-afade-hsin              | 324 ++-------
>   tests/ref/fate/filter-afade-iqsin             | 324 ++-------
>   tests/ref/fate/filter-afade-log               | 324 ++-------
>   tests/ref/fate/filter-afade-qsin              | 324 ++-------
>   tests/ref/fate/filter-agate                   | 324 ++-------
>   tests/ref/fate/filter-alimiter                | 324 ++-------
>   tests/ref/fate/filter-amerge                  | 324 ++-------
>   tests/ref/fate/filter-anequalizer             | 324 ++-------
>   tests/ref/fate/filter-apad                    | 324 ++-------
>   .../ref/fate/filter-asegment-samples-absolute | 324 ++-------
>   .../ref/fate/filter-asegment-samples-relative | 324 ++-------
>   .../fate/filter-asegment-timestamps-absolute  | 326 ++-------
>   .../fate/filter-asegment-timestamps-relative  | 326 ++-------
>   tests/ref/fate/filter-asetrate                |  40 +-
>   tests/ref/fate/filter-atrim-mixed             |   4 +-
>   tests/ref/fate/filter-atrim-time              |   5 +-
>   tests/ref/fate/filter-chorus                  |  20 +-
>   tests/ref/fate/filter-compand                 |  40 +-
>   tests/ref/fate/filter-crystalizer             | 324 ++-------
>   tests/ref/fate/filter-dcshift                 |  40 +-
>   tests/ref/fate/filter-earwax                  |  40 +-
>   tests/ref/fate/filter-extrastereo             |  40 +-
>   tests/ref/fate/filter-pan-downmix1            |  40 +-
>   tests/ref/fate/filter-pan-downmix2            |  40 +-
>   tests/ref/fate/filter-pan-mono1               |  40 +-
>   tests/ref/fate/filter-pan-mono2               |  40 +-
>   tests/ref/fate/filter-pan-stereo1             |  40 +-
>   tests/ref/fate/filter-pan-stereo2             |  40 +-
>   tests/ref/fate/filter-pan-stereo3             |  40 +-
>   tests/ref/fate/filter-pan-stereo4             |  40 +-
>   tests/ref/fate/filter-pan-upmix1              |  40 +-
>   tests/ref/fate/filter-pan-upmix2              |  40 +-
>   tests/ref/fate/filter-stereotools             |  40 +-
>   tests/ref/fate/flcl1905                       | 612 ++++++++---------
>   tests/ref/fate/g722-encode                    | 282 +++-----
>   tests/ref/fate/g726-encode-2bit               | 282 +++-----
>   tests/ref/fate/g726-encode-3bit               | 282 +++-----
>   tests/ref/fate/g726-encode-4bit               | 282 +++-----
>   tests/ref/fate/g726-encode-5bit               | 282 +++-----
>   tests/ref/fate/matroska-move-cues-to-front    |  18 +-
>   tests/ref/fate/mov-channel-description        |   4 +-
>   tests/ref/fate/mov-mp4-pcm                    |   4 +-
>   tests/ref/fate/mov-mp4-pcm-float              |   2 +-
>   tests/ref/lavf/ast                            |   4 +-
>   tests/ref/lavf/mov                            |  12 +-
>   tests/ref/lavf/mov_rtphint                    |   4 +-
>   tests/ref/lavf/s16.voc                        |   4 +-
>   tests/ref/lavf/smjpeg                         |   6 +-
>   tests/ref/lavf/voc                            |   4 +-
>   tests/ref/seek/acodec-adpcm-ima_wav           |  54 +-
>   tests/ref/seek/acodec-adpcm-ima_wav-trellis   |  54 +-
>   tests/ref/seek/acodec-adpcm-ms                |  54 +-
>   tests/ref/seek/acodec-adpcm-ms-trellis        |  54 +-
>   tests/ref/seek/acodec-adpcm-yamaha            |  54 +-
>   tests/ref/seek/acodec-adpcm-yamaha-trellis    |  54 +-
>   tests/ref/seek/acodec-pcm-alaw                |  54 +-
>   tests/ref/seek/acodec-pcm-f32be               |  54 +-
>   tests/ref/seek/acodec-pcm-f32le               |  54 +-
>   tests/ref/seek/acodec-pcm-f64be               |  54 +-
>   tests/ref/seek/acodec-pcm-f64le               |  54 +-
>   tests/ref/seek/acodec-pcm-mulaw               |  54 +-
>   tests/ref/seek/acodec-pcm-s16le               |  54 +-
>   tests/ref/seek/acodec-pcm-s24le               |  54 +-
>   tests/ref/seek/acodec-pcm-s32le               |  54 +-
>   tests/ref/seek/acodec-pcm-u8                  |  54 +-
>   tests/ref/seek/lavf-al                        |  46 +-
>   tests/ref/seek/lavf-au                        |  30 +-
>   tests/ref/seek/lavf-mov                       |  44 +-
>   tests/ref/seek/lavf-ul                        |  46 +-
>   tests/ref/seek/lavf-voc                       |  22 +-
>   tests/ref/seek/lavf-wav                       |  30 +-
>   95 files changed, 3153 insertions(+), 7912 deletions(-)
>
> diff --git a/libavformat/pcm.c b/libavformat/pcm.c
> index b7728dd15e..314275bb0a 100644
> --- a/libavformat/pcm.c
> +++ b/libavformat/pcm.c
> @@ -25,7 +25,7 @@
>   #include "internal.h"
>   #include "pcm.h"
>   
> -#define PCM_DEMUX_TARGET_FPS  25
> +#define PCM_DEMUX_TARGET_FPS  10
>   
>   int ff_pcm_default_packet_size(AVCodecParameters *par)
>   {
>
> [...]
>
> diff --git a/tests/ref/fate/dcinema-encode b/tests/ref/fate/dcinema-encode
> index ce5e9d2550..9c2b6f72f1 100644
> --- a/tests/ref/fate/dcinema-encode
> +++ b/tests/ref/fate/dcinema-encode
> @@ -27,4 +27,65 @@
>   0,      34000,      34000,     2000,    24000, acffdfa3337a082091398ac8085882e1
>   0,      36000,      36000,     2000,    24000, 5daaa9b578b92270de0394baadf37a2c
>   0,      38000,      38000,     2000,    24000, 67a3b8af025b212a62229ae57f99f7a6
> -0,      40000,      40000,      960,    11520, c6d89c32b3337e204245ec6f8d144aef
> +0,      40000,      40000,     2000,    24000, e8f6f41edfdf4b198055349e90f36cd4
> +0,      42000,      42000,     2000,    24000, 43d7cd1917a7e1ecfcae1c762a4f8284
> +0,      44000,      44000,     2000,    24000, 21cc3c1b9dc3994df6ce90cc3f0bf03d
> +0,      46000,      46000,     2000,    24000, 763a76a1dca46e743fbe1ef90dac1b68
> +0,      48000,      48000,     2000,    24000, 5d307e637e1dc4218d88e48a0189beb0
> +0,      50000,      50000,     2000,    24000, dafc392287225811c1cb1c813789f2b8
> +0,      52000,      52000,     2000,    24000, c1a58740c9b731bc1f2702dc56ba3cd6
> +0,      54000,      54000,     2000,    24000, 891e6d94c34a60e24925ea28f19ccf2a
> +0,      56000,      56000,     2000,    24000, afc88ea476094f7b5accb8ca080a69a5
> +0,      58000,      58000,     2000,    24000, 74ab38c75d3810f7bf74901305eab47c
> +0,      60000,      60000,     2000,    24000, 838144d8da6a6eca8aef01195b430363
> +0,      62000,      62000,     2000,    24000, ebfb8a30c334061361241fd53067b416
> +0,      64000,      64000,     2000,    24000, 83324adc64db2f46a94363bf04a60773
> +0,      66000,      66000,     2000,    24000, 34606f116338b7045515c3b56e1633f9
> +0,      68000,      68000,     2000,    24000, 7450cc8b2c3746380140a47a47b41b73
> +0,      70000,      70000,     2000,    24000, 0f6d7bc6adf2facbd72403b17d035bf5
> +0,      72000,      72000,     2000,    24000, 844f2585154aa770ebe4df514c6139af
> +0,      74000,      74000,     2000,    24000, 36b5914af624b3f301bce43c42ec0523
> +0,      76000,      76000,     2000,    24000, 9fc415ae7ae0db7f9be51a2a5654bafd
> +0,      78000,      78000,     2000,    24000, bad8e1b1b484405ea814683eca929e1d
> +0,      80000,      80000,     2000,    24000, 25ad314aaa14e866327d9d58c65b49e7
> +0,      82000,      82000,     2000,    24000, 468fafbd7548d9c79284cdc9207bab4e
> +0,      84000,      84000,     2000,    24000, 7f3c9b931f21d4afa4319b4cd5dfc850
> +0,      86000,      86000,     2000,    24000, a96e220a2c9c4f85d843074bc4b966b6
> +0,      88000,      88000,     2000,    24000, ccaf7968a2cf2811f44e68555bdb421b
> +0,      90000,      90000,     2000,    24000, 9a308f3af192f1a232924f61e9558358
> +0,      92000,      92000,     2000,    24000, 8a11dbc1b0292a08848d6207be61cfce
> +0,      94000,      94000,     2000,    24000, ab261359b88b39c36786b6c181846096
> +0,      96000,      96000,     2000,    24000, c2dd68e56ef0d402725167cb44d57be1
> +0,      98000,      98000,     2000,    24000, 892250bb4cbce7c2784d09dfd06526b6
> +0,     100000,     100000,     2000,    24000, 121e981c4128df538fe551ea4d5a8225
> +0,     102000,     102000,     2000,    24000, 4b2a5d77951b07f81ae924abac73b8d1
> +0,     104000,     104000,     2000,    24000, b7f4c1ef2daa35c6cdcf1116eecfdb91
> +0,     106000,     106000,     2000,    24000, a9dd31482a4fa41b67ebaba1b4ff97e8
> +0,     108000,     108000,     2000,    24000, 672e5e89906d030a05b98d64d9eaefe4
> +0,     110000,     110000,     2000,    24000, 7455205e802f5c737e9867e19cb80b35
> +0,     112000,     112000,     2000,    24000, 49181c9defd9cfe163ed94bda127b64f
> +0,     114000,     114000,     2000,    24000, 76efe094889bfc9fca0a80fc628c2184
> +0,     116000,     116000,     2000,    24000, 667385cbeff8074ad31fbfaf372d3036
> +0,     118000,     118000,     2000,    24000, d5a0dd00353f92dd2d0298a98fcf68ff
> +0,     120000,     120000,     2000,    24000, c95d627e1899be337f01412ac708cebc
> +0,     122000,     122000,     2000,    24000, 0cae246a75aa327304c13b051cc43883
> +0,     124000,     124000,     2000,    24000, e244e6793f933c8309495796fd7d4cb5
> +0,     126000,     126000,     2000,    24000, d78955106c5f0acca4b61e2cc27a962b
> +0,     128000,     128000,     2000,    24000, 630581ff6634952db8ad3a791501c596
> +0,     130000,     130000,     2000,    24000, b70414eb688bc1abcd8ed08b38c90cd0
> +0,     132000,     132000,     2000,    24000, 284a1822740697edd2d6cceb4eac232e
> +0,     134000,     134000,     2000,    24000, ce67357e80bdb6bc0caa226abdf934aa
> +0,     136000,     136000,     2000,    24000, f952be1e1c7d48acd73d652ef4ea3aad
> +0,     138000,     138000,     2000,    24000, e42cbabef9d9675429dcb6fa28ce39f4
> +0,     140000,     140000,     2000,    24000, 9c6613b980bcbe9ebacbb6a492f53b16
> +0,     142000,     142000,     2000,    24000, 1882d1ae4b08fa7cc848eba60d645463
> +0,     144000,     144000,     2000,    24000, a361b56ba31c90557689631f0e7afc63
> +0,     146000,     146000,     2000,    24000, 341fbe24112c4060bb643750895a9041
> +0,     148000,     148000,     2000,    24000, 38340ef2ef764bb8007efe9cd0af54d7
> +0,     150000,     150000,     2000,    24000, 9b013a00bbedad211ba33326a3cfaa6e
> +0,     152000,     152000,     2000,    24000, 9d3469da4442cdfd2b8a5beacb789701
> +0,     154000,     154000,     2000,    24000, cf8e3880ecb46011328135dba1015044
> +0,     156000,     156000,     2000,    24000, 3be9fa7d0e0541269339ee032bda4021
> +0,     158000,     158000,     2000,    24000, ffd2646acf86524651416bc412afd846
> +0,     160000,     160000,     2000,    24000, 715163d8f82f007b1b6c42b06bd08b5a
> +0,     162000,     162000,     1840,    22080, c2079a237d021d7aa27e44acf979b1f0

Noob question: Isn't a much larger total number of samples produced here?

Also it might be good to mention in the commit that the audio duration 
is less exact when using commands like "ffmpeg -i $INPUT -c:a copy -t 
1.0 $OUTPUT".

Regards, Tobias
Paul B Mahol March 14, 2024, 11:12 a.m. UTC | #2
This is just ugly hack for workaround around broken ffmpeg threading.

On Thu, Mar 14, 2024 at 9:10 AM Tobias Rapp <t.rapp@noa-archive.com> wrote:

> On 08/03/2024 01:53, Marton Balint wrote:
>
> > This makes the wav and pcm demuxer demux bigger packets, which is more
> > efficient.
> >
> > Signed-off-by: Marton Balint<cus@passwd.hu>
> > ---
> >   libavformat/pcm.c                             |   2 +-
> >   tests/ref/acodec/pcm-s16be                    |   2 +-
> >   tests/ref/acodec/pcm-s16be_planar             |   4 +-
> >   tests/ref/acodec/pcm-s16le_planar             |   4 +-
> >   tests/ref/acodec/pcm-s24be                    |   2 +-
> >   tests/ref/acodec/pcm-s24le_planar             |   4 +-
> >   tests/ref/acodec/pcm-s32be                    |   2 +-
> >   tests/ref/acodec/pcm-s32le_planar             |   4 +-
> >   tests/ref/acodec/pcm-s8_planar                |   4 +-
> >   tests/ref/acodec/pcm-u16be                    |   4 +-
> >   tests/ref/acodec/pcm-u16le                    |   4 +-
> >   tests/ref/acodec/pcm-u24be                    |   4 +-
> >   tests/ref/acodec/pcm-u24le                    |   4 +-
> >   tests/ref/acodec/pcm-u32be                    |   4 +-
> >   tests/ref/acodec/pcm-u32le                    |   4 +-
> >   tests/ref/acodec/s302m                        |   8 +-
> >   tests/ref/fate/dcinema-encode                 |  63 +-
> >   tests/ref/fate/filter-acrossfade              | 623 ++++--------------
> >   tests/ref/fate/filter-adelay                  | 324 ++-------
> >   tests/ref/fate/filter-aecho                   | 324 ++-------
> >   tests/ref/fate/filter-aemphasis-50fm          | 324 ++-------
> >   tests/ref/fate/filter-aemphasis-75kf          | 324 ++-------
> >   tests/ref/fate/filter-afade-esin              | 324 ++-------
> >   tests/ref/fate/filter-afade-exp               | 324 ++-------
> >   tests/ref/fate/filter-afade-hsin              | 324 ++-------
> >   tests/ref/fate/filter-afade-iqsin             | 324 ++-------
> >   tests/ref/fate/filter-afade-log               | 324 ++-------
> >   tests/ref/fate/filter-afade-qsin              | 324 ++-------
> >   tests/ref/fate/filter-agate                   | 324 ++-------
> >   tests/ref/fate/filter-alimiter                | 324 ++-------
> >   tests/ref/fate/filter-amerge                  | 324 ++-------
> >   tests/ref/fate/filter-anequalizer             | 324 ++-------
> >   tests/ref/fate/filter-apad                    | 324 ++-------
> >   .../ref/fate/filter-asegment-samples-absolute | 324 ++-------
> >   .../ref/fate/filter-asegment-samples-relative | 324 ++-------
> >   .../fate/filter-asegment-timestamps-absolute  | 326 ++-------
> >   .../fate/filter-asegment-timestamps-relative  | 326 ++-------
> >   tests/ref/fate/filter-asetrate                |  40 +-
> >   tests/ref/fate/filter-atrim-mixed             |   4 +-
> >   tests/ref/fate/filter-atrim-time              |   5 +-
> >   tests/ref/fate/filter-chorus                  |  20 +-
> >   tests/ref/fate/filter-compand                 |  40 +-
> >   tests/ref/fate/filter-crystalizer             | 324 ++-------
> >   tests/ref/fate/filter-dcshift                 |  40 +-
> >   tests/ref/fate/filter-earwax                  |  40 +-
> >   tests/ref/fate/filter-extrastereo             |  40 +-
> >   tests/ref/fate/filter-pan-downmix1            |  40 +-
> >   tests/ref/fate/filter-pan-downmix2            |  40 +-
> >   tests/ref/fate/filter-pan-mono1               |  40 +-
> >   tests/ref/fate/filter-pan-mono2               |  40 +-
> >   tests/ref/fate/filter-pan-stereo1             |  40 +-
> >   tests/ref/fate/filter-pan-stereo2             |  40 +-
> >   tests/ref/fate/filter-pan-stereo3             |  40 +-
> >   tests/ref/fate/filter-pan-stereo4             |  40 +-
> >   tests/ref/fate/filter-pan-upmix1              |  40 +-
> >   tests/ref/fate/filter-pan-upmix2              |  40 +-
> >   tests/ref/fate/filter-stereotools             |  40 +-
> >   tests/ref/fate/flcl1905                       | 612 ++++++++---------
> >   tests/ref/fate/g722-encode                    | 282 +++-----
> >   tests/ref/fate/g726-encode-2bit               | 282 +++-----
> >   tests/ref/fate/g726-encode-3bit               | 282 +++-----
> >   tests/ref/fate/g726-encode-4bit               | 282 +++-----
> >   tests/ref/fate/g726-encode-5bit               | 282 +++-----
> >   tests/ref/fate/matroska-move-cues-to-front    |  18 +-
> >   tests/ref/fate/mov-channel-description        |   4 +-
> >   tests/ref/fate/mov-mp4-pcm                    |   4 +-
> >   tests/ref/fate/mov-mp4-pcm-float              |   2 +-
> >   tests/ref/lavf/ast                            |   4 +-
> >   tests/ref/lavf/mov                            |  12 +-
> >   tests/ref/lavf/mov_rtphint                    |   4 +-
> >   tests/ref/lavf/s16.voc                        |   4 +-
> >   tests/ref/lavf/smjpeg                         |   6 +-
> >   tests/ref/lavf/voc                            |   4 +-
> >   tests/ref/seek/acodec-adpcm-ima_wav           |  54 +-
> >   tests/ref/seek/acodec-adpcm-ima_wav-trellis   |  54 +-
> >   tests/ref/seek/acodec-adpcm-ms                |  54 +-
> >   tests/ref/seek/acodec-adpcm-ms-trellis        |  54 +-
> >   tests/ref/seek/acodec-adpcm-yamaha            |  54 +-
> >   tests/ref/seek/acodec-adpcm-yamaha-trellis    |  54 +-
> >   tests/ref/seek/acodec-pcm-alaw                |  54 +-
> >   tests/ref/seek/acodec-pcm-f32be               |  54 +-
> >   tests/ref/seek/acodec-pcm-f32le               |  54 +-
> >   tests/ref/seek/acodec-pcm-f64be               |  54 +-
> >   tests/ref/seek/acodec-pcm-f64le               |  54 +-
> >   tests/ref/seek/acodec-pcm-mulaw               |  54 +-
> >   tests/ref/seek/acodec-pcm-s16le               |  54 +-
> >   tests/ref/seek/acodec-pcm-s24le               |  54 +-
> >   tests/ref/seek/acodec-pcm-s32le               |  54 +-
> >   tests/ref/seek/acodec-pcm-u8                  |  54 +-
> >   tests/ref/seek/lavf-al                        |  46 +-
> >   tests/ref/seek/lavf-au                        |  30 +-
> >   tests/ref/seek/lavf-mov                       |  44 +-
> >   tests/ref/seek/lavf-ul                        |  46 +-
> >   tests/ref/seek/lavf-voc                       |  22 +-
> >   tests/ref/seek/lavf-wav                       |  30 +-
> >   95 files changed, 3153 insertions(+), 7912 deletions(-)
> >
> > diff --git a/libavformat/pcm.c b/libavformat/pcm.c
> > index b7728dd15e..314275bb0a 100644
> > --- a/libavformat/pcm.c
> > +++ b/libavformat/pcm.c
> > @@ -25,7 +25,7 @@
> >   #include "internal.h"
> >   #include "pcm.h"
> >
> > -#define PCM_DEMUX_TARGET_FPS  25
> > +#define PCM_DEMUX_TARGET_FPS  10
> >
> >   int ff_pcm_default_packet_size(AVCodecParameters *par)
> >   {
> >
> > [...]
> >
> > diff --git a/tests/ref/fate/dcinema-encode
> b/tests/ref/fate/dcinema-encode
> > index ce5e9d2550..9c2b6f72f1 100644
> > --- a/tests/ref/fate/dcinema-encode
> > +++ b/tests/ref/fate/dcinema-encode
> > @@ -27,4 +27,65 @@
> >   0,      34000,      34000,     2000,    24000,
> acffdfa3337a082091398ac8085882e1
> >   0,      36000,      36000,     2000,    24000,
> 5daaa9b578b92270de0394baadf37a2c
> >   0,      38000,      38000,     2000,    24000,
> 67a3b8af025b212a62229ae57f99f7a6
> > -0,      40000,      40000,      960,    11520,
> c6d89c32b3337e204245ec6f8d144aef
> > +0,      40000,      40000,     2000,    24000,
> e8f6f41edfdf4b198055349e90f36cd4
> > +0,      42000,      42000,     2000,    24000,
> 43d7cd1917a7e1ecfcae1c762a4f8284
> > +0,      44000,      44000,     2000,    24000,
> 21cc3c1b9dc3994df6ce90cc3f0bf03d
> > +0,      46000,      46000,     2000,    24000,
> 763a76a1dca46e743fbe1ef90dac1b68
> > +0,      48000,      48000,     2000,    24000,
> 5d307e637e1dc4218d88e48a0189beb0
> > +0,      50000,      50000,     2000,    24000,
> dafc392287225811c1cb1c813789f2b8
> > +0,      52000,      52000,     2000,    24000,
> c1a58740c9b731bc1f2702dc56ba3cd6
> > +0,      54000,      54000,     2000,    24000,
> 891e6d94c34a60e24925ea28f19ccf2a
> > +0,      56000,      56000,     2000,    24000,
> afc88ea476094f7b5accb8ca080a69a5
> > +0,      58000,      58000,     2000,    24000,
> 74ab38c75d3810f7bf74901305eab47c
> > +0,      60000,      60000,     2000,    24000,
> 838144d8da6a6eca8aef01195b430363
> > +0,      62000,      62000,     2000,    24000,
> ebfb8a30c334061361241fd53067b416
> > +0,      64000,      64000,     2000,    24000,
> 83324adc64db2f46a94363bf04a60773
> > +0,      66000,      66000,     2000,    24000,
> 34606f116338b7045515c3b56e1633f9
> > +0,      68000,      68000,     2000,    24000,
> 7450cc8b2c3746380140a47a47b41b73
> > +0,      70000,      70000,     2000,    24000,
> 0f6d7bc6adf2facbd72403b17d035bf5
> > +0,      72000,      72000,     2000,    24000,
> 844f2585154aa770ebe4df514c6139af
> > +0,      74000,      74000,     2000,    24000,
> 36b5914af624b3f301bce43c42ec0523
> > +0,      76000,      76000,     2000,    24000,
> 9fc415ae7ae0db7f9be51a2a5654bafd
> > +0,      78000,      78000,     2000,    24000,
> bad8e1b1b484405ea814683eca929e1d
> > +0,      80000,      80000,     2000,    24000,
> 25ad314aaa14e866327d9d58c65b49e7
> > +0,      82000,      82000,     2000,    24000,
> 468fafbd7548d9c79284cdc9207bab4e
> > +0,      84000,      84000,     2000,    24000,
> 7f3c9b931f21d4afa4319b4cd5dfc850
> > +0,      86000,      86000,     2000,    24000,
> a96e220a2c9c4f85d843074bc4b966b6
> > +0,      88000,      88000,     2000,    24000,
> ccaf7968a2cf2811f44e68555bdb421b
> > +0,      90000,      90000,     2000,    24000,
> 9a308f3af192f1a232924f61e9558358
> > +0,      92000,      92000,     2000,    24000,
> 8a11dbc1b0292a08848d6207be61cfce
> > +0,      94000,      94000,     2000,    24000,
> ab261359b88b39c36786b6c181846096
> > +0,      96000,      96000,     2000,    24000,
> c2dd68e56ef0d402725167cb44d57be1
> > +0,      98000,      98000,     2000,    24000,
> 892250bb4cbce7c2784d09dfd06526b6
> > +0,     100000,     100000,     2000,    24000,
> 121e981c4128df538fe551ea4d5a8225
> > +0,     102000,     102000,     2000,    24000,
> 4b2a5d77951b07f81ae924abac73b8d1
> > +0,     104000,     104000,     2000,    24000,
> b7f4c1ef2daa35c6cdcf1116eecfdb91
> > +0,     106000,     106000,     2000,    24000,
> a9dd31482a4fa41b67ebaba1b4ff97e8
> > +0,     108000,     108000,     2000,    24000,
> 672e5e89906d030a05b98d64d9eaefe4
> > +0,     110000,     110000,     2000,    24000,
> 7455205e802f5c737e9867e19cb80b35
> > +0,     112000,     112000,     2000,    24000,
> 49181c9defd9cfe163ed94bda127b64f
> > +0,     114000,     114000,     2000,    24000,
> 76efe094889bfc9fca0a80fc628c2184
> > +0,     116000,     116000,     2000,    24000,
> 667385cbeff8074ad31fbfaf372d3036
> > +0,     118000,     118000,     2000,    24000,
> d5a0dd00353f92dd2d0298a98fcf68ff
> > +0,     120000,     120000,     2000,    24000,
> c95d627e1899be337f01412ac708cebc
> > +0,     122000,     122000,     2000,    24000,
> 0cae246a75aa327304c13b051cc43883
> > +0,     124000,     124000,     2000,    24000,
> e244e6793f933c8309495796fd7d4cb5
> > +0,     126000,     126000,     2000,    24000,
> d78955106c5f0acca4b61e2cc27a962b
> > +0,     128000,     128000,     2000,    24000,
> 630581ff6634952db8ad3a791501c596
> > +0,     130000,     130000,     2000,    24000,
> b70414eb688bc1abcd8ed08b38c90cd0
> > +0,     132000,     132000,     2000,    24000,
> 284a1822740697edd2d6cceb4eac232e
> > +0,     134000,     134000,     2000,    24000,
> ce67357e80bdb6bc0caa226abdf934aa
> > +0,     136000,     136000,     2000,    24000,
> f952be1e1c7d48acd73d652ef4ea3aad
> > +0,     138000,     138000,     2000,    24000,
> e42cbabef9d9675429dcb6fa28ce39f4
> > +0,     140000,     140000,     2000,    24000,
> 9c6613b980bcbe9ebacbb6a492f53b16
> > +0,     142000,     142000,     2000,    24000,
> 1882d1ae4b08fa7cc848eba60d645463
> > +0,     144000,     144000,     2000,    24000,
> a361b56ba31c90557689631f0e7afc63
> > +0,     146000,     146000,     2000,    24000,
> 341fbe24112c4060bb643750895a9041
> > +0,     148000,     148000,     2000,    24000,
> 38340ef2ef764bb8007efe9cd0af54d7
> > +0,     150000,     150000,     2000,    24000,
> 9b013a00bbedad211ba33326a3cfaa6e
> > +0,     152000,     152000,     2000,    24000,
> 9d3469da4442cdfd2b8a5beacb789701
> > +0,     154000,     154000,     2000,    24000,
> cf8e3880ecb46011328135dba1015044
> > +0,     156000,     156000,     2000,    24000,
> 3be9fa7d0e0541269339ee032bda4021
> > +0,     158000,     158000,     2000,    24000,
> ffd2646acf86524651416bc412afd846
> > +0,     160000,     160000,     2000,    24000,
> 715163d8f82f007b1b6c42b06bd08b5a
> > +0,     162000,     162000,     1840,    22080,
> c2079a237d021d7aa27e44acf979b1f0
>
> Noob question: Isn't a much larger total number of samples produced here?
>
> Also it might be good to mention in the commit that the audio duration
> is less exact when using commands like "ffmpeg -i $INPUT -c:a copy -t
> 1.0 $OUTPUT".
>
> Regards, Tobias
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
>
Marton Balint March 14, 2024, 10:04 p.m. UTC | #3
On Thu, 14 Mar 2024, Tobias Rapp wrote:

> On 08/03/2024 01:53, Marton Balint wrote:
>
>>  This makes the wav and pcm demuxer demux bigger packets, which is more
>>  efficient.
>>

[...]

>>  +0,     136000,     136000,     2000,    24000,
>>  f952be1e1c7d48acd73d652ef4ea3aad
>>  +0,     138000,     138000,     2000,    24000,
>>  e42cbabef9d9675429dcb6fa28ce39f4
>>  +0,     140000,     140000,     2000,    24000,
>>  9c6613b980bcbe9ebacbb6a492f53b16
>>  +0,     142000,     142000,     2000,    24000,
>>  1882d1ae4b08fa7cc848eba60d645463
>>  +0,     144000,     144000,     2000,    24000,
>>  a361b56ba31c90557689631f0e7afc63
>>  +0,     146000,     146000,     2000,    24000,
>>  341fbe24112c4060bb643750895a9041
>>  +0,     148000,     148000,     2000,    24000,
>>  38340ef2ef764bb8007efe9cd0af54d7
>>  +0,     150000,     150000,     2000,    24000,
>>  9b013a00bbedad211ba33326a3cfaa6e
>>  +0,     152000,     152000,     2000,    24000,
>>  9d3469da4442cdfd2b8a5beacb789701
>>  +0,     154000,     154000,     2000,    24000,
>>  cf8e3880ecb46011328135dba1015044
>>  +0,     156000,     156000,     2000,    24000,
>>  3be9fa7d0e0541269339ee032bda4021
>>  +0,     158000,     158000,     2000,    24000,
>>  ffd2646acf86524651416bc412afd846
>>  +0,     160000,     160000,     2000,    24000,
>>  715163d8f82f007b1b6c42b06bd08b5a
>>  +0,     162000,     162000,     1840,    22080,
>>  c2079a237d021d7aa27e44acf979b1f0
>
> Noob question: Isn't a much larger total number of samples produced here?

The command line which generates the daud file specifies -frames:a 20, and 
20 from bigger packets will cause a longer output file.

>
> Also it might be good to mention in the commit that the audio duration is 
> less exact when using commands like "ffmpeg -i $INPUT -c:a copy -t 1.0 
> $OUTPUT".

Ok, will add this to the commit message.

Regards,
Marton
Marton Balint March 14, 2024, 10:30 p.m. UTC | #4
On Thu, 14 Mar 2024, Paul B Mahol wrote:

> This is just ugly hack for workaround around broken ffmpeg threading.

This actually improves single threaded performance as well, check it with 
ffprobe if you want. Sure, the reason I turned my attention to this is 
the speed loss of ffmpeg.c because of threaded processing, but this is an 
improvement regardless of threaded or non-threaded use.

Regards,
Marton
Tobias Rapp March 15, 2024, 7:54 a.m. UTC | #5
On 14/03/2024 23:04, Marton Balint wrote:

>
>
> On Thu, 14 Mar 2024, Tobias Rapp wrote:
>
>> On 08/03/2024 01:53, Marton Balint wrote:
>>
>>>  This makes the wav and pcm demuxer demux bigger packets, which is more
>>>  efficient.
>>>
>
> [...]
>
>>>  +0,     136000,     136000, 2000,    24000,
>>>  f952be1e1c7d48acd73d652ef4ea3aad
>>>  +0,     138000,     138000,     2000,    24000,
>>>  e42cbabef9d9675429dcb6fa28ce39f4
>>>  +0,     140000,     140000,     2000,    24000,
>>>  9c6613b980bcbe9ebacbb6a492f53b16
>>>  +0,     142000,     142000,     2000,    24000,
>>>  1882d1ae4b08fa7cc848eba60d645463
>>>  +0,     144000,     144000,     2000,    24000,
>>>  a361b56ba31c90557689631f0e7afc63
>>>  +0,     146000,     146000,     2000,    24000,
>>>  341fbe24112c4060bb643750895a9041
>>>  +0,     148000,     148000,     2000,    24000,
>>>  38340ef2ef764bb8007efe9cd0af54d7
>>>  +0,     150000,     150000,     2000,    24000,
>>>  9b013a00bbedad211ba33326a3cfaa6e
>>>  +0,     152000,     152000,     2000,    24000,
>>>  9d3469da4442cdfd2b8a5beacb789701
>>>  +0,     154000,     154000,     2000,    24000,
>>>  cf8e3880ecb46011328135dba1015044
>>>  +0,     156000,     156000,     2000,    24000,
>>>  3be9fa7d0e0541269339ee032bda4021
>>>  +0,     158000,     158000,     2000,    24000,
>>>  ffd2646acf86524651416bc412afd846
>>>  +0,     160000,     160000,     2000,    24000,
>>>  715163d8f82f007b1b6c42b06bd08b5a
>>>  +0,     162000,     162000,     1840,    22080,
>>>  c2079a237d021d7aa27e44acf979b1f0
>>
>> Noob question: Isn't a much larger total number of samples produced 
>> here?
>
> The command line which generates the daud file specifies -frames:a 20, 
> and 20 from bigger packets will cause a longer output file.
>
Ah ok, I was just wondering because the packet count changes from 4 to 
65 while the packet size stays at 24000. Didn't notice that a two-step 
process (encoding with limited frame-count into file, then separate 
decoding to get the framemd5) is performed here in contrast to other 
tests with frame-count limit.
>>
>> Also it might be good to mention in the commit that the audio 
>> duration is less exact when using commands like "ffmpeg -i $INPUT 
>> -c:a copy -t 1.0 $OUTPUT".
>
> Ok, will add this to the commit message.
>
Thanks,
Tobias
Paul B Mahol March 17, 2024, 12:44 p.m. UTC | #6
On Thu, Mar 14, 2024 at 11:30 PM Marton Balint <cus@passwd.hu> wrote:

>
>
> On Thu, 14 Mar 2024, Paul B Mahol wrote:
>
> > This is just ugly hack for workaround around broken ffmpeg threading.
>
> This actually improves single threaded performance as well, check it with
> ffprobe if you want. Sure, the reason I turned my attention to this is
> the speed loss of ffmpeg.c because of threaded processing, but this is an
> improvement regardless of threaded or non-threaded use.
>

The single thread improvement is less drastic than multi-threading drop
with small packets.
Just compare with using API directly and avoiding ffmpeg.c threading mess.


>
> Regards,
> Marton
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
>
diff mbox series

Patch

diff --git a/libavformat/pcm.c b/libavformat/pcm.c
index b7728dd15e..314275bb0a 100644
--- a/libavformat/pcm.c
+++ b/libavformat/pcm.c
@@ -25,7 +25,7 @@ 
 #include "internal.h"
 #include "pcm.h"
 
-#define PCM_DEMUX_TARGET_FPS  25
+#define PCM_DEMUX_TARGET_FPS  10
 
 int ff_pcm_default_packet_size(AVCodecParameters *par)
 {
diff --git a/tests/ref/acodec/pcm-s16be b/tests/ref/acodec/pcm-s16be
index 2c051ce616..2c9dc4eb42 100644
--- a/tests/ref/acodec/pcm-s16be
+++ b/tests/ref/acodec/pcm-s16be
@@ -1,4 +1,4 @@ 
-5acf4268c4c4485ab79893f5e2f24e26 *tests/data/fate/acodec-pcm-s16be.mov
+203b3a036a6403f1393e14f0916b12d7 *tests/data/fate/acodec-pcm-s16be.mov
 1059069 tests/data/fate/acodec-pcm-s16be.mov
 95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-pcm-s16be.out.wav
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  1058400/  1058400
diff --git a/tests/ref/acodec/pcm-s16be_planar b/tests/ref/acodec/pcm-s16be_planar
index 12ebdee03f..89b96f4ec8 100644
--- a/tests/ref/acodec/pcm-s16be_planar
+++ b/tests/ref/acodec/pcm-s16be_planar
@@ -1,4 +1,4 @@ 
-b2acc0309be76b5f6200b525281a9037 *tests/data/fate/acodec-pcm-s16be_planar.nut
-1060727 tests/data/fate/acodec-pcm-s16be_planar.nut
+70d169feea255cb1675342dead3457d5 *tests/data/fate/acodec-pcm-s16be_planar.nut
+1060414 tests/data/fate/acodec-pcm-s16be_planar.nut
 95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-pcm-s16be_planar.out.wav
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  1058400/  1058400
diff --git a/tests/ref/acodec/pcm-s16le_planar b/tests/ref/acodec/pcm-s16le_planar
index cc5c3c65ac..1a0f4ae9ee 100644
--- a/tests/ref/acodec/pcm-s16le_planar
+++ b/tests/ref/acodec/pcm-s16le_planar
@@ -1,4 +1,4 @@ 
-15aa8f9d8ca30a17c7821acfcd9d87f9 *tests/data/fate/acodec-pcm-s16le_planar.nut
-1060727 tests/data/fate/acodec-pcm-s16le_planar.nut
+2c3156c45b72cbb37ffd17a2d05bd244 *tests/data/fate/acodec-pcm-s16le_planar.nut
+1060414 tests/data/fate/acodec-pcm-s16le_planar.nut
 95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-pcm-s16le_planar.out.wav
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  1058400/  1058400
diff --git a/tests/ref/acodec/pcm-s24be b/tests/ref/acodec/pcm-s24be
index e36b503d75..165fca64e7 100644
--- a/tests/ref/acodec/pcm-s24be
+++ b/tests/ref/acodec/pcm-s24be
@@ -1,4 +1,4 @@ 
-62e578b2e3e115a228e1ebfceeeb65c2 *tests/data/fate/acodec-pcm-s24be.mov
+90ed890d45e9ea8edb37d2e2e09227df *tests/data/fate/acodec-pcm-s24be.mov
 1588323 tests/data/fate/acodec-pcm-s24be.mov
 95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-pcm-s24be.out.wav
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  1058400/  1058400
diff --git a/tests/ref/acodec/pcm-s24le_planar b/tests/ref/acodec/pcm-s24le_planar
index 5e83a1904d..2ba195af0c 100644
--- a/tests/ref/acodec/pcm-s24le_planar
+++ b/tests/ref/acodec/pcm-s24le_planar
@@ -1,4 +1,4 @@ 
-1c746862c9d79c57e275266f63822b29 *tests/data/fate/acodec-pcm-s24le_planar.nut
-1590256 tests/data/fate/acodec-pcm-s24le_planar.nut
+a490736ae2b5c358fbd6d81f63efc143 *tests/data/fate/acodec-pcm-s24le_planar.nut
+1589636 tests/data/fate/acodec-pcm-s24le_planar.nut
 95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-pcm-s24le_planar.out.wav
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  1058400/  1058400
diff --git a/tests/ref/acodec/pcm-s32be b/tests/ref/acodec/pcm-s32be
index 128187362c..0c4e64fd34 100644
--- a/tests/ref/acodec/pcm-s32be
+++ b/tests/ref/acodec/pcm-s32be
@@ -1,4 +1,4 @@ 
-2a4d853ef4916ca5081fafe234d18596 *tests/data/fate/acodec-pcm-s32be.mov
+d18a498075997bf7221bb28ff566f0fa *tests/data/fate/acodec-pcm-s32be.mov
 2117527 tests/data/fate/acodec-pcm-s32be.mov
 95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-pcm-s32be.out.wav
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  1058400/  1058400
diff --git a/tests/ref/acodec/pcm-s32le_planar b/tests/ref/acodec/pcm-s32le_planar
index ff3051bf84..45ab786814 100644
--- a/tests/ref/acodec/pcm-s32le_planar
+++ b/tests/ref/acodec/pcm-s32le_planar
@@ -1,4 +1,4 @@ 
-d142973733ff4d61644b704438a4ba32 *tests/data/fate/acodec-pcm-s32le_planar.nut
-2120202 tests/data/fate/acodec-pcm-s32le_planar.nut
+0fe5f93bda9400e0f1f4234eca9364eb *tests/data/fate/acodec-pcm-s32le_planar.nut
+2118837 tests/data/fate/acodec-pcm-s32le_planar.nut
 95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-pcm-s32le_planar.out.wav
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  1058400/  1058400
diff --git a/tests/ref/acodec/pcm-s8_planar b/tests/ref/acodec/pcm-s8_planar
index 9cd795dc45..7710543393 100644
--- a/tests/ref/acodec/pcm-s8_planar
+++ b/tests/ref/acodec/pcm-s8_planar
@@ -1,4 +1,4 @@ 
-f04f79b2e90921a513f2d22fdab0dc47 *tests/data/fate/acodec-pcm-s8_planar.nut
-531105 tests/data/fate/acodec-pcm-s8_planar.nut
+f58ac9f9bca0f4b1382761b2af584a8a *tests/data/fate/acodec-pcm-s8_planar.nut
+530223 tests/data/fate/acodec-pcm-s8_planar.nut
 652edf30f35ad89bf27bcc9d2f9c7b53 *tests/data/fate/acodec-pcm-s8_planar.out.wav
 stddev:  147.89 PSNR: 52.93 MAXDIFF:  255 bytes:  1058400/  1058400
diff --git a/tests/ref/acodec/pcm-u16be b/tests/ref/acodec/pcm-u16be
index 015340cb8a..2842961bff 100644
--- a/tests/ref/acodec/pcm-u16be
+++ b/tests/ref/acodec/pcm-u16be
@@ -1,4 +1,4 @@ 
-abc31c722aee72f21b5f858731c28fb9 *tests/data/fate/acodec-pcm-u16be.nut
-1060720 tests/data/fate/acodec-pcm-u16be.nut
+7d3553681858a275611288f4c3101ffe *tests/data/fate/acodec-pcm-u16be.nut
+1060407 tests/data/fate/acodec-pcm-u16be.nut
 95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-pcm-u16be.out.wav
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  1058400/  1058400
diff --git a/tests/ref/acodec/pcm-u16le b/tests/ref/acodec/pcm-u16le
index 7efb086172..2bccd15b77 100644
--- a/tests/ref/acodec/pcm-u16le
+++ b/tests/ref/acodec/pcm-u16le
@@ -1,4 +1,4 @@ 
-80cf805a16a6b4f02f46ff9008ca16f7 *tests/data/fate/acodec-pcm-u16le.nut
-1060720 tests/data/fate/acodec-pcm-u16le.nut
+fdaa2a0c3b8830e80187ccd4d62e0c26 *tests/data/fate/acodec-pcm-u16le.nut
+1060407 tests/data/fate/acodec-pcm-u16le.nut
 95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-pcm-u16le.out.wav
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  1058400/  1058400
diff --git a/tests/ref/acodec/pcm-u24be b/tests/ref/acodec/pcm-u24be
index ef423ea10d..912bb9ed0b 100644
--- a/tests/ref/acodec/pcm-u24be
+++ b/tests/ref/acodec/pcm-u24be
@@ -1,4 +1,4 @@ 
-c5b7d1898d8f5d6675ba543d2830bbaf *tests/data/fate/acodec-pcm-u24be.nut
-1590249 tests/data/fate/acodec-pcm-u24be.nut
+67f6e0040f65830ad408903a9565417c *tests/data/fate/acodec-pcm-u24be.nut
+1589629 tests/data/fate/acodec-pcm-u24be.nut
 95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-pcm-u24be.out.wav
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  1058400/  1058400
diff --git a/tests/ref/acodec/pcm-u24le b/tests/ref/acodec/pcm-u24le
index 4010a1a3f3..c98e9d495d 100644
--- a/tests/ref/acodec/pcm-u24le
+++ b/tests/ref/acodec/pcm-u24le
@@ -1,4 +1,4 @@ 
-884a3a562a8005084fde088fc3a74283 *tests/data/fate/acodec-pcm-u24le.nut
-1590249 tests/data/fate/acodec-pcm-u24le.nut
+ad263ac0fc0bc92f1bc20739c54b4904 *tests/data/fate/acodec-pcm-u24le.nut
+1589629 tests/data/fate/acodec-pcm-u24le.nut
 95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-pcm-u24le.out.wav
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  1058400/  1058400
diff --git a/tests/ref/acodec/pcm-u32be b/tests/ref/acodec/pcm-u32be
index 358a01ef99..e7352254ee 100644
--- a/tests/ref/acodec/pcm-u32be
+++ b/tests/ref/acodec/pcm-u32be
@@ -1,4 +1,4 @@ 
-88d1f0b98e2878f0a45abde7ad73e9f1 *tests/data/fate/acodec-pcm-u32be.nut
-2120195 tests/data/fate/acodec-pcm-u32be.nut
+114b4a686b05672f77594dfdae57694b *tests/data/fate/acodec-pcm-u32be.nut
+2118830 tests/data/fate/acodec-pcm-u32be.nut
 95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-pcm-u32be.out.wav
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  1058400/  1058400
diff --git a/tests/ref/acodec/pcm-u32le b/tests/ref/acodec/pcm-u32le
index 6857ec02c3..c1586b24eb 100644
--- a/tests/ref/acodec/pcm-u32le
+++ b/tests/ref/acodec/pcm-u32le
@@ -1,4 +1,4 @@ 
-7257d6251524479c563c9f17a2642222 *tests/data/fate/acodec-pcm-u32le.nut
-2120195 tests/data/fate/acodec-pcm-u32le.nut
+fb33ec03170dcdb86ef17f6b0d77a3e3 *tests/data/fate/acodec-pcm-u32le.nut
+2118830 tests/data/fate/acodec-pcm-u32le.nut
 95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-pcm-u32le.out.wav
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  1058400/  1058400
diff --git a/tests/ref/acodec/s302m b/tests/ref/acodec/s302m
index 2919ed6e55..bc4986cabd 100644
--- a/tests/ref/acodec/s302m
+++ b/tests/ref/acodec/s302m
@@ -1,4 +1,4 @@ 
-0bf5457fd41a22fc5cdd99ae5ad4e273 *tests/data/fate/acodec-s302m.mpegts
-1527688 tests/data/fate/acodec-s302m.mpegts
-31f25a0020fd9017de9c3c608316854b *tests/data/fate/acodec-s302m.out.wav
-stddev:  986.94 PSNR: 36.44 MAXDIFF:18571 bytes:  1058400/  1056708
+08a3bec0e1626ad8c8a13b181ee1afb5 *tests/data/fate/acodec-s302m.mpegts
+1496104 tests/data/fate/acodec-s302m.mpegts
+abc1b26737c8103c3f122539d239f6be *tests/data/fate/acodec-s302m.out.wav
+stddev:  986.15 PSNR: 36.45 MAXDIFF:18571 bytes:  1058400/  1058400
diff --git a/tests/ref/fate/dcinema-encode b/tests/ref/fate/dcinema-encode
index ce5e9d2550..9c2b6f72f1 100644
--- a/tests/ref/fate/dcinema-encode
+++ b/tests/ref/fate/dcinema-encode
@@ -27,4 +27,65 @@ 
 0,      34000,      34000,     2000,    24000, acffdfa3337a082091398ac8085882e1
 0,      36000,      36000,     2000,    24000, 5daaa9b578b92270de0394baadf37a2c
 0,      38000,      38000,     2000,    24000, 67a3b8af025b212a62229ae57f99f7a6
-0,      40000,      40000,      960,    11520, c6d89c32b3337e204245ec6f8d144aef
+0,      40000,      40000,     2000,    24000, e8f6f41edfdf4b198055349e90f36cd4
+0,      42000,      42000,     2000,    24000, 43d7cd1917a7e1ecfcae1c762a4f8284
+0,      44000,      44000,     2000,    24000, 21cc3c1b9dc3994df6ce90cc3f0bf03d
+0,      46000,      46000,     2000,    24000, 763a76a1dca46e743fbe1ef90dac1b68
+0,      48000,      48000,     2000,    24000, 5d307e637e1dc4218d88e48a0189beb0
+0,      50000,      50000,     2000,    24000, dafc392287225811c1cb1c813789f2b8
+0,      52000,      52000,     2000,    24000, c1a58740c9b731bc1f2702dc56ba3cd6
+0,      54000,      54000,     2000,    24000, 891e6d94c34a60e24925ea28f19ccf2a
+0,      56000,      56000,     2000,    24000, afc88ea476094f7b5accb8ca080a69a5
+0,      58000,      58000,     2000,    24000, 74ab38c75d3810f7bf74901305eab47c
+0,      60000,      60000,     2000,    24000, 838144d8da6a6eca8aef01195b430363
+0,      62000,      62000,     2000,    24000, ebfb8a30c334061361241fd53067b416
+0,      64000,      64000,     2000,    24000, 83324adc64db2f46a94363bf04a60773
+0,      66000,      66000,     2000,    24000, 34606f116338b7045515c3b56e1633f9
+0,      68000,      68000,     2000,    24000, 7450cc8b2c3746380140a47a47b41b73
+0,      70000,      70000,     2000,    24000, 0f6d7bc6adf2facbd72403b17d035bf5
+0,      72000,      72000,     2000,    24000, 844f2585154aa770ebe4df514c6139af
+0,      74000,      74000,     2000,    24000, 36b5914af624b3f301bce43c42ec0523
+0,      76000,      76000,     2000,    24000, 9fc415ae7ae0db7f9be51a2a5654bafd
+0,      78000,      78000,     2000,    24000, bad8e1b1b484405ea814683eca929e1d
+0,      80000,      80000,     2000,    24000, 25ad314aaa14e866327d9d58c65b49e7
+0,      82000,      82000,     2000,    24000, 468fafbd7548d9c79284cdc9207bab4e
+0,      84000,      84000,     2000,    24000, 7f3c9b931f21d4afa4319b4cd5dfc850
+0,      86000,      86000,     2000,    24000, a96e220a2c9c4f85d843074bc4b966b6
+0,      88000,      88000,     2000,    24000, ccaf7968a2cf2811f44e68555bdb421b
+0,      90000,      90000,     2000,    24000, 9a308f3af192f1a232924f61e9558358
+0,      92000,      92000,     2000,    24000, 8a11dbc1b0292a08848d6207be61cfce
+0,      94000,      94000,     2000,    24000, ab261359b88b39c36786b6c181846096
+0,      96000,      96000,     2000,    24000, c2dd68e56ef0d402725167cb44d57be1
+0,      98000,      98000,     2000,    24000, 892250bb4cbce7c2784d09dfd06526b6
+0,     100000,     100000,     2000,    24000, 121e981c4128df538fe551ea4d5a8225
+0,     102000,     102000,     2000,    24000, 4b2a5d77951b07f81ae924abac73b8d1
+0,     104000,     104000,     2000,    24000, b7f4c1ef2daa35c6cdcf1116eecfdb91
+0,     106000,     106000,     2000,    24000, a9dd31482a4fa41b67ebaba1b4ff97e8
+0,     108000,     108000,     2000,    24000, 672e5e89906d030a05b98d64d9eaefe4
+0,     110000,     110000,     2000,    24000, 7455205e802f5c737e9867e19cb80b35
+0,     112000,     112000,     2000,    24000, 49181c9defd9cfe163ed94bda127b64f
+0,     114000,     114000,     2000,    24000, 76efe094889bfc9fca0a80fc628c2184
+0,     116000,     116000,     2000,    24000, 667385cbeff8074ad31fbfaf372d3036
+0,     118000,     118000,     2000,    24000, d5a0dd00353f92dd2d0298a98fcf68ff
+0,     120000,     120000,     2000,    24000, c95d627e1899be337f01412ac708cebc
+0,     122000,     122000,     2000,    24000, 0cae246a75aa327304c13b051cc43883
+0,     124000,     124000,     2000,    24000, e244e6793f933c8309495796fd7d4cb5
+0,     126000,     126000,     2000,    24000, d78955106c5f0acca4b61e2cc27a962b
+0,     128000,     128000,     2000,    24000, 630581ff6634952db8ad3a791501c596
+0,     130000,     130000,     2000,    24000, b70414eb688bc1abcd8ed08b38c90cd0
+0,     132000,     132000,     2000,    24000, 284a1822740697edd2d6cceb4eac232e
+0,     134000,     134000,     2000,    24000, ce67357e80bdb6bc0caa226abdf934aa
+0,     136000,     136000,     2000,    24000, f952be1e1c7d48acd73d652ef4ea3aad
+0,     138000,     138000,     2000,    24000, e42cbabef9d9675429dcb6fa28ce39f4
+0,     140000,     140000,     2000,    24000, 9c6613b980bcbe9ebacbb6a492f53b16
+0,     142000,     142000,     2000,    24000, 1882d1ae4b08fa7cc848eba60d645463
+0,     144000,     144000,     2000,    24000, a361b56ba31c90557689631f0e7afc63
+0,     146000,     146000,     2000,    24000, 341fbe24112c4060bb643750895a9041
+0,     148000,     148000,     2000,    24000, 38340ef2ef764bb8007efe9cd0af54d7
+0,     150000,     150000,     2000,    24000, 9b013a00bbedad211ba33326a3cfaa6e
+0,     152000,     152000,     2000,    24000, 9d3469da4442cdfd2b8a5beacb789701
+0,     154000,     154000,     2000,    24000, cf8e3880ecb46011328135dba1015044
+0,     156000,     156000,     2000,    24000, 3be9fa7d0e0541269339ee032bda4021
+0,     158000,     158000,     2000,    24000, ffd2646acf86524651416bc412afd846
+0,     160000,     160000,     2000,    24000, 715163d8f82f007b1b6c42b06bd08b5a
+0,     162000,     162000,     1840,    22080, c2079a237d021d7aa27e44acf979b1f0
diff --git a/tests/ref/fate/filter-acrossfade b/tests/ref/fate/filter-acrossfade
index 8737d9da57..f80aa10b55 100644
--- a/tests/ref/fate/filter-acrossfade
+++ b/tests/ref/fate/filter-acrossfade
@@ -3,501 +3,130 @@ 
 #codec_id 0: pcm_s16le
 #sample_rate 0: 44100
 #channel_layout_name 0: stereo
-0,          0,          0,      888,     3552, 0x592ce6cc
-0,        888,        888,     1024,     4096, 0x20f6f6a9
-0,       1912,       1912,     1024,     4096, 0x3f840122
-0,       2936,       2936,     1024,     4096, 0xa905f9d1
-0,       3960,       3960,     1024,     4096, 0x1547eb1b
-0,       4984,       4984,     1024,     4096, 0xab54067e
-0,       6008,       6008,     1024,     4096, 0x06c6f5ef
-0,       7032,       7032,     1024,     4096, 0xc5c1f5bb
-0,       8056,       8056,     1024,     4096, 0x6a89fd31
-0,       9080,       9080,     1024,     4096, 0xb9d3ffa1
-0,      10104,      10104,     1024,     4096, 0x4262e2ff
-0,      11128,      11128,     1024,     4096, 0x7afffe9d
-0,      12152,      12152,     1024,     4096, 0xdc1d0274
-0,      13176,      13176,     1024,     4096, 0xad97f96f
-0,      14200,      14200,     1024,     4096, 0xb26ee1cb
-0,      15224,      15224,     1024,     4096, 0xbe90fb3d
-0,      16248,      16248,     1024,     4096, 0xf1d30268
-0,      17272,      17272,     1024,     4096, 0x697ffa2d
-0,      18296,      18296,     1024,     4096, 0x5531efc3
-0,      19320,      19320,     1024,     4096, 0xf857f707
-0,      20344,      20344,     1024,     4096, 0x63b005c8
-0,      21368,      21368,     1024,     4096, 0xec82ea67
-0,      22392,      22392,     1024,     4096, 0x9f6dfae9
-0,      23416,      23416,     1024,     4096, 0xdebbfb1d
-0,      24440,      24440,     1024,     4096, 0xd454efab
-0,      25464,      25464,     1024,     4096, 0xd093f135
-0,      26488,      26488,     1024,     4096, 0x52530de6
-0,      27512,      27512,     1024,     4096, 0x23f6f239
-0,      28536,      28536,     1024,     4096, 0xb179ee71
-0,      29560,      29560,     1024,     4096, 0xea3ff767
-0,      30584,      30584,     1024,     4096, 0xf40e0f1c
-0,      31608,      31608,     1024,     4096, 0xc960f597
-0,      32632,      32632,     1024,     4096, 0x9c1bee7d
-0,      33656,      33656,     1024,     4096, 0x20f6f6a9
-0,      34680,      34680,     1024,     4096, 0x3f840122
-0,      35704,      35704,     1024,     4096, 0xa905f9d1
-0,      36728,      36728,     1024,     4096, 0x1547eb1b
-0,      37752,      37752,     1024,     4096, 0xab54067e
-0,      38776,      38776,     1024,     4096, 0x06c6f5ef
-0,      39800,      39800,     1024,     4096, 0xc5c1f5bb
-0,      40824,      40824,     1024,     4096, 0x6a89fd31
-0,      41848,      41848,     1024,     4096, 0xb9d3ffa1
-0,      42872,      42872,     1024,     4096, 0x4262e2ff
-0,      43896,      43896,     1024,     4096, 0x78b0e7fb
-0,      44920,      44920,     1024,     4096, 0x498cf37b
-0,      45944,      45944,     1024,     4096, 0xdedfdf2b
-0,      46968,      46968,     1024,     4096, 0x430efa55
-0,      47992,      47992,     1024,     4096, 0xa487044e
-0,      49016,      49016,     1024,     4096, 0x0dfff373
-0,      50040,      50040,     1024,     4096, 0xf922f9e1
-0,      51064,      51064,     1024,     4096, 0xc577f857
-0,      52088,      52088,     1024,     4096, 0x33b5ee21
-0,      53112,      53112,     1024,     4096, 0x3e5ff725
-0,      54136,      54136,     1024,     4096, 0x909f0630
-0,      55160,      55160,     1024,     4096, 0xe087f33f
-0,      56184,      56184,     1024,     4096, 0x8162efc1
-0,      57208,      57208,     1024,     4096, 0x6c953c36
-0,      58232,      58232,     1024,     4096, 0x413d0d22
-0,      59256,      59256,     1024,     4096, 0xeed90a6c
-0,      60280,      60280,     1024,     4096, 0x15c6f533
-0,      61304,      61304,     1024,     4096, 0xb7a1eb5f
-0,      62328,      62328,     1024,     4096, 0x9a83e815
-0,      63352,      63352,     1024,     4096, 0x3370056e
-0,      64376,      64376,     1024,     4096, 0xea3ee86b
-0,      65400,      65400,     1024,     4096, 0xc05be2c5
-0,      66424,      66424,     1024,     4096, 0x4b41001a
-0,      67448,      67448,     1024,     4096, 0x8aa1fd37
-0,      68472,      68472,     1024,     4096, 0x940df3d9
-0,      69496,      69496,     1024,     4096, 0x6d8f0206
-0,      70520,      70520,     1024,     4096, 0xbfd9dea3
-0,      71544,      71544,     1024,     4096, 0x1e8309a0
-0,      72568,      72568,     1024,     4096, 0xf188fe8d
-0,      73592,      73592,     1024,     4096, 0x498ffb27
-0,      74616,      74616,     1024,     4096, 0x64fc009a
-0,      75640,      75640,     1024,     4096, 0x196df42b
-0,      76664,      76664,     1024,     4096, 0x4863297a
-0,      77688,      77688,     1024,     4096, 0xbaac05c2
-0,      78712,      78712,     1024,     4096, 0xf47e0996
-0,      79736,      79736,     1024,     4096, 0xafa4e80b
-0,      80760,      80760,     1024,     4096, 0x0240f325
-0,      81784,      81784,     1024,     4096, 0x5c1d0962
-0,      82808,      82808,     1024,     4096, 0x5bfa50e2
-0,      83832,      83832,     1024,     4096, 0x666becf9
-0,      84856,      84856,     1024,     4096, 0x96060590
-0,      85880,      85880,     1024,     4096, 0x05060204
-0,      86904,      86904,     1024,     4096, 0x05cf0c16
-0,      87928,      87928,     1024,     4096, 0xb348e18d
-0,      88952,      88952,     1024,     4096, 0xfc88d47b
-0,      89976,      89976,     1024,     4096, 0xd445b2b9
-0,      91000,      91000,     1024,     4096, 0x5d83bd97
-0,      92024,      92024,     1024,     4096, 0x43fa9721
-0,      93048,      93048,     1024,     4096, 0x25219dbd
-0,      94072,      94072,     1024,     4096, 0x1759bc3f
-0,      95096,      95096,     1024,     4096, 0x4925b38d
-0,      96120,      96120,     1024,     4096, 0xa8a7c7e7
-0,      97144,      97144,     1024,     4096, 0x9dbbfe19
-0,      98168,      98168,     1024,     4096, 0x8b2182a9
-0,      99192,      99192,     1024,     4096, 0x3601b417
-0,     100216,     100216,     1024,     4096, 0xdedaed89
-0,     101240,     101240,     1024,     4096, 0xffacd8db
-0,     102264,     102264,     1024,     4096, 0x7df9d58d
-0,     103288,     103288,     1024,     4096, 0x9cecae51
-0,     104312,     104312,     1024,     4096, 0xc163cc3f
-0,     105336,     105336,     1024,     4096, 0x3d25b799
-0,     106360,     106360,     1024,     4096, 0x815192fb
-0,     107384,     107384,     1024,     4096, 0xaeb1ad99
-0,     108408,     108408,     1024,     4096, 0x9f05ed2b
-0,     109432,     109432,     1024,     4096, 0xf3bacd99
-0,     110456,     110456,     1024,     4096, 0x56e4f28b
-0,     111480,     111480,     1024,     4096, 0xe733e81d
-0,     112504,     112504,     1024,     4096, 0x9e54195e
-0,     113528,     113528,     1024,     4096, 0x4e61fa9f
-0,     114552,     114552,     1024,     4096, 0x5425ed95
-0,     115576,     115576,     1024,     4096, 0x0ba4ed4d
-0,     116600,     116600,     1024,     4096, 0x1027fc33
-0,     117624,     117624,     1024,     4096, 0x1622c7e5
-0,     118648,     118648,     1024,     4096, 0x0471ff05
-0,     119672,     119672,     1024,     4096, 0x69a40e10
-0,     120696,     120696,     1024,     4096, 0x22e413ba
-0,     121720,     121720,     1024,     4096, 0x78fafea9
-0,     122744,     122744,     1024,     4096, 0x30f1f61d
-0,     123768,     123768,     1024,     4096, 0x5e24f561
-0,     124792,     124792,     1024,     4096, 0xab19ceb5
-0,     125816,     125816,     1024,     4096, 0x0c16c3dd
-0,     126840,     126840,     1024,     4096, 0xe13afd1b
-0,     127864,     127864,     1024,     4096, 0xb3a0f46d
-0,     128888,     128888,     1024,     4096, 0xe1f4f585
-0,     129912,     129912,     1024,     4096, 0x51cd28e2
-0,     130936,     130936,     1024,     4096, 0x34c1047e
-0,     131960,     131960,     1024,     4096, 0x5c04f360
-0,     132984,     132984,     1024,     4096, 0x17bfe876
-0,     134008,     134008,     1024,     4096, 0x4d7fea40
-0,     135032,     135032,     1024,     4096, 0x8d23f2da
-0,     136056,     136056,     1024,     4096, 0xfc140395
-0,     137080,     137080,     1024,     4096, 0x891f0008
-0,     138104,     138104,     1024,     4096, 0x28d0188a
-0,     139128,     139128,     1024,     4096, 0xbf0df63e
-0,     140152,     140152,     1024,     4096, 0x1751e8f0
-0,     141176,     141176,     1024,     4096, 0xe1beee48
-0,     142200,     142200,     1024,     4096, 0x27adfc7c
-0,     143224,     143224,     1024,     4096, 0x2314d632
-0,     144248,     144248,     1024,     4096, 0xf39aff11
-0,     145272,     145272,     1024,     4096, 0xd1fb0d61
-0,     146296,     146296,     1024,     4096, 0xf51b0083
-0,     147320,     147320,     1024,     4096, 0x9822f530
-0,     148344,     148344,     1024,     4096, 0x6dc8df31
-0,     149368,     149368,     1024,     4096, 0x6f2e0184
-0,     150392,     150392,     1024,     4096, 0x7a9afdb9
-0,     151416,     151416,     1024,     4096, 0x2f85001a
-0,     152440,     152440,     1024,     4096, 0x3a6cf053
-0,     153464,     153464,     1024,     4096, 0x030a131d
-0,     154488,     154488,     1024,     4096, 0xfc050025
-0,     155512,     155512,     1024,     4096, 0xd1a9d654
-0,     156536,     156536,     1024,     4096, 0x199ff4fe
-0,     157560,     157560,     1024,     4096, 0xa84bee80
-0,     158584,     158584,     1024,     4096, 0xda96e946
-0,     159608,     159608,     1024,     4096, 0xc026e284
-0,     160632,     160632,     1024,     4096, 0x1400185d
-0,     161656,     161656,     1024,     4096, 0xd9a2f887
-0,     162680,     162680,     1024,     4096, 0xaa8bfdfe
-0,     163704,     163704,     1024,     4096, 0x49a9e7df
-0,     164728,     164728,     1024,     4096, 0x159e0717
-0,     165752,     165752,     1024,     4096, 0x9a3eff6b
-0,     166776,     166776,     1024,     4096, 0xaa5ef364
-0,     167800,     167800,     1024,     4096, 0x32c20b32
-0,     168824,     168824,     1024,     4096, 0x67f0f55b
-0,     169848,     169848,     1024,     4096, 0x1002eff5
-0,     170872,     170872,     1024,     4096, 0x7fa0ea71
-0,     171896,     171896,     1024,     4096, 0x0c61e8ea
-0,     172920,     172920,     1024,     4096, 0xd68fe4bf
-0,     173944,     173944,     1024,     4096, 0x2aa00648
-0,     174968,     174968,     1024,     4096, 0x74ffeeae
-0,     175992,     175992,      408,     1632, 0x28353dae
+0,          0,          0,     1912,     7648, 0x1294dd84
+0,       1912,       1912,     4096,    16384, 0x8d5eec9b
+0,       6008,       6008,     4096,    16384, 0x9f15e8a9
+0,      10104,      10104,     4096,    16384, 0x5594dd9d
+0,      14200,      14200,     4096,    16384, 0x5115d9bb
+0,      18296,      18296,     4096,    16384, 0x0511d717
+0,      22392,      22392,     4096,    16384, 0x9cbdd713
+0,      26488,      26488,     4096,    16384, 0x2f13e615
+0,      30584,      30584,     4096,    16384, 0x415ae9f7
+0,      34680,      34680,     4096,    16384, 0x8d5eec9b
+0,      38776,      38776,     4096,    16384, 0x9f15e8a9
+0,      42872,      42872,     4096,    16384, 0xd9809dcd
+0,      46968,      46968,     4096,    16384, 0x7b60ec15
+0,      51064,      51064,     4096,    16384, 0xe92de3eb
+0,      55160,      55160,     4096,    16384, 0x063d2c76
+0,      59256,      59256,     4096,    16384, 0xacbed331
+0,      63352,      63352,     4096,    16384, 0x1137d0c7
+0,      67448,      67448,     4096,    16384, 0xafbad1d7
+0,      71544,      71544,     4096,    16384, 0xb2a0040c
+0,      75640,      75640,     4096,    16384, 0x83222d0c
+0,      79736,      79736,     4096,    16384, 0x97993592
+0,      83832,      83832,     4096,    16384, 0x9e4200b2
+0,      87928,      87928,     4096,    16384, 0xf24c2685
+0,      92024,      92024,     4096,    16384, 0x0b23a4c8
+0,      96120,      96120,     4096,    16384, 0x9105fcde
+0,     100216,     100216,     4096,    16384, 0xd4b64a6f
+0,     104312,     104312,     4096,    16384, 0xef56c48a
+0,     108408,     108408,     4096,    16384, 0xb12b9599
+0,     112504,     112504,     4096,    16384, 0x18bbeefd
+0,     116600,     116600,     4096,    16384, 0x3fe2d14b
+0,     120696,     120696,     4096,    16384, 0xf6d6fdff
+0,     124792,     124792,     4096,    16384, 0x2e538447
+0,     128888,     128888,     4096,    16384, 0xd8251663
+0,     132984,     132984,     4096,    16384, 0xd783c943
+0,     137080,     137080,     4096,    16384, 0x3d64f7cf
+0,     141176,     141176,     4096,    16384, 0x80e2c034
+0,     145272,     145272,     4096,    16384, 0x69a7e254
+0,     149368,     149368,     4096,    16384, 0xb3f5efb9
+0,     153464,     153464,     4096,    16384, 0x3975dea3
+0,     157560,     157560,     4096,    16384, 0x7ff7d2c5
+0,     161656,     161656,     4096,    16384, 0x5476e599
+0,     165752,     165752,     4096,    16384, 0x30e4f37a
+0,     169848,     169848,     4096,    16384, 0x57c1a83c
+0,     173944,     173944,     2456,     9824, 0x498532b3
 0,     176400,     176400,    88200,   352800, 0x4fb492af
-0,     264600,     264600,      888,     3552, 0xa5a41b07
-0,     265488,     265488,     1024,     4096, 0xc1c61f53
-0,     266512,     266512,     1024,     4096, 0x35b6d595
-0,     267536,     267536,     1024,     4096, 0xc4481118
-0,     268560,     268560,     1024,     4096, 0x5dc0b58d
-0,     269584,     269584,     1024,     4096, 0x4a53a7f1
-0,     270608,     270608,     1024,     4096, 0xc38e9bec
-0,     271632,     271632,     1024,     4096, 0xc9443282
-0,     272656,     272656,     1024,     4096, 0x8018d290
-0,     273680,     273680,     1024,     4096, 0xf32d9a70
-0,     274704,     274704,     1024,     4096, 0xc63ae76a
-0,     275728,     275728,     1024,     4096, 0xcd5d1222
-0,     276752,     276752,     1024,     4096, 0x8226c5de
-0,     277776,     277776,     1024,     4096, 0xf2fb1f27
-0,     278800,     278800,     1024,     4096, 0x9fb0ba34
-0,     279824,     279824,     1024,     4096, 0xf178e325
-0,     280848,     280848,     1024,     4096, 0x9c2b2db4
-0,     281872,     281872,     1024,     4096, 0x1336d63c
-0,     282896,     282896,     1024,     4096, 0x0688ef16
-0,     283920,     283920,     1024,     4096, 0xd833f93f
-0,     284944,     284944,     1024,     4096, 0xab7fad69
-0,     285968,     285968,     1024,     4096, 0x5c3c09fb
-0,     286992,     286992,     1024,     4096, 0x41c9e4ed
-0,     288016,     288016,     1024,     4096, 0xb670a66c
-0,     289040,     289040,     1024,     4096, 0x86a0af26
-0,     290064,     290064,     1024,     4096, 0x55afec1f
-0,     291088,     291088,     1024,     4096, 0x36d51c13
-0,     292112,     292112,     1024,     4096, 0x54a15642
-0,     293136,     293136,     1024,     4096, 0x0e3edeaf
-0,     294160,     294160,     1024,     4096, 0x63d74a2d
-0,     295184,     295184,     1024,     4096, 0x2a60f9ee
-0,     296208,     296208,     1024,     4096, 0xa562fd0b
-0,     297232,     297232,     1024,     4096, 0xf382907c
-0,     298256,     298256,     1024,     4096, 0x32aafa99
-0,     299280,     299280,     1024,     4096, 0xb1da3640
-0,     300304,     300304,     1024,     4096, 0x3da8d51a
-0,     301328,     301328,     1024,     4096, 0x3afe27bc
-0,     302352,     302352,     1024,     4096, 0x05d30d0f
-0,     303376,     303376,     1024,     4096, 0x86214868
-0,     304400,     304400,     1024,     4096, 0x6283507f
-0,     305424,     305424,     1024,     4096, 0x3fb53fe7
-0,     306448,     306448,     1024,     4096, 0x5d907ea8
-0,     307472,     307472,     1024,     4096, 0xa7c389de
-0,     308496,     308496,     1024,     4096, 0xe28ba1f2
-0,     309520,     309520,     1024,     4096, 0x9932afac
-0,     310544,     310544,     1024,     4096, 0x82f1e0c2
-0,     311568,     311568,     1024,     4096, 0x5c80bb5f
-0,     312592,     312592,     1024,     4096, 0x6b73c24f
-0,     313616,     313616,     1024,     4096, 0x22b3ae86
-0,     314640,     314640,     1024,     4096, 0x9ea7b6ec
-0,     315664,     315664,     1024,     4096, 0x5c5813a2
-0,     316688,     316688,     1024,     4096, 0x0058fcee
-0,     317712,     317712,     1024,     4096, 0xc0717d58
-0,     318736,     318736,     1024,     4096, 0xc891c3df
-0,     319760,     319760,     1024,     4096, 0xe4e3ac85
-0,     320784,     320784,     1024,     4096, 0x3bdd40c6
-0,     321808,     321808,     1024,     4096, 0xd57e116c
-0,     322832,     322832,     1024,     4096, 0x494c72ab
-0,     323856,     323856,     1024,     4096, 0xcb661c13
-0,     324880,     324880,     1024,     4096, 0xb55811f9
-0,     325904,     325904,     1024,     4096, 0xbff22c30
-0,     326928,     326928,     1024,     4096, 0x9332e605
-0,     327952,     327952,     1024,     4096, 0x90bb6299
-0,     328976,     328976,     1024,     4096, 0xebdd4500
-0,     330000,     330000,     1024,     4096, 0x3d940413
-0,     331024,     331024,     1024,     4096, 0x3445f60f
-0,     332048,     332048,     1024,     4096, 0x613e016c
-0,     333072,     333072,     1024,     4096, 0xd565de1c
-0,     334096,     334096,     1024,     4096, 0xba771399
-0,     335120,     335120,     1024,     4096, 0x730b7c1e
-0,     336144,     336144,     1024,     4096, 0xc2f003a3
-0,     337168,     337168,     1024,     4096, 0x9186ff8e
-0,     338192,     338192,     1024,     4096, 0x7356b98c
-0,     339216,     339216,     1024,     4096, 0xbc02af51
-0,     340240,     340240,     1024,     4096, 0xac922f72
-0,     341264,     341264,     1024,     4096, 0x53d1060e
-0,     342288,     342288,     1024,     4096, 0xe598611b
-0,     343312,     343312,     1024,     4096, 0xd7ac93df
-0,     344336,     344336,     1024,     4096, 0x59b77247
-0,     345360,     345360,     1024,     4096, 0x206418c9
-0,     346384,     346384,     1024,     4096, 0xd360c906
-0,     347408,     347408,     1024,     4096, 0x7b92c2c0
-0,     348432,     348432,     1024,     4096, 0x021dcb06
-0,     349456,     349456,     1024,     4096, 0xc9b9a3ee
-0,     350480,     350480,     1024,     4096, 0xa6e01534
-0,     351504,     351504,     1024,     4096, 0xb0d74c80
-0,     352528,     352528,     1024,     4096, 0x63f1a8c4
-0,     353552,     353552,     1024,     4096, 0xe45a00df
-0,     354576,     354576,     1024,     4096, 0xd75032fc
-0,     355600,     355600,     1024,     4096, 0x553459cf
-0,     356624,     356624,     1024,     4096, 0x1b33a1bc
-0,     357648,     357648,     1024,     4096, 0x624d9fa5
-0,     358672,     358672,     1024,     4096, 0x69ef01c2
-0,     359696,     359696,     1024,     4096, 0x2abae91b
-0,     360720,     360720,     1024,     4096, 0x677619c8
-0,     361744,     361744,     1024,     4096, 0xdc47f672
-0,     362768,     362768,     1024,     4096, 0x3ca75283
-0,     363792,     363792,     1024,     4096, 0x8edec474
-0,     364816,     364816,     1024,     4096, 0x323d1977
-0,     365840,     365840,     1024,     4096, 0x70d8200e
-0,     366864,     366864,     1024,     4096, 0xf0fc692d
-0,     367888,     367888,     1024,     4096, 0x9d7e9451
-0,     368912,     368912,     1024,     4096, 0x56110ed6
-0,     369936,     369936,     1024,     4096, 0x8308d382
-0,     370960,     370960,     1024,     4096, 0xc12e8455
-0,     371984,     371984,     1024,     4096, 0xbab70fc3
-0,     373008,     373008,     1024,     4096, 0x3974c794
-0,     374032,     374032,     1024,     4096, 0x92268867
-0,     375056,     375056,     1024,     4096, 0x07bc5db6
-0,     376080,     376080,     1024,     4096, 0x3a69a60c
-0,     377104,     377104,     1024,     4096, 0x213b8da2
-0,     378128,     378128,     1024,     4096, 0x39ddbcb5
-0,     379152,     379152,     1024,     4096, 0x6b107851
-0,     380176,     380176,     1024,     4096, 0xaa735be6
-0,     381200,     381200,     1024,     4096, 0x3becca60
-0,     382224,     382224,     1024,     4096, 0x1383217b
-0,     383248,     383248,     1024,     4096, 0x2a93fb25
-0,     384272,     384272,     1024,     4096, 0x057e076d
-0,     385296,     385296,     1024,     4096, 0xf306219b
-0,     386320,     386320,     1024,     4096, 0x3d1f238b
-0,     387344,     387344,     1024,     4096, 0x4bdaeb13
-0,     388368,     388368,     1024,     4096, 0xbe12e587
-0,     389392,     389392,     1024,     4096, 0xf428fc99
-0,     390416,     390416,     1024,     4096, 0x25131fac
-0,     391440,     391440,     1024,     4096, 0xaaddd43a
-0,     392464,     392464,     1024,     4096, 0x082d1b1f
-0,     393488,     393488,     1024,     4096, 0xec8d6067
-0,     394512,     394512,     1024,     4096, 0x69880a4a
-0,     395536,     395536,     1024,     4096, 0x98892785
-0,     396560,     396560,     1024,     4096, 0x90d48fe5
-0,     397584,     397584,     1024,     4096, 0xf2c77de0
-0,     398608,     398608,     1024,     4096, 0xbf883f1e
-0,     399632,     399632,     1024,     4096, 0x2366eed3
-0,     400656,     400656,     1024,     4096, 0x99a61a4b
-0,     401680,     401680,     1024,     4096, 0x6496ff68
-0,     402704,     402704,     1024,     4096, 0x43d4ae23
-0,     403728,     403728,     1024,     4096, 0xfcbbdd39
-0,     404752,     404752,     1024,     4096, 0x8e8491d2
-0,     405776,     405776,     1024,     4096, 0x166bdaa7
-0,     406800,     406800,     1024,     4096, 0x5936e4de
-0,     407824,     407824,     1024,     4096, 0x5da0f74c
-0,     408848,     408848,     1024,     4096, 0x284c1816
-0,     409872,     409872,     1024,     4096, 0x9ae2fb10
-0,     410896,     410896,     1024,     4096, 0xef4f09f9
-0,     411920,     411920,     1024,     4096, 0x7d7146b2
-0,     412944,     412944,     1024,     4096, 0x3543f90c
-0,     413968,     413968,     1024,     4096, 0x9f350dea
-0,     414992,     414992,     1024,     4096, 0x89a761f8
-0,     416016,     416016,     1024,     4096, 0x7ed69125
-0,     417040,     417040,     1024,     4096, 0x75ddbd7b
-0,     418064,     418064,     1024,     4096, 0xb59ff6ba
-0,     419088,     419088,     1024,     4096, 0xbe8e35d8
-0,     420112,     420112,     1024,     4096, 0x9c3acb27
-0,     421136,     421136,     1024,     4096, 0x8bdefcc4
-0,     422160,     422160,     1024,     4096, 0xd9796b89
-0,     423184,     423184,     1024,     4096, 0x09ef18e5
-0,     424208,     424208,     1024,     4096, 0xa34eec05
-0,     425232,     425232,     1024,     4096, 0x59a4e5fe
-0,     426256,     426256,     1024,     4096, 0x7cf68f50
-0,     427280,     427280,     1024,     4096, 0x5635a169
-0,     428304,     428304,     1024,     4096, 0x9c8ba2ee
-0,     429328,     429328,     1024,     4096, 0x31bda22b
-0,     430352,     430352,     1024,     4096, 0xd33732d9
-0,     431376,     431376,     1024,     4096, 0x6041e3bf
-0,     432400,     432400,     1024,     4096, 0x7661d8e4
-0,     433424,     433424,     1024,     4096, 0x8744e56f
-0,     434448,     434448,     1024,     4096, 0x0d90222c
-0,     435472,     435472,     1024,     4096, 0xb749b6ee
-0,     436496,     436496,     1024,     4096, 0xc501e611
-0,     437520,     437520,     1024,     4096, 0x54bc9dae
-0,     438544,     438544,     1024,     4096, 0x7ebd8901
-0,     439568,     439568,     1024,     4096, 0xd48f55ab
-0,     440592,     440592,     1024,     4096, 0xf1f0979b
-0,     441616,     441616,     1024,     4096, 0x0532a2d2
-0,     442640,     442640,     1024,     4096, 0x1000e7a2
-0,     443664,     443664,     1024,     4096, 0x461d9b08
-0,     444688,     444688,     1024,     4096, 0xb119bcf8
-0,     445712,     445712,     1024,     4096, 0x03f2eb83
-0,     446736,     446736,     1024,     4096, 0xeba9f3b4
-0,     447760,     447760,     1024,     4096, 0x9a6ffc8e
-0,     448784,     448784,     1024,     4096, 0x52f54bc2
-0,     449808,     449808,     1024,     4096, 0xd17ec7d6
-0,     450832,     450832,     1024,     4096, 0x18b01fba
-0,     451856,     451856,     1024,     4096, 0x5d5af13e
-0,     452880,     452880,     1024,     4096, 0xe04a2919
-0,     453904,     453904,     1024,     4096, 0xc68c00b2
-0,     454928,     454928,     1024,     4096, 0x83a17a70
-0,     455952,     455952,     1024,     4096, 0x9de07f7f
-0,     456976,     456976,     1024,     4096, 0x2ef91463
-0,     458000,     458000,     1024,     4096, 0x9eaee29e
-0,     459024,     459024,     1024,     4096, 0xdfe3010b
-0,     460048,     460048,     1024,     4096, 0x0b0828b4
-0,     461072,     461072,     1024,     4096, 0x3ba8cee9
-0,     462096,     462096,     1024,     4096, 0x4b8bfe1f
-0,     463120,     463120,     1024,     4096, 0xc9da5ee4
-0,     464144,     464144,     1024,     4096, 0x951f70f3
-0,     465168,     465168,     1024,     4096, 0xba34e5a5
-0,     466192,     466192,     1024,     4096, 0x433716a1
-0,     467216,     467216,     1024,     4096, 0x39b24efb
-0,     468240,     468240,     1024,     4096, 0xe4a4b039
-0,     469264,     469264,     1024,     4096, 0x7906f2e6
-0,     470288,     470288,     1024,     4096, 0x40c8c726
-0,     471312,     471312,     1024,     4096, 0x6554cc46
-0,     472336,     472336,     1024,     4096, 0xf5b5d919
-0,     473360,     473360,     1024,     4096, 0x4437d4b0
-0,     474384,     474384,     1024,     4096, 0xa291f38f
-0,     475408,     475408,     1024,     4096, 0x0f81ad0b
-0,     476432,     476432,     1024,     4096, 0x4fb2c3e0
-0,     477456,     477456,     1024,     4096, 0xa2be4072
-0,     478480,     478480,     1024,     4096, 0x0674126f
-0,     479504,     479504,     1024,     4096, 0x3ab7e86c
-0,     480528,     480528,     1024,     4096, 0x736e87ae
-0,     481552,     481552,     1024,     4096, 0x1a050d8d
-0,     482576,     482576,     1024,     4096, 0xe92a59df
-0,     483600,     483600,     1024,     4096, 0xed8cb3bf
-0,     484624,     484624,     1024,     4096, 0xb5520d14
-0,     485648,     485648,     1024,     4096, 0x437d4e88
-0,     486672,     486672,     1024,     4096, 0xc67a4422
-0,     487696,     487696,     1024,     4096, 0x1f7f912d
-0,     488720,     488720,     1024,     4096, 0x67429495
-0,     489744,     489744,     1024,     4096, 0xd7ffb252
-0,     490768,     490768,     1024,     4096, 0x517ade18
-0,     491792,     491792,     1024,     4096, 0x527a31d7
-0,     492816,     492816,     1024,     4096, 0xdbc0a560
-0,     493840,     493840,     1024,     4096, 0x029048da
-0,     494864,     494864,     1024,     4096, 0x85df6c55
-0,     495888,     495888,     1024,     4096, 0xc68983a2
-0,     496912,     496912,     1024,     4096, 0x951a140b
-0,     497936,     497936,     1024,     4096, 0xc1560b9b
-0,     498960,     498960,     1024,     4096, 0xb27302c3
-0,     499984,     499984,     1024,     4096, 0x50ad5360
-0,     501008,     501008,     1024,     4096, 0x1ccbf240
-0,     502032,     502032,     1024,     4096, 0x85b2a928
-0,     503056,     503056,     1024,     4096, 0xd3f8d0b8
-0,     504080,     504080,     1024,     4096, 0xe7833196
-0,     505104,     505104,     1024,     4096, 0xd6ac1184
-0,     506128,     506128,     1024,     4096, 0x27466545
-0,     507152,     507152,     1024,     4096, 0x11119fb9
-0,     508176,     508176,     1024,     4096, 0x6b383b60
-0,     509200,     509200,     1024,     4096, 0x14f78f30
-0,     510224,     510224,     1024,     4096, 0xda4c3aca
-0,     511248,     511248,     1024,     4096, 0xdd24bf6e
-0,     512272,     512272,     1024,     4096, 0x165d0a06
-0,     513296,     513296,     1024,     4096, 0x42e5407b
-0,     514320,     514320,     1024,     4096, 0x8e5d3def
-0,     515344,     515344,     1024,     4096, 0x367c9896
-0,     516368,     516368,     1024,     4096, 0xe27455a0
-0,     517392,     517392,     1024,     4096, 0xb331cb8c
-0,     518416,     518416,     1024,     4096, 0x8cf7fa69
-0,     519440,     519440,     1024,     4096, 0x713f08f7
-0,     520464,     520464,     1024,     4096, 0x9308e552
-0,     521488,     521488,     1024,     4096, 0xb14cf9bd
-0,     522512,     522512,     1024,     4096, 0xf408d356
-0,     523536,     523536,     1024,     4096, 0xe4adda2e
-0,     524560,     524560,     1024,     4096, 0x62ca992c
-0,     525584,     525584,     1024,     4096, 0xedcb7048
-0,     526608,     526608,     1024,     4096, 0xfafd3ac3
-0,     527632,     527632,     1024,     4096, 0x4018aec3
-0,     528656,     528656,     1024,     4096, 0x7e0a0e23
-0,     529680,     529680,     1024,     4096, 0xb58992db
-0,     530704,     530704,     1024,     4096, 0xe39b3301
-0,     531728,     531728,     1024,     4096, 0x2c9a85bb
-0,     532752,     532752,     1024,     4096, 0x0aae1d68
-0,     533776,     533776,     1024,     4096, 0x36f8b423
-0,     534800,     534800,     1024,     4096, 0x44c10fec
-0,     535824,     535824,     1024,     4096, 0xc0b5e715
-0,     536848,     536848,     1024,     4096, 0xa09ff7ec
-0,     537872,     537872,     1024,     4096, 0x53d42436
-0,     538896,     538896,     1024,     4096, 0x1d630a0a
-0,     539920,     539920,     1024,     4096, 0x71a1f91c
-0,     540944,     540944,     1024,     4096, 0x65331b70
-0,     541968,     541968,     1024,     4096, 0x8cd33518
-0,     542992,     542992,     1024,     4096, 0x067de410
-0,     544016,     544016,     1024,     4096, 0x8d4a4618
-0,     545040,     545040,     1024,     4096, 0x3632d993
-0,     546064,     546064,     1024,     4096, 0x6259b193
-0,     547088,     547088,     1024,     4096, 0xbdb7bcbf
-0,     548112,     548112,     1024,     4096, 0x8625af9b
-0,     549136,     549136,     1024,     4096, 0x4d3e7b07
-0,     550160,     550160,     1024,     4096, 0x76d6cf52
-0,     551184,     551184,     1024,     4096, 0x54f07eb8
-0,     552208,     552208,     1024,     4096, 0x93cb65a1
-0,     553232,     553232,     1024,     4096, 0x5f9b3df7
-0,     554256,     554256,     1024,     4096, 0x5fa8e05e
-0,     555280,     555280,     1024,     4096, 0xeaebf0ab
-0,     556304,     556304,     1024,     4096, 0xd317ed69
-0,     557328,     557328,     1024,     4096, 0x66fd1a32
-0,     558352,     558352,     1024,     4096, 0x9608a614
-0,     559376,     559376,     1024,     4096, 0xa1c661c6
-0,     560400,     560400,     1024,     4096, 0xaa21d89e
-0,     561424,     561424,     1024,     4096, 0xca8820c0
-0,     562448,     562448,     1024,     4096, 0x25c4a979
-0,     563472,     563472,     1024,     4096, 0xfc1ae730
-0,     564496,     564496,     1024,     4096, 0xd681f6cb
-0,     565520,     565520,     1024,     4096, 0x4f8497ca
-0,     566544,     566544,     1024,     4096, 0xc1a033d6
-0,     567568,     567568,     1024,     4096, 0xada5f805
-0,     568592,     568592,     1024,     4096, 0x75ee4703
-0,     569616,     569616,     1024,     4096, 0x722521ff
-0,     570640,     570640,     1024,     4096, 0xd26c503f
-0,     571664,     571664,     1024,     4096, 0x9f62715e
-0,     572688,     572688,     1024,     4096, 0x32ff9d07
-0,     573712,     573712,     1024,     4096, 0x333646aa
-0,     574736,     574736,     1024,     4096, 0x9c590e90
-0,     575760,     575760,     1024,     4096, 0x5ed119e1
-0,     576784,     576784,     1024,     4096, 0xde2a8d38
-0,     577808,     577808,     1024,     4096, 0xdad9fca7
-0,     578832,     578832,     1024,     4096, 0x51f5e65d
-0,     579856,     579856,     1024,     4096, 0x61910e01
-0,     580880,     580880,     1024,     4096, 0xb4d10d4f
-0,     581904,     581904,     1024,     4096, 0x892a5875
-0,     582928,     582928,     1024,     4096, 0x64c828e5
-0,     583952,     583952,     1024,     4096, 0x6db0da46
-0,     584976,     584976,     1024,     4096, 0x9c10dc3f
-0,     586000,     586000,     1024,     4096, 0x96c02ce6
-0,     587024,     587024,     1024,     4096, 0x3bec5ed2
-0,     588048,     588048,     1024,     4096, 0x40f263f0
-0,     589072,     589072,     1024,     4096, 0x7750137d
-0,     590096,     590096,     1024,     4096, 0x044dc19b
-0,     591120,     591120,     1024,     4096, 0x58a8dda4
-0,     592144,     592144,     1024,     4096, 0xe02ec285
-0,     593168,     593168,     1024,     4096, 0x722a2f2a
-0,     594192,     594192,     1024,     4096, 0xca5e4d42
-0,     595216,     595216,      134,      536, 0x45fd3d3d
+0,     264600,     264600,     1912,     7648, 0xf0c93a5a
+0,     266512,     266512,     4096,    16384, 0x85454449
+0,     270608,     270608,     4096,    16384, 0x5b0c3b8c
+0,     274704,     274704,     4096,    16384, 0x6f6cdea0
+0,     278800,     278800,     4096,    16384, 0xc14aa167
+0,     282896,     282896,     4096,    16384, 0x8d2d9fd7
+0,     286992,     286992,     4096,    16384, 0x84f626cb
+0,     291088,     291088,     4096,    16384, 0x7f229b40
+0,     295184,     295184,     4096,    16384, 0xd722823b
+0,     299280,     299280,     4096,    16384, 0x7de54034
+0,     303376,     303376,     4096,    16384, 0xf4855785
+0,     307472,     307472,     4096,    16384, 0x9ed9bc5c
+0,     311568,     311568,     4096,    16384, 0xb884e33e
+0,     315664,     315664,     4096,    16384, 0x0cec51e5
+0,     319760,     319760,     4096,    16384, 0x1ecd7171
+0,     323856,     323856,     4096,    16384, 0x1e294050
+0,     327952,     327952,     4096,    16384, 0x6920a1ca
+0,     332048,     332048,     4096,    16384, 0x6b306f4e
+0,     336144,     336144,     4096,    16384, 0x2b706c2c
+0,     340240,     340240,     4096,    16384, 0x79ab2a89
+0,     344336,     344336,     4096,    16384, 0xc59316f4
+0,     348432,     348432,     4096,    16384, 0xc616d0b7
+0,     352528,     352528,     4096,    16384, 0xe11b367d
+0,     356624,     356624,     4096,    16384, 0x06412c5c
+0,     360720,     360720,     4096,    16384, 0x6372274f
+0,     364816,     364816,     4096,    16384, 0xf8023712
+0,     368912,     368912,     4096,    16384, 0x379c767f
+0,     373008,     373008,     4096,    16384, 0x96e753db
+0,     377104,     377104,     4096,    16384, 0xe1cd1eac
+0,     381200,     381200,     4096,    16384, 0x9319ee7c
+0,     385296,     385296,     4096,    16384, 0x57ce15de
+0,     389392,     389392,     4096,    16384, 0x655a0bbc
+0,     393488,     393488,     4096,    16384, 0xa71a222a
+0,     397584,     397584,     4096,    16384, 0x17ebc62b
+0,     401680,     401680,     4096,    16384, 0x88471cc3
+0,     405776,     405776,     4096,    16384, 0xc1c8cf05
+0,     409872,     409872,     4096,    16384, 0x944344e5
+0,     413968,     413968,     4096,    16384, 0xb49fbe91
+0,     418064,     418064,     4096,    16384, 0xc5eff49b
+0,     422160,     422160,     4096,    16384, 0xbaf0568f
+0,     426256,     426256,     4096,    16384, 0xfc2475f0
+0,     430352,     430352,     4096,    16384, 0x06c9d509
+0,     434448,     434448,     4096,    16384, 0x7d9b5cf7
+0,     438544,     438544,     4096,    16384, 0x3aca1937
+0,     442640,     442640,     4096,    16384, 0x4ac42b52
+0,     446736,     446736,     4096,    16384, 0x18f40407
+0,     450832,     450832,     4096,    16384, 0x91303ad2
+0,     454928,     454928,     4096,    16384, 0x59e9f0ff
+0,     459024,     459024,     4096,    16384, 0xa375f6d6
+0,     463120,     463120,     4096,    16384, 0x829ccc2c
+0,     467216,     467216,     4096,    16384, 0x74abb95e
+0,     471312,     471312,     4096,    16384, 0x1f2f6dcb
+0,     475408,     475408,     4096,    16384, 0xcafcc3db
+0,     479504,     479504,     4096,    16384, 0x1a6cd795
+0,     483600,     483600,     4096,    16384, 0xd8c2538c
+0,     487696,     487696,     4096,    16384, 0x3695b64a
+0,     491792,     491792,     4096,    16384, 0xad648c75
+0,     495888,     495888,     4096,    16384, 0xe24fa60b
+0,     499984,     499984,     4096,    16384, 0x96b1bf9e
+0,     504080,     504080,     4096,    16384, 0xf1e34827
+0,     508176,     508176,     4096,    16384, 0xc267c4d7
+0,     512272,     512272,     4096,    16384, 0x5d5a2115
+0,     516368,     516368,     4096,    16384, 0xfd6024aa
+0,     520464,     520464,     4096,    16384, 0x9cd58cc0
+0,     524560,     524560,     4096,    16384, 0xb458f309
+0,     528656,     528656,     4096,    16384, 0xaee359c9
+0,     532752,     532752,     4096,    16384, 0x9aa3c89b
+0,     536848,     536848,     4096,    16384, 0x2a4f1f66
+0,     540944,     540944,     4096,    16384, 0x0c817abf
+0,     545040,     545040,     4096,    16384, 0x1e97f79e
+0,     549136,     549136,     4096,    16384, 0x12a32ed0
+0,     553232,     553232,     4096,    16384, 0x722bfc87
+0,     557328,     557328,     4096,    16384, 0x65e0fab9
+0,     561424,     561424,     4096,    16384, 0x55cca852
+0,     565520,     565520,     4096,    16384, 0x19a10ac6
+0,     569616,     569616,     4096,    16384, 0x078180b2
+0,     573712,     573712,     4096,    16384, 0xf6f8fc53
+0,     577808,     577808,     4096,    16384, 0xc72ffe63
+0,     581904,     581904,     4096,    16384, 0xf9f837fd
+0,     586000,     586000,     4096,    16384, 0x78d70334
+0,     590096,     590096,     4096,    16384, 0x061d910c
+0,     594192,     594192,     1158,     4632, 0xdc098a7f
diff --git a/tests/ref/fate/filter-adelay b/tests/ref/fate/filter-adelay
index 6370f66f71..34c8c6f676 100644
--- a/tests/ref/fate/filter-adelay
+++ b/tests/ref/fate/filter-adelay
@@ -3,263 +3,69 @@ 
 #codec_id 0: pcm_s16le
 #sample_rate 0: 44100
 #channel_layout_name 0: stereo
-0,          0,          0,     1024,     4096, 0x9d7bf760
-0,       1024,       1024,     1024,     4096, 0xdf42c46b
-0,       2048,       2048,     1024,     4096, 0x2214fd20
-0,       3072,       3072,     1024,     4096, 0x811bfcf0
-0,       4096,       4096,     1024,     4096, 0x671ee9af
-0,       5120,       5120,     1024,     4096, 0x5e60fb90
-0,       6144,       6144,     1024,     4096, 0x857bfa49
-0,       7168,       7168,     1024,     4096, 0x100e028d
-0,       8192,       8192,     1024,     4096, 0xa351ed1e
-0,       9216,       9216,     1024,     4096, 0xa79cf58c
-0,      10240,      10240,     1024,     4096, 0x63c1f86a
-0,      11264,      11264,     1024,     4096, 0x325a055f
-0,      12288,      12288,     1024,     4096, 0x8457f621
-0,      13312,      13312,     1024,     4096, 0xa158f43e
-0,      14336,      14336,     1024,     4096, 0x69b6ef60
-0,      15360,      15360,     1024,     4096, 0x3bf1fb3c
-0,      16384,      16384,     1024,     4096, 0x942f00cc
-0,      17408,      17408,     1024,     4096, 0x16c2f0ab
-0,      18432,      18432,     1024,     4096, 0x6b9ff3b6
-0,      19456,      19456,     1024,     4096, 0x1616f3e7
-0,      20480,      20480,     1024,     4096, 0x1ec90735
-0,      21504,      21504,     1024,     4096, 0x3fd3f547
-0,      22528,      22528,     1024,     4096, 0x062af68d
-0,      23552,      23552,     1024,     4096, 0x9179ee59
-0,      24576,      24576,     1024,     4096, 0x172d01cb
-0,      25600,      25600,     1024,     4096, 0xd9bff94c
-0,      26624,      26624,     1024,     4096, 0x3db6f86e
-0,      27648,      27648,     1024,     4096, 0x617deb86
-0,      28672,      28672,     1024,     4096, 0x0e06fab5
-0,      29696,      29696,     1024,     4096, 0xf660fc98
-0,      30720,      30720,     1024,     4096, 0x31a30186
-0,      31744,      31744,     1024,     4096, 0x5312f599
-0,      32768,      32768,     1024,     4096, 0x0592f01a
-0,      33792,      33792,     1024,     4096, 0x6e770039
-0,      34816,      34816,     1024,     4096, 0x2214fd20
-0,      35840,      35840,     1024,     4096, 0x811bfcf0
-0,      36864,      36864,     1024,     4096, 0x671ee9af
-0,      37888,      37888,     1024,     4096, 0x5e60fb90
-0,      38912,      38912,     1024,     4096, 0x857bfa49
-0,      39936,      39936,     1024,     4096, 0x100e028d
-0,      40960,      40960,     1024,     4096, 0xa351ed1e
-0,      41984,      41984,     1024,     4096, 0xa79cf58c
-0,      43008,      43008,     1024,     4096, 0x63c1f86a
-0,      44032,      44032,     1024,     4096, 0x96ebeed8
-0,      45056,      45056,     1024,     4096, 0xdfa8cc5b
-0,      46080,      46080,     1024,     4096, 0x50660dab
-0,      47104,      47104,     1024,     4096, 0x58f1f11c
-0,      48128,      48128,     1024,     4096, 0x5a7ceb7d
-0,      49152,      49152,     1024,     4096, 0x27fe02db
-0,      50176,      50176,     1024,     4096, 0x6d83f8ed
-0,      51200,      51200,     1024,     4096, 0x3cc1f309
-0,      52224,      52224,     1024,     4096, 0x2bc5fea4
-0,      53248,      53248,     1024,     4096, 0x0a4ef2ca
-0,      54272,      54272,     1024,     4096, 0xd580ed7f
-0,      55296,      55296,     1024,     4096, 0x67c210b1
-0,      56320,      56320,     1024,     4096, 0x45d1e8a4
-0,      57344,      57344,     1024,     4096, 0xd9a820a6
-0,      58368,      58368,     1024,     4096, 0x27f405da
-0,      59392,      59392,     1024,     4096, 0x863a1b65
-0,      60416,      60416,     1024,     4096, 0xf7770535
-0,      61440,      61440,     1024,     4096, 0x069cee20
-0,      62464,      62464,     1024,     4096, 0x6564f3bb
-0,      63488,      63488,     1024,     4096, 0xd953e9dd
-0,      64512,      64512,     1024,     4096, 0x6a23f296
-0,      65536,      65536,     1024,     4096, 0x8051f8ed
-0,      66560,      66560,     1024,     4096, 0x226af522
-0,      67584,      67584,     1024,     4096, 0x526bf350
-0,      68608,      68608,     1024,     4096, 0x5b8cf6e5
-0,      69632,      69632,     1024,     4096, 0xd155fd1e
-0,      70656,      70656,     1024,     4096, 0x0fd2ed83
-0,      71680,      71680,     1024,     4096, 0x0df7f50c
-0,      72704,      72704,     1024,     4096, 0x96aa05fc
-0,      73728,      73728,     1024,     4096, 0x763ef755
-0,      74752,      74752,     1024,     4096, 0x2022fbb2
-0,      75776,      75776,     1024,     4096, 0x33f0fd78
-0,      76800,      76800,     1024,     4096, 0x91701636
-0,      77824,      77824,     1024,     4096, 0xb43106b7
-0,      78848,      78848,     1024,     4096, 0x3ec312cd
-0,      79872,      79872,     1024,     4096, 0x2f97ecb0
-0,      80896,      80896,     1024,     4096, 0x2872f93d
-0,      81920,      81920,     1024,     4096, 0xb9fc0bb6
-0,      82944,      82944,     1024,     4096, 0xdba41993
-0,      83968,      83968,     1024,     4096, 0x13f42827
-0,      84992,      84992,     1024,     4096, 0x19c0fc72
-0,      86016,      86016,     1024,     4096, 0x0c760320
-0,      87040,      87040,     1024,     4096, 0x739803c6
-0,      88064,      88064,     1024,     4096, 0x8101e8e8
-0,      89088,      89088,     1024,     4096, 0x521ef51e
-0,      90112,      90112,     1024,     4096, 0x5796c18e
-0,      91136,      91136,     1024,     4096, 0xae15b81c
-0,      92160,      92160,     1024,     4096, 0xa14da4f6
-0,      93184,      93184,     1024,     4096, 0x0df4a2c5
-0,      94208,      94208,     1024,     4096, 0xe6d6b7db
-0,      95232,      95232,     1024,     4096, 0x4d83aec1
-0,      96256,      96256,     1024,     4096, 0x1c8dbffb
-0,      97280,      97280,     1024,     4096, 0xff62da79
-0,      98304,      98304,     1024,     4096, 0xf41ca375
-0,      99328,      99328,     1024,     4096, 0x32a6dc8a
-0,     100352,     100352,     1024,     4096, 0x2d77bdfb
-0,     101376,     101376,     1024,     4096, 0x91fec716
-0,     102400,     102400,     1024,     4096, 0x599bdb67
-0,     103424,     103424,     1024,     4096, 0xeeb0c5e7
-0,     104448,     104448,     1024,     4096, 0x1c79cae2
-0,     105472,     105472,     1024,     4096, 0x3b5cbe5e
-0,     106496,     106496,     1024,     4096, 0x1168a813
-0,     107520,     107520,     1024,     4096, 0x13e8b7f7
-0,     108544,     108544,     1024,     4096, 0x9cebb015
-0,     109568,     109568,     1024,     4096, 0xcaf5da54
-0,     110592,     110592,     1024,     4096, 0xc555e4d2
-0,     111616,     111616,     1024,     4096, 0x67c2de67
-0,     112640,     112640,     1024,     4096, 0xd642f9ea
-0,     113664,     113664,     1024,     4096, 0xa4320e7f
-0,     114688,     114688,     1024,     4096, 0xf1b0f37b
-0,     115712,     115712,     1024,     4096, 0x4e33f2f2
-0,     116736,     116736,     1024,     4096, 0x17d5edfd
-0,     117760,     117760,     1024,     4096, 0x9849e28e
-0,     118784,     118784,     1024,     4096, 0x1af9f3a2
-0,     119808,     119808,     1024,     4096, 0x37730916
-0,     120832,     120832,     1024,     4096, 0xe737fd3c
-0,     121856,     121856,     1024,     4096, 0x8a590d88
-0,     122880,     122880,     1024,     4096, 0xe6d401e5
-0,     123904,     123904,     1024,     4096, 0xc8e2ec17
-0,     124928,     124928,     1024,     4096, 0x4019cf7d
-0,     125952,     125952,     1024,     4096, 0x1f93dd9c
-0,     126976,     126976,     1024,     4096, 0x2f9ff3f1
-0,     128000,     128000,     1024,     4096, 0x1530e129
-0,     129024,     129024,     1024,     4096, 0xcd79066a
-0,     130048,     130048,     1024,     4096, 0x6b9cfba7
-0,     131072,     131072,     1024,     4096, 0x43170f0b
-0,     132096,     132096,     1024,     4096, 0xf183fecf
-0,     133120,     133120,     1024,     4096, 0xf1e3f9ca
-0,     134144,     134144,     1024,     4096, 0x7d3fef31
-0,     135168,     135168,     1024,     4096, 0x4ea3f680
-0,     136192,     136192,     1024,     4096, 0x80e8ff67
-0,     137216,     137216,     1024,     4096, 0xba58f3b6
-0,     138240,     138240,     1024,     4096, 0xf18d0602
-0,     139264,     139264,     1024,     4096, 0xf7b2f8dc
-0,     140288,     140288,     1024,     4096, 0x7ab5fdab
-0,     141312,     141312,     1024,     4096, 0x0b04ef46
-0,     142336,     142336,     1024,     4096, 0xb23bf464
-0,     143360,     143360,     1024,     4096, 0xba08edbe
-0,     144384,     144384,     1024,     4096, 0x7e1af596
-0,     145408,     145408,     1024,     4096, 0xf23ff63c
-0,     146432,     146432,     1024,     4096, 0x7a55efca
-0,     147456,     147456,     1024,     4096, 0x427515b0
-0,     148480,     148480,     1024,     4096, 0x653de823
-0,     149504,     149504,     1024,     4096, 0x93a70335
-0,     150528,     150528,     1024,     4096, 0x60eaed4c
-0,     151552,     151552,     1024,     4096, 0xe9f30f02
-0,     152576,     152576,     1024,     4096, 0x1e9ff096
-0,     153600,     153600,     1024,     4096, 0xcc7d00a0
-0,     154624,     154624,     1024,     4096, 0xf994fa05
-0,     155648,     155648,     1024,     4096, 0x4577fc19
-0,     156672,     156672,     1024,     4096, 0xa312ed95
-0,     157696,     157696,     1024,     4096, 0xdbe0df34
-0,     158720,     158720,     1024,     4096, 0x4080f766
-0,     159744,     159744,     1024,     4096, 0x2751ec59
-0,     160768,     160768,     1024,     4096, 0xcd14f684
-0,     161792,     161792,     1024,     4096, 0xd42aeee0
-0,     162816,     162816,     1024,     4096, 0x21d3f3f6
-0,     163840,     163840,     1024,     4096, 0x32a6f850
-0,     164864,     164864,     1024,     4096, 0xc4c01074
-0,     165888,     165888,     1024,     4096, 0x27fef9bd
-0,     166912,     166912,     1024,     4096, 0x8f29fc33
-0,     167936,     167936,     1024,     4096, 0x0e360352
-0,     168960,     168960,     1024,     4096, 0xc992ecaf
-0,     169984,     169984,     1024,     4096, 0x05eff12c
-0,     171008,     171008,     1024,     4096, 0x700def8b
-0,     172032,     172032,     1024,     4096, 0xfbc3ef85
-0,     173056,     173056,     1024,     4096, 0x6908f67c
-0,     174080,     174080,     1024,     4096, 0xf6c305d6
-0,     175104,     175104,     1024,     4096, 0xbfdfe430
-0,     176128,     176128,     1024,     4096, 0xef7902ec
-0,     177152,     177152,     1024,     4096, 0x62adeb88
-0,     178176,     178176,     1024,     4096, 0x1fea0128
-0,     179200,     179200,     1024,     4096, 0xfeb0f860
-0,     180224,     180224,     1024,     4096, 0xa9e7e63b
-0,     181248,     181248,     1024,     4096, 0x62ffe62f
-0,     182272,     182272,     1024,     4096, 0xf743fbed
-0,     183296,     183296,     1024,     4096, 0x3953f3f3
-0,     184320,     184320,     1024,     4096, 0x17a6fc18
-0,     185344,     185344,     1024,     4096, 0x1531dc96
-0,     186368,     186368,     1024,     4096, 0x2560950a
-0,     187392,     187392,     1024,     4096, 0xa87704d0
-0,     188416,     188416,     1024,     4096, 0x89540f7f
-0,     189440,     189440,     1024,     4096, 0xa22ff108
-0,     190464,     190464,     1024,     4096, 0xd3e5fed6
-0,     191488,     191488,     1024,     4096, 0x10eafd99
-0,     192512,     192512,     1024,     4096, 0x7f6beeea
-0,     193536,     193536,     1024,     4096, 0x4fe101f7
-0,     194560,     194560,     1024,     4096, 0x5f94ef98
-0,     195584,     195584,     1024,     4096, 0x9cb4f877
-0,     196608,     196608,     1024,     4096, 0x03960aac
-0,     197632,     197632,     1024,     4096, 0x3fec0ab8
-0,     198656,     198656,     1024,     4096, 0x8225f4e7
-0,     199680,     199680,     1024,     4096, 0x5ffafce4
-0,     200704,     200704,     1024,     4096, 0x15caf2c1
-0,     201728,     201728,     1024,     4096, 0x7d54144f
-0,     202752,     202752,     1024,     4096, 0xa2139295
-0,     203776,     203776,     1024,     4096, 0xf2c1ec16
-0,     204800,     204800,     1024,     4096, 0x0c61e166
-0,     205824,     205824,     1024,     4096, 0xfdb7ffce
-0,     206848,     206848,     1024,     4096, 0xb783f1ff
-0,     207872,     207872,     1024,     4096, 0x8c07f340
-0,     208896,     208896,     1024,     4096, 0x8a03e20d
-0,     209920,     209920,     1024,     4096, 0x389eeeec
-0,     210944,     210944,     1024,     4096, 0x2f6b014c
-0,     211968,     211968,     1024,     4096, 0xfeb0f860
-0,     212992,     212992,     1024,     4096, 0xa9e7e63b
-0,     214016,     214016,     1024,     4096, 0x62ffe62f
-0,     215040,     215040,     1024,     4096, 0xf743fbed
-0,     216064,     216064,     1024,     4096, 0x3953f3f3
-0,     217088,     217088,     1024,     4096, 0x17a6fc18
-0,     218112,     218112,     1024,     4096, 0x1531dc96
-0,     219136,     219136,     1024,     4096, 0x2560950a
-0,     220160,     220160,     1024,     4096, 0xa87704d0
-0,     221184,     221184,     1024,     4096, 0x89540f7f
-0,     222208,     222208,     1024,     4096, 0xa22ff108
-0,     223232,     223232,     1024,     4096, 0xd3e5fed6
-0,     224256,     224256,     1024,     4096, 0x10eafd99
-0,     225280,     225280,     1024,     4096, 0x7f6beeea
-0,     226304,     226304,     1024,     4096, 0x4fe101f7
-0,     227328,     227328,     1024,     4096, 0x5f94ef98
-0,     228352,     228352,     1024,     4096, 0x9cb4f877
-0,     229376,     229376,     1024,     4096, 0x03960aac
-0,     230400,     230400,     1024,     4096, 0x3fec0ab8
-0,     231424,     231424,     1024,     4096, 0x8225f4e7
-0,     232448,     232448,     1024,     4096, 0x5ffafce4
-0,     233472,     233472,     1024,     4096, 0x15caf2c1
-0,     234496,     234496,     1024,     4096, 0x7d54144f
-0,     235520,     235520,     1024,     4096, 0xa2139295
-0,     236544,     236544,     1024,     4096, 0xf2c1ec16
-0,     237568,     237568,     1024,     4096, 0x0c61e166
-0,     238592,     238592,     1024,     4096, 0xfdb7ffce
-0,     239616,     239616,     1024,     4096, 0xb783f1ff
-0,     240640,     240640,     1024,     4096, 0x8c07f340
-0,     241664,     241664,     1024,     4096, 0x8a03e20d
-0,     242688,     242688,     1024,     4096, 0x389eeeec
-0,     243712,     243712,     1024,     4096, 0x2f6b014c
-0,     244736,     244736,     1024,     4096, 0xfeb0f860
-0,     245760,     245760,     1024,     4096, 0xa9e7e63b
-0,     246784,     246784,     1024,     4096, 0x62ffe62f
-0,     247808,     247808,     1024,     4096, 0xf743fbed
-0,     248832,     248832,     1024,     4096, 0x3953f3f3
-0,     249856,     249856,     1024,     4096, 0x17a6fc18
-0,     250880,     250880,     1024,     4096, 0x1531dc96
-0,     251904,     251904,     1024,     4096, 0x2560950a
-0,     252928,     252928,     1024,     4096, 0xa87704d0
-0,     253952,     253952,     1024,     4096, 0x89540f7f
-0,     254976,     254976,     1024,     4096, 0xa22ff108
-0,     256000,     256000,     1024,     4096, 0xd3e5fed6
-0,     257024,     257024,     1024,     4096, 0x10eafd99
-0,     258048,     258048,     1024,     4096, 0x7f6beeea
-0,     259072,     259072,     1024,     4096, 0x4fe101f7
-0,     260096,     260096,     1024,     4096, 0x5f94ef98
-0,     261120,     261120,     1024,     4096, 0x9cb4f877
-0,     262144,     262144,     1024,     4096, 0x03960aac
-0,     263168,     263168,     1024,     4096, 0x3fec0ab8
-0,     264192,     264192,      408,     1632, 0x23933452
+0,          0,          0,     4096,    16384, 0x95a4b608
+0,       4096,       4096,     4096,    16384, 0x0ef9e233
+0,       8192,       8192,     4096,    16384, 0xf194e091
+0,      12288,      12288,     4096,    16384, 0x1a5bd528
+0,      16384,      16384,     4096,    16384, 0xd6ccd932
+0,      20480,      20480,     4096,    16384, 0x5dc0e180
+0,      24576,      24576,     4096,    16384, 0xc1b5df29
+0,      28672,      28672,     4096,    16384, 0x7598ee8a
+0,      32768,      32768,     4096,    16384, 0xa876ea81
+0,      36864,      36864,     4096,    16384, 0x0ef9e233
+0,      40960,      40960,     4096,    16384, 0x5634ca19
+0,      45056,      45056,     4096,    16384, 0x4e2eb6bd
+0,      49152,      49152,     4096,    16384, 0xfccded93
+0,      53248,      53248,     4096,    16384, 0xd57bd9bc
+0,      57344,      57344,     4096,    16384, 0xafea471a
+0,      61440,      61440,     4096,    16384, 0x21d4be7b
+0,      65536,      65536,     4096,    16384, 0x6ce6d871
+0,      69632,      69632,     4096,    16384, 0xb11be5c7
+0,      73728,      73728,     4096,    16384, 0x894c06e2
+0,      77824,      77824,     4096,    16384, 0x4f24ff80
+0,      81920,      81920,     4096,    16384, 0x29fb49f1
+0,      86016,      86016,     4096,    16384, 0x7d7ee4fb
+0,      90112,      90112,     4096,    16384, 0x4979c183
+0,      94208,      94208,     4096,    16384, 0x3161013d
+0,      98304,      98304,     4096,    16384, 0xe1db053d
+0,     102400,     102400,     4096,    16384, 0x8acc2abb
+0,     106496,     106496,     4096,    16384, 0x2437ea91
+0,     110592,     110592,     4096,    16384, 0x96d1cbc0
+0,     114688,     114688,     4096,    16384, 0x63d5b725
+0,     118784,     118784,     4096,    16384, 0x4ff2079a
+0,     122880,     122880,     4096,    16384, 0x32289b33
+0,     126976,     126976,     4096,    16384, 0xc876d749
+0,     131072,     131072,     4096,    16384, 0x264ef6f3
+0,     135168,     135168,     4096,    16384, 0x3488efbd
+0,     139264,     139264,     4096,    16384, 0xa7ecda5e
+0,     143360,     143360,     4096,    16384, 0x1524c987
+0,     147456,     147456,     4096,    16384, 0x3fb7ee63
+0,     151552,     151552,     4096,    16384, 0xdcc2fa4c
+0,     155648,     155648,     4096,    16384, 0xe908c075
+0,     159744,     159744,     4096,    16384, 0x61acc5e0
+0,     163840,     163840,     4096,    16384, 0xc22ffed2
+0,     167936,     167936,     4096,    16384, 0xf529d0d6
+0,     172032,     172032,     4096,    16384, 0x6120d025
+0,     176128,     176128,     4096,    16384, 0xf3dde80b
+0,     180224,     180224,     4096,    16384, 0x2135bc77
+0,     184320,     184320,     4096,    16384, 0xc95172a6
+0,     188416,     188416,     4096,    16384, 0x1f07fd14
+0,     192512,     192512,     4096,    16384, 0x901bd90e
+0,     196608,     196608,     4096,    16384, 0xed6a074d
+0,     200704,     200704,     4096,    16384, 0xe27685d9
+0,     204800,     204800,     4096,    16384, 0x5a7ec6a0
+0,     208896,     208896,     4096,    16384, 0xde02cac3
+0,     212992,     212992,     4096,    16384, 0x2135bc77
+0,     217088,     217088,     4096,    16384, 0xc95172a6
+0,     221184,     221184,     4096,    16384, 0x1f07fd14
+0,     225280,     225280,     4096,    16384, 0x901bd90e
+0,     229376,     229376,     4096,    16384, 0xed6a074d
+0,     233472,     233472,     4096,    16384, 0xe27685d9
+0,     237568,     237568,     4096,    16384, 0x5a7ec6a0
+0,     241664,     241664,     4096,    16384, 0xde02cac3
+0,     245760,     245760,     4096,    16384, 0x2135bc77
+0,     249856,     249856,     4096,    16384, 0xc95172a6
+0,     253952,     253952,     4096,    16384, 0x1f07fd14
+0,     258048,     258048,     4096,    16384, 0x901bd90e
+0,     262144,     262144,     2456,     9824, 0x969249b6
 0,     264600,     264600,     1852,     7408, 0x77074171
diff --git a/tests/ref/fate/filter-aecho b/tests/ref/fate/filter-aecho
index 706e17e10c..7e743a513d 100644
--- a/tests/ref/fate/filter-aecho
+++ b/tests/ref/fate/filter-aecho
@@ -3,263 +3,69 @@ 
 #codec_id 0: pcm_s16le
 #sample_rate 0: 44100
 #channel_layout_name 0: stereo
-0,          0,          0,     1024,     4096, 0x3019edd5
-0,       1024,       1024,     1024,     4096, 0x2df2fe2f
-0,       2048,       2048,     1024,     4096, 0xde37ff37
-0,       3072,       3072,     1024,     4096, 0xe933f6a5
-0,       4096,       4096,     1024,     4096, 0xd5acf1f3
-0,       5120,       5120,     1024,     4096, 0x82a6f903
-0,       6144,       6144,     1024,     4096, 0x1792f923
-0,       7168,       7168,     1024,     4096, 0x01500504
-0,       8192,       8192,     1024,     4096, 0xe306efc3
-0,       9216,       9216,     1024,     4096, 0x3abcecaf
-0,      10240,      10240,     1024,     4096, 0x5059f861
-0,      11264,      11264,     1024,     4096, 0xc172ff61
-0,      12288,      12288,     1024,     4096, 0x857dfc1b
-0,      13312,      13312,     1024,     4096, 0x5899ed35
-0,      14336,      14336,     1024,     4096, 0x9ae9f709
-0,      15360,      15360,     1024,     4096, 0xd5620036
-0,      16384,      16384,     1024,     4096, 0xc5ba0940
-0,      17408,      17408,     1024,     4096, 0x0c3af2ff
-0,      18432,      18432,     1024,     4096, 0x5eddf1b1
-0,      19456,      19456,     1024,     4096, 0x9ec8f84d
-0,      20480,      20480,     1024,     4096, 0x8a4f00ee
-0,      21504,      21504,     1024,     4096, 0x0cd3fbe7
-0,      22528,      22528,     1024,     4096, 0x2ce0f199
-0,      23552,      23552,     1024,     4096, 0x9086e9bb
-0,      24576,      24576,     1024,     4096, 0x0d6efb0b
-0,      25600,      25600,     1024,     4096, 0x9dee020c
-0,      26624,      26624,     1024,     4096, 0x96aff453
-0,      27648,      27648,     1024,     4096, 0xe1e9f177
-0,      28672,      28672,     1024,     4096, 0x13b8f893
-0,      29696,      29696,     1024,     4096, 0x4f3a01c8
-0,      30720,      30720,     1024,     4096, 0xa498fa25
-0,      31744,      31744,     1024,     4096, 0x0cd3f293
-0,      32768,      32768,     1024,     4096, 0x6de2eb8f
-0,      33792,      33792,     1024,     4096, 0x0a0d01dc
-0,      34816,      34816,     1024,     4096, 0xde37ff37
-0,      35840,      35840,     1024,     4096, 0xe933f6a5
-0,      36864,      36864,     1024,     4096, 0xd5acf1f3
-0,      37888,      37888,     1024,     4096, 0x82a6f903
-0,      38912,      38912,     1024,     4096, 0x1792f923
-0,      39936,      39936,     1024,     4096, 0x01500504
-0,      40960,      40960,     1024,     4096, 0xe306efc3
-0,      41984,      41984,     1024,     4096, 0x3abcecaf
-0,      43008,      43008,     1024,     4096, 0x5059f861
-0,      44032,      44032,     1024,     4096, 0x9128d187
-0,      45056,      45056,     1024,     4096, 0x61471c76
-0,      46080,      46080,     1024,     4096, 0xd4057d4f
-0,      47104,      47104,     1024,     4096, 0xe5fed87f
-0,      48128,      48128,     1024,     4096, 0x5b0d059a
-0,      49152,      49152,     1024,     4096, 0xfba4c1ad
-0,      50176,      50176,     1024,     4096, 0x4c83f489
-0,      51200,      51200,     1024,     4096, 0xdbebe473
-0,      52224,      52224,     1024,     4096, 0x86efd467
-0,      53248,      53248,     1024,     4096, 0x1919f2f1
-0,      54272,      54272,     1024,     4096, 0x745b12d8
-0,      55296,      55296,     1024,     4096, 0xca86ff49
-0,      56320,      56320,     1024,     4096, 0x2914fdf3
-0,      57344,      57344,     1024,     4096, 0xf949f24f
-0,      58368,      58368,     1024,     4096, 0x6436f791
-0,      59392,      59392,     1024,     4096, 0x693eebaf
-0,      60416,      60416,     1024,     4096, 0xd0740bf0
-0,      61440,      61440,     1024,     4096, 0x08690478
-0,      62464,      62464,     1024,     4096, 0x23a8e259
-0,      63488,      63488,     1024,     4096, 0xba2d0152
-0,      64512,      64512,     1024,     4096, 0xbe65117e
-0,      65536,      65536,     1024,     4096, 0xc8710c58
-0,      66560,      66560,     1024,     4096, 0x25db1d60
-0,      67584,      67584,     1024,     4096, 0xf960016e
-0,      68608,      68608,     1024,     4096, 0x4db0f367
-0,      69632,      69632,     1024,     4096, 0x4154e591
-0,      70656,      70656,     1024,     4096, 0x8c95162c
-0,      71680,      71680,     1024,     4096, 0x2502ffa9
-0,      72704,      72704,     1024,     4096, 0xe66a0792
-0,      73728,      73728,     1024,     4096, 0x6837e7fd
-0,      74752,      74752,     1024,     4096, 0x9613e317
-0,      75776,      75776,     1024,     4096, 0xe087ea1f
-0,      76800,      76800,     1024,     4096, 0x625ae70f
-0,      77824,      77824,     1024,     4096, 0xd9b7fbbb
-0,      78848,      78848,     1024,     4096, 0xb2f800e0
-0,      79872,      79872,     1024,     4096, 0x4fb0134c
-0,      80896,      80896,     1024,     4096, 0xf90ed3ab
-0,      81920,      81920,     1024,     4096, 0x8c13fd53
-0,      82944,      82944,     1024,     4096, 0xdf26d95b
-0,      83968,      83968,     1024,     4096, 0x45e707fc
-0,      84992,      84992,     1024,     4096, 0xd576fe23
-0,      86016,      86016,     1024,     4096, 0x168405f4
-0,      87040,      87040,     1024,     4096, 0x4a78db97
-0,      88064,      88064,     1024,     4096, 0x6d87f713
-0,      89088,      89088,     1024,     4096, 0x30750408
-0,      90112,      90112,     1024,     4096, 0xb011e7b5
-0,      91136,      91136,     1024,     4096, 0x19090af4
-0,      92160,      92160,     1024,     4096, 0x3122f1a7
-0,      93184,      93184,     1024,     4096, 0x3dc4b113
-0,      94208,      94208,     1024,     4096, 0x23c4ec7b
-0,      95232,      95232,     1024,     4096, 0x3340159a
-0,      96256,      96256,     1024,     4096, 0xb06cda91
-0,      97280,      97280,     1024,     4096, 0xd17445ec
-0,      98304,      98304,     1024,     4096, 0xd222d3a1
-0,      99328,      99328,     1024,     4096, 0xd855e61d
-0,     100352,     100352,     1024,     4096, 0x444eebc5
-0,     101376,     101376,     1024,     4096, 0xad3607c0
-0,     102400,     102400,     1024,     4096, 0x549b1aca
-0,     103424,     103424,     1024,     4096, 0x7c6a0a1a
-0,     104448,     104448,     1024,     4096, 0x04d2b3e9
-0,     105472,     105472,     1024,     4096, 0xf15d0216
-0,     106496,     106496,     1024,     4096, 0x5d15f709
-0,     107520,     107520,     1024,     4096, 0x47a7178e
-0,     108544,     108544,     1024,     4096, 0x2aa5e665
-0,     109568,     109568,     1024,     4096, 0x2a9f1a08
-0,     110592,     110592,     1024,     4096, 0xeaa6e103
-0,     111616,     111616,     1024,     4096, 0x8ae100d6
-0,     112640,     112640,     1024,     4096, 0x9585251c
-0,     113664,     113664,     1024,     4096, 0x5eb2289a
-0,     114688,     114688,     1024,     4096, 0x0d0c0cfc
-0,     115712,     115712,     1024,     4096, 0x7e5cd58f
-0,     116736,     116736,     1024,     4096, 0xca3fc9c7
-0,     117760,     117760,     1024,     4096, 0xdda3ebe7
-0,     118784,     118784,     1024,     4096, 0x084dcb41
-0,     119808,     119808,     1024,     4096, 0x0adc2a9c
-0,     120832,     120832,     1024,     4096, 0x64b0fa0f
-0,     121856,     121856,     1024,     4096, 0x225ffadd
-0,     122880,     122880,     1024,     4096, 0x40b0a487
-0,     123904,     123904,     1024,     4096, 0xc2edf0f3
-0,     124928,     124928,     1024,     4096, 0x5078d595
-0,     125952,     125952,     1024,     4096, 0x4ac9bb29
-0,     126976,     126976,     1024,     4096, 0x8a50ad77
-0,     128000,     128000,     1024,     4096, 0xf6bbebc7
-0,     129024,     129024,     1024,     4096, 0x9d33ca29
-0,     130048,     130048,     1024,     4096, 0x863b9ba7
-0,     131072,     131072,     1024,     4096, 0x41cbf17f
-0,     132096,     132096,     1024,     4096, 0x519df567
-0,     133120,     133120,     1024,     4096, 0x59b50359
-0,     134144,     134144,     1024,     4096, 0x5640f0fc
-0,     135168,     135168,     1024,     4096, 0x547df2b8
-0,     136192,     136192,     1024,     4096, 0xae6af2a8
-0,     137216,     137216,     1024,     4096, 0xb370f9ee
-0,     138240,     138240,     1024,     4096, 0x0d691a7f
-0,     139264,     139264,     1024,     4096, 0x8b2cf30d
-0,     140288,     140288,     1024,     4096, 0x8868efce
-0,     141312,     141312,     1024,     4096, 0x6602eb88
-0,     142336,     142336,     1024,     4096, 0x5fbbefd4
-0,     143360,     143360,     1024,     4096, 0xdf81e435
-0,     144384,     144384,     1024,     4096, 0x06b4e637
-0,     145408,     145408,     1024,     4096, 0x741803fb
-0,     146432,     146432,     1024,     4096, 0xf2a7dff9
-0,     147456,     147456,     1024,     4096, 0xbd2ffe0b
-0,     148480,     148480,     1024,     4096, 0xed19f9eb
-0,     149504,     149504,     1024,     4096, 0xa3c4f4a4
-0,     150528,     150528,     1024,     4096, 0xfac20796
-0,     151552,     151552,     1024,     4096, 0x315cf81e
-0,     152576,     152576,     1024,     4096, 0xaf0df76e
-0,     153600,     153600,     1024,     4096, 0x6f92e4ca
-0,     154624,     154624,     1024,     4096, 0xad32079c
-0,     155648,     155648,     1024,     4096, 0xcd03e6e7
-0,     156672,     156672,     1024,     4096, 0xff01f923
-0,     157696,     157696,     1024,     4096, 0xee4d1713
-0,     158720,     158720,     1024,     4096, 0x8db9e3f4
-0,     159744,     159744,     1024,     4096, 0xeef9f20a
-0,     160768,     160768,     1024,     4096, 0xa329d900
-0,     161792,     161792,     1024,     4096, 0xf9d0003b
-0,     162816,     162816,     1024,     4096, 0x9e42f62c
-0,     163840,     163840,     1024,     4096, 0x31f2ee64
-0,     164864,     164864,     1024,     4096, 0x8d340bb6
-0,     165888,     165888,     1024,     4096, 0xd7cbf004
-0,     166912,     166912,     1024,     4096, 0x262105c9
-0,     167936,     167936,     1024,     4096, 0xf3d30dc7
-0,     168960,     168960,     1024,     4096, 0x09adf291
-0,     169984,     169984,     1024,     4096, 0xf2b207e3
-0,     171008,     171008,     1024,     4096, 0x58df0639
-0,     172032,     172032,     1024,     4096, 0x373ad9cd
-0,     173056,     173056,     1024,     4096, 0xb0b2fc8b
-0,     174080,     174080,     1024,     4096, 0xb72af6b8
-0,     175104,     175104,     1024,     4096, 0xcee1f544
-0,     176128,     176128,     1024,     4096, 0xe88dded4
-0,     177152,     177152,     1024,     4096, 0xc606e4d4
-0,     178176,     178176,     1024,     4096, 0x6220006d
-0,     179200,     179200,     1024,     4096, 0xde870592
-0,     180224,     180224,     1024,     4096, 0xb5a6eaaf
-0,     181248,     181248,     1024,     4096, 0xe4eaf266
-0,     182272,     182272,     1024,     4096, 0xdb55f225
-0,     183296,     183296,     1024,     4096, 0x40550828
-0,     184320,     184320,     1024,     4096, 0x3f80fabd
-0,     185344,     185344,     1024,     4096, 0xe9c8eb8d
-0,     186368,     186368,     1024,     4096, 0xd25fe663
-0,     187392,     187392,     1024,     4096, 0x41720adb
-0,     188416,     188416,     1024,     4096, 0x5fd1fc96
-0,     189440,     189440,     1024,     4096, 0x007cf9ec
-0,     190464,     190464,     1024,     4096, 0xeab3efe0
-0,     191488,     191488,     1024,     4096, 0xcb75ee4c
-0,     192512,     192512,     1024,     4096, 0xd866f6c1
-0,     193536,     193536,     1024,     4096, 0xe0c4f911
-0,     194560,     194560,     1024,     4096, 0x7268e790
-0,     195584,     195584,     1024,     4096, 0x6258ee4a
-0,     196608,     196608,     1024,     4096, 0x880b003a
-0,     197632,     197632,     1024,     4096, 0x117bfd71
-0,     198656,     198656,     1024,     4096, 0x1b7900c7
-0,     199680,     199680,     1024,     4096, 0xcf3fe8b5
-0,     200704,     200704,     1024,     4096, 0x9de2f010
-0,     201728,     201728,     1024,     4096, 0xe6b4ff4a
-0,     202752,     202752,     1024,     4096, 0x37420c72
-0,     203776,     203776,     1024,     4096, 0x0560e821
-0,     204800,     204800,     1024,     4096, 0xd676f037
-0,     205824,     205824,     1024,     4096, 0xe141f3e1
-0,     206848,     206848,     1024,     4096, 0x8af10210
-0,     207872,     207872,     1024,     4096, 0x30c5fb99
-0,     208896,     208896,     1024,     4096, 0x39cdf501
-0,     209920,     209920,     1024,     4096, 0x8e37f69d
-0,     210944,     210944,     1024,     4096, 0x6220006d
-0,     211968,     211968,     1024,     4096, 0xde870592
-0,     212992,     212992,     1024,     4096, 0xb5a6eaaf
-0,     214016,     214016,     1024,     4096, 0xe4eaf266
-0,     215040,     215040,     1024,     4096, 0xdb55f225
-0,     216064,     216064,     1024,     4096, 0x40550828
-0,     217088,     217088,     1024,     4096, 0x3f80fabd
-0,     218112,     218112,     1024,     4096, 0xe9c8eb8d
-0,     219136,     219136,     1024,     4096, 0xd25fe663
-0,     220160,     220160,     1024,     4096, 0x41720adb
-0,     221184,     221184,     1024,     4096, 0x5fd1fc96
-0,     222208,     222208,     1024,     4096, 0x007cf9ec
-0,     223232,     223232,     1024,     4096, 0xeab3efe0
-0,     224256,     224256,     1024,     4096, 0xcb75ee4c
-0,     225280,     225280,     1024,     4096, 0xd866f6c1
-0,     226304,     226304,     1024,     4096, 0xe0c4f911
-0,     227328,     227328,     1024,     4096, 0x7268e790
-0,     228352,     228352,     1024,     4096, 0x6258ee4a
-0,     229376,     229376,     1024,     4096, 0x880b003a
-0,     230400,     230400,     1024,     4096, 0x117bfd71
-0,     231424,     231424,     1024,     4096, 0x1b7900c7
-0,     232448,     232448,     1024,     4096, 0xcf3fe8b5
-0,     233472,     233472,     1024,     4096, 0x9de2f010
-0,     234496,     234496,     1024,     4096, 0xe6b4ff4a
-0,     235520,     235520,     1024,     4096, 0x37420c72
-0,     236544,     236544,     1024,     4096, 0x0560e821
-0,     237568,     237568,     1024,     4096, 0xd676f037
-0,     238592,     238592,     1024,     4096, 0xe141f3e1
-0,     239616,     239616,     1024,     4096, 0x8af10210
-0,     240640,     240640,     1024,     4096, 0x30c5fb99
-0,     241664,     241664,     1024,     4096, 0x39cdf501
-0,     242688,     242688,     1024,     4096, 0x8e37f69d
-0,     243712,     243712,     1024,     4096, 0x6220006d
-0,     244736,     244736,     1024,     4096, 0xde870592
-0,     245760,     245760,     1024,     4096, 0xb5a6eaaf
-0,     246784,     246784,     1024,     4096, 0xe4eaf266
-0,     247808,     247808,     1024,     4096, 0xdb55f225
-0,     248832,     248832,     1024,     4096, 0x40550828
-0,     249856,     249856,     1024,     4096, 0x3f80fabd
-0,     250880,     250880,     1024,     4096, 0xe9c8eb8d
-0,     251904,     251904,     1024,     4096, 0xd25fe663
-0,     252928,     252928,     1024,     4096, 0x41720adb
-0,     253952,     253952,     1024,     4096, 0x5fd1fc96
-0,     254976,     254976,     1024,     4096, 0x007cf9ec
-0,     256000,     256000,     1024,     4096, 0xeab3efe0
-0,     257024,     257024,     1024,     4096, 0xcb75ee4c
-0,     258048,     258048,     1024,     4096, 0xd866f6c1
-0,     259072,     259072,     1024,     4096, 0xe0c4f911
-0,     260096,     260096,     1024,     4096, 0x7268e790
-0,     261120,     261120,     1024,     4096, 0x6258ee4a
-0,     262144,     262144,     1024,     4096, 0x880b003a
-0,     263168,     263168,     1024,     4096, 0x117bfd71
-0,     264192,     264192,      408,     1632, 0x495d360a
+0,          0,          0,     4096,    16384, 0xce9de20d
+0,       4096,       4096,     4096,    16384, 0xf67ee93b
+0,       8192,       8192,     4096,    16384, 0xf6e6d461
+0,      12288,      12288,     4096,    16384, 0xf82ee0ad
+0,      16384,      16384,     4096,    16384, 0x840ee65b
+0,      20480,      20480,     4096,    16384, 0x2231d847
+0,      24576,      24576,     4096,    16384, 0x8f36e2ff
+0,      28672,      28672,     4096,    16384, 0x9d92e731
+0,      32768,      32768,     4096,    16384, 0x88eae365
+0,      36864,      36864,     4096,    16384, 0xf67ee93b
+0,      40960,      40960,     4096,    16384, 0xc69ca687
+0,      45056,      45056,     4096,    16384, 0x6c8b77ed
+0,      49152,      49152,     4096,    16384, 0x2cd16f3d
+0,      53248,      53248,     4096,    16384, 0xff3d0332
+0,      57344,      57344,     4096,    16384, 0xce3ee19d
+0,      61440,      61440,     4096,    16384, 0x1b09f9a1
+0,      65536,      65536,     4096,    16384, 0xf0971e9c
+0,      69632,      69632,     4096,    16384, 0xb8850316
+0,      73728,      73728,     4096,    16384, 0x93509c6f
+0,      77824,      77824,     4096,    16384, 0x7d74e3a1
+0,      81920,      81920,     4096,    16384, 0x9e75dceb
+0,      86016,      86016,     4096,    16384, 0x6343dcb5
+0,      90112,      90112,     4096,    16384, 0x9b019581
+0,      94208,      94208,     4096,    16384, 0xc7ac22b0
+0,      98304,      98304,     4096,    16384, 0x9c16ad61
+0,     102400,     102400,     4096,    16384, 0x7e4adae3
+0,     106496,     106496,     4096,    16384, 0x75320f22
+0,     110592,     110592,     4096,    16384, 0x173c2f9e
+0,     114688,     114688,     4096,    16384, 0x35a89857
+0,     118784,     118784,     4096,    16384, 0xb064eae7
+0,     122880,     122880,     4096,    16384, 0xf9e82665
+0,     126976,     126976,     4096,    16384, 0xc451ff2c
+0,     131072,     131072,     4096,    16384, 0xfa1edb59
+0,     135168,     135168,     4096,    16384, 0x8013f9eb
+0,     139264,     139264,     4096,    16384, 0xd3b6be64
+0,     143360,     143360,     4096,    16384, 0x028dae7e
+0,     147456,     147456,     4096,    16384, 0x7dbcf44e
+0,     151552,     151552,     4096,    16384, 0x5dd6dc10
+0,     155648,     155648,     4096,    16384, 0x9aa2db2f
+0,     159744,     159744,     4096,    16384, 0xfa68c18f
+0,     163840,     163840,     4096,    16384, 0x12d3eff6
+0,     167936,     167936,     4096,    16384, 0xde380e83
+0,     172032,     172032,     4096,    16384, 0xe3bdc281
+0,     176128,     176128,     4096,    16384, 0x1fcac9b6
+0,     180224,     180224,     4096,    16384, 0xd433d780
+0,     184320,     184320,     4096,    16384, 0xd057d7a6
+0,     188416,     188416,     4096,    16384, 0x32c6d4db
+0,     192512,     192512,     4096,    16384, 0x4073c5d9
+0,     196608,     196608,     4096,    16384, 0xd0f6e736
+0,     200704,     200704,     4096,    16384, 0xaf0fe40b
+0,     204800,     204800,     4096,    16384, 0x529fe1df
+0,     208896,     208896,     4096,    16384, 0x28eaf1ac
+0,     212992,     212992,     4096,    16384, 0xd433d780
+0,     217088,     217088,     4096,    16384, 0xd057d7a6
+0,     221184,     221184,     4096,    16384, 0x32c6d4db
+0,     225280,     225280,     4096,    16384, 0x4073c5d9
+0,     229376,     229376,     4096,    16384, 0xd0f6e736
+0,     233472,     233472,     4096,    16384, 0xaf0fe40b
+0,     237568,     237568,     4096,    16384, 0x529fe1df
+0,     241664,     241664,     4096,    16384, 0x28eaf1ac
+0,     245760,     245760,     4096,    16384, 0xd433d780
+0,     249856,     249856,     4096,    16384, 0xd057d7a6
+0,     253952,     253952,     4096,    16384, 0x32c6d4db
+0,     258048,     258048,     4096,    16384, 0x4073c5d9
+0,     262144,     262144,     2456,     9824, 0x040d33c4
 0,     264600,     264600,     1411,     5644, 0x34920173
diff --git a/tests/ref/fate/filter-aemphasis-50fm b/tests/ref/fate/filter-aemphasis-50fm
index d28a7538bf..0be4bdddc3 100644
--- a/tests/ref/fate/filter-aemphasis-50fm
+++ b/tests/ref/fate/filter-aemphasis-50fm
@@ -3,262 +3,68 @@ 
 #codec_id 0: pcm_s16le
 #sample_rate 0: 44100
 #channel_layout_name 0: stereo
-0,          0,          0,     1024,     4096, 0xb9c5fefd
-0,       1024,       1024,     1024,     4096, 0xb2ae0a90
-0,       2048,       2048,     1024,     4096, 0x97e6e9f3
-0,       3072,       3072,     1024,     4096, 0x5837f26f
-0,       4096,       4096,     1024,     4096, 0x71500376
-0,       5120,       5120,     1024,     4096, 0xb4650378
-0,       6144,       6144,     1024,     4096, 0xd261f5b1
-0,       7168,       7168,     1024,     4096, 0x3038f3fd
-0,       8192,       8192,     1024,     4096, 0x8e1908c6
-0,       9216,       9216,     1024,     4096, 0x1d6bfd33
-0,      10240,      10240,     1024,     4096, 0x7036f23f
-0,      11264,      11264,     1024,     4096, 0xaf73e9a1
-0,      12288,      12288,     1024,     4096, 0x0ba70404
-0,      13312,      13312,     1024,     4096, 0xd34bf249
-0,      14336,      14336,     1024,     4096, 0x0c88fc2b
-0,      15360,      15360,     1024,     4096, 0x55ebf9cf
-0,      16384,      16384,     1024,     4096, 0xc16df0bd
-0,      17408,      17408,     1024,     4096, 0xa635eac5
-0,      18432,      18432,     1024,     4096, 0xb41d059e
-0,      19456,      19456,     1024,     4096, 0xa905f4d3
-0,      20480,      20480,     1024,     4096, 0x2736f1fb
-0,      21504,      21504,     1024,     4096, 0x1a89f007
-0,      22528,      22528,     1024,     4096, 0x81d1fdab
-0,      23552,      23552,     1024,     4096, 0x6156f97d
-0,      24576,      24576,     1024,     4096, 0x1971ec89
-0,      25600,      25600,     1024,     4096, 0xdca1ec4f
-0,      26624,      26624,     1024,     4096, 0x116ffcf5
-0,      27648,      27648,     1024,     4096, 0xc391fdc9
-0,      28672,      28672,     1024,     4096, 0x85e0ef45
-0,      29696,      29696,     1024,     4096, 0x81d3012c
-0,      30720,      30720,     1024,     4096, 0x403ef11b
-0,      31744,      31744,     1024,     4096, 0x3ca6f16d
-0,      32768,      32768,     1024,     4096, 0x6775feb1
-0,      33792,      33792,     1024,     4096, 0xb2ae0a90
-0,      34816,      34816,     1024,     4096, 0x97e6e9f3
-0,      35840,      35840,     1024,     4096, 0x5837f26f
-0,      36864,      36864,     1024,     4096, 0x71500376
-0,      37888,      37888,     1024,     4096, 0xb4650378
-0,      38912,      38912,     1024,     4096, 0xd261f5b1
-0,      39936,      39936,     1024,     4096, 0x3038f3fd
-0,      40960,      40960,     1024,     4096, 0x8e1908c6
-0,      41984,      41984,     1024,     4096, 0x1d6bfd33
-0,      43008,      43008,     1024,     4096, 0x7036f23f
-0,      44032,      44032,     1024,     4096, 0xabb8fbdb
-0,      45056,      45056,     1024,     4096, 0x8980f03f
-0,      46080,      46080,     1024,     4096, 0xc5a0f4ed
-0,      47104,      47104,     1024,     4096, 0x04ac0314
-0,      48128,      48128,     1024,     4096, 0xfdd0dca7
-0,      49152,      49152,     1024,     4096, 0x799bf1fd
-0,      50176,      50176,     1024,     4096, 0xbaa9fdfd
-0,      51200,      51200,     1024,     4096, 0xeb7cf571
-0,      52224,      52224,     1024,     4096, 0xe33b0e5a
-0,      53248,      53248,     1024,     4096, 0x8017f117
-0,      54272,      54272,     1024,     4096, 0x5fccf35b
-0,      55296,      55296,     1024,     4096, 0xbd69f9cb
-0,      56320,      56320,     1024,     4096, 0x4d09f905
-0,      57344,      57344,     1024,     4096, 0xfa53f185
-0,      58368,      58368,     1024,     4096, 0x35b907e4
-0,      59392,      59392,     1024,     4096, 0xf639fedb
-0,      60416,      60416,     1024,     4096, 0x1e58f771
-0,      61440,      61440,     1024,     4096, 0xb13d18d4
-0,      62464,      62464,     1024,     4096, 0xc7930842
-0,      63488,      63488,     1024,     4096, 0x1b4702d4
-0,      64512,      64512,     1024,     4096, 0xad75dd27
-0,      65536,      65536,     1024,     4096, 0x9a1ceb7b
-0,      66560,      66560,     1024,     4096, 0xead809ac
-0,      67584,      67584,     1024,     4096, 0xbdaf1b5a
-0,      68608,      68608,     1024,     4096, 0xa90a00a6
-0,      69632,      69632,     1024,     4096, 0xb39f0d0a
-0,      70656,      70656,     1024,     4096, 0xbaf60950
-0,      71680,      71680,     1024,     4096, 0x57d3eb53
-0,      72704,      72704,     1024,     4096, 0x8a77f7ff
-0,      73728,      73728,     1024,     4096, 0xd2bfe3b9
-0,      74752,      74752,     1024,     4096, 0xd4c5e287
-0,      75776,      75776,     1024,     4096, 0x8b940480
-0,      76800,      76800,     1024,     4096, 0x63a9134e
-0,      77824,      77824,     1024,     4096, 0x2215ee4d
-0,      78848,      78848,     1024,     4096, 0x8777f743
-0,      79872,      79872,     1024,     4096, 0x633e05ac
-0,      80896,      80896,     1024,     4096, 0x3b1ee685
-0,      81920,      81920,     1024,     4096, 0x57d30238
-0,      82944,      82944,     1024,     4096, 0xfb241180
-0,      83968,      83968,     1024,     4096, 0x733aea25
-0,      84992,      84992,     1024,     4096, 0x1677ea57
-0,      86016,      86016,     1024,     4096, 0xdf5fd6d7
-0,      87040,      87040,     1024,     4096, 0x36520bca
-0,      88064,      88064,     1024,     4096, 0x1e860a06
-0,      89088,      89088,     1024,     4096, 0x3305428c
-0,      90112,      90112,     1024,     4096, 0xe1a8008c
-0,      91136,      91136,     1024,     4096, 0xd81ff15f
-0,      92160,      92160,     1024,     4096, 0x0ccad2e7
-0,      93184,      93184,     1024,     4096, 0xc613bf29
-0,      94208,      94208,     1024,     4096, 0x5411ef73
-0,      95232,      95232,     1024,     4096, 0x51f7e01b
-0,      96256,      96256,     1024,     4096, 0x23d1ee5b
-0,      97280,      97280,     1024,     4096, 0xbc9721e2
-0,      98304,      98304,     1024,     4096, 0x0d49c94b
-0,      99328,      99328,     1024,     4096, 0xa102d963
-0,     100352,     100352,     1024,     4096, 0x5fd8fe95
-0,     101376,     101376,     1024,     4096, 0xd8c738e0
-0,     102400,     102400,     1024,     4096, 0xa9882686
-0,     103424,     103424,     1024,     4096, 0xfa30c4b1
-0,     104448,     104448,     1024,     4096, 0x76ecdb31
-0,     105472,     105472,     1024,     4096, 0x540ccff9
-0,     106496,     106496,     1024,     4096, 0xb365cf5f
-0,     107520,     107520,     1024,     4096, 0x3ab51dcc
-0,     108544,     108544,     1024,     4096, 0x266fd553
-0,     109568,     109568,     1024,     4096, 0xdac42f58
-0,     110592,     110592,     1024,     4096, 0x3ab23628
-0,     111616,     111616,     1024,     4096, 0x94c9a8bf
-0,     112640,     112640,     1024,     4096, 0x7ba5ff41
-0,     113664,     113664,     1024,     4096, 0xc6bfd5db
-0,     114688,     114688,     1024,     4096, 0x6b9ef98f
-0,     115712,     115712,     1024,     4096, 0xe5621a02
-0,     116736,     116736,     1024,     4096, 0xeedd28ec
-0,     117760,     117760,     1024,     4096, 0xddf5e045
-0,     118784,     118784,     1024,     4096, 0x49f0e0a9
-0,     119808,     119808,     1024,     4096, 0xd18f0ca0
-0,     120832,     120832,     1024,     4096, 0xa0fa00c6
-0,     121856,     121856,     1024,     4096, 0x9e406e6c
-0,     122880,     122880,     1024,     4096, 0x1a3f23bc
-0,     123904,     123904,     1024,     4096, 0xcbf409d0
-0,     124928,     124928,     1024,     4096, 0x499b3ac8
-0,     125952,     125952,     1024,     4096, 0x2ef93980
-0,     126976,     126976,     1024,     4096, 0x83092bfa
-0,     128000,     128000,     1024,     4096, 0x4838093a
-0,     129024,     129024,     1024,     4096, 0xd1bff209
-0,     130048,     130048,     1024,     4096, 0xdef04f12
-0,     131072,     131072,     1024,     4096, 0x130dd787
-0,     132096,     132096,     1024,     4096, 0xc8621030
-0,     133120,     133120,     1024,     4096, 0x1b2bf867
-0,     134144,     134144,     1024,     4096, 0x01220341
-0,     135168,     135168,     1024,     4096, 0x7c8dfdb1
-0,     136192,     136192,     1024,     4096, 0xe81df813
-0,     137216,     137216,     1024,     4096, 0xf820fe8d
-0,     138240,     138240,     1024,     4096, 0x1f9dfe49
-0,     139264,     139264,     1024,     4096, 0x2f84f144
-0,     140288,     140288,     1024,     4096, 0xab9deec8
-0,     141312,     141312,     1024,     4096, 0x7d7bf5b9
-0,     142336,     142336,     1024,     4096, 0xbecff5ea
-0,     143360,     143360,     1024,     4096, 0x2872e5c0
-0,     144384,     144384,     1024,     4096, 0x6e2ff713
-0,     145408,     145408,     1024,     4096, 0x0b2df757
-0,     146432,     146432,     1024,     4096, 0x5030fa0a
-0,     147456,     147456,     1024,     4096, 0xb5b5f3da
-0,     148480,     148480,     1024,     4096, 0xce4cf9a6
-0,     149504,     149504,     1024,     4096, 0x9eacf61f
-0,     150528,     150528,     1024,     4096, 0x3bfff549
-0,     151552,     151552,     1024,     4096, 0x4eeae60a
-0,     152576,     152576,     1024,     4096, 0x188ef258
-0,     153600,     153600,     1024,     4096, 0xb546f30d
-0,     154624,     154624,     1024,     4096, 0x0a84e6f8
-0,     155648,     155648,     1024,     4096, 0xe7b0ee27
-0,     156672,     156672,     1024,     4096, 0x04d0f6ee
-0,     157696,     157696,     1024,     4096, 0x09fa042a
-0,     158720,     158720,     1024,     4096, 0x5a3cf418
-0,     159744,     159744,     1024,     4096, 0x89d8017f
-0,     160768,     160768,     1024,     4096, 0x64eb0320
-0,     161792,     161792,     1024,     4096, 0xe40df279
-0,     162816,     162816,     1024,     4096, 0x4dc4fd25
-0,     163840,     163840,     1024,     4096, 0x466af97c
-0,     164864,     164864,     1024,     4096, 0x7306f4e2
-0,     165888,     165888,     1024,     4096, 0x9782eda4
-0,     166912,     166912,     1024,     4096, 0x3635fad8
-0,     167936,     167936,     1024,     4096, 0x3344eabe
-0,     168960,     168960,     1024,     4096, 0x9143fda0
-0,     169984,     169984,     1024,     4096, 0x33e7eb7f
-0,     171008,     171008,     1024,     4096, 0x4ca0e947
-0,     172032,     172032,     1024,     4096, 0x5b1bf80d
-0,     173056,     173056,     1024,     4096, 0xbb15eab7
-0,     174080,     174080,     1024,     4096, 0xd800f7cb
-0,     175104,     175104,     1024,     4096, 0xd3d4e960
-0,     176128,     176128,     1024,     4096, 0x2fc30f2f
-0,     177152,     177152,     1024,     4096, 0xb410f092
-0,     178176,     178176,     1024,     4096, 0x4350fddf
-0,     179200,     179200,     1024,     4096, 0x477a07c6
-0,     180224,     180224,     1024,     4096, 0x9d48ed59
-0,     181248,     181248,     1024,     4096, 0xd6ae02a8
-0,     182272,     182272,     1024,     4096, 0x206be433
-0,     183296,     183296,     1024,     4096, 0xf465fc54
-0,     184320,     184320,     1024,     4096, 0x745dacb9
-0,     185344,     185344,     1024,     4096, 0x3783e765
-0,     186368,     186368,     1024,     4096, 0x479feb48
-0,     187392,     187392,     1024,     4096, 0x34f2050f
-0,     188416,     188416,     1024,     4096, 0x9df1f441
-0,     189440,     189440,     1024,     4096, 0x1864f225
-0,     190464,     190464,     1024,     4096, 0xebacf084
-0,     191488,     191488,     1024,     4096, 0xaa14f082
-0,     192512,     192512,     1024,     4096, 0xbac10f8b
-0,     193536,     193536,     1024,     4096, 0xa4520210
-0,     194560,     194560,     1024,     4096, 0xfee4f8c3
-0,     195584,     195584,     1024,     4096, 0xadf5e4c2
-0,     196608,     196608,     1024,     4096, 0x7bf20584
-0,     197632,     197632,     1024,     4096, 0x541debf5
-0,     198656,     198656,     1024,     4096, 0x9a350796
-0,     199680,     199680,     1024,     4096, 0x1388fa83
-0,     200704,     200704,     1024,     4096, 0x9839b0c2
-0,     201728,     201728,     1024,     4096, 0xfc9afff0
-0,     202752,     202752,     1024,     4096, 0x73100a7c
-0,     203776,     203776,     1024,     4096, 0xb56df070
-0,     204800,     204800,     1024,     4096, 0x71d8efa7
-0,     205824,     205824,     1024,     4096, 0xde800412
-0,     206848,     206848,     1024,     4096, 0x7bf7f840
-0,     207872,     207872,     1024,     4096, 0x1480044d
-0,     208896,     208896,     1024,     4096, 0x60201217
-0,     209920,     209920,     1024,     4096, 0xb410f092
-0,     210944,     210944,     1024,     4096, 0x4350fddf
-0,     211968,     211968,     1024,     4096, 0x477a07c6
-0,     212992,     212992,     1024,     4096, 0x9d48ed59
-0,     214016,     214016,     1024,     4096, 0xd6ae02a8
-0,     215040,     215040,     1024,     4096, 0x206be433
-0,     216064,     216064,     1024,     4096, 0xf465fc54
-0,     217088,     217088,     1024,     4096, 0x745dacb9
-0,     218112,     218112,     1024,     4096, 0x3783e765
-0,     219136,     219136,     1024,     4096, 0x479feb48
-0,     220160,     220160,     1024,     4096, 0x34f2050f
-0,     221184,     221184,     1024,     4096, 0x9df1f441
-0,     222208,     222208,     1024,     4096, 0x1864f225
-0,     223232,     223232,     1024,     4096, 0xebacf084
-0,     224256,     224256,     1024,     4096, 0xaa14f082
-0,     225280,     225280,     1024,     4096, 0xbac10f8b
-0,     226304,     226304,     1024,     4096, 0xa4520210
-0,     227328,     227328,     1024,     4096, 0xfee4f8c3
-0,     228352,     228352,     1024,     4096, 0xadf5e4c2
-0,     229376,     229376,     1024,     4096, 0x7bf20584
-0,     230400,     230400,     1024,     4096, 0x541debf5
-0,     231424,     231424,     1024,     4096, 0x9a350796
-0,     232448,     232448,     1024,     4096, 0x1388fa83
-0,     233472,     233472,     1024,     4096, 0x9839b0c2
-0,     234496,     234496,     1024,     4096, 0xfc9afff0
-0,     235520,     235520,     1024,     4096, 0x73100a7c
-0,     236544,     236544,     1024,     4096, 0xb56df070
-0,     237568,     237568,     1024,     4096, 0x71d8efa7
-0,     238592,     238592,     1024,     4096, 0xde800412
-0,     239616,     239616,     1024,     4096, 0x7bf7f840
-0,     240640,     240640,     1024,     4096, 0x1480044d
-0,     241664,     241664,     1024,     4096, 0x60201217
-0,     242688,     242688,     1024,     4096, 0xb410f092
-0,     243712,     243712,     1024,     4096, 0x4350fddf
-0,     244736,     244736,     1024,     4096, 0x477a07c6
-0,     245760,     245760,     1024,     4096, 0x9d48ed59
-0,     246784,     246784,     1024,     4096, 0xd6ae02a8
-0,     247808,     247808,     1024,     4096, 0x206be433
-0,     248832,     248832,     1024,     4096, 0xf465fc54
-0,     249856,     249856,     1024,     4096, 0x745dacb9
-0,     250880,     250880,     1024,     4096, 0x3783e765
-0,     251904,     251904,     1024,     4096, 0x479feb48
-0,     252928,     252928,     1024,     4096, 0x34f2050f
-0,     253952,     253952,     1024,     4096, 0x9df1f441
-0,     254976,     254976,     1024,     4096, 0x1864f225
-0,     256000,     256000,     1024,     4096, 0xebacf084
-0,     257024,     257024,     1024,     4096, 0xaa14f082
-0,     258048,     258048,     1024,     4096, 0xbac10f8b
-0,     259072,     259072,     1024,     4096, 0xa4520210
-0,     260096,     260096,     1024,     4096, 0xfee4f8c3
-0,     261120,     261120,     1024,     4096, 0xadf5e4c2
-0,     262144,     262144,     1024,     4096, 0x7bf20584
-0,     263168,     263168,     1024,     4096, 0x541debf5
-0,     264192,     264192,      408,     1632, 0xadd02d39
+0,          0,          0,     4096,    16384, 0xb92ae60d
+0,       4096,       4096,     4096,    16384, 0x4f0bf0ab
+0,       8192,       8192,     4096,    16384, 0x11f9e1f7
+0,      12288,      12288,     4096,    16384, 0x8f95ec65
+0,      16384,      16384,     4096,    16384, 0x17b7d611
+0,      20480,      20480,     4096,    16384, 0x1db5d957
+0,      24576,      24576,     4096,    16384, 0xece9d3c3
+0,      28672,      28672,     4096,    16384, 0x2a0ed317
+0,      32768,      32768,     4096,    16384, 0x2608e5c1
+0,      36864,      36864,     4096,    16384, 0x4f0bf0ab
+0,      40960,      40960,     4096,    16384, 0x0e3ef431
+0,      45056,      45056,     4096,    16384, 0x73cbc505
+0,      49152,      49152,     4096,    16384, 0x8e5df3e3
+0,      53248,      53248,     4096,    16384, 0xa342d76f
+0,      57344,      57344,     4096,    16384, 0x09f4efd3
+0,      61440,      61440,     4096,    16384, 0xd99d0120
+0,      65536,      65536,     4096,    16384, 0xde061136
+0,      69632,      69632,     4096,    16384, 0x73cbf9bb
+0,      73728,      73728,     4096,    16384, 0x548fde1d
+0,      77824,      77824,     4096,    16384, 0x4b61d1df
+0,      81920,      81920,     4096,    16384, 0xaf59e843
+0,      86016,      86016,     4096,    16384, 0xd3272f42
+0,      90112,      90112,     4096,    16384, 0xa8bb8419
+0,      94208,      94208,     4096,    16384, 0x4bebdfe9
+0,      98304,      98304,     4096,    16384, 0x63b0da41
+0,     102400,     102400,     4096,    16384, 0x6999967f
+0,     106496,     106496,     4096,    16384, 0xb6a8f1e5
+0,     110592,     110592,     4096,    16384, 0x4627b421
+0,     114688,     114688,     4096,    16384, 0x03321ce0
+0,     118784,     118784,     4096,    16384, 0xfb355c8a
+0,     122880,     122880,     4096,    16384, 0xccdca1d4
+0,     126976,     126976,     4096,    16384, 0x9c06765e
+0,     131072,     131072,     4096,    16384, 0x1d62e36e
+0,     135168,     135168,     4096,    16384, 0x6623f2c7
+0,     139264,     139264,     4096,    16384, 0xb473cbdc
+0,     143360,     143360,     4096,    16384, 0xff9dce61
+0,     147456,     147456,     4096,    16384, 0x57c5d915
+0,     151552,     151552,     4096,    16384, 0x08deb294
+0,     155648,     155648,     4096,    16384, 0x71b9dd75
+0,     159744,     159744,     4096,    16384, 0x6e1ef44c
+0,     163840,     163840,     4096,    16384, 0xaf23d707
+0,     167936,     167936,     4096,    16384, 0x21f8bd51
+0,     172032,     172032,     4096,    16384, 0x1c86c41c
+0,     176128,     176128,     4096,    16384, 0x4aa00584
+0,     180224,     180224,     4096,    16384, 0xdf88d0a6
+0,     184320,     184320,     4096,    16384, 0x6cf88493
+0,     188416,     188416,     4096,    16384, 0xb2f5c799
+0,     192512,     192512,     4096,    16384, 0x64f0ef2f
+0,     196608,     196608,     4096,    16384, 0x0f08f3a1
+0,     200704,     200704,     4096,    16384, 0xb880abbc
+0,     204800,     204800,     4096,    16384, 0x0384f055
+0,     208896,     208896,     4096,    16384, 0x0331086c
+0,     212992,     212992,     4096,    16384, 0xdf88d0a6
+0,     217088,     217088,     4096,    16384, 0x6cf88493
+0,     221184,     221184,     4096,    16384, 0xb2f5c799
+0,     225280,     225280,     4096,    16384, 0x64f0ef2f
+0,     229376,     229376,     4096,    16384, 0x0f08f3a1
+0,     233472,     233472,     4096,    16384, 0xb880abbc
+0,     237568,     237568,     4096,    16384, 0x0384f055
+0,     241664,     241664,     4096,    16384, 0x0331086c
+0,     245760,     245760,     4096,    16384, 0xdf88d0a6
+0,     249856,     249856,     4096,    16384, 0x6cf88493
+0,     253952,     253952,     4096,    16384, 0xb2f5c799
+0,     258048,     258048,     4096,    16384, 0x64f0ef2f
+0,     262144,     262144,     2456,     9824, 0x80b21ec1
diff --git a/tests/ref/fate/filter-aemphasis-75kf b/tests/ref/fate/filter-aemphasis-75kf
index 765f32ec4c..7317007997 100644
--- a/tests/ref/fate/filter-aemphasis-75kf
+++ b/tests/ref/fate/filter-aemphasis-75kf
@@ -3,262 +3,68 @@ 
 #codec_id 0: pcm_s16le
 #sample_rate 0: 44100
 #channel_layout_name 0: stereo
-0,          0,          0,     1024,     4096, 0x7b2101ec
-0,       1024,       1024,     1024,     4096, 0x5c16fc93
-0,       2048,       2048,     1024,     4096, 0x62bdee5d
-0,       3072,       3072,     1024,     4096, 0x0299ee41
-0,       4096,       4096,     1024,     4096, 0xdd2efe95
-0,       5120,       5120,     1024,     4096, 0xe9380628
-0,       6144,       6144,     1024,     4096, 0x5d84f1f3
-0,       7168,       7168,     1024,     4096, 0x598beeb3
-0,       8192,       8192,     1024,     4096, 0x21fefb25
-0,       9216,       9216,     1024,     4096, 0x053afefb
-0,      10240,      10240,     1024,     4096, 0xb993fd2b
-0,      11264,      11264,     1024,     4096, 0xa05aeae1
-0,      12288,      12288,     1024,     4096, 0x3e1ff497
-0,      13312,      13312,     1024,     4096, 0x7f5a086c
-0,      14336,      14336,     1024,     4096, 0xad580300
-0,      15360,      15360,     1024,     4096, 0xbcaff05d
-0,      16384,      16384,     1024,     4096, 0xfd8def91
-0,      17408,      17408,     1024,     4096, 0x5cfdfa7b
-0,      18432,      18432,     1024,     4096, 0xd67dff11
-0,      19456,      19456,     1024,     4096, 0x01b2ff0f
-0,      20480,      20480,     1024,     4096, 0x7138ec9d
-0,      21504,      21504,     1024,     4096, 0xb09ef761
-0,      22528,      22528,     1024,     4096, 0x92f3f97b
-0,      23552,      23552,     1024,     4096, 0x2ee8fe7d
-0,      24576,      24576,     1024,     4096, 0x290ef437
-0,      25600,      25600,     1024,     4096, 0x37daee71
-0,      26624,      26624,     1024,     4096, 0x63e9f5e1
-0,      27648,      27648,     1024,     4096, 0x643008d0
-0,      28672,      28672,     1024,     4096, 0xa427fc59
-0,      29696,      29696,     1024,     4096, 0xf196ed25
-0,      30720,      30720,     1024,     4096, 0xc1edeab9
-0,      31744,      31744,     1024,     4096, 0xaf9a0280
-0,      32768,      32768,     1024,     4096, 0x86cf0026
-0,      33792,      33792,     1024,     4096, 0x5c16fc93
-0,      34816,      34816,     1024,     4096, 0x62bdee5d
-0,      35840,      35840,     1024,     4096, 0x0299ee41
-0,      36864,      36864,     1024,     4096, 0xdd2efe95
-0,      37888,      37888,     1024,     4096, 0xe9380628
-0,      38912,      38912,     1024,     4096, 0x5d84f1f3
-0,      39936,      39936,     1024,     4096, 0x598beeb3
-0,      40960,      40960,     1024,     4096, 0x21fefb25
-0,      41984,      41984,     1024,     4096, 0x053afefb
-0,      43008,      43008,     1024,     4096, 0xb993fd2b
-0,      44032,      44032,     1024,     4096, 0xeccc08c6
-0,      45056,      45056,     1024,     4096, 0xceb5f1af
-0,      46080,      46080,     1024,     4096, 0xfee9e279
-0,      47104,      47104,     1024,     4096, 0x4b2a02cc
-0,      48128,      48128,     1024,     4096, 0xdc22ff19
-0,      49152,      49152,     1024,     4096, 0x557cf4e9
-0,      50176,      50176,     1024,     4096, 0x7fe2042c
-0,      51200,      51200,     1024,     4096, 0x0793eb0b
-0,      52224,      52224,     1024,     4096, 0x8bba058e
-0,      53248,      53248,     1024,     4096, 0x3336f807
-0,      54272,      54272,     1024,     4096, 0x86cef823
-0,      55296,      55296,     1024,     4096, 0x07cbefb1
-0,      56320,      56320,     1024,     4096, 0x01c3fab1
-0,      57344,      57344,     1024,     4096, 0xb9a60534
-0,      58368,      58368,     1024,     4096, 0xf8cf0e82
-0,      59392,      59392,     1024,     4096, 0x5caef379
-0,      60416,      60416,     1024,     4096, 0xe2a9dbbd
-0,      61440,      61440,     1024,     4096, 0xe31c09a6
-0,      62464,      62464,     1024,     4096, 0x0524f37d
-0,      63488,      63488,     1024,     4096, 0x92101602
-0,      64512,      64512,     1024,     4096, 0xed00d97b
-0,      65536,      65536,     1024,     4096, 0x2058f609
-0,      66560,      66560,     1024,     4096, 0x30d20634
-0,      67584,      67584,     1024,     4096, 0xa0ddf055
-0,      68608,      68608,     1024,     4096, 0xe23e1946
-0,      69632,      69632,     1024,     4096, 0x2c1af97f
-0,      70656,      70656,     1024,     4096, 0x77f6f2a9
-0,      71680,      71680,     1024,     4096, 0x2b67ff03
-0,      72704,      72704,     1024,     4096, 0x3e26f14b
-0,      73728,      73728,     1024,     4096, 0x0439e425
-0,      74752,      74752,     1024,     4096, 0xb08ef9d1
-0,      75776,      75776,     1024,     4096, 0xac9fede5
-0,      76800,      76800,     1024,     4096, 0xa637f3e7
-0,      77824,      77824,     1024,     4096, 0xbf7307b0
-0,      78848,      78848,     1024,     4096, 0xce41f5b3
-0,      79872,      79872,     1024,     4096, 0xd6b8f619
-0,      80896,      80896,     1024,     4096, 0x5837097e
-0,      81920,      81920,     1024,     4096, 0xc6affc23
-0,      82944,      82944,     1024,     4096, 0x630e070c
-0,      83968,      83968,     1024,     4096, 0x570ffcd5
-0,      84992,      84992,     1024,     4096, 0x71ede781
-0,      86016,      86016,     1024,     4096, 0x703afda5
-0,      87040,      87040,     1024,     4096, 0x71390f4c
-0,      88064,      88064,     1024,     4096, 0x3961f293
-0,      89088,      89088,     1024,     4096, 0xd288b2b9
-0,      90112,      90112,     1024,     4096, 0xbf4c2946
-0,      91136,      91136,     1024,     4096, 0x71deea79
-0,      92160,      92160,     1024,     4096, 0xbb37625e
-0,      93184,      93184,     1024,     4096, 0xd84df25b
-0,      94208,      94208,     1024,     4096, 0xfde1fc9f
-0,      95232,      95232,     1024,     4096, 0x1a49de0f
-0,      96256,      96256,     1024,     4096, 0x1b11eb13
-0,      97280,      97280,     1024,     4096, 0x4ae88343
-0,      98304,      98304,     1024,     4096, 0x299c361a
-0,      99328,      99328,     1024,     4096, 0x14b7d5cd
-0,     100352,     100352,     1024,     4096, 0x40a318fc
-0,     101376,     101376,     1024,     4096, 0x7fb1d8c7
-0,     102400,     102400,     1024,     4096, 0xfe57c82d
-0,     103424,     103424,     1024,     4096, 0xf9a605fc
-0,     104448,     104448,     1024,     4096, 0x29c912f2
-0,     105472,     105472,     1024,     4096, 0x9886da01
-0,     106496,     106496,     1024,     4096, 0x0398f57f
-0,     107520,     107520,     1024,     4096, 0xed1901c8
-0,     108544,     108544,     1024,     4096, 0xa439ef27
-0,     109568,     109568,     1024,     4096, 0xf1a0ca51
-0,     110592,     110592,     1024,     4096, 0xea605b14
-0,     111616,     111616,     1024,     4096, 0xf014a837
-0,     112640,     112640,     1024,     4096, 0x363e3b90
-0,     113664,     113664,     1024,     4096, 0x24a10ca4
-0,     114688,     114688,     1024,     4096, 0x5b562146
-0,     115712,     115712,     1024,     4096, 0xb1291324
-0,     116736,     116736,     1024,     4096, 0xd4797cbe
-0,     117760,     117760,     1024,     4096, 0x526813b4
-0,     118784,     118784,     1024,     4096, 0x634bc887
-0,     119808,     119808,     1024,     4096, 0x6523e6c3
-0,     120832,     120832,     1024,     4096, 0xa244da0d
-0,     121856,     121856,     1024,     4096, 0xec5ba956
-0,     122880,     122880,     1024,     4096, 0xf31b57a6
-0,     123904,     123904,     1024,     4096, 0xf5262d84
-0,     124928,     124928,     1024,     4096, 0x50c37f34
-0,     125952,     125952,     1024,     4096, 0x81286432
-0,     126976,     126976,     1024,     4096, 0x4d2340a2
-0,     128000,     128000,     1024,     4096, 0x37be060a
-0,     129024,     129024,     1024,     4096, 0xdad60e30
-0,     130048,     130048,     1024,     4096, 0x376c38f6
-0,     131072,     131072,     1024,     4096, 0xe44fe77d
-0,     132096,     132096,     1024,     4096, 0xe7a4f806
-0,     133120,     133120,     1024,     4096, 0xc652fc4c
-0,     134144,     134144,     1024,     4096, 0xb8e8fbb6
-0,     135168,     135168,     1024,     4096, 0x95480279
-0,     136192,     136192,     1024,     4096, 0x095b0036
-0,     137216,     137216,     1024,     4096, 0x5397fc40
-0,     138240,     138240,     1024,     4096, 0xb836f79b
-0,     139264,     139264,     1024,     4096, 0x370ef64f
-0,     140288,     140288,     1024,     4096, 0xd6aefae9
-0,     141312,     141312,     1024,     4096, 0xbe08f80a
-0,     142336,     142336,     1024,     4096, 0x5b41ff1c
-0,     143360,     143360,     1024,     4096, 0x5b86faee
-0,     144384,     144384,     1024,     4096, 0x3a0ff0b5
-0,     145408,     145408,     1024,     4096, 0x6157fa3f
-0,     146432,     146432,     1024,     4096, 0x60a9f906
-0,     147456,     147456,     1024,     4096, 0x8ecdfc26
-0,     148480,     148480,     1024,     4096, 0x0146f112
-0,     149504,     149504,     1024,     4096, 0xc163fe87
-0,     150528,     150528,     1024,     4096, 0x2e78f5c4
-0,     151552,     151552,     1024,     4096, 0x3e9bed7d
-0,     152576,     152576,     1024,     4096, 0xb776009c
-0,     153600,     153600,     1024,     4096, 0xea1efaba
-0,     154624,     154624,     1024,     4096, 0x45f2ea57
-0,     155648,     155648,     1024,     4096, 0x5456f53f
-0,     156672,     156672,     1024,     4096, 0x7e3bf2b9
-0,     157696,     157696,     1024,     4096, 0x0952fd4b
-0,     158720,     158720,     1024,     4096, 0xb8e6f10c
-0,     159744,     159744,     1024,     4096, 0xa07ff79c
-0,     160768,     160768,     1024,     4096, 0x55bafbfd
-0,     161792,     161792,     1024,     4096, 0xab81ed83
-0,     162816,     162816,     1024,     4096, 0x5a610066
-0,     163840,     163840,     1024,     4096, 0x0ac90160
-0,     164864,     164864,     1024,     4096, 0x5745f93f
-0,     165888,     165888,     1024,     4096, 0x9cf2f284
-0,     166912,     166912,     1024,     4096, 0xd350ef0b
-0,     167936,     167936,     1024,     4096, 0x3f47f217
-0,     168960,     168960,     1024,     4096, 0xf178fbae
-0,     169984,     169984,     1024,     4096, 0xf74a056a
-0,     171008,     171008,     1024,     4096, 0xc345ede5
-0,     172032,     172032,     1024,     4096, 0xa672f2be
-0,     173056,     173056,     1024,     4096, 0xd5bcf917
-0,     174080,     174080,     1024,     4096, 0x8126f699
-0,     175104,     175104,     1024,     4096, 0xa0d3ebfd
-0,     176128,     176128,     1024,     4096, 0x577f1d75
-0,     177152,     177152,     1024,     4096, 0x6047ffe4
-0,     178176,     178176,     1024,     4096, 0xe89df7c9
-0,     179200,     179200,     1024,     4096, 0x2ea3f621
-0,     180224,     180224,     1024,     4096, 0xda4f05ef
-0,     181248,     181248,     1024,     4096, 0x5d7c07ba
-0,     182272,     182272,     1024,     4096, 0x461be644
-0,     183296,     183296,     1024,     4096, 0xce47f434
-0,     184320,     184320,     1024,     4096, 0xb30bacee
-0,     185344,     185344,     1024,     4096, 0x1c85f71d
-0,     186368,     186368,     1024,     4096, 0xc9a0f1cd
-0,     187392,     187392,     1024,     4096, 0xd939edde
-0,     188416,     188416,     1024,     4096, 0xa8e0e086
-0,     189440,     189440,     1024,     4096, 0xc0b6ff00
-0,     190464,     190464,     1024,     4096, 0xdd84005e
-0,     191488,     191488,     1024,     4096, 0x97d103bf
-0,     192512,     192512,     1024,     4096, 0xa0241ffc
-0,     193536,     193536,     1024,     4096, 0x91a4f35a
-0,     194560,     194560,     1024,     4096, 0x61abf0b0
-0,     195584,     195584,     1024,     4096, 0xa5d10111
-0,     196608,     196608,     1024,     4096, 0x0e71f5ce
-0,     197632,     197632,     1024,     4096, 0x4796f9fa
-0,     198656,     198656,     1024,     4096, 0x561bf893
-0,     199680,     199680,     1024,     4096, 0x70ddfb78
-0,     200704,     200704,     1024,     4096, 0xe4f4c2b6
-0,     201728,     201728,     1024,     4096, 0x5452f356
-0,     202752,     202752,     1024,     4096, 0x84e2fd14
-0,     203776,     203776,     1024,     4096, 0xd04b00a5
-0,     204800,     204800,     1024,     4096, 0x01ca0f7c
-0,     205824,     205824,     1024,     4096, 0x1685ef21
-0,     206848,     206848,     1024,     4096, 0x50effa4f
-0,     207872,     207872,     1024,     4096, 0xb5a9e82f
-0,     208896,     208896,     1024,     4096, 0xa7343704
-0,     209920,     209920,     1024,     4096, 0x6047ffe4
-0,     210944,     210944,     1024,     4096, 0xe89df7c9
-0,     211968,     211968,     1024,     4096, 0x2ea3f621
-0,     212992,     212992,     1024,     4096, 0xda4f05ef
-0,     214016,     214016,     1024,     4096, 0x5d7c07ba
-0,     215040,     215040,     1024,     4096, 0x461be644
-0,     216064,     216064,     1024,     4096, 0xce47f434
-0,     217088,     217088,     1024,     4096, 0xb30bacee
-0,     218112,     218112,     1024,     4096, 0x1c85f71d
-0,     219136,     219136,     1024,     4096, 0xc9a0f1cd
-0,     220160,     220160,     1024,     4096, 0xd939edde
-0,     221184,     221184,     1024,     4096, 0xa8e0e086
-0,     222208,     222208,     1024,     4096, 0xc0b6ff00
-0,     223232,     223232,     1024,     4096, 0xdd84005e
-0,     224256,     224256,     1024,     4096, 0x97d103bf
-0,     225280,     225280,     1024,     4096, 0xa0241ffc
-0,     226304,     226304,     1024,     4096, 0x91a4f35a
-0,     227328,     227328,     1024,     4096, 0x61abf0b0
-0,     228352,     228352,     1024,     4096, 0xa5d10111
-0,     229376,     229376,     1024,     4096, 0x0e71f5ce
-0,     230400,     230400,     1024,     4096, 0x4796f9fa
-0,     231424,     231424,     1024,     4096, 0x561bf893
-0,     232448,     232448,     1024,     4096, 0x70ddfb78
-0,     233472,     233472,     1024,     4096, 0xe4f4c2b6
-0,     234496,     234496,     1024,     4096, 0x5452f356
-0,     235520,     235520,     1024,     4096, 0x84e2fd14
-0,     236544,     236544,     1024,     4096, 0xd04b00a5
-0,     237568,     237568,     1024,     4096, 0x01ca0f7c
-0,     238592,     238592,     1024,     4096, 0x1685ef21
-0,     239616,     239616,     1024,     4096, 0x50effa4f
-0,     240640,     240640,     1024,     4096, 0xb5a9e82f
-0,     241664,     241664,     1024,     4096, 0xa7343704
-0,     242688,     242688,     1024,     4096, 0x6047ffe4
-0,     243712,     243712,     1024,     4096, 0xe89df7c9
-0,     244736,     244736,     1024,     4096, 0x2ea3f621
-0,     245760,     245760,     1024,     4096, 0xda4f05ef
-0,     246784,     246784,     1024,     4096, 0x5d7c07ba
-0,     247808,     247808,     1024,     4096, 0x461be644
-0,     248832,     248832,     1024,     4096, 0xce47f434
-0,     249856,     249856,     1024,     4096, 0xb30bacee
-0,     250880,     250880,     1024,     4096, 0x1c85f71d
-0,     251904,     251904,     1024,     4096, 0xc9a0f1cd
-0,     252928,     252928,     1024,     4096, 0xd939edde
-0,     253952,     253952,     1024,     4096, 0xa8e0e086
-0,     254976,     254976,     1024,     4096, 0xc0b6ff00
-0,     256000,     256000,     1024,     4096, 0xdd84005e
-0,     257024,     257024,     1024,     4096, 0x97d103bf
-0,     258048,     258048,     1024,     4096, 0xa0241ffc
-0,     259072,     259072,     1024,     4096, 0x91a4f35a
-0,     260096,     260096,     1024,     4096, 0x61abf0b0
-0,     261120,     261120,     1024,     4096, 0xa5d10111
-0,     262144,     262144,     1024,     4096, 0x0e71f5ce
-0,     263168,     263168,     1024,     4096, 0x4796f9fa
-0,     264192,     264192,      408,     1632, 0x31842eec
+0,          0,          0,     4096,    16384, 0x6b35db3b
+0,       4096,       4096,     4096,    16384, 0x582fe581
+0,       8192,       8192,     4096,    16384, 0x0f55e259
+0,      12288,      12288,     4096,    16384, 0xba42f06f
+0,      16384,      16384,     4096,    16384, 0x39b6e859
+0,      20480,      20480,     4096,    16384, 0x7749dc23
+0,      24576,      24576,     4096,    16384, 0xfdc5e177
+0,      28672,      28672,     4096,    16384, 0x462bd6d5
+0,      32768,      32768,     4096,    16384, 0x51e8d975
+0,      36864,      36864,     4096,    16384, 0x582fe581
+0,      40960,      40960,     4096,    16384, 0x5bc7003e
+0,      45056,      45056,     4096,    16384, 0xf847d62b
+0,      49152,      49152,     4096,    16384, 0xdde5e9bd
+0,      53248,      53248,     4096,    16384, 0xef6cdab9
+0,      57344,      57344,     4096,    16384, 0x9017e2fb
+0,      61440,      61440,     4096,    16384, 0x3fddecaf
+0,      65536,      65536,     4096,    16384, 0xf57305f6
+0,      69632,      69632,     4096,    16384, 0xa1badca3
+0,      73728,      73728,     4096,    16384, 0x9d17bfef
+0,      77824,      77824,     4096,    16384, 0x75f5fd09
+0,      81920,      81920,     4096,    16384, 0x126ee7a3
+0,      86016,      86016,     4096,    16384, 0x5725b25b
+0,      90112,      90112,     4096,    16384, 0x6ce76896
+0,      94208,      94208,     4096,    16384, 0xa1bc4931
+0,      98304,      98304,     4096,    16384, 0x7f46fdb9
+0,     102400,     102400,     4096,    16384, 0x1a90bb2b
+0,     106496,     106496,     4096,    16384, 0x5ce1b0dd
+0,     110592,     110592,     4096,    16384, 0x48fb4b8e
+0,     114688,     114688,     4096,    16384, 0xa9f0c4dc
+0,     118784,     118784,     4096,    16384, 0x888432da
+0,     122880,     122880,     4096,    16384, 0x5d85689f
+0,     126976,     126976,     4096,    16384, 0x05ae8dd2
+0,     131072,     131072,     4096,    16384, 0x8448d7b2
+0,     135168,     135168,     4096,    16384, 0x0e6cf699
+0,     139264,     139264,     4096,    16384, 0x2b31e88b
+0,     143360,     143360,     4096,    16384, 0xf798df15
+0,     147456,     147456,     4096,    16384, 0xc816e1b0
+0,     151552,     151552,     4096,    16384, 0x3e95d348
+0,     155648,     155648,     4096,    16384, 0x9b7bd67c
+0,     159744,     159744,     4096,    16384, 0x7c0fe1a0
+0,     163840,     163840,     4096,    16384, 0xad1adc4c
+0,     167936,     167936,     4096,    16384, 0x2196e132
+0,     172032,     172032,     4096,    16384, 0x138fce98
+0,     176128,     176128,     4096,    16384, 0xea330b70
+0,     180224,     180224,     4096,    16384, 0x9362e830
+0,     184320,     184320,     4096,    16384, 0x1b3583e3
+0,     188416,     188416,     4096,    16384, 0x3545e3b2
+0,     192512,     192512,     4096,    16384, 0xbd6a0535
+0,     196608,     196608,     4096,    16384, 0x9e6ae400
+0,     200704,     200704,     4096,    16384, 0x87feb3e3
+0,     204800,     204800,     4096,    16384, 0x45b3e139
+0,     208896,     208896,     4096,    16384, 0x51dc24ff
+0,     212992,     212992,     4096,    16384, 0x9362e830
+0,     217088,     217088,     4096,    16384, 0x1b3583e3
+0,     221184,     221184,     4096,    16384, 0x3545e3b2
+0,     225280,     225280,     4096,    16384, 0xbd6a0535
+0,     229376,     229376,     4096,    16384, 0x9e6ae400
+0,     233472,     233472,     4096,    16384, 0x87feb3e3
+0,     237568,     237568,     4096,    16384, 0x45b3e139
+0,     241664,     241664,     4096,    16384, 0x51dc24ff
+0,     245760,     245760,     4096,    16384, 0x9362e830
+0,     249856,     249856,     4096,    16384, 0x1b3583e3
+0,     253952,     253952,     4096,    16384, 0x3545e3b2
+0,     258048,     258048,     4096,    16384, 0xbd6a0535
+0,     262144,     262144,     2456,     9824, 0xa2441ed2
diff --git a/tests/ref/fate/filter-afade-esin b/tests/ref/fate/filter-afade-esin
index 41dfaeb565..db529b9a95 100644
--- a/tests/ref/fate/filter-afade-esin
+++ b/tests/ref/fate/filter-afade-esin
@@ -3,262 +3,68 @@ 
 #codec_id 0: pcm_s16le
 #sample_rate 0: 44100
 #channel_layout_name 0: stereo
-0,          0,          0,     1024,     4096, 0x06e0d68a
-0,       1024,       1024,     1024,     4096, 0xb325d915
-0,       2048,       2048,     1024,     4096, 0xc0a5f1f1
-0,       3072,       3072,     1024,     4096, 0x47dbf54d
-0,       4096,       4096,     1024,     4096, 0x9f76e869
-0,       5120,       5120,     1024,     4096, 0xfbcaeb51
-0,       6144,       6144,     1024,     4096, 0xa16309a6
-0,       7168,       7168,     1024,     4096, 0x2890fe67
-0,       8192,       8192,     1024,     4096, 0x1cefee6b
-0,       9216,       9216,     1024,     4096, 0x0ad7ea27
-0,      10240,      10240,     1024,     4096, 0x8df7f895
-0,      11264,      11264,     1024,     4096, 0x19c0fa19
-0,      12288,      12288,     1024,     4096, 0x5cb4fdc5
-0,      13312,      13312,     1024,     4096, 0xcfc2f1ef
-0,      14336,      14336,     1024,     4096, 0x24b8f073
-0,      15360,      15360,     1024,     4096, 0x2ff6fa85
-0,      16384,      16384,     1024,     4096, 0x6fcffd03
-0,      17408,      17408,     1024,     4096, 0xe576e477
-0,      18432,      18432,     1024,     4096, 0xe0f6f54f
-0,      19456,      19456,     1024,     4096, 0xc225f5f7
-0,      20480,      20480,     1024,     4096, 0xe6d9fe57
-0,      21504,      21504,     1024,     4096, 0x8bc60f78
-0,      22528,      22528,     1024,     4096, 0xc907eeb1
-0,      23552,      23552,     1024,     4096, 0xd691f071
-0,      24576,      24576,     1024,     4096, 0x939402ee
-0,      25600,      25600,     1024,     4096, 0x19270cc4
-0,      26624,      26624,     1024,     4096, 0x25c5ed9b
-0,      27648,      27648,     1024,     4096, 0x0dbce7eb
-0,      28672,      28672,     1024,     4096, 0x035fff0f
-0,      29696,      29696,     1024,     4096, 0x514a0802
-0,      30720,      30720,     1024,     4096, 0x0de0043e
-0,      31744,      31744,     1024,     4096, 0xb576e1ab
-0,      32768,      32768,     1024,     4096, 0xcf30ee2f
-0,      33792,      33792,     1024,     4096, 0xae49f86d
-0,      34816,      34816,     1024,     4096, 0x42a202ac
-0,      35840,      35840,     1024,     4096, 0x762af249
-0,      36864,      36864,     1024,     4096, 0xb966eba5
-0,      37888,      37888,     1024,     4096, 0xeefeec79
-0,      38912,      38912,     1024,     4096, 0x62b00688
-0,      39936,      39936,     1024,     4096, 0x206efe91
-0,      40960,      40960,     1024,     4096, 0x2f69ef73
-0,      41984,      41984,     1024,     4096, 0x375cf043
-0,      43008,      43008,     1024,     4096, 0x096affd3
-0,      44032,      44032,     1024,     4096, 0x076ef11f
-0,      45056,      45056,     1024,     4096, 0x2e3201a0
-0,      46080,      46080,     1024,     4096, 0xb53f1ba4
-0,      47104,      47104,     1024,     4096, 0x5b13e019
-0,      48128,      48128,     1024,     4096, 0x22640338
-0,      49152,      49152,     1024,     4096, 0xb502f22d
-0,      50176,      50176,     1024,     4096, 0x53dfd61f
-0,      51200,      51200,     1024,     4096, 0x2044f1f1
-0,      52224,      52224,     1024,     4096, 0x94ccf2c7
-0,      53248,      53248,     1024,     4096, 0xbddee399
-0,      54272,      54272,     1024,     4096, 0xf305ec59
-0,      55296,      55296,     1024,     4096, 0x49acfc6f
-0,      56320,      56320,     1024,     4096, 0xc855d77d
-0,      57344,      57344,     1024,     4096, 0x1ca1faf5
-0,      58368,      58368,     1024,     4096, 0x9bd41038
-0,      59392,      59392,     1024,     4096, 0x4b83f6b7
-0,      60416,      60416,     1024,     4096, 0xe9b2ff4b
-0,      61440,      61440,     1024,     4096, 0xd7afe26b
-0,      62464,      62464,     1024,     4096, 0x4282057a
-0,      63488,      63488,     1024,     4096, 0xbea2ebd1
-0,      64512,      64512,     1024,     4096, 0x434ef413
-0,      65536,      65536,     1024,     4096, 0x8cd70e28
-0,      66560,      66560,     1024,     4096, 0xcef91d96
-0,      67584,      67584,     1024,     4096, 0xd9abfa75
-0,      68608,      68608,     1024,     4096, 0x9793f0c7
-0,      69632,      69632,     1024,     4096, 0x734b090c
-0,      70656,      70656,     1024,     4096, 0xdcf0f981
-0,      71680,      71680,     1024,     4096, 0x05af1302
-0,      72704,      72704,     1024,     4096, 0x9d80f677
-0,      73728,      73728,     1024,     4096, 0xc4e10628
-0,      74752,      74752,     1024,     4096, 0xfa8ef6a9
-0,      75776,      75776,     1024,     4096, 0xf8c1f72f
-0,      76800,      76800,     1024,     4096, 0xcf9b028a
-0,      77824,      77824,     1024,     4096, 0x80c7f3cb
-0,      78848,      78848,     1024,     4096, 0x97e2e6e5
-0,      79872,      79872,     1024,     4096, 0x9301dc81
-0,      80896,      80896,     1024,     4096, 0x1a8aeaed
-0,      81920,      81920,     1024,     4096, 0xfd751e70
-0,      82944,      82944,     1024,     4096, 0xe7643dc0
-0,      83968,      83968,     1024,     4096, 0xe08f0788
-0,      84992,      84992,     1024,     4096, 0x4f1105cc
-0,      86016,      86016,     1024,     4096, 0xb25806c6
-0,      87040,      87040,     1024,     4096, 0xd66d282a
-0,      88064,      88064,     1024,     4096, 0x457ddf0d
-0,      89088,      89088,     1024,     4096, 0xe68dda8f
-0,      90112,      90112,     1024,     4096, 0xe457b505
-0,      91136,      91136,     1024,     4096, 0xda25a409
-0,      92160,      92160,     1024,     4096, 0x5b5d9d3b
-0,      93184,      93184,     1024,     4096, 0xa61eb13d
-0,      94208,      94208,     1024,     4096, 0xac93b66f
-0,      95232,      95232,     1024,     4096, 0xc7aeb33f
-0,      96256,      96256,     1024,     4096, 0x52cccfb5
-0,      97280,      97280,     1024,     4096, 0x4e4cf487
-0,      98304,      98304,     1024,     4096, 0x19c07f35
-0,      99328,      99328,     1024,     4096, 0x63ecd34f
-0,     100352,     100352,     1024,     4096, 0x122aec53
-0,     101376,     101376,     1024,     4096, 0x6581c0ad
-0,     102400,     102400,     1024,     4096, 0x640edb15
-0,     103424,     103424,     1024,     4096, 0x5d66c66f
-0,     104448,     104448,     1024,     4096, 0x069e9d35
-0,     105472,     105472,     1024,     4096, 0x5c9fd0e9
-0,     106496,     106496,     1024,     4096, 0x72468667
-0,     107520,     107520,     1024,     4096, 0x6e6dd02b
-0,     108544,     108544,     1024,     4096, 0x93edce33
-0,     109568,     109568,     1024,     4096, 0xcdfbd519
-0,     110592,     110592,     1024,     4096, 0x8463f2bb
-0,     111616,     111616,     1024,     4096, 0x5ca6f869
-0,     112640,     112640,     1024,     4096, 0x099a0398
-0,     113664,     113664,     1024,     4096, 0xa7fa10f0
-0,     114688,     114688,     1024,     4096, 0x28caddd3
-0,     115712,     115712,     1024,     4096, 0x4852ef8b
-0,     116736,     116736,     1024,     4096, 0x0250ee7b
-0,     117760,     117760,     1024,     4096, 0x9583da21
-0,     118784,     118784,     1024,     4096, 0x7365fb33
-0,     119808,     119808,     1024,     4096, 0x28c82066
-0,     120832,     120832,     1024,     4096, 0x94650be4
-0,     121856,     121856,     1024,     4096, 0xeb21f8eb
-0,     122880,     122880,     1024,     4096, 0xcd88f455
-0,     123904,     123904,     1024,     4096, 0x66a9efaf
-0,     124928,     124928,     1024,     4096, 0x5500c6ed
-0,     125952,     125952,     1024,     4096, 0x0ee0c62d
-0,     126976,     126976,     1024,     4096, 0x34d30762
-0,     128000,     128000,     1024,     4096, 0x8c0dec9f
-0,     129024,     129024,     1024,     4096, 0x790011d8
-0,     130048,     130048,     1024,     4096, 0xb76a1136
-0,     131072,     131072,     1024,     4096, 0x7dddfea7
-0,     132096,     132096,     1024,     4096, 0xdfa3ed49
-0,     133120,     133120,     1024,     4096, 0xc129f54e
-0,     134144,     134144,     1024,     4096, 0x9a86f077
-0,     135168,     135168,     1024,     4096, 0xc9eef209
-0,     136192,     136192,     1024,     4096, 0x72d4029b
-0,     137216,     137216,     1024,     4096, 0x8ec20590
-0,     138240,     138240,     1024,     4096, 0xd48f18ed
-0,     139264,     139264,     1024,     4096, 0xd807eadc
-0,     140288,     140288,     1024,     4096, 0x1e2bea09
-0,     141312,     141312,     1024,     4096, 0x937af12e
-0,     142336,     142336,     1024,     4096, 0xdedbf303
-0,     143360,     143360,     1024,     4096, 0xdc75df88
-0,     144384,     144384,     1024,     4096, 0x1845ffd6
-0,     145408,     145408,     1024,     4096, 0x20e8150c
-0,     146432,     146432,     1024,     4096, 0x5ea7eeef
-0,     147456,     147456,     1024,     4096, 0x4c7efa21
-0,     148480,     148480,     1024,     4096, 0x8b97e30e
-0,     149504,     149504,     1024,     4096, 0xe5040228
-0,     150528,     150528,     1024,     4096, 0x6283f78c
-0,     151552,     151552,     1024,     4096, 0xe7100140
-0,     152576,     152576,     1024,     4096, 0x9ea6f9b2
-0,     153600,     153600,     1024,     4096, 0x5f0e1563
-0,     154624,     154624,     1024,     4096, 0x510bf18e
-0,     155648,     155648,     1024,     4096, 0x5f4fe425
-0,     156672,     156672,     1024,     4096, 0x507af3c0
-0,     157696,     157696,     1024,     4096, 0xbf14ddc6
-0,     158720,     158720,     1024,     4096, 0x1871ed69
-0,     159744,     159744,     1024,     4096, 0xc349ef9f
-0,     160768,     160768,     1024,     4096, 0x4e2c1834
-0,     161792,     161792,     1024,     4096, 0x2383fe04
-0,     162816,     162816,     1024,     4096, 0x6626f415
-0,     163840,     163840,     1024,     4096, 0x283be379
-0,     164864,     164864,     1024,     4096, 0xc76c0ceb
-0,     165888,     165888,     1024,     4096, 0xa0b8040f
-0,     166912,     166912,     1024,     4096, 0x2535eb6d
-0,     167936,     167936,     1024,     4096, 0xeb180bb5
-0,     168960,     168960,     1024,     4096, 0xbc5cf059
-0,     169984,     169984,     1024,     4096, 0x1862f1ac
-0,     171008,     171008,     1024,     4096, 0x9cc2ea2b
-0,     172032,     172032,     1024,     4096, 0xbb9ae754
-0,     173056,     173056,     1024,     4096, 0x716debb5
-0,     174080,     174080,     1024,     4096, 0xff3aff2a
-0,     175104,     175104,     1024,     4096, 0x755dfa5c
-0,     176128,     176128,     1024,     4096, 0x3b830605
-0,     177152,     177152,     1024,     4096, 0x0030dc9e
-0,     178176,     178176,     1024,     4096, 0xb017fd54
-0,     179200,     179200,     1024,     4096, 0x5c7dfa2e
-0,     180224,     180224,     1024,     4096, 0x7887e599
-0,     181248,     181248,     1024,     4096, 0xb730e72f
-0,     182272,     182272,     1024,     4096, 0x6bb3fae4
-0,     183296,     183296,     1024,     4096, 0xcc08fc36
-0,     184320,     184320,     1024,     4096, 0x5afd9ec2
-0,     185344,     185344,     1024,     4096, 0xa1d3e83d
-0,     186368,     186368,     1024,     4096, 0x7f96013c
-0,     187392,     187392,     1024,     4096, 0x7a0afe31
-0,     188416,     188416,     1024,     4096, 0xa37d1701
-0,     189440,     189440,     1024,     4096, 0x4615ebc2
-0,     190464,     190464,     1024,     4096, 0x217005c1
-0,     191488,     191488,     1024,     4096, 0x1755f789
-0,     192512,     192512,     1024,     4096, 0x83e6db65
-0,     193536,     193536,     1024,     4096, 0x92ab1447
-0,     194560,     194560,     1024,     4096, 0xedbdf383
-0,     195584,     195584,     1024,     4096, 0x4316f6a9
-0,     196608,     196608,     1024,     4096, 0x1a6a0b4c
-0,     197632,     197632,     1024,     4096, 0xdfd809b7
-0,     198656,     198656,     1024,     4096, 0x1d2cf5f1
-0,     199680,     199680,     1024,     4096, 0xd366f4a1
-0,     200704,     200704,     1024,     4096, 0x6a2f86e0
-0,     201728,     201728,     1024,     4096, 0xf51f08a9
-0,     202752,     202752,     1024,     4096, 0x05edefa8
-0,     203776,     203776,     1024,     4096, 0x255df2a6
-0,     204800,     204800,     1024,     4096, 0xe881d9e4
-0,     205824,     205824,     1024,     4096, 0x50380523
-0,     206848,     206848,     1024,     4096, 0x8b93eb26
-0,     207872,     207872,     1024,     4096, 0x759cf94c
-0,     208896,     208896,     1024,     4096, 0x8474f591
-0,     209920,     209920,     1024,     4096, 0x0030dc9e
-0,     210944,     210944,     1024,     4096, 0xb017fd54
-0,     211968,     211968,     1024,     4096, 0x5c7dfa2e
-0,     212992,     212992,     1024,     4096, 0x7887e599
-0,     214016,     214016,     1024,     4096, 0xb730e72f
-0,     215040,     215040,     1024,     4096, 0x6bb3fae4
-0,     216064,     216064,     1024,     4096, 0xcc08fc36
-0,     217088,     217088,     1024,     4096, 0x5afd9ec2
-0,     218112,     218112,     1024,     4096, 0xa1d3e83d
-0,     219136,     219136,     1024,     4096, 0x7f96013c
-0,     220160,     220160,     1024,     4096, 0x7a0afe31
-0,     221184,     221184,     1024,     4096, 0xa37d1701
-0,     222208,     222208,     1024,     4096, 0x4615ebc2
-0,     223232,     223232,     1024,     4096, 0x217005c1
-0,     224256,     224256,     1024,     4096, 0x1755f789
-0,     225280,     225280,     1024,     4096, 0x83e6db65
-0,     226304,     226304,     1024,     4096, 0x92ab1447
-0,     227328,     227328,     1024,     4096, 0xedbdf383
-0,     228352,     228352,     1024,     4096, 0x4316f6a9
-0,     229376,     229376,     1024,     4096, 0x1a6a0b4c
-0,     230400,     230400,     1024,     4096, 0xdfd809b7
-0,     231424,     231424,     1024,     4096, 0x1d2cf5f1
-0,     232448,     232448,     1024,     4096, 0xd366f4a1
-0,     233472,     233472,     1024,     4096, 0x6a2f86e0
-0,     234496,     234496,     1024,     4096, 0xf51f08a9
-0,     235520,     235520,     1024,     4096, 0x05edefa8
-0,     236544,     236544,     1024,     4096, 0x255df2a6
-0,     237568,     237568,     1024,     4096, 0xe881d9e4
-0,     238592,     238592,     1024,     4096, 0x50380523
-0,     239616,     239616,     1024,     4096, 0x8b93eb26
-0,     240640,     240640,     1024,     4096, 0x759cf94c
-0,     241664,     241664,     1024,     4096, 0x8474f591
-0,     242688,     242688,     1024,     4096, 0x0030dc9e
-0,     243712,     243712,     1024,     4096, 0xb017fd54
-0,     244736,     244736,     1024,     4096, 0x5c7dfa2e
-0,     245760,     245760,     1024,     4096, 0x7887e599
-0,     246784,     246784,     1024,     4096, 0xb730e72f
-0,     247808,     247808,     1024,     4096, 0x6bb3fae4
-0,     248832,     248832,     1024,     4096, 0xcc08fc36
-0,     249856,     249856,     1024,     4096, 0x5afd9ec2
-0,     250880,     250880,     1024,     4096, 0xa1d3e83d
-0,     251904,     251904,     1024,     4096, 0x7f96013c
-0,     252928,     252928,     1024,     4096, 0x7a0afe31
-0,     253952,     253952,     1024,     4096, 0xa37d1701
-0,     254976,     254976,     1024,     4096, 0x4615ebc2
-0,     256000,     256000,     1024,     4096, 0x217005c1
-0,     257024,     257024,     1024,     4096, 0x1755f789
-0,     258048,     258048,     1024,     4096, 0x83e6db65
-0,     259072,     259072,     1024,     4096, 0x92ab1447
-0,     260096,     260096,     1024,     4096, 0xedbdf383
-0,     261120,     261120,     1024,     4096, 0x4316f6a9
-0,     262144,     262144,     1024,     4096, 0x1a6a0b4c
-0,     263168,     263168,     1024,     4096, 0xdfd809b7
-0,     264192,     264192,      408,     1632, 0xf412313e
+0,          0,          0,     4096,    16384, 0x2823970a
+0,       4096,       4096,     4096,    16384, 0xe575dbe5
+0,       8192,       8192,     4096,    16384, 0x4e75cb6d
+0,      12288,      12288,     4096,    16384, 0xf244dad9
+0,      16384,      16384,     4096,    16384, 0xb2c4cced
+0,      20480,      20480,     4096,    16384, 0x3ab6ed0f
+0,      24576,      24576,     4096,    16384, 0xaf3ce547
+0,      28672,      28672,     4096,    16384, 0xe885ed09
+0,      32768,      32768,     4096,    16384, 0xd8cedbaf
+0,      36864,      36864,     4096,    16384, 0x1425dd55
+0,      40960,      40960,     4096,    16384, 0xebadd0d5
+0,      45056,      45056,     4096,    16384, 0x7b8200a4
+0,      49152,      49152,     4096,    16384, 0x3bbfad31
+0,      53248,      53248,     4096,    16384, 0xab3ea40b
+0,      57344,      57344,     4096,    16384, 0x1584015c
+0,      61440,      61440,     4096,    16384, 0xe08cc7e7
+0,      65536,      65536,     4096,    16384, 0xa7591718
+0,      69632,      69632,     4096,    16384, 0x72b40c24
+0,      73728,      73728,     4096,    16384, 0xdfa6f699
+0,      77824,      77824,     4096,    16384, 0xb3e3a24b
+0,      81920,      81920,     4096,    16384, 0x65206984
+0,      86016,      86016,     4096,    16384, 0xf363fac7
+0,      90112,      90112,     4096,    16384, 0x446ba7a4
+0,      94208,      94208,     4096,    16384, 0x299b2e17
+0,      98304,      98304,     4096,    16384, 0xc51affa2
+0,     102400,     102400,     4096,    16384, 0xb4970fcf
+0,     106496,     106496,     4096,    16384, 0xe48af9fc
+0,     110592,     110592,     4096,    16384, 0xc2beffbb
+0,     114688,     114688,     4096,    16384, 0xb9d99627
+0,     118784,     118784,     4096,    16384, 0xb65a2086
+0,     122880,     122880,     4096,    16384, 0x6386714b
+0,     126976,     126976,     4096,    16384, 0x92a3171e
+0,     131072,     131072,     4096,    16384, 0x78bad1e2
+0,     135168,     135168,     4096,    16384, 0x63301330
+0,     139264,     139264,     4096,    16384, 0xd663b943
+0,     143360,     143360,     4096,    16384, 0xdcafe377
+0,     147456,     147456,     4096,    16384, 0xfb2cd701
+0,     151552,     151552,     4096,    16384, 0x91c30201
+0,     155648,     155648,     4096,    16384, 0xf23da341
+0,     159744,     159744,     4096,    16384, 0xe8d5fa0a
+0,     163840,     163840,     4096,    16384, 0x519bdfef
+0,     167936,     167936,     4096,    16384, 0xf2fcd803
+0,     172032,     172032,     4096,    16384, 0xd5ceccbc
+0,     176128,     176128,     4096,    16384, 0xd48ada43
+0,     180224,     180224,     4096,    16384, 0x5a4ac40f
+0,     184320,     184320,     4096,    16384, 0x29db868a
+0,     188416,     188416,     4096,    16384, 0xa2a0002b
+0,     192512,     192512,     4096,    16384, 0xbb0bd9f6
+0,     196608,     196608,     4096,    16384, 0x338dffa4
+0,     200704,     200704,     4096,    16384, 0x970b71f5
+0,     204800,     204800,     4096,    16384, 0x0521c397
+0,     208896,     208896,     4096,    16384, 0xff5ec9de
+0,     212992,     212992,     4096,    16384, 0x5a4ac40f
+0,     217088,     217088,     4096,    16384, 0x29db868a
+0,     221184,     221184,     4096,    16384, 0xa2a0002b
+0,     225280,     225280,     4096,    16384, 0xbb0bd9f6
+0,     229376,     229376,     4096,    16384, 0x338dffa4
+0,     233472,     233472,     4096,    16384, 0x970b71f5
+0,     237568,     237568,     4096,    16384, 0x0521c397
+0,     241664,     241664,     4096,    16384, 0xff5ec9de
+0,     245760,     245760,     4096,    16384, 0x5a4ac40f
+0,     249856,     249856,     4096,    16384, 0x29db868a
+0,     253952,     253952,     4096,    16384, 0xa2a0002b
+0,     258048,     258048,     4096,    16384, 0xbb0bd9f6
+0,     262144,     262144,     2456,     9824, 0xb3f84641
diff --git a/tests/ref/fate/filter-afade-exp b/tests/ref/fate/filter-afade-exp
index 2a75db1986..28f3f62f74 100644
--- a/tests/ref/fate/filter-afade-exp
+++ b/tests/ref/fate/filter-afade-exp
@@ -3,262 +3,68 @@ 
 #codec_id 0: pcm_s16le
 #sample_rate 0: 44100
 #channel_layout_name 0: stereo
-0,          0,          0,     1024,     4096, 0x00000000
-0,       1024,       1024,     1024,     4096, 0x00000000
-0,       2048,       2048,     1024,     4096, 0x00000000
-0,       3072,       3072,     1024,     4096, 0x00000000
-0,       4096,       4096,     1024,     4096, 0x00000000
-0,       5120,       5120,     1024,     4096, 0x00000000
-0,       6144,       6144,     1024,     4096, 0x00000000
-0,       7168,       7168,     1024,     4096, 0x00000000
-0,       8192,       8192,     1024,     4096, 0x00000000
-0,       9216,       9216,     1024,     4096, 0x00000000
-0,      10240,      10240,     1024,     4096, 0x00000000
-0,      11264,      11264,     1024,     4096, 0x00000000
-0,      12288,      12288,     1024,     4096, 0x00000000
-0,      13312,      13312,     1024,     4096, 0x00000000
-0,      14336,      14336,     1024,     4096, 0x00000000
-0,      15360,      15360,     1024,     4096, 0x00000000
-0,      16384,      16384,     1024,     4096, 0x00000000
-0,      17408,      17408,     1024,     4096, 0xfc60376d
-0,      18432,      18432,     1024,     4096, 0xfbe8d6c0
-0,      19456,      19456,     1024,     4096, 0x3b98ba4f
-0,      20480,      20480,     1024,     4096, 0x127b81e8
-0,      21504,      21504,     1024,     4096, 0xeeadf5b8
-0,      22528,      22528,     1024,     4096, 0xef824db7
-0,      23552,      23552,     1024,     4096, 0x48f6a58f
-0,      24576,      24576,     1024,     4096, 0x6c5c0d42
-0,      25600,      25600,     1024,     4096, 0x22e15d00
-0,      26624,      26624,     1024,     4096, 0x64ac7524
-0,      27648,      27648,     1024,     4096, 0x2726994c
-0,      28672,      28672,     1024,     4096, 0x755bd4fa
-0,      29696,      29696,     1024,     4096, 0x9acb1493
-0,      30720,      30720,     1024,     4096, 0xc4172c91
-0,      31744,      31744,     1024,     4096, 0xcd69291d
-0,      32768,      32768,     1024,     4096, 0xd3d64131
-0,      33792,      33792,     1024,     4096, 0xb3656c7f
-0,      34816,      34816,     1024,     4096, 0x763c93f3
-0,      35840,      35840,     1024,     4096, 0x994c84a5
-0,      36864,      36864,     1024,     4096, 0xcc9f8d75
-0,      37888,      37888,     1024,     4096, 0x2e259d03
-0,      38912,      38912,     1024,     4096, 0xcbdfcb9b
-0,      39936,      39936,     1024,     4096, 0xb01dcb79
-0,      40960,      40960,     1024,     4096, 0x4857b15f
-0,      41984,      41984,     1024,     4096, 0x04d9be25
-0,      43008,      43008,     1024,     4096, 0xc199cc25
-0,      44032,      44032,     1024,     4096, 0x068ec625
-0,      45056,      45056,     1024,     4096, 0xa659e141
-0,      46080,      46080,     1024,     4096, 0xebaaf33b
-0,      47104,      47104,     1024,     4096, 0x7142c21d
-0,      48128,      48128,     1024,     4096, 0x7859ec77
-0,      49152,      49152,     1024,     4096, 0x2944ec67
-0,      50176,      50176,     1024,     4096, 0x5b39e887
-0,      51200,      51200,     1024,     4096, 0x21c4e84d
-0,      52224,      52224,     1024,     4096, 0xd803fd77
-0,      53248,      53248,     1024,     4096, 0xae9ae32b
-0,      54272,      54272,     1024,     4096, 0x31b3e87f
-0,      55296,      55296,     1024,     4096, 0x287201ec
-0,      56320,      56320,     1024,     4096, 0xfa79e70d
-0,      57344,      57344,     1024,     4096, 0x7867fc9b
-0,      58368,      58368,     1024,     4096, 0xa5ec116c
-0,      59392,      59392,     1024,     4096, 0xe948f5d7
-0,      60416,      60416,     1024,     4096, 0xdcbbf6a3
-0,      61440,      61440,     1024,     4096, 0xc1fcdeeb
-0,      62464,      62464,     1024,     4096, 0x17b6f4a1
-0,      63488,      63488,     1024,     4096, 0x7f6e0294
-0,      64512,      64512,     1024,     4096, 0x3c8ce06b
-0,      65536,      65536,     1024,     4096, 0x0901140a
-0,      66560,      66560,     1024,     4096, 0x6162e9a7
-0,      67584,      67584,     1024,     4096, 0x22efe78f
-0,      68608,      68608,     1024,     4096, 0x329afcd7
-0,      69632,      69632,     1024,     4096, 0x747908ca
-0,      70656,      70656,     1024,     4096, 0x5cd9f1db
-0,      71680,      71680,     1024,     4096, 0x113a3a4a
-0,      72704,      72704,     1024,     4096, 0x89bedd25
-0,      73728,      73728,     1024,     4096, 0x3baac187
-0,      74752,      74752,     1024,     4096, 0xd569d461
-0,      75776,      75776,     1024,     4096, 0x7d9b1c42
-0,      76800,      76800,     1024,     4096, 0xfbf0e679
-0,      77824,      77824,     1024,     4096, 0x9ece0f62
-0,      78848,      78848,     1024,     4096, 0xeb72f071
-0,      79872,      79872,     1024,     4096, 0xad5bdf6d
-0,      80896,      80896,     1024,     4096, 0xa6af0554
-0,      81920,      81920,     1024,     4096, 0xe0902960
-0,      82944,      82944,     1024,     4096, 0x077cfdf3
-0,      83968,      83968,     1024,     4096, 0xa48b059a
-0,      84992,      84992,     1024,     4096, 0x4e7df3db
-0,      86016,      86016,     1024,     4096, 0x0550e899
-0,      87040,      87040,     1024,     4096, 0xa63ff5a9
-0,      88064,      88064,     1024,     4096, 0x9c15bfa7
-0,      89088,      89088,     1024,     4096, 0xe68dda8f
-0,      90112,      90112,     1024,     4096, 0xe457b505
-0,      91136,      91136,     1024,     4096, 0xda25a409
-0,      92160,      92160,     1024,     4096, 0x5b5d9d3b
-0,      93184,      93184,     1024,     4096, 0xa61eb13d
-0,      94208,      94208,     1024,     4096, 0xac93b66f
-0,      95232,      95232,     1024,     4096, 0xc7aeb33f
-0,      96256,      96256,     1024,     4096, 0x52cccfb5
-0,      97280,      97280,     1024,     4096, 0x4e4cf487
-0,      98304,      98304,     1024,     4096, 0x19c07f35
-0,      99328,      99328,     1024,     4096, 0x63ecd34f
-0,     100352,     100352,     1024,     4096, 0x122aec53
-0,     101376,     101376,     1024,     4096, 0x6581c0ad
-0,     102400,     102400,     1024,     4096, 0x640edb15
-0,     103424,     103424,     1024,     4096, 0x5d66c66f
-0,     104448,     104448,     1024,     4096, 0x069e9d35
-0,     105472,     105472,     1024,     4096, 0x5c9fd0e9
-0,     106496,     106496,     1024,     4096, 0x72468667
-0,     107520,     107520,     1024,     4096, 0x6e6dd02b
-0,     108544,     108544,     1024,     4096, 0x93edce33
-0,     109568,     109568,     1024,     4096, 0xcdfbd519
-0,     110592,     110592,     1024,     4096, 0x8463f2bb
-0,     111616,     111616,     1024,     4096, 0x5ca6f869
-0,     112640,     112640,     1024,     4096, 0x099a0398
-0,     113664,     113664,     1024,     4096, 0xa7fa10f0
-0,     114688,     114688,     1024,     4096, 0x28caddd3
-0,     115712,     115712,     1024,     4096, 0x4852ef8b
-0,     116736,     116736,     1024,     4096, 0x0250ee7b
-0,     117760,     117760,     1024,     4096, 0x9583da21
-0,     118784,     118784,     1024,     4096, 0x7365fb33
-0,     119808,     119808,     1024,     4096, 0x28c82066
-0,     120832,     120832,     1024,     4096, 0x94650be4
-0,     121856,     121856,     1024,     4096, 0xeb21f8eb
-0,     122880,     122880,     1024,     4096, 0xcd88f455
-0,     123904,     123904,     1024,     4096, 0x66a9efaf
-0,     124928,     124928,     1024,     4096, 0x5500c6ed
-0,     125952,     125952,     1024,     4096, 0x0ee0c62d
-0,     126976,     126976,     1024,     4096, 0x34d30762
-0,     128000,     128000,     1024,     4096, 0x8c0dec9f
-0,     129024,     129024,     1024,     4096, 0x790011d8
-0,     130048,     130048,     1024,     4096, 0xb76a1136
-0,     131072,     131072,     1024,     4096, 0x7dddfea7
-0,     132096,     132096,     1024,     4096, 0xdfa3ed49
-0,     133120,     133120,     1024,     4096, 0xc129f54e
-0,     134144,     134144,     1024,     4096, 0x9a86f077
-0,     135168,     135168,     1024,     4096, 0xc9eef209
-0,     136192,     136192,     1024,     4096, 0x72d4029b
-0,     137216,     137216,     1024,     4096, 0x8ec20590
-0,     138240,     138240,     1024,     4096, 0xd48f18ed
-0,     139264,     139264,     1024,     4096, 0xd807eadc
-0,     140288,     140288,     1024,     4096, 0x1e2bea09
-0,     141312,     141312,     1024,     4096, 0x937af12e
-0,     142336,     142336,     1024,     4096, 0xdedbf303
-0,     143360,     143360,     1024,     4096, 0xdc75df88
-0,     144384,     144384,     1024,     4096, 0x1845ffd6
-0,     145408,     145408,     1024,     4096, 0x20e8150c
-0,     146432,     146432,     1024,     4096, 0x5ea7eeef
-0,     147456,     147456,     1024,     4096, 0x4c7efa21
-0,     148480,     148480,     1024,     4096, 0x8b97e30e
-0,     149504,     149504,     1024,     4096, 0xe5040228
-0,     150528,     150528,     1024,     4096, 0x6283f78c
-0,     151552,     151552,     1024,     4096, 0xe7100140
-0,     152576,     152576,     1024,     4096, 0x9ea6f9b2
-0,     153600,     153600,     1024,     4096, 0x5f0e1563
-0,     154624,     154624,     1024,     4096, 0x510bf18e
-0,     155648,     155648,     1024,     4096, 0x5f4fe425
-0,     156672,     156672,     1024,     4096, 0x507af3c0
-0,     157696,     157696,     1024,     4096, 0xbf14ddc6
-0,     158720,     158720,     1024,     4096, 0x1871ed69
-0,     159744,     159744,     1024,     4096, 0xc349ef9f
-0,     160768,     160768,     1024,     4096, 0x4e2c1834
-0,     161792,     161792,     1024,     4096, 0x2383fe04
-0,     162816,     162816,     1024,     4096, 0x6626f415
-0,     163840,     163840,     1024,     4096, 0x283be379
-0,     164864,     164864,     1024,     4096, 0xc76c0ceb
-0,     165888,     165888,     1024,     4096, 0xa0b8040f
-0,     166912,     166912,     1024,     4096, 0x2535eb6d
-0,     167936,     167936,     1024,     4096, 0xeb180bb5
-0,     168960,     168960,     1024,     4096, 0xbc5cf059
-0,     169984,     169984,     1024,     4096, 0x1862f1ac
-0,     171008,     171008,     1024,     4096, 0x9cc2ea2b
-0,     172032,     172032,     1024,     4096, 0xbb9ae754
-0,     173056,     173056,     1024,     4096, 0x716debb5
-0,     174080,     174080,     1024,     4096, 0xff3aff2a
-0,     175104,     175104,     1024,     4096, 0x755dfa5c
-0,     176128,     176128,     1024,     4096, 0x3b830605
-0,     177152,     177152,     1024,     4096, 0x0030dc9e
-0,     178176,     178176,     1024,     4096, 0xb017fd54
-0,     179200,     179200,     1024,     4096, 0x5c7dfa2e
-0,     180224,     180224,     1024,     4096, 0x7887e599
-0,     181248,     181248,     1024,     4096, 0xb730e72f
-0,     182272,     182272,     1024,     4096, 0x6bb3fae4
-0,     183296,     183296,     1024,     4096, 0xcc08fc36
-0,     184320,     184320,     1024,     4096, 0x5afd9ec2
-0,     185344,     185344,     1024,     4096, 0xa1d3e83d
-0,     186368,     186368,     1024,     4096, 0x7f96013c
-0,     187392,     187392,     1024,     4096, 0x7a0afe31
-0,     188416,     188416,     1024,     4096, 0xa37d1701
-0,     189440,     189440,     1024,     4096, 0x4615ebc2
-0,     190464,     190464,     1024,     4096, 0x217005c1
-0,     191488,     191488,     1024,     4096, 0x1755f789
-0,     192512,     192512,     1024,     4096, 0x83e6db65
-0,     193536,     193536,     1024,     4096, 0x92ab1447
-0,     194560,     194560,     1024,     4096, 0xedbdf383
-0,     195584,     195584,     1024,     4096, 0x4316f6a9
-0,     196608,     196608,     1024,     4096, 0x1a6a0b4c
-0,     197632,     197632,     1024,     4096, 0xdfd809b7
-0,     198656,     198656,     1024,     4096, 0x1d2cf5f1
-0,     199680,     199680,     1024,     4096, 0xd366f4a1
-0,     200704,     200704,     1024,     4096, 0x6a2f86e0
-0,     201728,     201728,     1024,     4096, 0xf51f08a9
-0,     202752,     202752,     1024,     4096, 0x05edefa8
-0,     203776,     203776,     1024,     4096, 0x255df2a6
-0,     204800,     204800,     1024,     4096, 0xe881d9e4
-0,     205824,     205824,     1024,     4096, 0x50380523
-0,     206848,     206848,     1024,     4096, 0x8b93eb26
-0,     207872,     207872,     1024,     4096, 0x759cf94c
-0,     208896,     208896,     1024,     4096, 0x8474f591
-0,     209920,     209920,     1024,     4096, 0x0030dc9e
-0,     210944,     210944,     1024,     4096, 0xb017fd54
-0,     211968,     211968,     1024,     4096, 0x5c7dfa2e
-0,     212992,     212992,     1024,     4096, 0x7887e599
-0,     214016,     214016,     1024,     4096, 0xb730e72f
-0,     215040,     215040,     1024,     4096, 0x6bb3fae4
-0,     216064,     216064,     1024,     4096, 0xcc08fc36
-0,     217088,     217088,     1024,     4096, 0x5afd9ec2
-0,     218112,     218112,     1024,     4096, 0xa1d3e83d
-0,     219136,     219136,     1024,     4096, 0x7f96013c
-0,     220160,     220160,     1024,     4096, 0x7a0afe31
-0,     221184,     221184,     1024,     4096, 0xa37d1701
-0,     222208,     222208,     1024,     4096, 0x4615ebc2
-0,     223232,     223232,     1024,     4096, 0x217005c1
-0,     224256,     224256,     1024,     4096, 0x1755f789
-0,     225280,     225280,     1024,     4096, 0x83e6db65
-0,     226304,     226304,     1024,     4096, 0x92ab1447
-0,     227328,     227328,     1024,     4096, 0xedbdf383
-0,     228352,     228352,     1024,     4096, 0x4316f6a9
-0,     229376,     229376,     1024,     4096, 0x1a6a0b4c
-0,     230400,     230400,     1024,     4096, 0xdfd809b7
-0,     231424,     231424,     1024,     4096, 0x1d2cf5f1
-0,     232448,     232448,     1024,     4096, 0xd366f4a1
-0,     233472,     233472,     1024,     4096, 0x6a2f86e0
-0,     234496,     234496,     1024,     4096, 0xf51f08a9
-0,     235520,     235520,     1024,     4096, 0x05edefa8
-0,     236544,     236544,     1024,     4096, 0x255df2a6
-0,     237568,     237568,     1024,     4096, 0xe881d9e4
-0,     238592,     238592,     1024,     4096, 0x50380523
-0,     239616,     239616,     1024,     4096, 0x8b93eb26
-0,     240640,     240640,     1024,     4096, 0x759cf94c
-0,     241664,     241664,     1024,     4096, 0x8474f591
-0,     242688,     242688,     1024,     4096, 0x0030dc9e
-0,     243712,     243712,     1024,     4096, 0xb017fd54
-0,     244736,     244736,     1024,     4096, 0x5c7dfa2e
-0,     245760,     245760,     1024,     4096, 0x7887e599
-0,     246784,     246784,     1024,     4096, 0xb730e72f
-0,     247808,     247808,     1024,     4096, 0x6bb3fae4
-0,     248832,     248832,     1024,     4096, 0xcc08fc36
-0,     249856,     249856,     1024,     4096, 0x5afd9ec2
-0,     250880,     250880,     1024,     4096, 0xa1d3e83d
-0,     251904,     251904,     1024,     4096, 0x7f96013c
-0,     252928,     252928,     1024,     4096, 0x7a0afe31
-0,     253952,     253952,     1024,     4096, 0xa37d1701
-0,     254976,     254976,     1024,     4096, 0x4615ebc2
-0,     256000,     256000,     1024,     4096, 0x217005c1
-0,     257024,     257024,     1024,     4096, 0x1755f789
-0,     258048,     258048,     1024,     4096, 0x83e6db65
-0,     259072,     259072,     1024,     4096, 0x92ab1447
-0,     260096,     260096,     1024,     4096, 0xedbdf383
-0,     261120,     261120,     1024,     4096, 0x4316f6a9
-0,     262144,     262144,     1024,     4096, 0x1a6a0b4c
-0,     263168,     263168,     1024,     4096, 0xdfd809b7
-0,     264192,     264192,      408,     1632, 0xf412313e
+0,          0,          0,     4096,    16384, 0x00000000
+0,       4096,       4096,     4096,    16384, 0x00000000
+0,       8192,       8192,     4096,    16384, 0x00000000
+0,      12288,      12288,     4096,    16384, 0x00000000
+0,      16384,      16384,     4096,    16384, 0x0553c88b
+0,      20480,      20480,     4096,    16384, 0xacdd6b04
+0,      24576,      24576,     4096,    16384, 0xfc9f78c1
+0,      28672,      28672,     4096,    16384, 0x99473f4a
+0,      32768,      32768,     4096,    16384, 0xe477c657
+0,      36864,      36864,     4096,    16384, 0xea2bc1aa
+0,      40960,      40960,     4096,    16384, 0xec5a01fb
+0,      45056,      45056,     4096,    16384, 0xd392833d
+0,      49152,      49152,     4096,    16384, 0xa545badf
+0,      53248,      53248,     4096,    16384, 0xe82cb4c1
+0,      57344,      57344,     4096,    16384, 0xb248fa9f
+0,      61440,      61440,     4096,    16384, 0x460db6a9
+0,      65536,      65536,     4096,    16384, 0x37a9e235
+0,      69632,      69632,     4096,    16384, 0x61511232
+0,      73728,      73728,     4096,    16384, 0xe3ef98c1
+0,      77824,      77824,     4096,    16384, 0xee1ee4a3
+0,      81920,      81920,     4096,    16384, 0x311620e6
+0,      86016,      86016,     4096,    16384, 0x7d0e78a5
+0,      90112,      90112,     4096,    16384, 0x446ba7a4
+0,      94208,      94208,     4096,    16384, 0x299b2e17
+0,      98304,      98304,     4096,    16384, 0xc51affa2
+0,     102400,     102400,     4096,    16384, 0xb4970fcf
+0,     106496,     106496,     4096,    16384, 0xe48af9fc
+0,     110592,     110592,     4096,    16384, 0xc2beffbb
+0,     114688,     114688,     4096,    16384, 0xb9d99627
+0,     118784,     118784,     4096,    16384, 0xb65a2086
+0,     122880,     122880,     4096,    16384, 0x6386714b
+0,     126976,     126976,     4096,    16384, 0x92a3171e
+0,     131072,     131072,     4096,    16384, 0x78bad1e2
+0,     135168,     135168,     4096,    16384, 0x63301330
+0,     139264,     139264,     4096,    16384, 0xd663b943
+0,     143360,     143360,     4096,    16384, 0xdcafe377
+0,     147456,     147456,     4096,    16384, 0xfb2cd701
+0,     151552,     151552,     4096,    16384, 0x91c30201
+0,     155648,     155648,     4096,    16384, 0xf23da341
+0,     159744,     159744,     4096,    16384, 0xe8d5fa0a
+0,     163840,     163840,     4096,    16384, 0x519bdfef
+0,     167936,     167936,     4096,    16384, 0xf2fcd803
+0,     172032,     172032,     4096,    16384, 0xd5ceccbc
+0,     176128,     176128,     4096,    16384, 0xd48ada43
+0,     180224,     180224,     4096,    16384, 0x5a4ac40f
+0,     184320,     184320,     4096,    16384, 0x29db868a
+0,     188416,     188416,     4096,    16384, 0xa2a0002b
+0,     192512,     192512,     4096,    16384, 0xbb0bd9f6
+0,     196608,     196608,     4096,    16384, 0x338dffa4
+0,     200704,     200704,     4096,    16384, 0x970b71f5
+0,     204800,     204800,     4096,    16384, 0x0521c397
+0,     208896,     208896,     4096,    16384, 0xff5ec9de
+0,     212992,     212992,     4096,    16384, 0x5a4ac40f
+0,     217088,     217088,     4096,    16384, 0x29db868a
+0,     221184,     221184,     4096,    16384, 0xa2a0002b
+0,     225280,     225280,     4096,    16384, 0xbb0bd9f6
+0,     229376,     229376,     4096,    16384, 0x338dffa4
+0,     233472,     233472,     4096,    16384, 0x970b71f5
+0,     237568,     237568,     4096,    16384, 0x0521c397
+0,     241664,     241664,     4096,    16384, 0xff5ec9de
+0,     245760,     245760,     4096,    16384, 0x5a4ac40f
+0,     249856,     249856,     4096,    16384, 0x29db868a
+0,     253952,     253952,     4096,    16384, 0xa2a0002b
+0,     258048,     258048,     4096,    16384, 0xbb0bd9f6
+0,     262144,     262144,     2456,     9824, 0xb3f84641
diff --git a/tests/ref/fate/filter-afade-hsin b/tests/ref/fate/filter-afade-hsin
index b95bac047c..89f280930a 100644
--- a/tests/ref/fate/filter-afade-hsin
+++ b/tests/ref/fate/filter-afade-hsin
@@ -3,262 +3,68 @@ 
 #codec_id 0: pcm_s16le
 #sample_rate 0: 44100
 #channel_layout_name 0: stereo
-0,          0,          0,     1024,     4096, 0x2042232e
-0,       1024,       1024,     1024,     4096, 0x2c073cf7
-0,       2048,       2048,     1024,     4096, 0x92fecae5
-0,       3072,       3072,     1024,     4096, 0xfd68df81
-0,       4096,       4096,     1024,     4096, 0xd7e0dcdd
-0,       5120,       5120,     1024,     4096, 0xfb12e849
-0,       6144,       6144,     1024,     4096, 0xdaa8fd25
-0,       7168,       7168,     1024,     4096, 0x28b101d6
-0,       8192,       8192,     1024,     4096, 0x4418e817
-0,       9216,       9216,     1024,     4096, 0x65d6e44d
-0,      10240,      10240,     1024,     4096, 0xc575f781
-0,      11264,      11264,     1024,     4096, 0xdf0bfdcd
-0,      12288,      12288,     1024,     4096, 0xd517faed
-0,      13312,      13312,     1024,     4096, 0x369de9b5
-0,      14336,      14336,     1024,     4096, 0x2245f4d9
-0,      15360,      15360,     1024,     4096, 0xf979fd8b
-0,      16384,      16384,     1024,     4096, 0xafcbfb8d
-0,      17408,      17408,     1024,     4096, 0xee6bf9e3
-0,      18432,      18432,     1024,     4096, 0x3bf1edfb
-0,      19456,      19456,     1024,     4096, 0x26b7faa1
-0,      20480,      20480,     1024,     4096, 0x559bf2db
-0,      21504,      21504,     1024,     4096, 0xe488fe45
-0,      22528,      22528,     1024,     4096, 0x8928e8fd
-0,      23552,      23552,     1024,     4096, 0xfc82f6cd
-0,      24576,      24576,     1024,     4096, 0xe8b6ed4b
-0,      25600,      25600,     1024,     4096, 0x73340aba
-0,      26624,      26624,     1024,     4096, 0xb934ecbf
-0,      27648,      27648,     1024,     4096, 0x0581f125
-0,      28672,      28672,     1024,     4096, 0x4e2cf113
-0,      29696,      29696,     1024,     4096, 0x716b0062
-0,      30720,      30720,     1024,     4096, 0x4de513aa
-0,      31744,      31744,     1024,     4096, 0x6a17ea33
-0,      32768,      32768,     1024,     4096, 0x6c28f127
-0,      33792,      33792,     1024,     4096, 0xdd81f81b
-0,      34816,      34816,     1024,     4096, 0x63f2fd47
-0,      35840,      35840,     1024,     4096, 0x9ab2ee63
-0,      36864,      36864,     1024,     4096, 0xf310f265
-0,      37888,      37888,     1024,     4096, 0xdb2eed95
-0,      38912,      38912,     1024,     4096, 0x3cf3fa13
-0,      39936,      39936,     1024,     4096, 0x632107da
-0,      40960,      40960,     1024,     4096, 0xb3030964
-0,      41984,      41984,     1024,     4096, 0x4001ec91
-0,      43008,      43008,     1024,     4096, 0xacd8ee23
-0,      44032,      44032,     1024,     4096, 0x49adf5b3
-0,      45056,      45056,     1024,     4096, 0x8a7a0b54
-0,      46080,      46080,     1024,     4096, 0xfe4e284c
-0,      47104,      47104,     1024,     4096, 0x9d7dfc1b
-0,      48128,      48128,     1024,     4096, 0x3fbafc3d
-0,      49152,      49152,     1024,     4096, 0x7846190e
-0,      50176,      50176,     1024,     4096, 0x81c706e8
-0,      51200,      51200,     1024,     4096, 0x0449edef
-0,      52224,      52224,     1024,     4096, 0xe4c9044c
-0,      53248,      53248,     1024,     4096, 0x11bcf517
-0,      54272,      54272,     1024,     4096, 0x7693fc23
-0,      55296,      55296,     1024,     4096, 0xfaa3ec59
-0,      56320,      56320,     1024,     4096, 0x1bbbffd1
-0,      57344,      57344,     1024,     4096, 0x750e0b66
-0,      58368,      58368,     1024,     4096, 0xff79fe49
-0,      59392,      59392,     1024,     4096, 0x9c2e2414
-0,      60416,      60416,     1024,     4096, 0xf5a8e3b1
-0,      61440,      61440,     1024,     4096, 0x4171eabd
-0,      62464,      62464,     1024,     4096, 0xe5dfd0b9
-0,      63488,      63488,     1024,     4096, 0x88d6e751
-0,      64512,      64512,     1024,     4096, 0x1aceeebb
-0,      65536,      65536,     1024,     4096, 0xfddde939
-0,      66560,      66560,     1024,     4096, 0x635d14d6
-0,      67584,      67584,     1024,     4096, 0x1216f111
-0,      68608,      68608,     1024,     4096, 0x76d1f751
-0,      69632,      69632,     1024,     4096, 0x2cfbe33d
-0,      70656,      70656,     1024,     4096, 0xaa5bf83d
-0,      71680,      71680,     1024,     4096, 0xc6dc2846
-0,      72704,      72704,     1024,     4096, 0x0f811cf6
-0,      73728,      73728,     1024,     4096, 0x699bf871
-0,      74752,      74752,     1024,     4096, 0x066be26f
-0,      75776,      75776,     1024,     4096, 0xfadff369
-0,      76800,      76800,     1024,     4096, 0x1581ff61
-0,      77824,      77824,     1024,     4096, 0xe3fc05fa
-0,      78848,      78848,     1024,     4096, 0x2333fcaf
-0,      79872,      79872,     1024,     4096, 0x5c0d2a24
-0,      80896,      80896,     1024,     4096, 0x0955ef21
-0,      81920,      81920,     1024,     4096, 0xe798fbc9
-0,      82944,      82944,     1024,     4096, 0x5cdf138c
-0,      83968,      83968,     1024,     4096, 0x3ffee37d
-0,      84992,      84992,     1024,     4096, 0x4bcff517
-0,      86016,      86016,     1024,     4096, 0x9b7f0722
-0,      87040,      87040,     1024,     4096, 0xb6fa1982
-0,      88064,      88064,     1024,     4096, 0x1b1ac8b7
-0,      89088,      89088,     1024,     4096, 0xe68dda8f
-0,      90112,      90112,     1024,     4096, 0xe457b505
-0,      91136,      91136,     1024,     4096, 0xda25a409
-0,      92160,      92160,     1024,     4096, 0x5b5d9d3b
-0,      93184,      93184,     1024,     4096, 0xa61eb13d
-0,      94208,      94208,     1024,     4096, 0xac93b66f
-0,      95232,      95232,     1024,     4096, 0xc7aeb33f
-0,      96256,      96256,     1024,     4096, 0x52cccfb5
-0,      97280,      97280,     1024,     4096, 0x4e4cf487
-0,      98304,      98304,     1024,     4096, 0x19c07f35
-0,      99328,      99328,     1024,     4096, 0x63ecd34f
-0,     100352,     100352,     1024,     4096, 0x122aec53
-0,     101376,     101376,     1024,     4096, 0x6581c0ad
-0,     102400,     102400,     1024,     4096, 0x640edb15
-0,     103424,     103424,     1024,     4096, 0x5d66c66f
-0,     104448,     104448,     1024,     4096, 0x069e9d35
-0,     105472,     105472,     1024,     4096, 0x5c9fd0e9
-0,     106496,     106496,     1024,     4096, 0x72468667
-0,     107520,     107520,     1024,     4096, 0x6e6dd02b
-0,     108544,     108544,     1024,     4096, 0x93edce33
-0,     109568,     109568,     1024,     4096, 0xcdfbd519
-0,     110592,     110592,     1024,     4096, 0x8463f2bb
-0,     111616,     111616,     1024,     4096, 0x5ca6f869
-0,     112640,     112640,     1024,     4096, 0x099a0398
-0,     113664,     113664,     1024,     4096, 0xa7fa10f0
-0,     114688,     114688,     1024,     4096, 0x28caddd3
-0,     115712,     115712,     1024,     4096, 0x4852ef8b
-0,     116736,     116736,     1024,     4096, 0x0250ee7b
-0,     117760,     117760,     1024,     4096, 0x9583da21
-0,     118784,     118784,     1024,     4096, 0x7365fb33
-0,     119808,     119808,     1024,     4096, 0x28c82066
-0,     120832,     120832,     1024,     4096, 0x94650be4
-0,     121856,     121856,     1024,     4096, 0xeb21f8eb
-0,     122880,     122880,     1024,     4096, 0xcd88f455
-0,     123904,     123904,     1024,     4096, 0x66a9efaf
-0,     124928,     124928,     1024,     4096, 0x5500c6ed
-0,     125952,     125952,     1024,     4096, 0x0ee0c62d
-0,     126976,     126976,     1024,     4096, 0x34d30762
-0,     128000,     128000,     1024,     4096, 0x8c0dec9f
-0,     129024,     129024,     1024,     4096, 0x790011d8
-0,     130048,     130048,     1024,     4096, 0xb76a1136
-0,     131072,     131072,     1024,     4096, 0x7dddfea7
-0,     132096,     132096,     1024,     4096, 0xdfa3ed49
-0,     133120,     133120,     1024,     4096, 0xc129f54e
-0,     134144,     134144,     1024,     4096, 0x9a86f077
-0,     135168,     135168,     1024,     4096, 0xc9eef209
-0,     136192,     136192,     1024,     4096, 0x72d4029b
-0,     137216,     137216,     1024,     4096, 0x8ec20590
-0,     138240,     138240,     1024,     4096, 0xd48f18ed
-0,     139264,     139264,     1024,     4096, 0xd807eadc
-0,     140288,     140288,     1024,     4096, 0x1e2bea09
-0,     141312,     141312,     1024,     4096, 0x937af12e
-0,     142336,     142336,     1024,     4096, 0xdedbf303
-0,     143360,     143360,     1024,     4096, 0xdc75df88
-0,     144384,     144384,     1024,     4096, 0x1845ffd6
-0,     145408,     145408,     1024,     4096, 0x20e8150c
-0,     146432,     146432,     1024,     4096, 0x5ea7eeef
-0,     147456,     147456,     1024,     4096, 0x4c7efa21
-0,     148480,     148480,     1024,     4096, 0x8b97e30e
-0,     149504,     149504,     1024,     4096, 0xe5040228
-0,     150528,     150528,     1024,     4096, 0x6283f78c
-0,     151552,     151552,     1024,     4096, 0xe7100140
-0,     152576,     152576,     1024,     4096, 0x9ea6f9b2
-0,     153600,     153600,     1024,     4096, 0x5f0e1563
-0,     154624,     154624,     1024,     4096, 0x510bf18e
-0,     155648,     155648,     1024,     4096, 0x5f4fe425
-0,     156672,     156672,     1024,     4096, 0x507af3c0
-0,     157696,     157696,     1024,     4096, 0xbf14ddc6
-0,     158720,     158720,     1024,     4096, 0x1871ed69
-0,     159744,     159744,     1024,     4096, 0xc349ef9f
-0,     160768,     160768,     1024,     4096, 0x4e2c1834
-0,     161792,     161792,     1024,     4096, 0x2383fe04
-0,     162816,     162816,     1024,     4096, 0x6626f415
-0,     163840,     163840,     1024,     4096, 0x283be379
-0,     164864,     164864,     1024,     4096, 0xc76c0ceb
-0,     165888,     165888,     1024,     4096, 0xa0b8040f
-0,     166912,     166912,     1024,     4096, 0x2535eb6d
-0,     167936,     167936,     1024,     4096, 0xeb180bb5
-0,     168960,     168960,     1024,     4096, 0xbc5cf059
-0,     169984,     169984,     1024,     4096, 0x1862f1ac
-0,     171008,     171008,     1024,     4096, 0x9cc2ea2b
-0,     172032,     172032,     1024,     4096, 0xbb9ae754
-0,     173056,     173056,     1024,     4096, 0x716debb5
-0,     174080,     174080,     1024,     4096, 0xff3aff2a
-0,     175104,     175104,     1024,     4096, 0x755dfa5c
-0,     176128,     176128,     1024,     4096, 0x3b830605
-0,     177152,     177152,     1024,     4096, 0x0030dc9e
-0,     178176,     178176,     1024,     4096, 0xb017fd54
-0,     179200,     179200,     1024,     4096, 0x5c7dfa2e
-0,     180224,     180224,     1024,     4096, 0x7887e599
-0,     181248,     181248,     1024,     4096, 0xb730e72f
-0,     182272,     182272,     1024,     4096, 0x6bb3fae4
-0,     183296,     183296,     1024,     4096, 0xcc08fc36
-0,     184320,     184320,     1024,     4096, 0x5afd9ec2
-0,     185344,     185344,     1024,     4096, 0xa1d3e83d
-0,     186368,     186368,     1024,     4096, 0x7f96013c
-0,     187392,     187392,     1024,     4096, 0x7a0afe31
-0,     188416,     188416,     1024,     4096, 0xa37d1701
-0,     189440,     189440,     1024,     4096, 0x4615ebc2
-0,     190464,     190464,     1024,     4096, 0x217005c1
-0,     191488,     191488,     1024,     4096, 0x1755f789
-0,     192512,     192512,     1024,     4096, 0x83e6db65
-0,     193536,     193536,     1024,     4096, 0x92ab1447
-0,     194560,     194560,     1024,     4096, 0xedbdf383
-0,     195584,     195584,     1024,     4096, 0x4316f6a9
-0,     196608,     196608,     1024,     4096, 0x1a6a0b4c
-0,     197632,     197632,     1024,     4096, 0xdfd809b7
-0,     198656,     198656,     1024,     4096, 0x1d2cf5f1
-0,     199680,     199680,     1024,     4096, 0xd366f4a1
-0,     200704,     200704,     1024,     4096, 0x6a2f86e0
-0,     201728,     201728,     1024,     4096, 0xf51f08a9
-0,     202752,     202752,     1024,     4096, 0x05edefa8
-0,     203776,     203776,     1024,     4096, 0x255df2a6
-0,     204800,     204800,     1024,     4096, 0xe881d9e4
-0,     205824,     205824,     1024,     4096, 0x50380523
-0,     206848,     206848,     1024,     4096, 0x8b93eb26
-0,     207872,     207872,     1024,     4096, 0x759cf94c
-0,     208896,     208896,     1024,     4096, 0x8474f591
-0,     209920,     209920,     1024,     4096, 0x0030dc9e
-0,     210944,     210944,     1024,     4096, 0xb017fd54
-0,     211968,     211968,     1024,     4096, 0x5c7dfa2e
-0,     212992,     212992,     1024,     4096, 0x7887e599
-0,     214016,     214016,     1024,     4096, 0xb730e72f
-0,     215040,     215040,     1024,     4096, 0x6bb3fae4
-0,     216064,     216064,     1024,     4096, 0xcc08fc36
-0,     217088,     217088,     1024,     4096, 0x5afd9ec2
-0,     218112,     218112,     1024,     4096, 0xa1d3e83d
-0,     219136,     219136,     1024,     4096, 0x7f96013c
-0,     220160,     220160,     1024,     4096, 0x7a0afe31
-0,     221184,     221184,     1024,     4096, 0xa37d1701
-0,     222208,     222208,     1024,     4096, 0x4615ebc2
-0,     223232,     223232,     1024,     4096, 0x217005c1
-0,     224256,     224256,     1024,     4096, 0x1755f789
-0,     225280,     225280,     1024,     4096, 0x83e6db65
-0,     226304,     226304,     1024,     4096, 0x92ab1447
-0,     227328,     227328,     1024,     4096, 0xedbdf383
-0,     228352,     228352,     1024,     4096, 0x4316f6a9
-0,     229376,     229376,     1024,     4096, 0x1a6a0b4c
-0,     230400,     230400,     1024,     4096, 0xdfd809b7
-0,     231424,     231424,     1024,     4096, 0x1d2cf5f1
-0,     232448,     232448,     1024,     4096, 0xd366f4a1
-0,     233472,     233472,     1024,     4096, 0x6a2f86e0
-0,     234496,     234496,     1024,     4096, 0xf51f08a9
-0,     235520,     235520,     1024,     4096, 0x05edefa8
-0,     236544,     236544,     1024,     4096, 0x255df2a6
-0,     237568,     237568,     1024,     4096, 0xe881d9e4
-0,     238592,     238592,     1024,     4096, 0x50380523
-0,     239616,     239616,     1024,     4096, 0x8b93eb26
-0,     240640,     240640,     1024,     4096, 0x759cf94c
-0,     241664,     241664,     1024,     4096, 0x8474f591
-0,     242688,     242688,     1024,     4096, 0x0030dc9e
-0,     243712,     243712,     1024,     4096, 0xb017fd54
-0,     244736,     244736,     1024,     4096, 0x5c7dfa2e
-0,     245760,     245760,     1024,     4096, 0x7887e599
-0,     246784,     246784,     1024,     4096, 0xb730e72f
-0,     247808,     247808,     1024,     4096, 0x6bb3fae4
-0,     248832,     248832,     1024,     4096, 0xcc08fc36
-0,     249856,     249856,     1024,     4096, 0x5afd9ec2
-0,     250880,     250880,     1024,     4096, 0xa1d3e83d
-0,     251904,     251904,     1024,     4096, 0x7f96013c
-0,     252928,     252928,     1024,     4096, 0x7a0afe31
-0,     253952,     253952,     1024,     4096, 0xa37d1701
-0,     254976,     254976,     1024,     4096, 0x4615ebc2
-0,     256000,     256000,     1024,     4096, 0x217005c1
-0,     257024,     257024,     1024,     4096, 0x1755f789
-0,     258048,     258048,     1024,     4096, 0x83e6db65
-0,     259072,     259072,     1024,     4096, 0x92ab1447
-0,     260096,     260096,     1024,     4096, 0xedbdf383
-0,     261120,     261120,     1024,     4096, 0x4316f6a9
-0,     262144,     262144,     1024,     4096, 0x1a6a0b4c
-0,     263168,     263168,     1024,     4096, 0xdfd809b7
-0,     264192,     264192,      408,     1632, 0xf412313e
+0,          0,          0,     4096,    16384, 0x40560aa9
+0,       4096,       4096,     4096,    16384, 0xc4bfc43f
+0,       8192,       8192,     4096,    16384, 0x6fb1c1df
+0,      12288,      12288,     4096,    16384, 0x255ad733
+0,      16384,      16384,     4096,    16384, 0xf861de39
+0,      20480,      20480,     4096,    16384, 0xa274d117
+0,      24576,      24576,     4096,    16384, 0xe859d607
+0,      28672,      28672,     4096,    16384, 0xa0f5ef61
+0,      32768,      32768,     4096,    16384, 0xcd97d519
+0,      36864,      36864,     4096,    16384, 0x8064e205
+0,      40960,      40960,     4096,    16384, 0xaefed9e9
+0,      45056,      45056,     4096,    16384, 0xadf12c16
+0,      49152,      49152,     4096,    16384, 0xa5be1240
+0,      53248,      53248,     4096,    16384, 0x46b8dd91
+0,      57344,      57344,     4096,    16384, 0xa54b1192
+0,      61440,      61440,     4096,    16384, 0x5fbe91af
+0,      65536,      65536,     4096,    16384, 0x0375e68f
+0,      69632,      69632,     4096,    16384, 0x945620d4
+0,      73728,      73728,     4096,    16384, 0x6846cdd7
+0,      77824,      77824,     4096,    16384, 0x7ed71c0c
+0,      81920,      81920,     4096,    16384, 0x8ea0e807
+0,      86016,      86016,     4096,    16384, 0x645bc3f9
+0,      90112,      90112,     4096,    16384, 0x446ba7a4
+0,      94208,      94208,     4096,    16384, 0x299b2e17
+0,      98304,      98304,     4096,    16384, 0xc51affa2
+0,     102400,     102400,     4096,    16384, 0xb4970fcf
+0,     106496,     106496,     4096,    16384, 0xe48af9fc
+0,     110592,     110592,     4096,    16384, 0xc2beffbb
+0,     114688,     114688,     4096,    16384, 0xb9d99627
+0,     118784,     118784,     4096,    16384, 0xb65a2086
+0,     122880,     122880,     4096,    16384, 0x6386714b
+0,     126976,     126976,     4096,    16384, 0x92a3171e
+0,     131072,     131072,     4096,    16384, 0x78bad1e2
+0,     135168,     135168,     4096,    16384, 0x63301330
+0,     139264,     139264,     4096,    16384, 0xd663b943
+0,     143360,     143360,     4096,    16384, 0xdcafe377
+0,     147456,     147456,     4096,    16384, 0xfb2cd701
+0,     151552,     151552,     4096,    16384, 0x91c30201
+0,     155648,     155648,     4096,    16384, 0xf23da341
+0,     159744,     159744,     4096,    16384, 0xe8d5fa0a
+0,     163840,     163840,     4096,    16384, 0x519bdfef
+0,     167936,     167936,     4096,    16384, 0xf2fcd803
+0,     172032,     172032,     4096,    16384, 0xd5ceccbc
+0,     176128,     176128,     4096,    16384, 0xd48ada43
+0,     180224,     180224,     4096,    16384, 0x5a4ac40f
+0,     184320,     184320,     4096,    16384, 0x29db868a
+0,     188416,     188416,     4096,    16384, 0xa2a0002b
+0,     192512,     192512,     4096,    16384, 0xbb0bd9f6
+0,     196608,     196608,     4096,    16384, 0x338dffa4
+0,     200704,     200704,     4096,    16384, 0x970b71f5
+0,     204800,     204800,     4096,    16384, 0x0521c397
+0,     208896,     208896,     4096,    16384, 0xff5ec9de
+0,     212992,     212992,     4096,    16384, 0x5a4ac40f
+0,     217088,     217088,     4096,    16384, 0x29db868a
+0,     221184,     221184,     4096,    16384, 0xa2a0002b
+0,     225280,     225280,     4096,    16384, 0xbb0bd9f6
+0,     229376,     229376,     4096,    16384, 0x338dffa4
+0,     233472,     233472,     4096,    16384, 0x970b71f5
+0,     237568,     237568,     4096,    16384, 0x0521c397
+0,     241664,     241664,     4096,    16384, 0xff5ec9de
+0,     245760,     245760,     4096,    16384, 0x5a4ac40f
+0,     249856,     249856,     4096,    16384, 0x29db868a
+0,     253952,     253952,     4096,    16384, 0xa2a0002b
+0,     258048,     258048,     4096,    16384, 0xbb0bd9f6
+0,     262144,     262144,     2456,     9824, 0xb3f84641
diff --git a/tests/ref/fate/filter-afade-iqsin b/tests/ref/fate/filter-afade-iqsin
index 9caa3203a9..6201ea4a4a 100644
--- a/tests/ref/fate/filter-afade-iqsin
+++ b/tests/ref/fate/filter-afade-iqsin
@@ -3,262 +3,68 @@ 
 #codec_id 0: pcm_s16le
 #sample_rate 0: 44100
 #channel_layout_name 0: stereo
-0,          0,          0,     1024,     4096, 0x220e908d
-0,       1024,       1024,     1024,     4096, 0xdd65002e
-0,       2048,       2048,     1024,     4096, 0x8072fb25
-0,       3072,       3072,     1024,     4096, 0xe82efbb5
-0,       4096,       4096,     1024,     4096, 0xf0aceaad
-0,       5120,       5120,     1024,     4096, 0x0702f14d
-0,       6144,       6144,     1024,     4096, 0xde010588
-0,       7168,       7168,     1024,     4096, 0x65d0ff3d
-0,       8192,       8192,     1024,     4096, 0xfcd3eceb
-0,       9216,       9216,     1024,     4096, 0x0046ee27
-0,      10240,      10240,     1024,     4096, 0x9811fd1f
-0,      11264,      11264,     1024,     4096, 0x2486026e
-0,      12288,      12288,     1024,     4096, 0x5f15fa05
-0,      13312,      13312,     1024,     4096, 0xf481f255
-0,      14336,      14336,     1024,     4096, 0x473df0cf
-0,      15360,      15360,     1024,     4096, 0x65b3ffe5
-0,      16384,      16384,     1024,     4096, 0x46c10642
-0,      17408,      17408,     1024,     4096, 0x6647f01f
-0,      18432,      18432,     1024,     4096, 0x8682f66f
-0,      19456,      19456,     1024,     4096, 0x2fe1f87d
-0,      20480,      20480,     1024,     4096, 0x33ddfadb
-0,      21504,      21504,     1024,     4096, 0x8e1cfeaf
-0,      22528,      22528,     1024,     4096, 0x8f87eb79
-0,      23552,      23552,     1024,     4096, 0x79ddf2b7
-0,      24576,      24576,     1024,     4096, 0x74b6ee5d
-0,      25600,      25600,     1024,     4096, 0xd4240c2a
-0,      26624,      26624,     1024,     4096, 0x7e75e153
-0,      27648,      27648,     1024,     4096, 0xe46fee4f
-0,      28672,      28672,     1024,     4096, 0x7bddec1d
-0,      29696,      29696,     1024,     4096, 0xb1590b70
-0,      30720,      30720,     1024,     4096, 0x66fb00fa
-0,      31744,      31744,     1024,     4096, 0xf19dea17
-0,      32768,      32768,     1024,     4096, 0x831efdb7
-0,      33792,      33792,     1024,     4096, 0x1ef4f41d
-0,      34816,      34816,     1024,     4096, 0x0fa603ea
-0,      35840,      35840,     1024,     4096, 0x7fa6f915
-0,      36864,      36864,     1024,     4096, 0x3ed1f89f
-0,      37888,      37888,     1024,     4096, 0x4ac6e845
-0,      38912,      38912,     1024,     4096, 0xda9f108c
-0,      39936,      39936,     1024,     4096, 0xa88506fa
-0,      40960,      40960,     1024,     4096, 0xdcbee81d
-0,      41984,      41984,     1024,     4096, 0x2441ece7
-0,      43008,      43008,     1024,     4096, 0x7784fbbd
-0,      44032,      44032,     1024,     4096, 0xec83fbf3
-0,      45056,      45056,     1024,     4096, 0xe18704ca
-0,      46080,      46080,     1024,     4096, 0x4d7d2026
-0,      47104,      47104,     1024,     4096, 0x8d1fedeb
-0,      48128,      48128,     1024,     4096, 0xffb8f301
-0,      49152,      49152,     1024,     4096, 0x4c8dd537
-0,      50176,      50176,     1024,     4096, 0xaa9cf755
-0,      51200,      51200,     1024,     4096, 0x15aee753
-0,      52224,      52224,     1024,     4096, 0xe71e19c4
-0,      53248,      53248,     1024,     4096, 0x5e6cd725
-0,      54272,      54272,     1024,     4096, 0x02ebfde7
-0,      55296,      55296,     1024,     4096, 0xa565f353
-0,      56320,      56320,     1024,     4096, 0x24badf45
-0,      57344,      57344,     1024,     4096, 0x8d9af215
-0,      58368,      58368,     1024,     4096, 0xfb20045e
-0,      59392,      59392,     1024,     4096, 0x01adff9b
-0,      60416,      60416,     1024,     4096, 0xd686e6d3
-0,      61440,      61440,     1024,     4096, 0xe25bf975
-0,      62464,      62464,     1024,     4096, 0xd54c0ad6
-0,      63488,      63488,     1024,     4096, 0xb48eea55
-0,      64512,      64512,     1024,     4096, 0xe4d5fbeb
-0,      65536,      65536,     1024,     4096, 0x169dfe7b
-0,      66560,      66560,     1024,     4096, 0x5eebf921
-0,      67584,      67584,     1024,     4096, 0xc2a5de3f
-0,      68608,      68608,     1024,     4096, 0xa7b9db85
-0,      69632,      69632,     1024,     4096, 0xa52ee4b7
-0,      70656,      70656,     1024,     4096, 0x5ac1104a
-0,      71680,      71680,     1024,     4096, 0x3ed334b6
-0,      72704,      72704,     1024,     4096, 0x94d30f06
-0,      73728,      73728,     1024,     4096, 0x0721e755
-0,      74752,      74752,     1024,     4096, 0x4503043c
-0,      75776,      75776,     1024,     4096, 0xed11e7b9
-0,      76800,      76800,     1024,     4096, 0xf4f807d0
-0,      77824,      77824,     1024,     4096, 0x0f2bf579
-0,      78848,      78848,     1024,     4096, 0x9facf6b1
-0,      79872,      79872,     1024,     4096, 0x244206a2
-0,      80896,      80896,     1024,     4096, 0xfd4ff779
-0,      81920,      81920,     1024,     4096, 0x342010c0
-0,      82944,      82944,     1024,     4096, 0xa93a1c46
-0,      83968,      83968,     1024,     4096, 0x88f5263e
-0,      84992,      84992,     1024,     4096, 0x67b4fa25
-0,      86016,      86016,     1024,     4096, 0x1276e9b5
-0,      87040,      87040,     1024,     4096, 0x55d70f0c
-0,      88064,      88064,     1024,     4096, 0x281bc8af
-0,      89088,      89088,     1024,     4096, 0xe68dda8f
-0,      90112,      90112,     1024,     4096, 0xe457b505
-0,      91136,      91136,     1024,     4096, 0xda25a409
-0,      92160,      92160,     1024,     4096, 0x5b5d9d3b
-0,      93184,      93184,     1024,     4096, 0xa61eb13d
-0,      94208,      94208,     1024,     4096, 0xac93b66f
-0,      95232,      95232,     1024,     4096, 0xc7aeb33f
-0,      96256,      96256,     1024,     4096, 0x52cccfb5
-0,      97280,      97280,     1024,     4096, 0x4e4cf487
-0,      98304,      98304,     1024,     4096, 0x19c07f35
-0,      99328,      99328,     1024,     4096, 0x63ecd34f
-0,     100352,     100352,     1024,     4096, 0x122aec53
-0,     101376,     101376,     1024,     4096, 0x6581c0ad
-0,     102400,     102400,     1024,     4096, 0x640edb15
-0,     103424,     103424,     1024,     4096, 0x5d66c66f
-0,     104448,     104448,     1024,     4096, 0x069e9d35
-0,     105472,     105472,     1024,     4096, 0x5c9fd0e9
-0,     106496,     106496,     1024,     4096, 0x72468667
-0,     107520,     107520,     1024,     4096, 0x6e6dd02b
-0,     108544,     108544,     1024,     4096, 0x93edce33
-0,     109568,     109568,     1024,     4096, 0xcdfbd519
-0,     110592,     110592,     1024,     4096, 0x8463f2bb
-0,     111616,     111616,     1024,     4096, 0x5ca6f869
-0,     112640,     112640,     1024,     4096, 0x099a0398
-0,     113664,     113664,     1024,     4096, 0xa7fa10f0
-0,     114688,     114688,     1024,     4096, 0x28caddd3
-0,     115712,     115712,     1024,     4096, 0x4852ef8b
-0,     116736,     116736,     1024,     4096, 0x0250ee7b
-0,     117760,     117760,     1024,     4096, 0x9583da21
-0,     118784,     118784,     1024,     4096, 0x7365fb33
-0,     119808,     119808,     1024,     4096, 0x28c82066
-0,     120832,     120832,     1024,     4096, 0x94650be4
-0,     121856,     121856,     1024,     4096, 0xeb21f8eb
-0,     122880,     122880,     1024,     4096, 0xcd88f455
-0,     123904,     123904,     1024,     4096, 0x66a9efaf
-0,     124928,     124928,     1024,     4096, 0x5500c6ed
-0,     125952,     125952,     1024,     4096, 0x0ee0c62d
-0,     126976,     126976,     1024,     4096, 0x34d30762
-0,     128000,     128000,     1024,     4096, 0x8c0dec9f
-0,     129024,     129024,     1024,     4096, 0x790011d8
-0,     130048,     130048,     1024,     4096, 0xb76a1136
-0,     131072,     131072,     1024,     4096, 0x7dddfea7
-0,     132096,     132096,     1024,     4096, 0xdfa3ed49
-0,     133120,     133120,     1024,     4096, 0xc129f54e
-0,     134144,     134144,     1024,     4096, 0x9a86f077
-0,     135168,     135168,     1024,     4096, 0xc9eef209
-0,     136192,     136192,     1024,     4096, 0x72d4029b
-0,     137216,     137216,     1024,     4096, 0x8ec20590
-0,     138240,     138240,     1024,     4096, 0xd48f18ed
-0,     139264,     139264,     1024,     4096, 0xd807eadc
-0,     140288,     140288,     1024,     4096, 0x1e2bea09
-0,     141312,     141312,     1024,     4096, 0x937af12e
-0,     142336,     142336,     1024,     4096, 0xdedbf303
-0,     143360,     143360,     1024,     4096, 0xdc75df88
-0,     144384,     144384,     1024,     4096, 0x1845ffd6
-0,     145408,     145408,     1024,     4096, 0x20e8150c
-0,     146432,     146432,     1024,     4096, 0x5ea7eeef
-0,     147456,     147456,     1024,     4096, 0x4c7efa21
-0,     148480,     148480,     1024,     4096, 0x8b97e30e
-0,     149504,     149504,     1024,     4096, 0xe5040228
-0,     150528,     150528,     1024,     4096, 0x6283f78c
-0,     151552,     151552,     1024,     4096, 0xe7100140
-0,     152576,     152576,     1024,     4096, 0x9ea6f9b2
-0,     153600,     153600,     1024,     4096, 0x5f0e1563
-0,     154624,     154624,     1024,     4096, 0x510bf18e
-0,     155648,     155648,     1024,     4096, 0x5f4fe425
-0,     156672,     156672,     1024,     4096, 0x507af3c0
-0,     157696,     157696,     1024,     4096, 0xbf14ddc6
-0,     158720,     158720,     1024,     4096, 0x1871ed69
-0,     159744,     159744,     1024,     4096, 0xc349ef9f
-0,     160768,     160768,     1024,     4096, 0x4e2c1834
-0,     161792,     161792,     1024,     4096, 0x2383fe04
-0,     162816,     162816,     1024,     4096, 0x6626f415
-0,     163840,     163840,     1024,     4096, 0x283be379
-0,     164864,     164864,     1024,     4096, 0xc76c0ceb
-0,     165888,     165888,     1024,     4096, 0xa0b8040f
-0,     166912,     166912,     1024,     4096, 0x2535eb6d
-0,     167936,     167936,     1024,     4096, 0xeb180bb5
-0,     168960,     168960,     1024,     4096, 0xbc5cf059
-0,     169984,     169984,     1024,     4096, 0x1862f1ac
-0,     171008,     171008,     1024,     4096, 0x9cc2ea2b
-0,     172032,     172032,     1024,     4096, 0xbb9ae754
-0,     173056,     173056,     1024,     4096, 0x716debb5
-0,     174080,     174080,     1024,     4096, 0xff3aff2a
-0,     175104,     175104,     1024,     4096, 0x755dfa5c
-0,     176128,     176128,     1024,     4096, 0x3b830605
-0,     177152,     177152,     1024,     4096, 0x0030dc9e
-0,     178176,     178176,     1024,     4096, 0xb017fd54
-0,     179200,     179200,     1024,     4096, 0x5c7dfa2e
-0,     180224,     180224,     1024,     4096, 0x7887e599
-0,     181248,     181248,     1024,     4096, 0xb730e72f
-0,     182272,     182272,     1024,     4096, 0x6bb3fae4
-0,     183296,     183296,     1024,     4096, 0xcc08fc36
-0,     184320,     184320,     1024,     4096, 0x5afd9ec2
-0,     185344,     185344,     1024,     4096, 0xa1d3e83d
-0,     186368,     186368,     1024,     4096, 0x7f96013c
-0,     187392,     187392,     1024,     4096, 0x7a0afe31
-0,     188416,     188416,     1024,     4096, 0xa37d1701
-0,     189440,     189440,     1024,     4096, 0x4615ebc2
-0,     190464,     190464,     1024,     4096, 0x217005c1
-0,     191488,     191488,     1024,     4096, 0x1755f789
-0,     192512,     192512,     1024,     4096, 0x83e6db65
-0,     193536,     193536,     1024,     4096, 0x92ab1447
-0,     194560,     194560,     1024,     4096, 0xedbdf383
-0,     195584,     195584,     1024,     4096, 0x4316f6a9
-0,     196608,     196608,     1024,     4096, 0x1a6a0b4c
-0,     197632,     197632,     1024,     4096, 0xdfd809b7
-0,     198656,     198656,     1024,     4096, 0x1d2cf5f1
-0,     199680,     199680,     1024,     4096, 0xd366f4a1
-0,     200704,     200704,     1024,     4096, 0x6a2f86e0
-0,     201728,     201728,     1024,     4096, 0xf51f08a9
-0,     202752,     202752,     1024,     4096, 0x05edefa8
-0,     203776,     203776,     1024,     4096, 0x255df2a6
-0,     204800,     204800,     1024,     4096, 0xe881d9e4
-0,     205824,     205824,     1024,     4096, 0x50380523
-0,     206848,     206848,     1024,     4096, 0x8b93eb26
-0,     207872,     207872,     1024,     4096, 0x759cf94c
-0,     208896,     208896,     1024,     4096, 0x8474f591
-0,     209920,     209920,     1024,     4096, 0x0030dc9e
-0,     210944,     210944,     1024,     4096, 0xb017fd54
-0,     211968,     211968,     1024,     4096, 0x5c7dfa2e
-0,     212992,     212992,     1024,     4096, 0x7887e599
-0,     214016,     214016,     1024,     4096, 0xb730e72f
-0,     215040,     215040,     1024,     4096, 0x6bb3fae4
-0,     216064,     216064,     1024,     4096, 0xcc08fc36
-0,     217088,     217088,     1024,     4096, 0x5afd9ec2
-0,     218112,     218112,     1024,     4096, 0xa1d3e83d
-0,     219136,     219136,     1024,     4096, 0x7f96013c
-0,     220160,     220160,     1024,     4096, 0x7a0afe31
-0,     221184,     221184,     1024,     4096, 0xa37d1701
-0,     222208,     222208,     1024,     4096, 0x4615ebc2
-0,     223232,     223232,     1024,     4096, 0x217005c1
-0,     224256,     224256,     1024,     4096, 0x1755f789
-0,     225280,     225280,     1024,     4096, 0x83e6db65
-0,     226304,     226304,     1024,     4096, 0x92ab1447
-0,     227328,     227328,     1024,     4096, 0xedbdf383
-0,     228352,     228352,     1024,     4096, 0x4316f6a9
-0,     229376,     229376,     1024,     4096, 0x1a6a0b4c
-0,     230400,     230400,     1024,     4096, 0xdfd809b7
-0,     231424,     231424,     1024,     4096, 0x1d2cf5f1
-0,     232448,     232448,     1024,     4096, 0xd366f4a1
-0,     233472,     233472,     1024,     4096, 0x6a2f86e0
-0,     234496,     234496,     1024,     4096, 0xf51f08a9
-0,     235520,     235520,     1024,     4096, 0x05edefa8
-0,     236544,     236544,     1024,     4096, 0x255df2a6
-0,     237568,     237568,     1024,     4096, 0xe881d9e4
-0,     238592,     238592,     1024,     4096, 0x50380523
-0,     239616,     239616,     1024,     4096, 0x8b93eb26
-0,     240640,     240640,     1024,     4096, 0x759cf94c
-0,     241664,     241664,     1024,     4096, 0x8474f591
-0,     242688,     242688,     1024,     4096, 0x0030dc9e
-0,     243712,     243712,     1024,     4096, 0xb017fd54
-0,     244736,     244736,     1024,     4096, 0x5c7dfa2e
-0,     245760,     245760,     1024,     4096, 0x7887e599
-0,     246784,     246784,     1024,     4096, 0xb730e72f
-0,     247808,     247808,     1024,     4096, 0x6bb3fae4
-0,     248832,     248832,     1024,     4096, 0xcc08fc36
-0,     249856,     249856,     1024,     4096, 0x5afd9ec2
-0,     250880,     250880,     1024,     4096, 0xa1d3e83d
-0,     251904,     251904,     1024,     4096, 0x7f96013c
-0,     252928,     252928,     1024,     4096, 0x7a0afe31
-0,     253952,     253952,     1024,     4096, 0xa37d1701
-0,     254976,     254976,     1024,     4096, 0x4615ebc2
-0,     256000,     256000,     1024,     4096, 0x217005c1
-0,     257024,     257024,     1024,     4096, 0x1755f789
-0,     258048,     258048,     1024,     4096, 0x83e6db65
-0,     259072,     259072,     1024,     4096, 0x92ab1447
-0,     260096,     260096,     1024,     4096, 0xedbdf383
-0,     261120,     261120,     1024,     4096, 0x4316f6a9
-0,     262144,     262144,     1024,     4096, 0x1a6a0b4c
-0,     263168,     263168,     1024,     4096, 0xdfd809b7
-0,     264192,     264192,      408,     1632, 0xf412313e
+0,          0,          0,     4096,    16384, 0x6aac87b3
+0,       4096,       4096,     4096,    16384, 0x2986e0dd
+0,       8192,       8192,     4096,    16384, 0xe037dabd
+0,      12288,      12288,     4096,    16384, 0xe837dd3b
+0,      16384,      16384,     4096,    16384, 0x4e80e56b
+0,      20480,      20480,     4096,    16384, 0xc790d7e7
+0,      24576,      24576,     4096,    16384, 0x148cca47
+0,      28672,      28672,     4096,    16384, 0x4486e2ad
+0,      32768,      32768,     4096,    16384, 0x58a4eef1
+0,      36864,      36864,     4096,    16384, 0xbb56f879
+0,      40960,      40960,     4096,    16384, 0xba71cce1
+0,      45056,      45056,     4096,    16384, 0x34de05fa
+0,      49152,      49152,     4096,    16384, 0x14a4cdc1
+0,      53248,      53248,     4096,    16384, 0x4917a7d1
+0,      57344,      57344,     4096,    16384, 0x61eedcff
+0,      61440,      61440,     4096,    16384, 0xfefeeaa9
+0,      65536,      65536,     4096,    16384, 0x6f80b18d
+0,      69632,      69632,     4096,    16384, 0x970a38cc
+0,      73728,      73728,     4096,    16384, 0x9a45db29
+0,      77824,      77824,     4096,    16384, 0x47ebea63
+0,      81920,      81920,     4096,    16384, 0xf6114d78
+0,      86016,      86016,     4096,    16384, 0x40e29c1d
+0,      90112,      90112,     4096,    16384, 0x446ba7a4
+0,      94208,      94208,     4096,    16384, 0x299b2e17
+0,      98304,      98304,     4096,    16384, 0xc51affa2
+0,     102400,     102400,     4096,    16384, 0xb4970fcf
+0,     106496,     106496,     4096,    16384, 0xe48af9fc
+0,     110592,     110592,     4096,    16384, 0xc2beffbb
+0,     114688,     114688,     4096,    16384, 0xb9d99627
+0,     118784,     118784,     4096,    16384, 0xb65a2086
+0,     122880,     122880,     4096,    16384, 0x6386714b
+0,     126976,     126976,     4096,    16384, 0x92a3171e
+0,     131072,     131072,     4096,    16384, 0x78bad1e2
+0,     135168,     135168,     4096,    16384, 0x63301330
+0,     139264,     139264,     4096,    16384, 0xd663b943
+0,     143360,     143360,     4096,    16384, 0xdcafe377
+0,     147456,     147456,     4096,    16384, 0xfb2cd701
+0,     151552,     151552,     4096,    16384, 0x91c30201
+0,     155648,     155648,     4096,    16384, 0xf23da341
+0,     159744,     159744,     4096,    16384, 0xe8d5fa0a
+0,     163840,     163840,     4096,    16384, 0x519bdfef
+0,     167936,     167936,     4096,    16384, 0xf2fcd803
+0,     172032,     172032,     4096,    16384, 0xd5ceccbc
+0,     176128,     176128,     4096,    16384, 0xd48ada43
+0,     180224,     180224,     4096,    16384, 0x5a4ac40f
+0,     184320,     184320,     4096,    16384, 0x29db868a
+0,     188416,     188416,     4096,    16384, 0xa2a0002b
+0,     192512,     192512,     4096,    16384, 0xbb0bd9f6
+0,     196608,     196608,     4096,    16384, 0x338dffa4
+0,     200704,     200704,     4096,    16384, 0x970b71f5
+0,     204800,     204800,     4096,    16384, 0x0521c397
+0,     208896,     208896,     4096,    16384, 0xff5ec9de
+0,     212992,     212992,     4096,    16384, 0x5a4ac40f
+0,     217088,     217088,     4096,    16384, 0x29db868a
+0,     221184,     221184,     4096,    16384, 0xa2a0002b
+0,     225280,     225280,     4096,    16384, 0xbb0bd9f6
+0,     229376,     229376,     4096,    16384, 0x338dffa4
+0,     233472,     233472,     4096,    16384, 0x970b71f5
+0,     237568,     237568,     4096,    16384, 0x0521c397
+0,     241664,     241664,     4096,    16384, 0xff5ec9de
+0,     245760,     245760,     4096,    16384, 0x5a4ac40f
+0,     249856,     249856,     4096,    16384, 0x29db868a
+0,     253952,     253952,     4096,    16384, 0xa2a0002b
+0,     258048,     258048,     4096,    16384, 0xbb0bd9f6
+0,     262144,     262144,     2456,     9824, 0xb3f84641
diff --git a/tests/ref/fate/filter-afade-log b/tests/ref/fate/filter-afade-log
index f3ba265a68..db3caff2bb 100644
--- a/tests/ref/fate/filter-afade-log
+++ b/tests/ref/fate/filter-afade-log
@@ -3,262 +3,68 @@ 
 #codec_id 0: pcm_s16le
 #sample_rate 0: 44100
 #channel_layout_name 0: stereo
-0,          0,          0,     1024,     4096, 0xf01adbd3
-0,       1024,       1024,     1024,     4096, 0xbbe10f8e
-0,       2048,       2048,     1024,     4096, 0xbf04fccf
-0,       3072,       3072,     1024,     4096, 0x70e5fc39
-0,       4096,       4096,     1024,     4096, 0x93a2ecdf
-0,       5120,       5120,     1024,     4096, 0x1680e311
-0,       6144,       6144,     1024,     4096, 0xb73ef96d
-0,       7168,       7168,     1024,     4096, 0x3dbcfe5f
-0,       8192,       8192,     1024,     4096, 0xfdbd029c
-0,       9216,       9216,     1024,     4096, 0x4f8fea8f
-0,      10240,      10240,     1024,     4096, 0x54580154
-0,      11264,      11264,     1024,     4096, 0x471d1012
-0,      12288,      12288,     1024,     4096, 0xf6cefe57
-0,      13312,      13312,     1024,     4096, 0x6a550156
-0,      14336,      14336,     1024,     4096, 0xba5c06ca
-0,      15360,      15360,     1024,     4096, 0xa280fd09
-0,      16384,      16384,     1024,     4096, 0x06b30e68
-0,      17408,      17408,     1024,     4096, 0xd3f1f92d
-0,      18432,      18432,     1024,     4096, 0xf75de519
-0,      19456,      19456,     1024,     4096, 0x411cf0e5
-0,      20480,      20480,     1024,     4096, 0xeeb80566
-0,      21504,      21504,     1024,     4096, 0xa57c064c
-0,      22528,      22528,     1024,     4096, 0x6476f72f
-0,      23552,      23552,     1024,     4096, 0x6e1bef53
-0,      24576,      24576,     1024,     4096, 0x911ff843
-0,      25600,      25600,     1024,     4096, 0x4e3713c4
-0,      26624,      26624,     1024,     4096, 0x3434fb71
-0,      27648,      27648,     1024,     4096, 0xd3c1eaed
-0,      28672,      28672,     1024,     4096, 0x8804e87d
-0,      29696,      29696,     1024,     4096, 0xd1fa03e2
-0,      30720,      30720,     1024,     4096, 0x9d56fc21
-0,      31744,      31744,     1024,     4096, 0x63d6f2fb
-0,      32768,      32768,     1024,     4096, 0xa1ddfa6d
-0,      33792,      33792,     1024,     4096, 0x998309ee
-0,      34816,      34816,     1024,     4096, 0xcebc0632
-0,      35840,      35840,     1024,     4096, 0x9860e503
-0,      36864,      36864,     1024,     4096, 0xa3e910d8
-0,      37888,      37888,     1024,     4096, 0x2449caed
-0,      38912,      38912,     1024,     4096, 0x1faf0e9a
-0,      39936,      39936,     1024,     4096, 0xe18fdb59
-0,      40960,      40960,     1024,     4096, 0xaa0b057e
-0,      41984,      41984,     1024,     4096, 0x2b18cae1
-0,      43008,      43008,     1024,     4096, 0x6f0a1338
-0,      44032,      44032,     1024,     4096, 0x59af03b2
-0,      45056,      45056,     1024,     4096, 0xd204f533
-0,      46080,      46080,     1024,     4096, 0xae5b0ed2
-0,      47104,      47104,     1024,     4096, 0xfebfc253
-0,      48128,      48128,     1024,     4096, 0x268bd8d9
-0,      49152,      49152,     1024,     4096, 0x5c78024a
-0,      50176,      50176,     1024,     4096, 0x5a36f343
-0,      51200,      51200,     1024,     4096, 0x1899cc19
-0,      52224,      52224,     1024,     4096, 0x8b27dea9
-0,      53248,      53248,     1024,     4096, 0x1ed7cbbf
-0,      54272,      54272,     1024,     4096, 0x0c8e15c4
-0,      55296,      55296,     1024,     4096, 0xb864004c
-0,      56320,      56320,     1024,     4096, 0x327effbf
-0,      57344,      57344,     1024,     4096, 0x5c3e2056
-0,      58368,      58368,     1024,     4096, 0xb704086a
-0,      59392,      59392,     1024,     4096, 0x0efdff09
-0,      60416,      60416,     1024,     4096, 0x979406e0
-0,      61440,      61440,     1024,     4096, 0x1115e93d
-0,      62464,      62464,     1024,     4096, 0x3d62f097
-0,      63488,      63488,     1024,     4096, 0xe6f8e051
-0,      64512,      64512,     1024,     4096, 0x30d40464
-0,      65536,      65536,     1024,     4096, 0x5c2f1726
-0,      66560,      66560,     1024,     4096, 0x2ac3cdd5
-0,      67584,      67584,     1024,     4096, 0x92c20b12
-0,      68608,      68608,     1024,     4096, 0xae10cd6f
-0,      69632,      69632,     1024,     4096, 0x4c8fd6fb
-0,      70656,      70656,     1024,     4096, 0xfbffeb71
-0,      71680,      71680,     1024,     4096, 0xed641b28
-0,      72704,      72704,     1024,     4096, 0x35eef925
-0,      73728,      73728,     1024,     4096, 0xe098d85d
-0,      74752,      74752,     1024,     4096, 0x8d03f22b
-0,      75776,      75776,     1024,     4096, 0x00d7f5ed
-0,      76800,      76800,     1024,     4096, 0xb80917ce
-0,      77824,      77824,     1024,     4096, 0xc255fb89
-0,      78848,      78848,     1024,     4096, 0xfef9063c
-0,      79872,      79872,     1024,     4096, 0x7286f151
-0,      80896,      80896,     1024,     4096, 0x24c8ee71
-0,      81920,      81920,     1024,     4096, 0xcf5f169a
-0,      82944,      82944,     1024,     4096, 0xb2fa1b5c
-0,      83968,      83968,     1024,     4096, 0xddfaf895
-0,      84992,      84992,     1024,     4096, 0xfe170e94
-0,      86016,      86016,     1024,     4096, 0x27d21960
-0,      87040,      87040,     1024,     4096, 0x8edd09c6
-0,      88064,      88064,     1024,     4096, 0x7c2f0074
-0,      89088,      89088,     1024,     4096, 0xaa9dfa4b
-0,      90112,      90112,     1024,     4096, 0xd543db09
-0,      91136,      91136,     1024,     4096, 0x25c0c7a9
-0,      92160,      92160,     1024,     4096, 0xccf5ac8f
-0,      93184,      93184,     1024,     4096, 0x131fdf1b
-0,      94208,      94208,     1024,     4096, 0xeb3ff7eb
-0,      95232,      95232,     1024,     4096, 0xf6d50958
-0,      96256,      96256,     1024,     4096, 0xdd3bfea5
-0,      97280,      97280,     1024,     4096, 0x6ad02eba
-0,      98304,      98304,     1024,     4096, 0x30c3de97
-0,      99328,      99328,     1024,     4096, 0xc78b1b02
-0,     100352,     100352,     1024,     4096, 0x017014e8
-0,     101376,     101376,     1024,     4096, 0x2c90ff59
-0,     102400,     102400,     1024,     4096, 0x88f71eb2
-0,     103424,     103424,     1024,     4096, 0xeed806e0
-0,     104448,     104448,     1024,     4096, 0x478df91b
-0,     105472,     105472,     1024,     4096, 0xc278f18b
-0,     106496,     106496,     1024,     4096, 0xc457cb7f
-0,     107520,     107520,     1024,     4096, 0x87a6081a
-0,     108544,     108544,     1024,     4096, 0xef15075c
-0,     109568,     109568,     1024,     4096, 0x5f4f076e
-0,     110592,     110592,     1024,     4096, 0x8463f2bb
-0,     111616,     111616,     1024,     4096, 0x5ca6f869
-0,     112640,     112640,     1024,     4096, 0x099a0398
-0,     113664,     113664,     1024,     4096, 0xa7fa10f0
-0,     114688,     114688,     1024,     4096, 0x28caddd3
-0,     115712,     115712,     1024,     4096, 0x4852ef8b
-0,     116736,     116736,     1024,     4096, 0x0250ee7b
-0,     117760,     117760,     1024,     4096, 0x9583da21
-0,     118784,     118784,     1024,     4096, 0x7365fb33
-0,     119808,     119808,     1024,     4096, 0x28c82066
-0,     120832,     120832,     1024,     4096, 0x94650be4
-0,     121856,     121856,     1024,     4096, 0xeb21f8eb
-0,     122880,     122880,     1024,     4096, 0xcd88f455
-0,     123904,     123904,     1024,     4096, 0x66a9efaf
-0,     124928,     124928,     1024,     4096, 0x5500c6ed
-0,     125952,     125952,     1024,     4096, 0x0ee0c62d
-0,     126976,     126976,     1024,     4096, 0x34d30762
-0,     128000,     128000,     1024,     4096, 0x8c0dec9f
-0,     129024,     129024,     1024,     4096, 0x790011d8
-0,     130048,     130048,     1024,     4096, 0xb76a1136
-0,     131072,     131072,     1024,     4096, 0x7dddfea7
-0,     132096,     132096,     1024,     4096, 0xdfa3ed49
-0,     133120,     133120,     1024,     4096, 0xc129f54e
-0,     134144,     134144,     1024,     4096, 0x9a86f077
-0,     135168,     135168,     1024,     4096, 0xc9eef209
-0,     136192,     136192,     1024,     4096, 0x72d4029b
-0,     137216,     137216,     1024,     4096, 0x8ec20590
-0,     138240,     138240,     1024,     4096, 0xd48f18ed
-0,     139264,     139264,     1024,     4096, 0xd807eadc
-0,     140288,     140288,     1024,     4096, 0x1e2bea09
-0,     141312,     141312,     1024,     4096, 0x937af12e
-0,     142336,     142336,     1024,     4096, 0xdedbf303
-0,     143360,     143360,     1024,     4096, 0xdc75df88
-0,     144384,     144384,     1024,     4096, 0x1845ffd6
-0,     145408,     145408,     1024,     4096, 0x20e8150c
-0,     146432,     146432,     1024,     4096, 0x5ea7eeef
-0,     147456,     147456,     1024,     4096, 0x4c7efa21
-0,     148480,     148480,     1024,     4096, 0x8b97e30e
-0,     149504,     149504,     1024,     4096, 0xe5040228
-0,     150528,     150528,     1024,     4096, 0x6283f78c
-0,     151552,     151552,     1024,     4096, 0xe7100140
-0,     152576,     152576,     1024,     4096, 0x9ea6f9b2
-0,     153600,     153600,     1024,     4096, 0x5f0e1563
-0,     154624,     154624,     1024,     4096, 0x510bf18e
-0,     155648,     155648,     1024,     4096, 0x5f4fe425
-0,     156672,     156672,     1024,     4096, 0x507af3c0
-0,     157696,     157696,     1024,     4096, 0xbf14ddc6
-0,     158720,     158720,     1024,     4096, 0x1871ed69
-0,     159744,     159744,     1024,     4096, 0xc349ef9f
-0,     160768,     160768,     1024,     4096, 0x4e2c1834
-0,     161792,     161792,     1024,     4096, 0x2383fe04
-0,     162816,     162816,     1024,     4096, 0x6626f415
-0,     163840,     163840,     1024,     4096, 0x283be379
-0,     164864,     164864,     1024,     4096, 0xc76c0ceb
-0,     165888,     165888,     1024,     4096, 0xa0b8040f
-0,     166912,     166912,     1024,     4096, 0x2535eb6d
-0,     167936,     167936,     1024,     4096, 0xeb180bb5
-0,     168960,     168960,     1024,     4096, 0xbc5cf059
-0,     169984,     169984,     1024,     4096, 0x1862f1ac
-0,     171008,     171008,     1024,     4096, 0x9cc2ea2b
-0,     172032,     172032,     1024,     4096, 0xbb9ae754
-0,     173056,     173056,     1024,     4096, 0x716debb5
-0,     174080,     174080,     1024,     4096, 0xff3aff2a
-0,     175104,     175104,     1024,     4096, 0x755dfa5c
-0,     176128,     176128,     1024,     4096, 0x3b830605
-0,     177152,     177152,     1024,     4096, 0x0030dc9e
-0,     178176,     178176,     1024,     4096, 0xb017fd54
-0,     179200,     179200,     1024,     4096, 0x5c7dfa2e
-0,     180224,     180224,     1024,     4096, 0x7887e599
-0,     181248,     181248,     1024,     4096, 0xb730e72f
-0,     182272,     182272,     1024,     4096, 0x6bb3fae4
-0,     183296,     183296,     1024,     4096, 0xcc08fc36
-0,     184320,     184320,     1024,     4096, 0x5afd9ec2
-0,     185344,     185344,     1024,     4096, 0xa1d3e83d
-0,     186368,     186368,     1024,     4096, 0x7f96013c
-0,     187392,     187392,     1024,     4096, 0x7a0afe31
-0,     188416,     188416,     1024,     4096, 0xa37d1701
-0,     189440,     189440,     1024,     4096, 0x4615ebc2
-0,     190464,     190464,     1024,     4096, 0x217005c1
-0,     191488,     191488,     1024,     4096, 0x1755f789
-0,     192512,     192512,     1024,     4096, 0x83e6db65
-0,     193536,     193536,     1024,     4096, 0x92ab1447
-0,     194560,     194560,     1024,     4096, 0xedbdf383
-0,     195584,     195584,     1024,     4096, 0x4316f6a9
-0,     196608,     196608,     1024,     4096, 0x1a6a0b4c
-0,     197632,     197632,     1024,     4096, 0xdfd809b7
-0,     198656,     198656,     1024,     4096, 0x1d2cf5f1
-0,     199680,     199680,     1024,     4096, 0xd366f4a1
-0,     200704,     200704,     1024,     4096, 0x6a2f86e0
-0,     201728,     201728,     1024,     4096, 0xf51f08a9
-0,     202752,     202752,     1024,     4096, 0x05edefa8
-0,     203776,     203776,     1024,     4096, 0x255df2a6
-0,     204800,     204800,     1024,     4096, 0xe881d9e4
-0,     205824,     205824,     1024,     4096, 0x50380523
-0,     206848,     206848,     1024,     4096, 0x8b93eb26
-0,     207872,     207872,     1024,     4096, 0x759cf94c
-0,     208896,     208896,     1024,     4096, 0x8474f591
-0,     209920,     209920,     1024,     4096, 0x0030dc9e
-0,     210944,     210944,     1024,     4096, 0xb017fd54
-0,     211968,     211968,     1024,     4096, 0x5c7dfa2e
-0,     212992,     212992,     1024,     4096, 0x7887e599
-0,     214016,     214016,     1024,     4096, 0xb730e72f
-0,     215040,     215040,     1024,     4096, 0x6bb3fae4
-0,     216064,     216064,     1024,     4096, 0xcc08fc36
-0,     217088,     217088,     1024,     4096, 0x5afd9ec2
-0,     218112,     218112,     1024,     4096, 0xa1d3e83d
-0,     219136,     219136,     1024,     4096, 0x7f96013c
-0,     220160,     220160,     1024,     4096, 0x7a0afe31
-0,     221184,     221184,     1024,     4096, 0xa37d1701
-0,     222208,     222208,     1024,     4096, 0x4615ebc2
-0,     223232,     223232,     1024,     4096, 0x217005c1
-0,     224256,     224256,     1024,     4096, 0x1755f789
-0,     225280,     225280,     1024,     4096, 0x83e6db65
-0,     226304,     226304,     1024,     4096, 0x92ab1447
-0,     227328,     227328,     1024,     4096, 0xedbdf383
-0,     228352,     228352,     1024,     4096, 0x4316f6a9
-0,     229376,     229376,     1024,     4096, 0x1a6a0b4c
-0,     230400,     230400,     1024,     4096, 0xdfd809b7
-0,     231424,     231424,     1024,     4096, 0x1d2cf5f1
-0,     232448,     232448,     1024,     4096, 0xd366f4a1
-0,     233472,     233472,     1024,     4096, 0x6a2f86e0
-0,     234496,     234496,     1024,     4096, 0xf51f08a9
-0,     235520,     235520,     1024,     4096, 0x05edefa8
-0,     236544,     236544,     1024,     4096, 0x255df2a6
-0,     237568,     237568,     1024,     4096, 0xe881d9e4
-0,     238592,     238592,     1024,     4096, 0x50380523
-0,     239616,     239616,     1024,     4096, 0x8b93eb26
-0,     240640,     240640,     1024,     4096, 0x759cf94c
-0,     241664,     241664,     1024,     4096, 0x8474f591
-0,     242688,     242688,     1024,     4096, 0x0030dc9e
-0,     243712,     243712,     1024,     4096, 0xb017fd54
-0,     244736,     244736,     1024,     4096, 0x5c7dfa2e
-0,     245760,     245760,     1024,     4096, 0x7887e599
-0,     246784,     246784,     1024,     4096, 0xb730e72f
-0,     247808,     247808,     1024,     4096, 0x6bb3fae4
-0,     248832,     248832,     1024,     4096, 0xcc08fc36
-0,     249856,     249856,     1024,     4096, 0x5afd9ec2
-0,     250880,     250880,     1024,     4096, 0xa1d3e83d
-0,     251904,     251904,     1024,     4096, 0x7f96013c
-0,     252928,     252928,     1024,     4096, 0x7a0afe31
-0,     253952,     253952,     1024,     4096, 0xa37d1701
-0,     254976,     254976,     1024,     4096, 0x4615ebc2
-0,     256000,     256000,     1024,     4096, 0x217005c1
-0,     257024,     257024,     1024,     4096, 0x1755f789
-0,     258048,     258048,     1024,     4096, 0x83e6db65
-0,     259072,     259072,     1024,     4096, 0x92ab1447
-0,     260096,     260096,     1024,     4096, 0xedbdf383
-0,     261120,     261120,     1024,     4096, 0x4316f6a9
-0,     262144,     262144,     1024,     4096, 0x1a6a0b4c
-0,     263168,     263168,     1024,     4096, 0xdfd809b7
-0,     264192,     264192,      408,     1632, 0xf412313e
+0,          0,          0,     4096,    16384, 0x90a8e487
+0,       4096,       4096,     4096,    16384, 0x8d43c7e9
+0,       8192,       8192,     4096,    16384, 0x0959fe91
+0,      12288,      12288,     4096,    16384, 0x4282039e
+0,      16384,      16384,     4096,    16384, 0x95deddb1
+0,      20480,      20480,     4096,    16384, 0xf9a3f243
+0,      24576,      24576,     4096,    16384, 0xd29af283
+0,      28672,      28672,     4096,    16384, 0x9cffdb99
+0,      32768,      32768,     4096,    16384, 0xcb82ef9f
+0,      36864,      36864,     4096,    16384, 0x432dc5c7
+0,      40960,      40960,     4096,    16384, 0x7be2e749
+0,      45056,      45056,     4096,    16384, 0x299a9f4f
+0,      49152,      49152,     4096,    16384, 0xb883a06d
+0,      53248,      53248,     4096,    16384, 0x8c93e19d
+0,      57344,      57344,     4096,    16384, 0x03d22eb8
+0,      61440,      61440,     4096,    16384, 0xebfabea7
+0,      65536,      65536,     4096,    16384, 0x755ebd8b
+0,      69632,      69632,     4096,    16384, 0x4bcad6d7
+0,      73728,      73728,     4096,    16384, 0xd3ffd861
+0,      77824,      77824,     4096,    16384, 0x4a50e1a5
+0,      81920,      81920,     4096,    16384, 0x6a94392e
+0,      86016,      86016,     4096,    16384, 0x37b71df4
+0,      90112,      90112,     4096,    16384, 0x1ba12e89
+0,      94208,      94208,     4096,    16384, 0x44072ec0
+0,      98304,      98304,     4096,    16384, 0xeec00df8
+0,     102400,     102400,     4096,    16384, 0xdec21056
+0,     106496,     106496,     4096,    16384, 0xbd0ce263
+0,     110592,     110592,     4096,    16384, 0xc2beffbb
+0,     114688,     114688,     4096,    16384, 0xb9d99627
+0,     118784,     118784,     4096,    16384, 0xb65a2086
+0,     122880,     122880,     4096,    16384, 0x6386714b
+0,     126976,     126976,     4096,    16384, 0x92a3171e
+0,     131072,     131072,     4096,    16384, 0x78bad1e2
+0,     135168,     135168,     4096,    16384, 0x63301330
+0,     139264,     139264,     4096,    16384, 0xd663b943
+0,     143360,     143360,     4096,    16384, 0xdcafe377
+0,     147456,     147456,     4096,    16384, 0xfb2cd701
+0,     151552,     151552,     4096,    16384, 0x91c30201
+0,     155648,     155648,     4096,    16384, 0xf23da341
+0,     159744,     159744,     4096,    16384, 0xe8d5fa0a
+0,     163840,     163840,     4096,    16384, 0x519bdfef
+0,     167936,     167936,     4096,    16384, 0xf2fcd803
+0,     172032,     172032,     4096,    16384, 0xd5ceccbc
+0,     176128,     176128,     4096,    16384, 0xd48ada43
+0,     180224,     180224,     4096,    16384, 0x5a4ac40f
+0,     184320,     184320,     4096,    16384, 0x29db868a
+0,     188416,     188416,     4096,    16384, 0xa2a0002b
+0,     192512,     192512,     4096,    16384, 0xbb0bd9f6
+0,     196608,     196608,     4096,    16384, 0x338dffa4
+0,     200704,     200704,     4096,    16384, 0x970b71f5
+0,     204800,     204800,     4096,    16384, 0x0521c397
+0,     208896,     208896,     4096,    16384, 0xff5ec9de
+0,     212992,     212992,     4096,    16384, 0x5a4ac40f
+0,     217088,     217088,     4096,    16384, 0x29db868a
+0,     221184,     221184,     4096,    16384, 0xa2a0002b
+0,     225280,     225280,     4096,    16384, 0xbb0bd9f6
+0,     229376,     229376,     4096,    16384, 0x338dffa4
+0,     233472,     233472,     4096,    16384, 0x970b71f5
+0,     237568,     237568,     4096,    16384, 0x0521c397
+0,     241664,     241664,     4096,    16384, 0xff5ec9de
+0,     245760,     245760,     4096,    16384, 0x5a4ac40f
+0,     249856,     249856,     4096,    16384, 0x29db868a
+0,     253952,     253952,     4096,    16384, 0xa2a0002b
+0,     258048,     258048,     4096,    16384, 0xbb0bd9f6
+0,     262144,     262144,     2456,     9824, 0xb3f84641
diff --git a/tests/ref/fate/filter-afade-qsin b/tests/ref/fate/filter-afade-qsin
index df3005edbc..494def0876 100644
--- a/tests/ref/fate/filter-afade-qsin
+++ b/tests/ref/fate/filter-afade-qsin
@@ -3,262 +3,68 @@ 
 #codec_id 0: pcm_s16le
 #sample_rate 0: 44100
 #channel_layout_name 0: stereo
-0,          0,          0,     1024,     4096, 0xd977ce0f
-0,       1024,       1024,     1024,     4096, 0x9333f5b1
-0,       2048,       2048,     1024,     4096, 0xf1a30794
-0,       3072,       3072,     1024,     4096, 0xbfb1f7af
-0,       4096,       4096,     1024,     4096, 0x9c0be73f
-0,       5120,       5120,     1024,     4096, 0xe77af231
-0,       6144,       6144,     1024,     4096, 0x60ae0600
-0,       7168,       7168,     1024,     4096, 0x7ecff8d1
-0,       8192,       8192,     1024,     4096, 0xa1a1ec0f
-0,       9216,       9216,     1024,     4096, 0x26f2e4eb
-0,      10240,      10240,     1024,     4096, 0x875d01bc
-0,      11264,      11264,     1024,     4096, 0x56a5edef
-0,      12288,      12288,     1024,     4096, 0xdadeff81
-0,      13312,      13312,     1024,     4096, 0x2198efe7
-0,      14336,      14336,     1024,     4096, 0x6666f8e3
-0,      15360,      15360,     1024,     4096, 0xbc1702e4
-0,      16384,      16384,     1024,     4096, 0x3e32fa1f
-0,      17408,      17408,     1024,     4096, 0x36eff5c7
-0,      18432,      18432,     1024,     4096, 0xda75ec39
-0,      19456,      19456,     1024,     4096, 0x3aeef987
-0,      20480,      20480,     1024,     4096, 0x311f0090
-0,      21504,      21504,     1024,     4096, 0xf40002ae
-0,      22528,      22528,     1024,     4096, 0x390ef101
-0,      23552,      23552,     1024,     4096, 0x1599ff6b
-0,      24576,      24576,     1024,     4096, 0xcd54edef
-0,      25600,      25600,     1024,     4096, 0x0c991178
-0,      26624,      26624,     1024,     4096, 0x7e69f3db
-0,      27648,      27648,     1024,     4096, 0x1c72f871
-0,      28672,      28672,     1024,     4096, 0xb51af385
-0,      29696,      29696,     1024,     4096, 0xc8cb0038
-0,      30720,      30720,     1024,     4096, 0xc3760a10
-0,      31744,      31744,     1024,     4096, 0x77baef51
-0,      32768,      32768,     1024,     4096, 0x0f9cec85
-0,      33792,      33792,     1024,     4096, 0xf78ff8a3
-0,      34816,      34816,     1024,     4096, 0x5a550f7c
-0,      35840,      35840,     1024,     4096, 0x522eef61
-0,      36864,      36864,     1024,     4096, 0x8738e879
-0,      37888,      37888,     1024,     4096, 0x6accf54f
-0,      38912,      38912,     1024,     4096, 0x1ceef2d3
-0,      39936,      39936,     1024,     4096, 0xacd3e885
-0,      40960,      40960,     1024,     4096, 0xed18e503
-0,      41984,      41984,     1024,     4096, 0xa5c5f85d
-0,      43008,      43008,     1024,     4096, 0x4f75049e
-0,      44032,      44032,     1024,     4096, 0xe017e021
-0,      45056,      45056,     1024,     4096, 0xe52e0580
-0,      46080,      46080,     1024,     4096, 0x101613ba
-0,      47104,      47104,     1024,     4096, 0x131eebef
-0,      48128,      48128,     1024,     4096, 0x97f3e1ef
-0,      49152,      49152,     1024,     4096, 0xb6d0ed0b
-0,      50176,      50176,     1024,     4096, 0x524b0300
-0,      51200,      51200,     1024,     4096, 0xdd39c011
-0,      52224,      52224,     1024,     4096, 0xd7ff1126
-0,      53248,      53248,     1024,     4096, 0x6019ed21
-0,      54272,      54272,     1024,     4096, 0x771f1a84
-0,      55296,      55296,     1024,     4096, 0x1a5ef595
-0,      56320,      56320,     1024,     4096, 0x9c53eb6b
-0,      57344,      57344,     1024,     4096, 0x0a95f2e5
-0,      58368,      58368,     1024,     4096, 0x6c631296
-0,      59392,      59392,     1024,     4096, 0xb6a0fbeb
-0,      60416,      60416,     1024,     4096, 0x34bbf835
-0,      61440,      61440,     1024,     4096, 0x7536f37f
-0,      62464,      62464,     1024,     4096, 0xaeac02a0
-0,      63488,      63488,     1024,     4096, 0xfc5cd7c5
-0,      64512,      64512,     1024,     4096, 0x0427ea85
-0,      65536,      65536,     1024,     4096, 0x207003a6
-0,      66560,      66560,     1024,     4096, 0x339ef8c7
-0,      67584,      67584,     1024,     4096, 0x6839f2a9
-0,      68608,      68608,     1024,     4096, 0xc7630330
-0,      69632,      69632,     1024,     4096, 0xd2570b4e
-0,      70656,      70656,     1024,     4096, 0xa2a5e381
-0,      71680,      71680,     1024,     4096, 0xbe941104
-0,      72704,      72704,     1024,     4096, 0x5feef0eb
-0,      73728,      73728,     1024,     4096, 0x9513ead5
-0,      74752,      74752,     1024,     4096, 0x045aeb69
-0,      75776,      75776,     1024,     4096, 0xed6f1042
-0,      76800,      76800,     1024,     4096, 0xd79604a2
-0,      77824,      77824,     1024,     4096, 0xb37dedb3
-0,      78848,      78848,     1024,     4096, 0x666bfa95
-0,      79872,      79872,     1024,     4096, 0x53b10308
-0,      80896,      80896,     1024,     4096, 0xae09fbb7
-0,      81920,      81920,     1024,     4096, 0xba852b80
-0,      82944,      82944,     1024,     4096, 0x76fe2bb2
-0,      83968,      83968,     1024,     4096, 0x2d5fff49
-0,      84992,      84992,     1024,     4096, 0x40dc0136
-0,      86016,      86016,     1024,     4096, 0x483e0522
-0,      87040,      87040,     1024,     4096, 0x756e1596
-0,      88064,      88064,     1024,     4096, 0x1b1ac8b7
-0,      89088,      89088,     1024,     4096, 0xe68dda8f
-0,      90112,      90112,     1024,     4096, 0xe457b505
-0,      91136,      91136,     1024,     4096, 0xda25a409
-0,      92160,      92160,     1024,     4096, 0x5b5d9d3b
-0,      93184,      93184,     1024,     4096, 0xa61eb13d
-0,      94208,      94208,     1024,     4096, 0xac93b66f
-0,      95232,      95232,     1024,     4096, 0xc7aeb33f
-0,      96256,      96256,     1024,     4096, 0x52cccfb5
-0,      97280,      97280,     1024,     4096, 0x4e4cf487
-0,      98304,      98304,     1024,     4096, 0x19c07f35
-0,      99328,      99328,     1024,     4096, 0x63ecd34f
-0,     100352,     100352,     1024,     4096, 0x122aec53
-0,     101376,     101376,     1024,     4096, 0x6581c0ad
-0,     102400,     102400,     1024,     4096, 0x640edb15
-0,     103424,     103424,     1024,     4096, 0x5d66c66f
-0,     104448,     104448,     1024,     4096, 0x069e9d35
-0,     105472,     105472,     1024,     4096, 0x5c9fd0e9
-0,     106496,     106496,     1024,     4096, 0x72468667
-0,     107520,     107520,     1024,     4096, 0x6e6dd02b
-0,     108544,     108544,     1024,     4096, 0x93edce33
-0,     109568,     109568,     1024,     4096, 0xcdfbd519
-0,     110592,     110592,     1024,     4096, 0x8463f2bb
-0,     111616,     111616,     1024,     4096, 0x5ca6f869
-0,     112640,     112640,     1024,     4096, 0x099a0398
-0,     113664,     113664,     1024,     4096, 0xa7fa10f0
-0,     114688,     114688,     1024,     4096, 0x28caddd3
-0,     115712,     115712,     1024,     4096, 0x4852ef8b
-0,     116736,     116736,     1024,     4096, 0x0250ee7b
-0,     117760,     117760,     1024,     4096, 0x9583da21
-0,     118784,     118784,     1024,     4096, 0x7365fb33
-0,     119808,     119808,     1024,     4096, 0x28c82066
-0,     120832,     120832,     1024,     4096, 0x94650be4
-0,     121856,     121856,     1024,     4096, 0xeb21f8eb
-0,     122880,     122880,     1024,     4096, 0xcd88f455
-0,     123904,     123904,     1024,     4096, 0x66a9efaf
-0,     124928,     124928,     1024,     4096, 0x5500c6ed
-0,     125952,     125952,     1024,     4096, 0x0ee0c62d
-0,     126976,     126976,     1024,     4096, 0x34d30762
-0,     128000,     128000,     1024,     4096, 0x8c0dec9f
-0,     129024,     129024,     1024,     4096, 0x790011d8
-0,     130048,     130048,     1024,     4096, 0xb76a1136
-0,     131072,     131072,     1024,     4096, 0x7dddfea7
-0,     132096,     132096,     1024,     4096, 0xdfa3ed49
-0,     133120,     133120,     1024,     4096, 0xc129f54e
-0,     134144,     134144,     1024,     4096, 0x9a86f077
-0,     135168,     135168,     1024,     4096, 0xc9eef209
-0,     136192,     136192,     1024,     4096, 0x72d4029b
-0,     137216,     137216,     1024,     4096, 0x8ec20590
-0,     138240,     138240,     1024,     4096, 0xd48f18ed
-0,     139264,     139264,     1024,     4096, 0xd807eadc
-0,     140288,     140288,     1024,     4096, 0x1e2bea09
-0,     141312,     141312,     1024,     4096, 0x937af12e
-0,     142336,     142336,     1024,     4096, 0xdedbf303
-0,     143360,     143360,     1024,     4096, 0xdc75df88
-0,     144384,     144384,     1024,     4096, 0x1845ffd6
-0,     145408,     145408,     1024,     4096, 0x20e8150c
-0,     146432,     146432,     1024,     4096, 0x5ea7eeef
-0,     147456,     147456,     1024,     4096, 0x4c7efa21
-0,     148480,     148480,     1024,     4096, 0x8b97e30e
-0,     149504,     149504,     1024,     4096, 0xe5040228
-0,     150528,     150528,     1024,     4096, 0x6283f78c
-0,     151552,     151552,     1024,     4096, 0xe7100140
-0,     152576,     152576,     1024,     4096, 0x9ea6f9b2
-0,     153600,     153600,     1024,     4096, 0x5f0e1563
-0,     154624,     154624,     1024,     4096, 0x510bf18e
-0,     155648,     155648,     1024,     4096, 0x5f4fe425
-0,     156672,     156672,     1024,     4096, 0x507af3c0
-0,     157696,     157696,     1024,     4096, 0xbf14ddc6
-0,     158720,     158720,     1024,     4096, 0x1871ed69
-0,     159744,     159744,     1024,     4096, 0xc349ef9f
-0,     160768,     160768,     1024,     4096, 0x4e2c1834
-0,     161792,     161792,     1024,     4096, 0x2383fe04
-0,     162816,     162816,     1024,     4096, 0x6626f415
-0,     163840,     163840,     1024,     4096, 0x283be379
-0,     164864,     164864,     1024,     4096, 0xc76c0ceb
-0,     165888,     165888,     1024,     4096, 0xa0b8040f
-0,     166912,     166912,     1024,     4096, 0x2535eb6d
-0,     167936,     167936,     1024,     4096, 0xeb180bb5
-0,     168960,     168960,     1024,     4096, 0xbc5cf059
-0,     169984,     169984,     1024,     4096, 0x1862f1ac
-0,     171008,     171008,     1024,     4096, 0x9cc2ea2b
-0,     172032,     172032,     1024,     4096, 0xbb9ae754
-0,     173056,     173056,     1024,     4096, 0x716debb5
-0,     174080,     174080,     1024,     4096, 0xff3aff2a
-0,     175104,     175104,     1024,     4096, 0x755dfa5c
-0,     176128,     176128,     1024,     4096, 0x3b830605
-0,     177152,     177152,     1024,     4096, 0x0030dc9e
-0,     178176,     178176,     1024,     4096, 0xb017fd54
-0,     179200,     179200,     1024,     4096, 0x5c7dfa2e
-0,     180224,     180224,     1024,     4096, 0x7887e599
-0,     181248,     181248,     1024,     4096, 0xb730e72f
-0,     182272,     182272,     1024,     4096, 0x6bb3fae4
-0,     183296,     183296,     1024,     4096, 0xcc08fc36
-0,     184320,     184320,     1024,     4096, 0x5afd9ec2
-0,     185344,     185344,     1024,     4096, 0xa1d3e83d
-0,     186368,     186368,     1024,     4096, 0x7f96013c
-0,     187392,     187392,     1024,     4096, 0x7a0afe31
-0,     188416,     188416,     1024,     4096, 0xa37d1701
-0,     189440,     189440,     1024,     4096, 0x4615ebc2
-0,     190464,     190464,     1024,     4096, 0x217005c1
-0,     191488,     191488,     1024,     4096, 0x1755f789
-0,     192512,     192512,     1024,     4096, 0x83e6db65
-0,     193536,     193536,     1024,     4096, 0x92ab1447
-0,     194560,     194560,     1024,     4096, 0xedbdf383
-0,     195584,     195584,     1024,     4096, 0x4316f6a9
-0,     196608,     196608,     1024,     4096, 0x1a6a0b4c
-0,     197632,     197632,     1024,     4096, 0xdfd809b7
-0,     198656,     198656,     1024,     4096, 0x1d2cf5f1
-0,     199680,     199680,     1024,     4096, 0xd366f4a1
-0,     200704,     200704,     1024,     4096, 0x6a2f86e0
-0,     201728,     201728,     1024,     4096, 0xf51f08a9
-0,     202752,     202752,     1024,     4096, 0x05edefa8
-0,     203776,     203776,     1024,     4096, 0x255df2a6
-0,     204800,     204800,     1024,     4096, 0xe881d9e4
-0,     205824,     205824,     1024,     4096, 0x50380523
-0,     206848,     206848,     1024,     4096, 0x8b93eb26
-0,     207872,     207872,     1024,     4096, 0x759cf94c
-0,     208896,     208896,     1024,     4096, 0x8474f591
-0,     209920,     209920,     1024,     4096, 0x0030dc9e
-0,     210944,     210944,     1024,     4096, 0xb017fd54
-0,     211968,     211968,     1024,     4096, 0x5c7dfa2e
-0,     212992,     212992,     1024,     4096, 0x7887e599
-0,     214016,     214016,     1024,     4096, 0xb730e72f
-0,     215040,     215040,     1024,     4096, 0x6bb3fae4
-0,     216064,     216064,     1024,     4096, 0xcc08fc36
-0,     217088,     217088,     1024,     4096, 0x5afd9ec2
-0,     218112,     218112,     1024,     4096, 0xa1d3e83d
-0,     219136,     219136,     1024,     4096, 0x7f96013c
-0,     220160,     220160,     1024,     4096, 0x7a0afe31
-0,     221184,     221184,     1024,     4096, 0xa37d1701
-0,     222208,     222208,     1024,     4096, 0x4615ebc2
-0,     223232,     223232,     1024,     4096, 0x217005c1
-0,     224256,     224256,     1024,     4096, 0x1755f789
-0,     225280,     225280,     1024,     4096, 0x83e6db65
-0,     226304,     226304,     1024,     4096, 0x92ab1447
-0,     227328,     227328,     1024,     4096, 0xedbdf383
-0,     228352,     228352,     1024,     4096, 0x4316f6a9
-0,     229376,     229376,     1024,     4096, 0x1a6a0b4c
-0,     230400,     230400,     1024,     4096, 0xdfd809b7
-0,     231424,     231424,     1024,     4096, 0x1d2cf5f1
-0,     232448,     232448,     1024,     4096, 0xd366f4a1
-0,     233472,     233472,     1024,     4096, 0x6a2f86e0
-0,     234496,     234496,     1024,     4096, 0xf51f08a9
-0,     235520,     235520,     1024,     4096, 0x05edefa8
-0,     236544,     236544,     1024,     4096, 0x255df2a6
-0,     237568,     237568,     1024,     4096, 0xe881d9e4
-0,     238592,     238592,     1024,     4096, 0x50380523
-0,     239616,     239616,     1024,     4096, 0x8b93eb26
-0,     240640,     240640,     1024,     4096, 0x759cf94c
-0,     241664,     241664,     1024,     4096, 0x8474f591
-0,     242688,     242688,     1024,     4096, 0x0030dc9e
-0,     243712,     243712,     1024,     4096, 0xb017fd54
-0,     244736,     244736,     1024,     4096, 0x5c7dfa2e
-0,     245760,     245760,     1024,     4096, 0x7887e599
-0,     246784,     246784,     1024,     4096, 0xb730e72f
-0,     247808,     247808,     1024,     4096, 0x6bb3fae4
-0,     248832,     248832,     1024,     4096, 0xcc08fc36
-0,     249856,     249856,     1024,     4096, 0x5afd9ec2
-0,     250880,     250880,     1024,     4096, 0xa1d3e83d
-0,     251904,     251904,     1024,     4096, 0x7f96013c
-0,     252928,     252928,     1024,     4096, 0x7a0afe31
-0,     253952,     253952,     1024,     4096, 0xa37d1701
-0,     254976,     254976,     1024,     4096, 0x4615ebc2
-0,     256000,     256000,     1024,     4096, 0x217005c1
-0,     257024,     257024,     1024,     4096, 0x1755f789
-0,     258048,     258048,     1024,     4096, 0x83e6db65
-0,     259072,     259072,     1024,     4096, 0x92ab1447
-0,     260096,     260096,     1024,     4096, 0xedbdf383
-0,     261120,     261120,     1024,     4096, 0x4316f6a9
-0,     262144,     262144,     1024,     4096, 0x1a6a0b4c
-0,     263168,     263168,     1024,     4096, 0xdfd809b7
-0,     264192,     264192,      408,     1632, 0xf412313e
+0,          0,          0,     4096,    16384, 0x65b5c321
+0,       4096,       4096,     4096,    16384, 0xa97ad85f
+0,       8192,       8192,     4096,    16384, 0xdda4c0c3
+0,      12288,      12288,     4096,    16384, 0xd919eb4d
+0,      16384,      16384,     4096,    16384, 0x34abd5d3
+0,      20480,      20480,     4096,    16384, 0x2c73f3b9
+0,      24576,      24576,     4096,    16384, 0x979aebd1
+0,      28672,      28672,     4096,    16384, 0x601fed2d
+0,      32768,      32768,     4096,    16384, 0x3df3e423
+0,      36864,      36864,     4096,    16384, 0xb991b94d
+0,      40960,      40960,     4096,    16384, 0x2cecc23d
+0,      45056,      45056,     4096,    16384, 0xe215e727
+0,      49152,      49152,     4096,    16384, 0x330ac151
+0,      53248,      53248,     4096,    16384, 0x4114e8c3
+0,      57344,      57344,     4096,    16384, 0x7cc2f9b9
+0,      61440,      61440,     4096,    16384, 0xc0b8b887
+0,      65536,      65536,     4096,    16384, 0xd414f255
+0,      69632,      69632,     4096,    16384, 0x6e0bf0cd
+0,      73728,      73728,     4096,    16384, 0xebe3eb31
+0,      77824,      77824,     4096,    16384, 0x4137e725
+0,      81920,      81920,     4096,    16384, 0x2b8857c0
+0,      86016,      86016,     4096,    16384, 0x428cbe0d
+0,      90112,      90112,     4096,    16384, 0x446ba7a4
+0,      94208,      94208,     4096,    16384, 0x299b2e17
+0,      98304,      98304,     4096,    16384, 0xc51affa2
+0,     102400,     102400,     4096,    16384, 0xb4970fcf
+0,     106496,     106496,     4096,    16384, 0xe48af9fc
+0,     110592,     110592,     4096,    16384, 0xc2beffbb
+0,     114688,     114688,     4096,    16384, 0xb9d99627
+0,     118784,     118784,     4096,    16384, 0xb65a2086
+0,     122880,     122880,     4096,    16384, 0x6386714b
+0,     126976,     126976,     4096,    16384, 0x92a3171e
+0,     131072,     131072,     4096,    16384, 0x78bad1e2
+0,     135168,     135168,     4096,    16384, 0x63301330
+0,     139264,     139264,     4096,    16384, 0xd663b943
+0,     143360,     143360,     4096,    16384, 0xdcafe377
+0,     147456,     147456,     4096,    16384, 0xfb2cd701
+0,     151552,     151552,     4096,    16384, 0x91c30201
+0,     155648,     155648,     4096,    16384, 0xf23da341
+0,     159744,     159744,     4096,    16384, 0xe8d5fa0a
+0,     163840,     163840,     4096,    16384, 0x519bdfef
+0,     167936,     167936,     4096,    16384, 0xf2fcd803
+0,     172032,     172032,     4096,    16384, 0xd5ceccbc
+0,     176128,     176128,     4096,    16384, 0xd48ada43
+0,     180224,     180224,     4096,    16384, 0x5a4ac40f
+0,     184320,     184320,     4096,    16384, 0x29db868a
+0,     188416,     188416,     4096,    16384, 0xa2a0002b
+0,     192512,     192512,     4096,    16384, 0xbb0bd9f6
+0,     196608,     196608,     4096,    16384, 0x338dffa4
+0,     200704,     200704,     4096,    16384, 0x970b71f5
+0,     204800,     204800,     4096,    16384, 0x0521c397
+0,     208896,     208896,     4096,    16384, 0xff5ec9de
+0,     212992,     212992,     4096,    16384, 0x5a4ac40f
+0,     217088,     217088,     4096,    16384, 0x29db868a
+0,     221184,     221184,     4096,    16384, 0xa2a0002b
+0,     225280,     225280,     4096,    16384, 0xbb0bd9f6
+0,     229376,     229376,     4096,    16384, 0x338dffa4
+0,     233472,     233472,     4096,    16384, 0x970b71f5
+0,     237568,     237568,     4096,    16384, 0x0521c397
+0,     241664,     241664,     4096,    16384, 0xff5ec9de
+0,     245760,     245760,     4096,    16384, 0x5a4ac40f
+0,     249856,     249856,     4096,    16384, 0x29db868a
+0,     253952,     253952,     4096,    16384, 0xa2a0002b
+0,     258048,     258048,     4096,    16384, 0xbb0bd9f6
+0,     262144,     262144,     2456,     9824, 0xb3f84641
diff --git a/tests/ref/fate/filter-agate b/tests/ref/fate/filter-agate
index e2d9c2ac24..411a07f566 100644
--- a/tests/ref/fate/filter-agate
+++ b/tests/ref/fate/filter-agate
@@ -3,262 +3,68 @@ 
 #codec_id 0: pcm_s16le
 #sample_rate 0: 44100
 #channel_layout_name 0: stereo
-0,          0,          0,     1024,     4096, 0x1af20090
-0,       1024,       1024,     1024,     4096, 0x0b05ef2d
-0,       2048,       2048,     1024,     4096, 0x574bf11d
-0,       3072,       3072,     1024,     4096, 0x774af5d3
-0,       4096,       4096,     1024,     4096, 0x7b51ff33
-0,       5120,       5120,     1024,     4096, 0xf610f9bf
-0,       6144,       6144,     1024,     4096, 0x3c20ef79
-0,       7168,       7168,     1024,     4096, 0x427bef59
-0,       8192,       8192,     1024,     4096, 0x8773fa99
-0,       9216,       9216,     1024,     4096, 0xbf1dfe89
-0,      10240,      10240,     1024,     4096, 0x462df4dd
-0,      11264,      11264,     1024,     4096, 0x1170f169
-0,      12288,      12288,     1024,     4096, 0xcb9cf633
-0,      13312,      13312,     1024,     4096, 0x7e8c01da
-0,      14336,      14336,     1024,     4096, 0x93c202d0
-0,      15360,      15360,     1024,     4096, 0xd882ec6d
-0,      16384,      16384,     1024,     4096, 0x03fbec6d
-0,      17408,      17408,     1024,     4096, 0x73f400d4
-0,      18432,      18432,     1024,     4096, 0xea8c01da
-0,      19456,      19456,     1024,     4096, 0x23cbf82f
-0,      20480,      20480,     1024,     4096, 0x85cdf169
-0,      21504,      21504,     1024,     4096, 0x8e27f2e1
-0,      22528,      22528,     1024,     4096, 0x91bffe89
-0,      23552,      23552,     1024,     4096, 0xc31afd95
-0,      24576,      24576,     1024,     4096, 0x5c23ee59
-0,      25600,      25600,     1024,     4096, 0x58d0ef79
-0,      26624,      26624,     1024,     4096, 0xfccff7c3
-0,      27648,      27648,     1024,     4096, 0x7084ff33
-0,      28672,      28672,     1024,     4096, 0x7f1bf7cf
-0,      29696,      29696,     1024,     4096, 0x8037f11d
-0,      30720,      30720,     1024,     4096, 0xd106ed31
-0,      31744,      31744,     1024,     4096, 0xaf820090
-0,      32768,      32768,     1024,     4096, 0x1af20090
-0,      33792,      33792,     1024,     4096, 0x0b05ef2d
-0,      34816,      34816,     1024,     4096, 0x574bf11d
-0,      35840,      35840,     1024,     4096, 0x774af5d3
-0,      36864,      36864,     1024,     4096, 0x7b51ff33
-0,      37888,      37888,     1024,     4096, 0xf610f9bf
-0,      38912,      38912,     1024,     4096, 0x3c20ef79
-0,      39936,      39936,     1024,     4096, 0x427bef59
-0,      40960,      40960,     1024,     4096, 0x8773fa99
-0,      41984,      41984,     1024,     4096, 0xbf1dfe89
-0,      43008,      43008,     1024,     4096, 0x462df4dd
-0,      44032,      44032,     1024,     4096, 0x41650472
-0,      45056,      45056,     1024,     4096, 0x1081f133
-0,      46080,      46080,     1024,     4096, 0x9da3e58b
-0,      47104,      47104,     1024,     4096, 0x752614ac
-0,      48128,      48128,     1024,     4096, 0x0f23034c
-0,      49152,      49152,     1024,     4096, 0x768fe8a1
-0,      50176,      50176,     1024,     4096, 0xf0f9079e
-0,      51200,      51200,     1024,     4096, 0x8543ed93
-0,      52224,      52224,     1024,     4096, 0x9f96fe9d
-0,      53248,      53248,     1024,     4096, 0x94f3facf
-0,      54272,      54272,     1024,     4096, 0xc0defe4d
-0,      55296,      55296,     1024,     4096, 0x4e22f5ff
-0,      56320,      56320,     1024,     4096, 0xb604ed7d
-0,      57344,      57344,     1024,     4096, 0xb6400124
-0,      58368,      58368,     1024,     4096, 0xadadf519
-0,      59392,      59392,     1024,     4096, 0x2520fb85
-0,      60416,      60416,     1024,     4096, 0x1ffbf4a9
-0,      61440,      61440,     1024,     4096, 0x380e05cc
-0,      62464,      62464,     1024,     4096, 0x366af6cf
-0,      63488,      63488,     1024,     4096, 0x4f64f355
-0,      64512,      64512,     1024,     4096, 0x7aa0e89f
-0,      65536,      65536,     1024,     4096, 0x1f160524
-0,      66560,      66560,     1024,     4096, 0x6bba0292
-0,      67584,      67584,     1024,     4096, 0x5243ed4d
-0,      68608,      68608,     1024,     4096, 0x304ffcb1
-0,      69632,      69632,     1024,     4096, 0xfb1bfc9b
-0,      70656,      70656,     1024,     4096, 0x0259e9d3
-0,      71680,      71680,     1024,     4096, 0x90fee749
-0,      72704,      72704,     1024,     4096, 0x8626eff9
-0,      73728,      73728,     1024,     4096, 0x29a4fe41
-0,      74752,      74752,     1024,     4096, 0x0dacf2bb
-0,      75776,      75776,     1024,     4096, 0x875b0046
-0,      76800,      76800,     1024,     4096, 0x009b0068
-0,      77824,      77824,     1024,     4096, 0x50f8eee1
-0,      78848,      78848,     1024,     4096, 0xa73ef503
-0,      79872,      79872,     1024,     4096, 0xaac8f7e5
-0,      80896,      80896,     1024,     4096, 0x0229f31b
-0,      81920,      81920,     1024,     4096, 0x7eb0edc9
-0,      82944,      82944,     1024,     4096, 0x88e0eddd
-0,      83968,      83968,     1024,     4096, 0x7982fe3f
-0,      84992,      84992,     1024,     4096, 0x91caf665
-0,      86016,      86016,     1024,     4096, 0x2fd1f3d7
-0,      87040,      87040,     1024,     4096, 0x9b3de465
-0,      88064,      88064,     1024,     4096, 0xd3f5e99d
-0,      89088,      89088,     1024,     4096, 0xeb00b4df
-0,      90112,      90112,     1024,     4096, 0xc0a5e92f
-0,      91136,      91136,     1024,     4096, 0xaed2ef59
-0,      92160,      92160,     1024,     4096, 0x80591586
-0,      93184,      93184,     1024,     4096, 0x32d4f0ef
-0,      94208,      94208,     1024,     4096, 0x8ba4f0f9
-0,      95232,      95232,     1024,     4096, 0x8d3bc631
-0,      96256,      96256,     1024,     4096, 0xddede7c5
-0,      97280,      97280,     1024,     4096, 0x6a459463
-0,      98304,      98304,     1024,     4096, 0xeca818b8
-0,      99328,      99328,     1024,     4096, 0x0c91c6c9
-0,     100352,     100352,     1024,     4096, 0x6241e69b
-0,     101376,     101376,     1024,     4096, 0xe220d9a7
-0,     102400,     102400,     1024,     4096, 0x9f4bcbd5
-0,     103424,     103424,     1024,     4096, 0x2c1ad90b
-0,     104448,     104448,     1024,     4096, 0x3974feb3
-0,     105472,     105472,     1024,     4096, 0x8d1ae2e1
-0,     106496,     106496,     1024,     4096, 0xa609f955
-0,     107520,     107520,     1024,     4096, 0xc5fcdd19
-0,     108544,     108544,     1024,     4096, 0xe233d8c5
-0,     109568,     109568,     1024,     4096, 0xd1d7d61d
-0,     110592,     110592,     1024,     4096, 0x52522f58
-0,     111616,     111616,     1024,     4096, 0x16d8cd63
-0,     112640,     112640,     1024,     4096, 0x3994e847
-0,     113664,     113664,     1024,     4096, 0x6fd8ea07
-0,     114688,     114688,     1024,     4096, 0x582723be
-0,     115712,     115712,     1024,     4096, 0x44d40ff6
-0,     116736,     116736,     1024,     4096, 0x98d22050
-0,     117760,     117760,     1024,     4096, 0x2cc8063c
-0,     118784,     118784,     1024,     4096, 0xf645ed8d
-0,     119808,     119808,     1024,     4096, 0xcb49dbe1
-0,     120832,     120832,     1024,     4096, 0x7efbf369
-0,     121856,     121856,     1024,     4096, 0x797333ac
-0,     122880,     122880,     1024,     4096, 0x157130fa
-0,     123904,     123904,     1024,     4096, 0x23530594
-0,     124928,     124928,     1024,     4096, 0x46783b6c
-0,     125952,     125952,     1024,     4096, 0x5fac436e
-0,     126976,     126976,     1024,     4096, 0x2a9e1c76
-0,     128000,     128000,     1024,     4096, 0x152202ac
-0,     129024,     129024,     1024,     4096, 0xe5cdf369
-0,     130048,     130048,     1024,     4096, 0x6fe2feeb
-0,     131072,     131072,     1024,     4096, 0xee24ec7f
-0,     132096,     132096,     1024,     4096, 0x6f33fd5d
-0,     133120,     133120,     1024,     4096, 0x3f52fd51
-0,     134144,     134144,     1024,     4096, 0x2292e8e6
-0,     135168,     135168,     1024,     4096, 0xbc13f7bb
-0,     136192,     136192,     1024,     4096, 0xc271f708
-0,     137216,     137216,     1024,     4096, 0x9f1ff6ec
-0,     138240,     138240,     1024,     4096, 0xdf88f599
-0,     139264,     139264,     1024,     4096, 0x6614f6ae
-0,     140288,     140288,     1024,     4096, 0x7cf9f3c4
-0,     141312,     141312,     1024,     4096, 0xcdc1f588
-0,     142336,     142336,     1024,     4096, 0xa4a1ffa9
-0,     143360,     143360,     1024,     4096, 0xcb15f5d4
-0,     144384,     144384,     1024,     4096, 0x2fd0f58f
-0,     145408,     145408,     1024,     4096, 0x08eff948
-0,     146432,     146432,     1024,     4096, 0x71f9f39f
-0,     147456,     147456,     1024,     4096, 0x70f5f4ed
-0,     148480,     148480,     1024,     4096, 0x3ccaf424
-0,     149504,     149504,     1024,     4096, 0xc170f215
-0,     150528,     150528,     1024,     4096, 0xdecfeb38
-0,     151552,     151552,     1024,     4096, 0xb7a6f0e5
-0,     152576,     152576,     1024,     4096, 0x14ecf42d
-0,     153600,     153600,     1024,     4096, 0x3af8eefc
-0,     154624,     154624,     1024,     4096, 0xec57fa8b
-0,     155648,     155648,     1024,     4096, 0x206bf602
-0,     156672,     156672,     1024,     4096, 0x15a7f45d
-0,     157696,     157696,     1024,     4096, 0xb23dea6e
-0,     158720,     158720,     1024,     4096, 0x6b6af81c
-0,     159744,     159744,     1024,     4096, 0xae73f6c7
-0,     160768,     160768,     1024,     4096, 0x19c8f293
-0,     161792,     161792,     1024,     4096, 0x752ef8aa
-0,     162816,     162816,     1024,     4096, 0xfac6f812
-0,     163840,     163840,     1024,     4096, 0xff9dfb00
-0,     164864,     164864,     1024,     4096, 0x8305f5b2
-0,     165888,     165888,     1024,     4096, 0xe2f3fea4
-0,     166912,     166912,     1024,     4096, 0xb377f0e6
-0,     167936,     167936,     1024,     4096, 0x0344f0a9
-0,     168960,     168960,     1024,     4096, 0x389afaf4
-0,     169984,     169984,     1024,     4096, 0x5f63fa0d
-0,     171008,     171008,     1024,     4096, 0xce88f5ae
-0,     172032,     172032,     1024,     4096, 0x7e55f852
-0,     173056,     173056,     1024,     4096, 0x5af0f555
-0,     174080,     174080,     1024,     4096, 0x5753fa5a
-0,     175104,     175104,     1024,     4096, 0x443ce89b
-0,     176128,     176128,     1024,     4096, 0x0068de8c
-0,     177152,     177152,     1024,     4096, 0x5209f51f
-0,     178176,     178176,     1024,     4096, 0x97e8eb3a
-0,     179200,     179200,     1024,     4096, 0xd97fe978
-0,     180224,     180224,     1024,     4096, 0x8cadff37
-0,     181248,     181248,     1024,     4096, 0x8dd40290
-0,     182272,     182272,     1024,     4096, 0x2369eb74
-0,     183296,     183296,     1024,     4096, 0x50e8e9ee
-0,     184320,     184320,     1024,     4096, 0x1e727c22
-0,     185344,     185344,     1024,     4096, 0xbe8be7ed
-0,     186368,     186368,     1024,     4096, 0xb6f0f37a
-0,     187392,     187392,     1024,     4096, 0x8a9af2a2
-0,     188416,     188416,     1024,     4096, 0x6917f395
-0,     189440,     189440,     1024,     4096, 0x649df5b4
-0,     190464,     190464,     1024,     4096, 0xebb7fc9a
-0,     191488,     191488,     1024,     4096, 0xba3eef09
-0,     192512,     192512,     1024,     4096, 0x0cf9ba5e
-0,     193536,     193536,     1024,     4096, 0x0f83eb2d
-0,     194560,     194560,     1024,     4096, 0xcd86f62c
-0,     195584,     195584,     1024,     4096, 0x1f6d05b6
-0,     196608,     196608,     1024,     4096, 0x988ff2ed
-0,     197632,     197632,     1024,     4096, 0xe066eb10
-0,     198656,     198656,     1024,     4096, 0x608be99e
-0,     199680,     199680,     1024,     4096, 0xba97e994
-0,     200704,     200704,     1024,     4096, 0xe92a8b76
-0,     201728,     201728,     1024,     4096, 0xe12ee0e2
-0,     202752,     202752,     1024,     4096, 0xc202ef7d
-0,     203776,     203776,     1024,     4096, 0xcd8afebb
-0,     204800,     204800,     1024,     4096, 0x0fc2fcbf
-0,     205824,     205824,     1024,     4096, 0x2d4df1bb
-0,     206848,     206848,     1024,     4096, 0x7282ee1f
-0,     207872,     207872,     1024,     4096, 0xaa4ee359
-0,     208896,     208896,     1024,     4096, 0x10c0deb1
-0,     209920,     209920,     1024,     4096, 0x5209f51f
-0,     210944,     210944,     1024,     4096, 0x97e8eb3a
-0,     211968,     211968,     1024,     4096, 0xd97fe978
-0,     212992,     212992,     1024,     4096, 0x8cadff37
-0,     214016,     214016,     1024,     4096, 0x8dd40290
-0,     215040,     215040,     1024,     4096, 0x2369eb74
-0,     216064,     216064,     1024,     4096, 0x50e8e9ee
-0,     217088,     217088,     1024,     4096, 0x1e727c22
-0,     218112,     218112,     1024,     4096, 0xbe8be7ed
-0,     219136,     219136,     1024,     4096, 0xb6f0f37a
-0,     220160,     220160,     1024,     4096, 0x8a9af2a2
-0,     221184,     221184,     1024,     4096, 0x6917f395
-0,     222208,     222208,     1024,     4096, 0x649df5b4
-0,     223232,     223232,     1024,     4096, 0xebb7fc9a
-0,     224256,     224256,     1024,     4096, 0xba3eef09
-0,     225280,     225280,     1024,     4096, 0x0cf9ba5e
-0,     226304,     226304,     1024,     4096, 0x0f83eb2d
-0,     227328,     227328,     1024,     4096, 0xcd86f62c
-0,     228352,     228352,     1024,     4096, 0x1f6d05b6
-0,     229376,     229376,     1024,     4096, 0x988ff2ed
-0,     230400,     230400,     1024,     4096, 0xe066eb10
-0,     231424,     231424,     1024,     4096, 0x608be99e
-0,     232448,     232448,     1024,     4096, 0xba97e994
-0,     233472,     233472,     1024,     4096, 0xe92a8b76
-0,     234496,     234496,     1024,     4096, 0xe12ee0e2
-0,     235520,     235520,     1024,     4096, 0xc202ef7d
-0,     236544,     236544,     1024,     4096, 0xcd8afebb
-0,     237568,     237568,     1024,     4096, 0x0fc2fcbf
-0,     238592,     238592,     1024,     4096, 0x2d4df1bb
-0,     239616,     239616,     1024,     4096, 0x7282ee1f
-0,     240640,     240640,     1024,     4096, 0xaa4ee359
-0,     241664,     241664,     1024,     4096, 0x10c0deb1
-0,     242688,     242688,     1024,     4096, 0x5209f51f
-0,     243712,     243712,     1024,     4096, 0x97e8eb3a
-0,     244736,     244736,     1024,     4096, 0xd97fe978
-0,     245760,     245760,     1024,     4096, 0x8cadff37
-0,     246784,     246784,     1024,     4096, 0x8dd40290
-0,     247808,     247808,     1024,     4096, 0x2369eb74
-0,     248832,     248832,     1024,     4096, 0x50e8e9ee
-0,     249856,     249856,     1024,     4096, 0x1e727c22
-0,     250880,     250880,     1024,     4096, 0xbe8be7ed
-0,     251904,     251904,     1024,     4096, 0xb6f0f37a
-0,     252928,     252928,     1024,     4096, 0x8a9af2a2
-0,     253952,     253952,     1024,     4096, 0x6917f395
-0,     254976,     254976,     1024,     4096, 0x649df5b4
-0,     256000,     256000,     1024,     4096, 0xebb7fc9a
-0,     257024,     257024,     1024,     4096, 0xba3eef09
-0,     258048,     258048,     1024,     4096, 0x0cf9ba5e
-0,     259072,     259072,     1024,     4096, 0x0f83eb2d
-0,     260096,     260096,     1024,     4096, 0xcd86f62c
-0,     261120,     261120,     1024,     4096, 0x1f6d05b6
-0,     262144,     262144,     1024,     4096, 0x988ff2ed
-0,     263168,     263168,     1024,     4096, 0xe066eb10
-0,     264192,     264192,      408,     1632, 0xe00c26bc
+0,          0,          0,     4096,    16384, 0x08d6d6cb
+0,       4096,       4096,     4096,    16384, 0x72ecd7f1
+0,       8192,       8192,     4096,    16384, 0xc22bdf95
+0,      12288,      12288,     4096,    16384, 0x4145e759
+0,      16384,      16384,     4096,    16384, 0xb2b6e759
+0,      20480,      20480,     4096,    16384, 0x263de095
+0,      24576,      24576,     4096,    16384, 0x6a53d4f5
+0,      28672,      28672,     4096,    16384, 0x5bb5d6cb
+0,      32768,      32768,     4096,    16384, 0x08d6d6cb
+0,      36864,      36864,     4096,    16384, 0x72ecd7f1
+0,      40960,      40960,     4096,    16384, 0xf220f28f
+0,      45056,      45056,     4096,    16384, 0x4ae2eec5
+0,      49152,      49152,     4096,    16384, 0x2800dc8d
+0,      53248,      53248,     4096,    16384, 0x3f3fdcc5
+0,      57344,      57344,     4096,    16384, 0x93d2e689
+0,      61440,      61440,     4096,    16384, 0x6be3d8ad
+0,      65536,      65536,     4096,    16384, 0xcf33f1c3
+0,      69632,      69632,     4096,    16384, 0x6ab5bddd
+0,      73728,      73728,     4096,    16384, 0x4209f1b9
+0,      77824,      77824,     4096,    16384, 0xd928cf11
+0,      81920,      81920,     4096,    16384, 0x9c60d077
+0,      86016,      86016,     4096,    16384, 0x7f7d76e5
+0,      90112,      90112,     4096,    16384, 0xd7c2df1b
+0,      94208,      94208,     4096,    16384, 0x7419337f
+0,      98304,      98304,     4096,    16384, 0x20509fe1
+0,     102400,     102400,     4096,    16384, 0xd54986a1
+0,     106496,     106496,     4096,    16384, 0xa788857d
+0,     110592,     110592,     4096,    16384, 0x42d1cf27
+0,     114688,     114688,     4096,    16384, 0x636c5a40
+0,     118784,     118784,     4096,    16384, 0xf6f8f0a1
+0,     122880,     122880,     4096,    16384, 0xcadfb568
+0,     126976,     126976,     4096,    16384, 0xfecb1194
+0,     131072,     131072,     4096,    16384, 0xa14cd040
+0,     135168,     135168,     4096,    16384, 0x3d10db75
+0,     139264,     139264,     4096,    16384, 0x5ae6dfd0
+0,     143360,     143360,     4096,    16384, 0xffa9d877
+0,     147456,     147456,     4096,    16384, 0xebf5c68b
+0,     151552,     151552,     4096,    16384, 0x93aacec6
+0,     155648,     155648,     4096,    16384, 0x8df0cd16
+0,     159744,     159744,     4096,    16384, 0xee96da43
+0,     163840,     163840,     4096,    16384, 0x16e3e069
+0,     167936,     167936,     4096,    16384, 0xcff4db85
+0,     172032,     172032,     4096,    16384, 0x864ed0c9
+0,     176128,     176128,     4096,    16384, 0x9e40a88a
+0,     180224,     180224,     4096,    16384, 0xce6ad747
+0,     184320,     184320,     4096,    16384, 0xb3164a58
+0,     188416,     188416,     4096,    16384, 0xeaa6d519
+0,     192512,     192512,     4096,    16384, 0xb5a0a18b
+0,     196608,     196608,     4096,    16384, 0x2387b15c
+0,     200704,     200704,     4096,    16384, 0x98b35abd
+0,     204800,     204800,     4096,    16384, 0xe58cc01f
+0,     208896,     208896,     4096,    16384, 0x9f01a8af
+0,     212992,     212992,     4096,    16384, 0xce6ad747
+0,     217088,     217088,     4096,    16384, 0xb3164a58
+0,     221184,     221184,     4096,    16384, 0xeaa6d519
+0,     225280,     225280,     4096,    16384, 0xb5a0a18b
+0,     229376,     229376,     4096,    16384, 0x2387b15c
+0,     233472,     233472,     4096,    16384, 0x98b35abd
+0,     237568,     237568,     4096,    16384, 0xe58cc01f
+0,     241664,     241664,     4096,    16384, 0x9f01a8af
+0,     245760,     245760,     4096,    16384, 0xce6ad747
+0,     249856,     249856,     4096,    16384, 0xb3164a58
+0,     253952,     253952,     4096,    16384, 0xeaa6d519
+0,     258048,     258048,     4096,    16384, 0xb5a0a18b
+0,     262144,     262144,     2456,     9824, 0xec5804d7
diff --git a/tests/ref/fate/filter-alimiter b/tests/ref/fate/filter-alimiter
index 56cfb614da..971c7b2ae7 100644
--- a/tests/ref/fate/filter-alimiter
+++ b/tests/ref/fate/filter-alimiter
@@ -3,262 +3,68 @@ 
 #codec_id 0: pcm_s16le
 #sample_rate 0: 44100
 #channel_layout_name 0: stereo
-0,          0,          0,     1024,     4096, 0xd4194af4
-0,       1024,       1024,     1024,     4096, 0x686af4ab
-0,       2048,       2048,     1024,     4096, 0xe80cee61
-0,       3072,       3072,     1024,     4096, 0xa686fbad
-0,       4096,       4096,     1024,     4096, 0x191e062c
-0,       5120,       5120,     1024,     4096, 0x1a13edb1
-0,       6144,       6144,     1024,     4096, 0xab21f8ef
-0,       7168,       7168,     1024,     4096, 0xaa30e757
-0,       8192,       8192,     1024,     4096, 0x5afdf69f
-0,       9216,       9216,     1024,     4096, 0x765e05ec
-0,      10240,      10240,     1024,     4096, 0x6484f551
-0,      11264,      11264,     1024,     4096, 0x61b9e9f7
-0,      12288,      12288,     1024,     4096, 0xa735feb3
-0,      13312,      13312,     1024,     4096, 0xb47203aa
-0,      14336,      14336,     1024,     4096, 0xb6b5fbf5
-0,      15360,      15360,     1024,     4096, 0xbc66f14f
-0,      16384,      16384,     1024,     4096, 0x2003ff5b
-0,      17408,      17408,     1024,     4096, 0x1160f17d
-0,      18432,      18432,     1024,     4096, 0x308001a4
-0,      19456,      19456,     1024,     4096, 0x9df9f429
-0,      20480,      20480,     1024,     4096, 0x3e6eec0f
-0,      21504,      21504,     1024,     4096, 0xca3301f2
-0,      22528,      22528,     1024,     4096, 0x9eb1f961
-0,      23552,      23552,     1024,     4096, 0xd0a50c8c
-0,      24576,      24576,     1024,     4096, 0x071ee96b
-0,      25600,      25600,     1024,     4096, 0x7a46f05b
-0,      26624,      26624,     1024,     4096, 0x2cb2f475
-0,      27648,      27648,     1024,     4096, 0x5bda0a52
-0,      28672,      28672,     1024,     4096, 0x33c0f727
-0,      29696,      29696,     1024,     4096, 0x53cfee59
-0,      30720,      30720,     1024,     4096, 0x1588f221
-0,      31744,      31744,     1024,     4096, 0x95d400d6
-0,      32768,      32768,     1024,     4096, 0x0078009a
-0,      33792,      33792,     1024,     4096, 0x686af4ab
-0,      34816,      34816,     1024,     4096, 0xe80cee61
-0,      35840,      35840,     1024,     4096, 0xa686fbad
-0,      36864,      36864,     1024,     4096, 0x191e062c
-0,      37888,      37888,     1024,     4096, 0x1a13edb1
-0,      38912,      38912,     1024,     4096, 0xab21f8ef
-0,      39936,      39936,     1024,     4096, 0xaa30e757
-0,      40960,      40960,     1024,     4096, 0x5afdf69f
-0,      41984,      41984,     1024,     4096, 0x765e05ec
-0,      43008,      43008,     1024,     4096, 0x6484f551
-0,      44032,      44032,     1024,     4096, 0x755e0600
-0,      45056,      45056,     1024,     4096, 0x5056ecb9
-0,      46080,      46080,     1024,     4096, 0xdcb609a8
-0,      47104,      47104,     1024,     4096, 0xc87bf4a1
-0,      48128,      48128,     1024,     4096, 0xecdfef95
-0,      49152,      49152,     1024,     4096, 0x905ff13f
-0,      50176,      50176,     1024,     4096, 0x4e69eeb3
-0,      51200,      51200,     1024,     4096, 0x16e1082c
-0,      52224,      52224,     1024,     4096, 0x606c0a22
-0,      53248,      53248,     1024,     4096, 0x9f94f351
-0,      54272,      54272,     1024,     4096, 0x2c47f63f
-0,      55296,      55296,     1024,     4096, 0x9e14ebf9
-0,      56320,      56320,     1024,     4096, 0x7804fbcb
-0,      57344,      57344,     1024,     4096, 0xc7c6ffb7
-0,      58368,      58368,     1024,     4096, 0xa547f68d
-0,      59392,      59392,     1024,     4096, 0x0c87fed7
-0,      60416,      60416,     1024,     4096, 0x88b5fef1
-0,      61440,      61440,     1024,     4096, 0x325af00d
-0,      62464,      62464,     1024,     4096, 0xd826edd9
-0,      63488,      63488,     1024,     4096, 0x1fbe1138
-0,      64512,      64512,     1024,     4096, 0xdf85da7b
-0,      65536,      65536,     1024,     4096, 0xf987f9b3
-0,      66560,      66560,     1024,     4096, 0x5df5e12f
-0,      67584,      67584,     1024,     4096, 0x259cf8ef
-0,      68608,      68608,     1024,     4096, 0xa191eb4f
-0,      69632,      69632,     1024,     4096, 0xfe5bf1fd
-0,      70656,      70656,     1024,     4096, 0x7675e2cb
-0,      71680,      71680,     1024,     4096, 0x796a2f90
-0,      72704,      72704,     1024,     4096, 0xaa52e7a5
-0,      73728,      73728,     1024,     4096, 0x2b56fd81
-0,      74752,      74752,     1024,     4096, 0xbf7c02ee
-0,      75776,      75776,     1024,     4096, 0xfe4cebb1
-0,      76800,      76800,     1024,     4096, 0xe5b7fdf7
-0,      77824,      77824,     1024,     4096, 0xd271ece7
-0,      78848,      78848,     1024,     4096, 0x96e0f69f
-0,      79872,      79872,     1024,     4096, 0x6e5eef33
-0,      80896,      80896,     1024,     4096, 0x78b70b6e
-0,      81920,      81920,     1024,     4096, 0x61f2f075
-0,      82944,      82944,     1024,     4096, 0xf1dc47dc
-0,      83968,      83968,     1024,     4096, 0xf4b406d2
-0,      84992,      84992,     1024,     4096, 0xe33806fe
-0,      86016,      86016,     1024,     4096, 0x5b5ef087
-0,      87040,      87040,     1024,     4096, 0x3fa207da
-0,      88064,      88064,     1024,     4096, 0x4719f201
-0,      89088,      89088,     1024,     4096, 0x641feaad
-0,      90112,      90112,     1024,     4096, 0x905402ec
-0,      91136,      91136,     1024,     4096, 0xf529e11f
-0,      92160,      92160,     1024,     4096, 0x65a41838
-0,      93184,      93184,     1024,     4096, 0x651efb6f
-0,      94208,      94208,     1024,     4096, 0x251b1390
-0,      95232,      95232,     1024,     4096, 0x45ea05a8
-0,      96256,      96256,     1024,     4096, 0xe65be141
-0,      97280,      97280,     1024,     4096, 0xd452d3dd
-0,      98304,      98304,     1024,     4096, 0x3bdff821
-0,      99328,      99328,     1024,     4096, 0x74da00e6
-0,     100352,     100352,     1024,     4096, 0x4474fa19
-0,     101376,     101376,     1024,     4096, 0x11ddedef
-0,     102400,     102400,     1024,     4096, 0xf027d72b
-0,     103424,     103424,     1024,     4096, 0xaa0a1ce6
-0,     104448,     104448,     1024,     4096, 0x7168145e
-0,     105472,     105472,     1024,     4096, 0x94a710a4
-0,     106496,     106496,     1024,     4096, 0x6f55ecf1
-0,     107520,     107520,     1024,     4096, 0xc12de6d7
-0,     108544,     108544,     1024,     4096, 0x8ff7db15
-0,     109568,     109568,     1024,     4096, 0x366d0cc6
-0,     110592,     110592,     1024,     4096, 0xb04afa4f
-0,     111616,     111616,     1024,     4096, 0xf6abbee7
-0,     112640,     112640,     1024,     4096, 0xbe9910dc
-0,     113664,     113664,     1024,     4096, 0x96c3047e
-0,     114688,     114688,     1024,     4096, 0x9dc1e8e1
-0,     115712,     115712,     1024,     4096, 0x4b2c1092
-0,     116736,     116736,     1024,     4096, 0x592d212c
-0,     117760,     117760,     1024,     4096, 0x5c3bda15
-0,     118784,     118784,     1024,     4096, 0x43c8e90f
-0,     119808,     119808,     1024,     4096, 0x3bfa074e
-0,     120832,     120832,     1024,     4096, 0xa2d7d443
-0,     121856,     121856,     1024,     4096, 0xd4b02844
-0,     122880,     122880,     1024,     4096, 0x9f5d2a92
-0,     123904,     123904,     1024,     4096, 0xc19bf69d
-0,     124928,     124928,     1024,     4096, 0x47b8fe75
-0,     125952,     125952,     1024,     4096, 0x337334b0
-0,     126976,     126976,     1024,     4096, 0x96ed14f0
-0,     128000,     128000,     1024,     4096, 0x9af0f67b
-0,     129024,     129024,     1024,     4096, 0xdf541a60
-0,     130048,     130048,     1024,     4096, 0x684f0c06
-0,     131072,     131072,     1024,     4096, 0xe3d0015e
-0,     132096,     132096,     1024,     4096, 0xf648d73c
-0,     133120,     133120,     1024,     4096, 0x4041f3ee
-0,     134144,     134144,     1024,     4096, 0x1421025f
-0,     135168,     135168,     1024,     4096, 0x4eb5fc97
-0,     136192,     136192,     1024,     4096, 0x510f02fe
-0,     137216,     137216,     1024,     4096, 0x85e9e95e
-0,     138240,     138240,     1024,     4096, 0xb1d0fe10
-0,     139264,     139264,     1024,     4096, 0xda66f5f8
-0,     140288,     140288,     1024,     4096, 0x3826eaa8
-0,     141312,     141312,     1024,     4096, 0xa7cc0176
-0,     142336,     142336,     1024,     4096, 0x71e8fe5a
-0,     143360,     143360,     1024,     4096, 0x0149fcfa
-0,     144384,     144384,     1024,     4096, 0xbd36fd8e
-0,     145408,     145408,     1024,     4096, 0xec1afcc6
-0,     146432,     146432,     1024,     4096, 0xea80ec5e
-0,     147456,     147456,     1024,     4096, 0x8da1f0ac
-0,     148480,     148480,     1024,     4096, 0x63c3e61c
-0,     149504,     149504,     1024,     4096, 0x188cf09b
-0,     150528,     150528,     1024,     4096, 0x7eebea85
-0,     151552,     151552,     1024,     4096, 0x7ef6f718
-0,     152576,     152576,     1024,     4096, 0xcd9fecfb
-0,     153600,     153600,     1024,     4096, 0x1aa7f624
-0,     154624,     154624,     1024,     4096, 0xcab5f1e3
-0,     155648,     155648,     1024,     4096, 0x36e9f795
-0,     156672,     156672,     1024,     4096, 0x952cf54d
-0,     157696,     157696,     1024,     4096, 0x54a4ed3b
-0,     158720,     158720,     1024,     4096, 0x1e24f992
-0,     159744,     159744,     1024,     4096, 0xab6bfa09
-0,     160768,     160768,     1024,     4096, 0xa021020b
-0,     161792,     161792,     1024,     4096, 0xaa0600f5
-0,     162816,     162816,     1024,     4096, 0xadf7ec92
-0,     163840,     163840,     1024,     4096, 0x5dd5f63f
-0,     164864,     164864,     1024,     4096, 0xc01bff89
-0,     165888,     165888,     1024,     4096, 0x05dbf1e7
-0,     166912,     166912,     1024,     4096, 0x44f00038
-0,     167936,     167936,     1024,     4096, 0x6dc5f886
-0,     168960,     168960,     1024,     4096, 0xeb88e729
-0,     169984,     169984,     1024,     4096, 0xfe5cf53e
-0,     171008,     171008,     1024,     4096, 0x2692f7a0
-0,     172032,     172032,     1024,     4096, 0xe984f24b
-0,     173056,     173056,     1024,     4096, 0x1a4ef732
-0,     174080,     174080,     1024,     4096, 0x3b60010b
-0,     175104,     175104,     1024,     4096, 0x6dd0eaf2
-0,     176128,     176128,     1024,     4096, 0x313de851
-0,     177152,     177152,     1024,     4096, 0x239ef043
-0,     178176,     178176,     1024,     4096, 0x2366fe43
-0,     179200,     179200,     1024,     4096, 0xbfd6f3b9
-0,     180224,     180224,     1024,     4096, 0xb34bf67b
-0,     181248,     181248,     1024,     4096, 0x00def7c1
-0,     182272,     182272,     1024,     4096, 0xa6d0f466
-0,     183296,     183296,     1024,     4096, 0xd1a1f1c2
-0,     184320,     184320,     1024,     4096, 0x32f8923c
-0,     185344,     185344,     1024,     4096, 0x137001d2
-0,     186368,     186368,     1024,     4096, 0xb881f6cd
-0,     187392,     187392,     1024,     4096, 0xf44e034a
-0,     188416,     188416,     1024,     4096, 0xb43fecf7
-0,     189440,     189440,     1024,     4096, 0xe62ced50
-0,     190464,     190464,     1024,     4096, 0x221dfd0d
-0,     191488,     191488,     1024,     4096, 0x85400147
-0,     192512,     192512,     1024,     4096, 0x8bf8d054
-0,     193536,     193536,     1024,     4096, 0x08370170
-0,     194560,     194560,     1024,     4096, 0xec62effa
-0,     195584,     195584,     1024,     4096, 0xd58cf67c
-0,     196608,     196608,     1024,     4096, 0xf597f9a1
-0,     197632,     197632,     1024,     4096, 0x63fcf0b0
-0,     198656,     198656,     1024,     4096, 0x8cc8fd32
-0,     199680,     199680,     1024,     4096, 0xf8c2072c
-0,     200704,     200704,     1024,     4096, 0x0c7e93a5
-0,     201728,     201728,     1024,     4096, 0x1cc3f612
-0,     202752,     202752,     1024,     4096, 0x83adf8ee
-0,     203776,     203776,     1024,     4096, 0x680e0195
-0,     204800,     204800,     1024,     4096, 0x9d34fd2e
-0,     205824,     205824,     1024,     4096, 0x44cdfb34
-0,     206848,     206848,     1024,     4096, 0x193df790
-0,     207872,     207872,     1024,     4096, 0xb337ef64
-0,     208896,     208896,     1024,     4096, 0x0074ee38
-0,     209920,     209920,     1024,     4096, 0x239ef043
-0,     210944,     210944,     1024,     4096, 0x2366fe43
-0,     211968,     211968,     1024,     4096, 0xbfd6f3b9
-0,     212992,     212992,     1024,     4096, 0xb34bf67b
-0,     214016,     214016,     1024,     4096, 0x00def7c1
-0,     215040,     215040,     1024,     4096, 0xa6d0f466
-0,     216064,     216064,     1024,     4096, 0xd1a1f1c2
-0,     217088,     217088,     1024,     4096, 0x32f8923c
-0,     218112,     218112,     1024,     4096, 0x137001d2
-0,     219136,     219136,     1024,     4096, 0xb881f6cd
-0,     220160,     220160,     1024,     4096, 0xf44e034a
-0,     221184,     221184,     1024,     4096, 0xb43fecf7
-0,     222208,     222208,     1024,     4096, 0xe62ced50
-0,     223232,     223232,     1024,     4096, 0x221dfd0d
-0,     224256,     224256,     1024,     4096, 0x85400147
-0,     225280,     225280,     1024,     4096, 0x8bf8d054
-0,     226304,     226304,     1024,     4096, 0x08370170
-0,     227328,     227328,     1024,     4096, 0xec62effa
-0,     228352,     228352,     1024,     4096, 0xd58cf67c
-0,     229376,     229376,     1024,     4096, 0xf597f9a1
-0,     230400,     230400,     1024,     4096, 0x63fcf0b0
-0,     231424,     231424,     1024,     4096, 0x8cc8fd32
-0,     232448,     232448,     1024,     4096, 0xf8c2072c
-0,     233472,     233472,     1024,     4096, 0x0c7e93a5
-0,     234496,     234496,     1024,     4096, 0x1cc3f612
-0,     235520,     235520,     1024,     4096, 0x83adf8ee
-0,     236544,     236544,     1024,     4096, 0x680e0195
-0,     237568,     237568,     1024,     4096, 0x9d34fd2e
-0,     238592,     238592,     1024,     4096, 0x44cdfb34
-0,     239616,     239616,     1024,     4096, 0x193df790
-0,     240640,     240640,     1024,     4096, 0xb337ef64
-0,     241664,     241664,     1024,     4096, 0x0074ee38
-0,     242688,     242688,     1024,     4096, 0x239ef043
-0,     243712,     243712,     1024,     4096, 0x2366fe43
-0,     244736,     244736,     1024,     4096, 0xbfd6f3b9
-0,     245760,     245760,     1024,     4096, 0xb34bf67b
-0,     246784,     246784,     1024,     4096, 0x00def7c1
-0,     247808,     247808,     1024,     4096, 0xa6d0f466
-0,     248832,     248832,     1024,     4096, 0xd1a1f1c2
-0,     249856,     249856,     1024,     4096, 0x32f8923c
-0,     250880,     250880,     1024,     4096, 0x137001d2
-0,     251904,     251904,     1024,     4096, 0xb881f6cd
-0,     252928,     252928,     1024,     4096, 0xf44e034a
-0,     253952,     253952,     1024,     4096, 0xb43fecf7
-0,     254976,     254976,     1024,     4096, 0xe62ced50
-0,     256000,     256000,     1024,     4096, 0x221dfd0d
-0,     257024,     257024,     1024,     4096, 0x85400147
-0,     258048,     258048,     1024,     4096, 0x8bf8d054
-0,     259072,     259072,     1024,     4096, 0x08370170
-0,     260096,     260096,     1024,     4096, 0xec62effa
-0,     261120,     261120,     1024,     4096, 0xd58cf67c
-0,     262144,     262144,     1024,     4096, 0xf597f9a1
-0,     263168,     263168,     1024,     4096, 0x63fcf0b0
-0,     264192,     264192,      408,     1632, 0xedfa314a
+0,          0,          0,     4096,    16384, 0x787629da
+0,       4096,       4096,     4096,    16384, 0x9121d441
+0,       8192,       8192,     4096,    16384, 0x9e93dbf1
+0,      12288,      12288,     4096,    16384, 0xae86efbf
+0,      16384,      16384,     4096,    16384, 0x84ace6c3
+0,      20480,      20480,     4096,    16384, 0x1daaf3fd
+0,      24576,      24576,     4096,    16384, 0x02a3d8ab
+0,      28672,      28672,     4096,    16384, 0x0c50d895
+0,      32768,      32768,     4096,    16384, 0xf398df71
+0,      36864,      36864,     4096,    16384, 0x9121d441
+0,      40960,      40960,     4096,    16384, 0xb238f7eb
+0,      45056,      45056,     4096,    16384, 0x33fedab5
+0,      49152,      49152,     4096,    16384, 0xb41bf24f
+0,      53248,      53248,     4096,    16384, 0xd996d181
+0,      57344,      57344,     4096,    16384, 0xef11f439
+0,      61440,      61440,     4096,    16384, 0x8b5cc9b7
+0,      65536,      65536,     4096,    16384, 0xccecbf4d
+0,      69632,      69632,     4096,    16384, 0xe754ec1b
+0,      73728,      73728,     4096,    16384, 0x7a9eea35
+0,      77824,      77824,     4096,    16384, 0xf9bdde45
+0,      81920,      81920,     4096,    16384, 0xed764630
+0,      86016,      86016,     4096,    16384, 0x7c8fd52d
+0,      90112,      90112,     4096,    16384, 0xb578f7c1
+0,      94208,      94208,     4096,    16384, 0x4aabce65
+0,      98304,      98304,     4096,    16384, 0x2d51e12d
+0,     102400,     102400,     4096,    16384, 0xf6f11922
+0,     106496,     106496,     4096,    16384, 0x6fe6bbc1
+0,     110592,     110592,     4096,    16384, 0xa271ce9f
+0,     114688,     114688,     4096,    16384, 0x9bb2f4c3
+0,     118784,     118784,     4096,    16384, 0x1bc3ecf3
+0,     122880,     122880,     4096,    16384, 0x61185472
+0,     126976,     126976,     4096,    16384, 0xfb7a31e0
+0,     131072,     131072,     4096,    16384, 0xaacecef6
+0,     135168,     135168,     4096,    16384, 0x6e96e721
+0,     139264,     139264,     4096,    16384, 0x79bfe08e
+0,     143360,     143360,     4096,    16384, 0x2574e3d9
+0,     147456,     147456,     4096,    16384, 0x2f27b215
+0,     151552,     151552,     4096,    16384, 0xac64cc47
+0,     155648,     155648,     4096,    16384, 0xe1ded3dc
+0,     159744,     159744,     4096,    16384, 0xc7c2e9aa
+0,     163840,     163840,     4096,    16384, 0x3f99e805
+0,     167936,     167936,     4096,    16384, 0xf0f2ccba
+0,     172032,     172032,     4096,    16384, 0x2747d598
+0,     176128,     176128,     4096,    16384, 0x36b5cabd
+0,     180224,     180224,     4096,    16384, 0x27edd491
+0,     184320,     184320,     4096,    16384, 0xc9818e34
+0,     188416,     188416,     4096,    16384, 0xa6d8d8b9
+0,     192512,     192512,     4096,    16384, 0xe3fbb858
+0,     196608,     196608,     4096,    16384, 0x9e4eeecd
+0,     200704,     200704,     4096,    16384, 0x7b478458
+0,     204800,     204800,     4096,    16384, 0x5606df83
+0,     208896,     208896,     4096,    16384, 0x6681d0a4
+0,     212992,     212992,     4096,    16384, 0x27edd491
+0,     217088,     217088,     4096,    16384, 0xc9818e34
+0,     221184,     221184,     4096,    16384, 0xa6d8d8b9
+0,     225280,     225280,     4096,    16384, 0xe3fbb858
+0,     229376,     229376,     4096,    16384, 0x9e4eeecd
+0,     233472,     233472,     4096,    16384, 0x7b478458
+0,     237568,     237568,     4096,    16384, 0x5606df83
+0,     241664,     241664,     4096,    16384, 0x6681d0a4
+0,     245760,     245760,     4096,    16384, 0x27edd491
+0,     249856,     249856,     4096,    16384, 0xc9818e34
+0,     253952,     253952,     4096,    16384, 0xa6d8d8b9
+0,     258048,     258048,     4096,    16384, 0xe3fbb858
+0,     262144,     262144,     2456,     9824, 0xbd4a1bb9
diff --git a/tests/ref/fate/filter-amerge b/tests/ref/fate/filter-amerge
index 83befc20b6..74d888c6a7 100644
--- a/tests/ref/fate/filter-amerge
+++ b/tests/ref/fate/filter-amerge
@@ -3,262 +3,68 @@ 
 #codec_id 0: pcm_s16le
 #sample_rate 0: 44100
 #channel_layout_name 0: stereo
-0,          0,          0,     1024,     4096, 0x29e3eecf
-0,       1024,       1024,     1024,     4096, 0x18390b96
-0,       2048,       2048,     1024,     4096, 0xc477fa99
-0,       3072,       3072,     1024,     4096, 0x3bc0f14f
-0,       4096,       4096,     1024,     4096, 0x2379ed91
-0,       5120,       5120,     1024,     4096, 0xfd6a0070
-0,       6144,       6144,     1024,     4096, 0x0b01f4cf
-0,       7168,       7168,     1024,     4096, 0x6716fd93
-0,       8192,       8192,     1024,     4096, 0x1840f25b
-0,       9216,       9216,     1024,     4096, 0x9c1ffaf1
-0,      10240,      10240,     1024,     4096, 0xcbedefaf
-0,      11264,      11264,     1024,     4096, 0x3e050390
-0,      12288,      12288,     1024,     4096, 0xb30e0090
-0,      13312,      13312,     1024,     4096, 0x26b8f75b
-0,      14336,      14336,     1024,     4096, 0xd706e311
-0,      15360,      15360,     1024,     4096, 0x0c480138
-0,      16384,      16384,     1024,     4096, 0x6c9a0216
-0,      17408,      17408,     1024,     4096, 0x7abce54f
-0,      18432,      18432,     1024,     4096, 0xda45f63f
-0,      19456,      19456,     1024,     4096, 0x50d5ff87
-0,      20480,      20480,     1024,     4096, 0x59be0352
-0,      21504,      21504,     1024,     4096, 0xa61af077
-0,      22528,      22528,     1024,     4096, 0x84c4fc07
-0,      23552,      23552,     1024,     4096, 0x4a35f345
-0,      24576,      24576,     1024,     4096, 0xbb65fa81
-0,      25600,      25600,     1024,     4096, 0xf6c7f5e5
-0,      26624,      26624,     1024,     4096, 0xd3270138
-0,      27648,      27648,     1024,     4096, 0x4782ed53
-0,      28672,      28672,     1024,     4096, 0xe308f055
-0,      29696,      29696,     1024,     4096, 0x7d33f97d
-0,      30720,      30720,     1024,     4096, 0xb8b00dd4
-0,      31744,      31744,     1024,     4096, 0x7ff7efab
-0,      32768,      32768,     1024,     4096, 0x29e3eecf
-0,      33792,      33792,     1024,     4096, 0x18390b96
-0,      34816,      34816,     1024,     4096, 0xc477fa99
-0,      35840,      35840,     1024,     4096, 0x3bc0f14f
-0,      36864,      36864,     1024,     4096, 0x2379ed91
-0,      37888,      37888,     1024,     4096, 0xfd6a0070
-0,      38912,      38912,     1024,     4096, 0x0b01f4cf
-0,      39936,      39936,     1024,     4096, 0x6716fd93
-0,      40960,      40960,     1024,     4096, 0x1840f25b
-0,      41984,      41984,     1024,     4096, 0x9c1ffaf1
-0,      43008,      43008,     1024,     4096, 0xcbedefaf
-0,      44032,      44032,     1024,     4096, 0xda37d691
-0,      45056,      45056,     1024,     4096, 0x7193ecbf
-0,      46080,      46080,     1024,     4096, 0x6e4a0a36
-0,      47104,      47104,     1024,     4096, 0x61cfe70d
-0,      48128,      48128,     1024,     4096, 0xc19ffa15
-0,      49152,      49152,     1024,     4096, 0x7b32fb3d
-0,      50176,      50176,     1024,     4096, 0xdacefd3f
-0,      51200,      51200,     1024,     4096, 0x3964f64d
-0,      52224,      52224,     1024,     4096, 0xdcf2edad
-0,      53248,      53248,     1024,     4096, 0x1367f69b
-0,      54272,      54272,     1024,     4096, 0xd4c6f7b9
-0,      55296,      55296,     1024,     4096, 0x9e041186
-0,      56320,      56320,     1024,     4096, 0xe939edd7
-0,      57344,      57344,     1024,     4096, 0xa932336a
-0,      58368,      58368,     1024,     4096, 0x5f510e28
-0,      59392,      59392,     1024,     4096, 0x4b8501c8
-0,      60416,      60416,     1024,     4096, 0xfbc30250
-0,      61440,      61440,     1024,     4096, 0x5e7fd855
-0,      62464,      62464,     1024,     4096, 0x8ef1f265
-0,      63488,      63488,     1024,     4096, 0x9f7601c2
-0,      64512,      64512,     1024,     4096, 0xb400f0b7
-0,      65536,      65536,     1024,     4096, 0x4c91e10b
-0,      66560,      66560,     1024,     4096, 0x3f41fe61
-0,      67584,      67584,     1024,     4096, 0x74fff9b9
-0,      68608,      68608,     1024,     4096, 0x18bbf5a5
-0,      69632,      69632,     1024,     4096, 0x51a70180
-0,      70656,      70656,     1024,     4096, 0x29f3e8c5
-0,      71680,      71680,     1024,     4096, 0x562efdb9
-0,      72704,      72704,     1024,     4096, 0xa2e006e0
-0,      73728,      73728,     1024,     4096, 0xa1bff541
-0,      74752,      74752,     1024,     4096, 0xd95b0012
-0,      75776,      75776,     1024,     4096, 0xd93e0912
-0,      76800,      76800,     1024,     4096, 0x6c2a1d88
-0,      77824,      77824,     1024,     4096, 0xb4d8fb8b
-0,      78848,      78848,     1024,     4096, 0xf14b0492
-0,      79872,      79872,     1024,     4096, 0x1c7be7b7
-0,      80896,      80896,     1024,     4096, 0xc181f877
-0,      81920,      81920,     1024,     4096, 0xba132d14
-0,      82944,      82944,     1024,     4096, 0xabae2d9a
-0,      83968,      83968,     1024,     4096, 0xb07fff15
-0,      84992,      84992,     1024,     4096, 0xa0c1ff2d
-0,      86016,      86016,     1024,     4096, 0x19f7fd1f
-0,      87040,      87040,     1024,     4096, 0xcb6d11a4
-0,      88064,      88064,     1024,     4096, 0x166ac8b7
-0,      89088,      89088,     1024,     4096, 0xe68dda8f
-0,      90112,      90112,     1024,     4096, 0xe457b505
-0,      91136,      91136,     1024,     4096, 0xda25a409
-0,      92160,      92160,     1024,     4096, 0x5b5d9d3b
-0,      93184,      93184,     1024,     4096, 0xa61eb13d
-0,      94208,      94208,     1024,     4096, 0xac93b66f
-0,      95232,      95232,     1024,     4096, 0xc7aeb33f
-0,      96256,      96256,     1024,     4096, 0x52cccfb5
-0,      97280,      97280,     1024,     4096, 0x4e4cf487
-0,      98304,      98304,     1024,     4096, 0x19c07f35
-0,      99328,      99328,     1024,     4096, 0x63ecd34f
-0,     100352,     100352,     1024,     4096, 0x122aec53
-0,     101376,     101376,     1024,     4096, 0x6581c0ad
-0,     102400,     102400,     1024,     4096, 0x640edb15
-0,     103424,     103424,     1024,     4096, 0x5d66c66f
-0,     104448,     104448,     1024,     4096, 0x069e9d35
-0,     105472,     105472,     1024,     4096, 0x5c9fd0e9
-0,     106496,     106496,     1024,     4096, 0x72468667
-0,     107520,     107520,     1024,     4096, 0x6e6dd02b
-0,     108544,     108544,     1024,     4096, 0x93edce33
-0,     109568,     109568,     1024,     4096, 0xcdfbd519
-0,     110592,     110592,     1024,     4096, 0x8463f2bb
-0,     111616,     111616,     1024,     4096, 0x5ca6f869
-0,     112640,     112640,     1024,     4096, 0x099a0398
-0,     113664,     113664,     1024,     4096, 0xa7fa10f0
-0,     114688,     114688,     1024,     4096, 0x28caddd3
-0,     115712,     115712,     1024,     4096, 0x4852ef8b
-0,     116736,     116736,     1024,     4096, 0x0250ee7b
-0,     117760,     117760,     1024,     4096, 0x9583da21
-0,     118784,     118784,     1024,     4096, 0x7365fb33
-0,     119808,     119808,     1024,     4096, 0x28c82066
-0,     120832,     120832,     1024,     4096, 0x94650be4
-0,     121856,     121856,     1024,     4096, 0xeb21f8eb
-0,     122880,     122880,     1024,     4096, 0xcd88f455
-0,     123904,     123904,     1024,     4096, 0x66a9efaf
-0,     124928,     124928,     1024,     4096, 0x5500c6ed
-0,     125952,     125952,     1024,     4096, 0x0ee0c62d
-0,     126976,     126976,     1024,     4096, 0x34d30762
-0,     128000,     128000,     1024,     4096, 0x8c0dec9f
-0,     129024,     129024,     1024,     4096, 0x790011d8
-0,     130048,     130048,     1024,     4096, 0xb76a1136
-0,     131072,     131072,     1024,     4096, 0x7dddfea7
-0,     132096,     132096,     1024,     4096, 0xb473edbb
-0,     133120,     133120,     1024,     4096, 0x40f6e94d
-0,     134144,     134144,     1024,     4096, 0xe6fae99b
-0,     135168,     135168,     1024,     4096, 0xbf5fe741
-0,     136192,     136192,     1024,     4096, 0x877df2e3
-0,     137216,     137216,     1024,     4096, 0x981d03f8
-0,     138240,     138240,     1024,     4096, 0x4afc2830
-0,     139264,     139264,     1024,     4096, 0x1213ee89
-0,     140288,     140288,     1024,     4096, 0xb1aaef65
-0,     141312,     141312,     1024,     4096, 0x2406ef09
-0,     142336,     142336,     1024,     4096, 0xad66f40d
-0,     143360,     143360,     1024,     4096, 0x7a65d88d
-0,     144384,     144384,     1024,     4096, 0x55dff997
-0,     145408,     145408,     1024,     4096, 0x948b21f4
-0,     146432,     146432,     1024,     4096, 0xc1c4ef9d
-0,     147456,     147456,     1024,     4096, 0x81a6f5f3
-0,     148480,     148480,     1024,     4096, 0xd82fcfed
-0,     149504,     149504,     1024,     4096, 0x4ba50b0c
-0,     150528,     150528,     1024,     4096, 0x2cc4edb1
-0,     151552,     151552,     1024,     4096, 0x5085e701
-0,     152576,     152576,     1024,     4096, 0x97beee93
-0,     153600,     153600,     1024,     4096, 0x3ea10e94
-0,     154624,     154624,     1024,     4096, 0x4347f983
-0,     155648,     155648,     1024,     4096, 0x17f4d38f
-0,     156672,     156672,     1024,     4096, 0x47f2f5c5
-0,     157696,     157696,     1024,     4096, 0x5484db7b
-0,     158720,     158720,     1024,     4096, 0xdef2d915
-0,     159744,     159744,     1024,     4096, 0xccfaf223
-0,     160768,     160768,     1024,     4096, 0x2fcf1bc2
-0,     161792,     161792,     1024,     4096, 0xc2cc10e4
-0,     162816,     162816,     1024,     4096, 0x63bc0f96
-0,     163840,     163840,     1024,     4096, 0x23d6eb63
-0,     164864,     164864,     1024,     4096, 0xf97806d8
-0,     165888,     165888,     1024,     4096, 0xe9ec0836
-0,     166912,     166912,     1024,     4096, 0x7481ee4f
-0,     167936,     167936,     1024,     4096, 0x3aae0f32
-0,     168960,     168960,     1024,     4096, 0x1103f357
-0,     169984,     169984,     1024,     4096, 0x1bbf02c6
-0,     171008,     171008,     1024,     4096, 0x7b6aeeb3
-0,     172032,     172032,     1024,     4096, 0x377eeec9
-0,     173056,     173056,     1024,     4096, 0xaab0e16f
-0,     174080,     174080,     1024,     4096, 0x2ffff0a3
-0,     175104,     175104,     1024,     4096, 0x4fb6f805
-0,     176128,     176128,     1024,     4096, 0xf5c8fdf3
-0,     177152,     177152,     1024,     4096, 0x782fe5ad
-0,     178176,     178176,     1024,     4096, 0xce0f0d0a
-0,     179200,     179200,     1024,     4096, 0xf888b957
-0,     180224,     180224,     1024,     4096, 0x075ced7f
-0,     181248,     181248,     1024,     4096, 0x269eea07
-0,     182272,     182272,     1024,     4096, 0x838ded59
-0,     183296,     183296,     1024,     4096, 0x71410850
-0,     184320,     184320,     1024,     4096, 0xb6a0d1d5
-0,     185344,     185344,     1024,     4096, 0x6787feed
-0,     186368,     186368,     1024,     4096, 0xbdcefa91
-0,     187392,     187392,     1024,     4096, 0xc135c927
-0,     188416,     188416,     1024,     4096, 0xe7cd11d6
-0,     189440,     189440,     1024,     4096, 0x8a61e97f
-0,     190464,     190464,     1024,     4096, 0x86adf3e3
-0,     191488,     191488,     1024,     4096, 0xa46a12f6
-0,     192512,     192512,     1024,     4096, 0x1c8f2c18
-0,     193536,     193536,     1024,     4096, 0x2fa62b6e
-0,     194560,     194560,     1024,     4096, 0xb644e65d
-0,     195584,     195584,     1024,     4096, 0xcc33f651
-0,     196608,     196608,     1024,     4096, 0x6de62030
-0,     197632,     197632,     1024,     4096, 0x1b0ce3bd
-0,     198656,     198656,     1024,     4096, 0x92d80e40
-0,     199680,     199680,     1024,     4096, 0x20edff7f
-0,     200704,     200704,     1024,     4096, 0xeeddf9eb
-0,     201728,     201728,     1024,     4096, 0x83861e06
-0,     202752,     202752,     1024,     4096, 0x9d90e441
-0,     203776,     203776,     1024,     4096, 0xaae21706
-0,     204800,     204800,     1024,     4096, 0x3da411d0
-0,     205824,     205824,     1024,     4096, 0xdc52051c
-0,     206848,     206848,     1024,     4096, 0x17e7233a
-0,     207872,     207872,     1024,     4096, 0xe9c1df0d
-0,     208896,     208896,     1024,     4096, 0xf725f4d1
-0,     209920,     209920,     1024,     4096, 0x0a760b38
-0,     210944,     210944,     1024,     4096, 0xbd67e3db
-0,     211968,     211968,     1024,     4096, 0x84c8378c
-0,     212992,     212992,     1024,     4096, 0xb045036a
-0,     214016,     214016,     1024,     4096, 0x697706de
-0,     215040,     215040,     1024,     4096, 0x15e6038e
-0,     216064,     216064,     1024,     4096, 0x17c4e895
-0,     217088,     217088,     1024,     4096, 0xd1d81f0e
-0,     218112,     218112,     1024,     4096, 0x3764f1eb
-0,     219136,     219136,     1024,     4096, 0xce58f645
-0,     220160,     220160,     1024,     4096, 0xd53127be
-0,     221184,     221184,     1024,     4096, 0xacc7df11
-0,     222208,     222208,     1024,     4096, 0x05040766
-0,     223232,     223232,     1024,     4096, 0x131efcf5
-0,     224256,     224256,     1024,     4096, 0xe3dcddef
-0,     225280,     225280,     1024,     4096, 0xd042a3c2
-0,     226304,     226304,     1024,     4096, 0x6e3dc579
-0,     227328,     227328,     1024,     4096, 0xd6920a88
-0,     228352,     228352,     1024,     4096, 0xd6c9fa87
-0,     229376,     229376,     1024,     4096, 0x17efd0b5
-0,     230400,     230400,     1024,     4096, 0x73a90d28
-0,     231424,     231424,     1024,     4096, 0x077de2a5
-0,     232448,     232448,     1024,     4096, 0x8248f157
-0,     233472,     233472,     1024,     4096, 0xa459f6eb
-0,     234496,     234496,     1024,     4096, 0x1ab5d2e1
-0,     235520,     235520,     1024,     4096, 0xee960ca4
-0,     236544,     236544,     1024,     4096, 0xe5ccd9df
-0,     237568,     237568,     1024,     4096, 0x85cddf19
-0,     238592,     238592,     1024,     4096, 0x9dceebc7
-0,     239616,     239616,     1024,     4096, 0x81becdab
-0,     240640,     240640,     1024,     4096, 0xac4d11d8
-0,     241664,     241664,     1024,     4096, 0x9b61fc05
-0,     242688,     242688,     1024,     4096, 0x782fe5ad
-0,     243712,     243712,     1024,     4096, 0xce0f0d0a
-0,     244736,     244736,     1024,     4096, 0xf888b957
-0,     245760,     245760,     1024,     4096, 0x075ced7f
-0,     246784,     246784,     1024,     4096, 0x269eea07
-0,     247808,     247808,     1024,     4096, 0x838ded59
-0,     248832,     248832,     1024,     4096, 0x71410850
-0,     249856,     249856,     1024,     4096, 0xb6a0d1d5
-0,     250880,     250880,     1024,     4096, 0x6787feed
-0,     251904,     251904,     1024,     4096, 0xbdcefa91
-0,     252928,     252928,     1024,     4096, 0xc135c927
-0,     253952,     253952,     1024,     4096, 0xe7cd11d6
-0,     254976,     254976,     1024,     4096, 0x8a61e97f
-0,     256000,     256000,     1024,     4096, 0x86adf3e3
-0,     257024,     257024,     1024,     4096, 0xa46a12f6
-0,     258048,     258048,     1024,     4096, 0x1c8f2c18
-0,     259072,     259072,     1024,     4096, 0x2fa62b6e
-0,     260096,     260096,     1024,     4096, 0xb644e65d
-0,     261120,     261120,     1024,     4096, 0xcc33f651
-0,     262144,     262144,     1024,     4096, 0x6de62030
-0,     263168,     263168,     1024,     4096, 0x1b0ce3bd
-0,     264192,     264192,      408,     1632, 0x53c44589
+0,          0,          0,     4096,    16384, 0x02ebe66b
+0,       4096,       4096,     4096,    16384, 0x35bfe081
+0,       8192,       8192,     4096,    16384, 0x3f90e0a9
+0,      12288,      12288,     4096,    16384, 0xd389dc43
+0,      16384,      16384,     4096,    16384, 0x9d5add49
+0,      20480,      20480,     4096,    16384, 0x378ee333
+0,      24576,      24576,     4096,    16384, 0xabf6df0f
+0,      28672,      28672,     4096,    16384, 0xedefe76f
+0,      32768,      32768,     4096,    16384, 0x02ebe66b
+0,      36864,      36864,     4096,    16384, 0x35bfe081
+0,      40960,      40960,     4096,    16384, 0xdbc2b3b9
+0,      45056,      45056,     4096,    16384, 0xe92bd835
+0,      49152,      49152,     4096,    16384, 0x1126dca3
+0,      53248,      53248,     4096,    16384, 0x9647edcf
+0,      57344,      57344,     4096,    16384, 0x5cc345aa
+0,      61440,      61440,     4096,    16384, 0x19d7bd51
+0,      65536,      65536,     4096,    16384, 0x19eccef7
+0,      69632,      69632,     4096,    16384, 0x4b68eeed
+0,      73728,      73728,     4096,    16384, 0x0b3d1bfc
+0,      77824,      77824,     4096,    16384, 0xe9b2e069
+0,      81920,      81920,     4096,    16384, 0xcaa5590e
+0,      86016,      86016,     4096,    16384, 0x47d0b227
+0,      90112,      90112,     4096,    16384, 0x446ba7a4
+0,      94208,      94208,     4096,    16384, 0x299b2e17
+0,      98304,      98304,     4096,    16384, 0xc51affa2
+0,     102400,     102400,     4096,    16384, 0xb4970fcf
+0,     106496,     106496,     4096,    16384, 0xe48af9fc
+0,     110592,     110592,     4096,    16384, 0xc2beffbb
+0,     114688,     114688,     4096,    16384, 0xb9d99627
+0,     118784,     118784,     4096,    16384, 0xb65a2086
+0,     122880,     122880,     4096,    16384, 0x6386714b
+0,     126976,     126976,     4096,    16384, 0x92a3171e
+0,     131072,     131072,     4096,    16384, 0x3f5dbf77
+0,     135168,     135168,     4096,    16384, 0x8fd7066a
+0,     139264,     139264,     4096,    16384, 0xb55cc131
+0,     143360,     143360,     4096,    16384, 0x0bd0e3d3
+0,     147456,     147456,     4096,    16384, 0x068cbebb
+0,     151552,     151552,     4096,    16384, 0x912addc9
+0,     155648,     155648,     4096,    16384, 0xa14b7e11
+0,     159744,     159744,     4096,    16384, 0x207f2e6e
+0,     163840,     163840,     4096,    16384, 0x1695e8cf
+0,     167936,     167936,     4096,    16384, 0x7897f411
+0,     172032,     172032,     4096,    16384, 0x4a1fb90d
+0,     176128,     176128,     4096,    16384, 0x8a13aa1f
+0,     180224,     180224,     4096,    16384, 0x9464cd4d
+0,     184320,     184320,     4096,    16384, 0x54a494a7
+0,     188416,     188416,     4096,    16384, 0x9a2a024c
+0,     192512,     192512,     4096,    16384, 0x84413452
+0,     196608,     196608,     4096,    16384, 0xefc011ca
+0,     200704,     200704,     4096,    16384, 0x685e1356
+0,     204800,     204800,     4096,    16384, 0x986e1942
+0,     208896,     208896,     4096,    16384, 0xbf491b8e
+0,     212992,     212992,     4096,    16384, 0xe13df66b
+0,     217088,     217088,     4096,    16384, 0x00eb2f1a
+0,     221184,     221184,     4096,    16384, 0x5771c179
+0,     225280,     225280,     4096,    16384, 0x34e86e68
+0,     229376,     229376,     4096,    16384, 0x8db8b1f7
+0,     233472,     233472,     4096,    16384, 0x5187b06d
+0,     237568,     237568,     4096,    16384, 0x8067aa81
+0,     241664,     241664,     4096,    16384, 0x8a39a831
+0,     245760,     245760,     4096,    16384, 0x9464cd4d
+0,     249856,     249856,     4096,    16384, 0x54a494a7
+0,     253952,     253952,     4096,    16384, 0x9a2a024c
+0,     258048,     258048,     4096,    16384, 0x84413452
+0,     262144,     262144,     2456,     9824, 0x62e94985
diff --git a/tests/ref/fate/filter-anequalizer b/tests/ref/fate/filter-anequalizer
index 250c9ede91..a5195b51e3 100644
--- a/tests/ref/fate/filter-anequalizer
+++ b/tests/ref/fate/filter-anequalizer
@@ -3,262 +3,68 @@ 
 #codec_id 0: pcm_s16le
 #sample_rate 0: 44100
 #channel_layout_name 0: stereo
-0,          0,          0,     1024,     4096, 0x8e1bf8e0
-0,       1024,       1024,     1024,     4096, 0xe315f564
-0,       2048,       2048,     1024,     4096, 0x3d0efa98
-0,       3072,       3072,     1024,     4096, 0x5c1bf6b2
-0,       4096,       4096,     1024,     4096, 0xb5b4ff02
-0,       5120,       5120,     1024,     4096, 0xb9b1f4b6
-0,       6144,       6144,     1024,     4096, 0x86e9f411
-0,       7168,       7168,     1024,     4096, 0x36aafbd3
-0,       8192,       8192,     1024,     4096, 0x05d2f63f
-0,       9216,       9216,     1024,     4096, 0x1d95fd16
-0,      10240,      10240,     1024,     4096, 0x4fb0f009
-0,      11264,      11264,     1024,     4096, 0x6a6301c6
-0,      12288,      12288,     1024,     4096, 0x299cfbd8
-0,      13312,      13312,     1024,     4096, 0x2a7ffe8c
-0,      14336,      14336,     1024,     4096, 0xceace509
-0,      15360,      15360,     1024,     4096, 0xd084feec
-0,      16384,      16384,     1024,     4096, 0xd956f613
-0,      17408,      17408,     1024,     4096, 0xf61dfa8c
-0,      18432,      18432,     1024,     4096, 0x6ebcf53e
-0,      19456,      19456,     1024,     4096, 0x8601f9f2
-0,      20480,      20480,     1024,     4096, 0x6a4bf2d9
-0,      21504,      21504,     1024,     4096, 0xb917fc1d
-0,      22528,      22528,     1024,     4096, 0x85cffbca
-0,      23552,      23552,     1024,     4096, 0x80d9f509
-0,      24576,      24576,     1024,     4096, 0xa4acf898
-0,      25600,      25600,     1024,     4096, 0x7614f3c0
-0,      26624,      26624,     1024,     4096, 0x5f3700dc
-0,      27648,      27648,     1024,     4096, 0x4308ef21
-0,      28672,      28672,     1024,     4096, 0x670df4fe
-0,      29696,      29696,     1024,     4096, 0x98d0f24f
-0,      30720,      30720,     1024,     4096, 0xed360be0
-0,      31744,      31744,     1024,     4096, 0xbe10f1eb
-0,      32768,      32768,     1024,     4096, 0xb5d0fac0
-0,      33792,      33792,     1024,     4096, 0x94c1f649
-0,      34816,      34816,     1024,     4096, 0x3617fb9b
-0,      35840,      35840,     1024,     4096, 0x1840f6e6
-0,      36864,      36864,     1024,     4096, 0x0ce8fdfa
-0,      37888,      37888,     1024,     4096, 0xd7c1f4b8
-0,      38912,      38912,     1024,     4096, 0x86e9f411
-0,      39936,      39936,     1024,     4096, 0x36aafbd3
-0,      40960,      40960,     1024,     4096, 0x05d2f63f
-0,      41984,      41984,     1024,     4096, 0x1d95fd16
-0,      43008,      43008,     1024,     4096, 0x4fb0f009
-0,      44032,      44032,     1024,     4096, 0xc6de743e
-0,      45056,      45056,     1024,     4096, 0xe878f6e3
-0,      46080,      46080,     1024,     4096, 0x40c3fdf9
-0,      47104,      47104,     1024,     4096, 0x19def744
-0,      48128,      48128,     1024,     4096, 0x9e3d0016
-0,      49152,      49152,     1024,     4096, 0x2d3bfaee
-0,      50176,      50176,     1024,     4096, 0x0ae800c8
-0,      51200,      51200,     1024,     4096, 0xd6530007
-0,      52224,      52224,     1024,     4096, 0x3ec6fa96
-0,      53248,      53248,     1024,     4096, 0x4f3df4c4
-0,      54272,      54272,     1024,     4096, 0x8584f574
-0,      55296,      55296,     1024,     4096, 0xaa2311e8
-0,      56320,      56320,     1024,     4096, 0xfc04ed39
-0,      57344,      57344,     1024,     4096, 0xdefc1dcf
-0,      58368,      58368,     1024,     4096, 0x26120297
-0,      59392,      59392,     1024,     4096, 0x12db0600
-0,      60416,      60416,     1024,     4096, 0x590cfb36
-0,      61440,      61440,     1024,     4096, 0x03d2e732
-0,      62464,      62464,     1024,     4096, 0xa0b1eecb
-0,      63488,      63488,     1024,     4096, 0x89e6f0f8
-0,      64512,      64512,     1024,     4096, 0x96c3fde6
-0,      65536,      65536,     1024,     4096, 0x5d3ef320
-0,      66560,      66560,     1024,     4096, 0x780beba1
-0,      67584,      67584,     1024,     4096, 0x8a6ef641
-0,      68608,      68608,     1024,     4096, 0x716df2d2
-0,      69632,      69632,     1024,     4096, 0xe02bf742
-0,      70656,      70656,     1024,     4096, 0x636f0676
-0,      71680,      71680,     1024,     4096, 0x211fef81
-0,      72704,      72704,     1024,     4096, 0x230d03c2
-0,      73728,      73728,     1024,     4096, 0x78c7ec7e
-0,      74752,      74752,     1024,     4096, 0x57aaf08e
-0,      75776,      75776,     1024,     4096, 0xf35c034e
-0,      76800,      76800,     1024,     4096, 0xa52120e1
-0,      77824,      77824,     1024,     4096, 0xcd0ffe7c
-0,      78848,      78848,     1024,     4096, 0x76a40264
-0,      79872,      79872,     1024,     4096, 0x3daae73c
-0,      80896,      80896,     1024,     4096, 0x02bfebb8
-0,      81920,      81920,     1024,     4096, 0x2fad0aef
-0,      82944,      82944,     1024,     4096, 0xaf3d1e35
-0,      83968,      83968,     1024,     4096, 0x1577f70b
-0,      84992,      84992,     1024,     4096, 0x7330ff44
-0,      86016,      86016,     1024,     4096, 0xfc10f794
-0,      87040,      87040,     1024,     4096, 0xf883ff53
-0,      88064,      88064,     1024,     4096, 0x4d91f664
-0,      89088,      89088,     1024,     4096, 0x7bbcf94a
-0,      90112,      90112,     1024,     4096, 0x5243da5a
-0,      91136,      91136,     1024,     4096, 0xc9f2b510
-0,      92160,      92160,     1024,     4096, 0xd45daee9
-0,      93184,      93184,     1024,     4096, 0xf040cbe7
-0,      94208,      94208,     1024,     4096, 0xc755db61
-0,      95232,      95232,     1024,     4096, 0x2a2bdb39
-0,      96256,      96256,     1024,     4096, 0xd180faf7
-0,      97280,      97280,     1024,     4096, 0xe05bf3b3
-0,      98304,      98304,     1024,     4096, 0xee84c6a1
-0,      99328,      99328,     1024,     4096, 0xb05ec71b
-0,     100352,     100352,     1024,     4096, 0xf788e856
-0,     101376,     101376,     1024,     4096, 0x884fe6b4
-0,     102400,     102400,     1024,     4096, 0xc474ef2f
-0,     103424,     103424,     1024,     4096, 0x8ea2e3e3
-0,     104448,     104448,     1024,     4096, 0x32e2ba03
-0,     105472,     105472,     1024,     4096, 0xde62e2be
-0,     106496,     106496,     1024,     4096, 0xd9c1a387
-0,     107520,     107520,     1024,     4096, 0xb923e9c8
-0,     108544,     108544,     1024,     4096, 0xe0e2ef73
-0,     109568,     109568,     1024,     4096, 0xdc66f037
-0,     110592,     110592,     1024,     4096, 0x4c5ddb65
-0,     111616,     111616,     1024,     4096, 0xddc5e6dc
-0,     112640,     112640,     1024,     4096, 0x2c2afa48
-0,     113664,     113664,     1024,     4096, 0xfe1cefab
-0,     114688,     114688,     1024,     4096, 0xa761d9b1
-0,     115712,     115712,     1024,     4096, 0xac1af519
-0,     116736,     116736,     1024,     4096, 0x1d3e0455
-0,     117760,     117760,     1024,     4096, 0xca8bdaec
-0,     118784,     118784,     1024,     4096, 0x1c890dd7
-0,     119808,     119808,     1024,     4096, 0xd01023ec
-0,     120832,     120832,     1024,     4096, 0xd608fa07
-0,     121856,     121856,     1024,     4096, 0xa01bdceb
-0,     122880,     122880,     1024,     4096, 0x5b6e0428
-0,     123904,     123904,     1024,     4096, 0x699bffc9
-0,     124928,     124928,     1024,     4096, 0x7200d6ea
-0,     125952,     125952,     1024,     4096, 0x60ece933
-0,     126976,     126976,     1024,     4096, 0x6d1305ad
-0,     128000,     128000,     1024,     4096, 0xf932e234
-0,     129024,     129024,     1024,     4096, 0xc88dfc53
-0,     130048,     130048,     1024,     4096, 0xecaafd32
-0,     131072,     131072,     1024,     4096, 0x4683eec4
-0,     132096,     132096,     1024,     4096, 0x01a40877
-0,     133120,     133120,     1024,     4096, 0x68affdb9
-0,     134144,     134144,     1024,     4096, 0x3d50049a
-0,     135168,     135168,     1024,     4096, 0x28c3e64a
-0,     136192,     136192,     1024,     4096, 0xe77eff83
-0,     137216,     137216,     1024,     4096, 0x778ef1d7
-0,     138240,     138240,     1024,     4096, 0x8632016c
-0,     139264,     139264,     1024,     4096, 0x113ff74d
-0,     140288,     140288,     1024,     4096, 0x8a410144
-0,     141312,     141312,     1024,     4096, 0xf1f8032c
-0,     142336,     142336,     1024,     4096, 0x4ea9f305
-0,     143360,     143360,     1024,     4096, 0x08beed52
-0,     144384,     144384,     1024,     4096, 0xe62e0599
-0,     145408,     145408,     1024,     4096, 0xabc1f9cb
-0,     146432,     146432,     1024,     4096, 0x0a3cf37c
-0,     147456,     147456,     1024,     4096, 0x9d84eaec
-0,     148480,     148480,     1024,     4096, 0x0ecafb82
-0,     149504,     149504,     1024,     4096, 0x3898f9f9
-0,     150528,     150528,     1024,     4096, 0xbe95f626
-0,     151552,     151552,     1024,     4096, 0x2bd01290
-0,     152576,     152576,     1024,     4096, 0xb3ccf9cc
-0,     153600,     153600,     1024,     4096, 0x1d6510a7
-0,     154624,     154624,     1024,     4096, 0xb758f5ec
-0,     155648,     155648,     1024,     4096, 0xe163f2f7
-0,     156672,     156672,     1024,     4096, 0x208cf625
-0,     157696,     157696,     1024,     4096, 0x0e7ee529
-0,     158720,     158720,     1024,     4096, 0x82fef772
-0,     159744,     159744,     1024,     4096, 0xbcadfd1a
-0,     160768,     160768,     1024,     4096, 0xb84914e1
-0,     161792,     161792,     1024,     4096, 0xae9de78e
-0,     162816,     162816,     1024,     4096, 0x17afdd4d
-0,     163840,     163840,     1024,     4096, 0x6f41e1ac
-0,     164864,     164864,     1024,     4096, 0x07b2019e
-0,     165888,     165888,     1024,     4096, 0x92a9f923
-0,     166912,     166912,     1024,     4096, 0xb284f10b
-0,     167936,     167936,     1024,     4096, 0x6a3ffa40
-0,     168960,     168960,     1024,     4096, 0xaee7e8bd
-0,     169984,     169984,     1024,     4096, 0xa409e2f3
-0,     171008,     171008,     1024,     4096, 0x26f3f5ff
-0,     172032,     172032,     1024,     4096, 0x1a89eca5
-0,     173056,     173056,     1024,     4096, 0x8a49f293
-0,     174080,     174080,     1024,     4096, 0x9d4506f7
-0,     175104,     175104,     1024,     4096, 0x0ca2f075
-0,     176128,     176128,     1024,     4096, 0x7beb063f
-0,     177152,     177152,     1024,     4096, 0xe2b1e8a0
-0,     178176,     178176,     1024,     4096, 0xcc77fbd0
-0,     179200,     179200,     1024,     4096, 0x7c93f956
-0,     180224,     180224,     1024,     4096, 0xdb28fb69
-0,     181248,     181248,     1024,     4096, 0xe49afc39
-0,     182272,     182272,     1024,     4096, 0x60e904b5
-0,     183296,     183296,     1024,     4096, 0xbb67ebbc
-0,     184320,     184320,     1024,     4096, 0xc1e4ca2b
-0,     185344,     185344,     1024,     4096, 0xdcb8e550
-0,     186368,     186368,     1024,     4096, 0xe70bfe5d
-0,     187392,     187392,     1024,     4096, 0x5da3f4d4
-0,     188416,     188416,     1024,     4096, 0xfe9f04f6
-0,     189440,     189440,     1024,     4096, 0xf960f3cd
-0,     190464,     190464,     1024,     4096, 0xe6b7fc42
-0,     191488,     191488,     1024,     4096, 0xb8b9f1e2
-0,     192512,     192512,     1024,     4096, 0x520dd814
-0,     193536,     193536,     1024,     4096, 0x00f30212
-0,     194560,     194560,     1024,     4096, 0x8298f610
-0,     195584,     195584,     1024,     4096, 0xf0d9f47f
-0,     196608,     196608,     1024,     4096, 0x5063f4c4
-0,     197632,     197632,     1024,     4096, 0x6910f4bf
-0,     198656,     198656,     1024,     4096, 0x8c27ec24
-0,     199680,     199680,     1024,     4096, 0xf803052a
-0,     200704,     200704,     1024,     4096, 0xe31b1507
-0,     201728,     201728,     1024,     4096, 0x0ca30bbf
-0,     202752,     202752,     1024,     4096, 0x2659f272
-0,     203776,     203776,     1024,     4096, 0x54c0fc05
-0,     204800,     204800,     1024,     4096, 0x7427ebec
-0,     205824,     205824,     1024,     4096, 0xb652fd0c
-0,     206848,     206848,     1024,     4096, 0xa6c9f494
-0,     207872,     207872,     1024,     4096, 0xd429fef3
-0,     208896,     208896,     1024,     4096, 0xbbd5f8e3
-0,     209920,     209920,     1024,     4096, 0x8b74eed4
-0,     210944,     210944,     1024,     4096, 0xf21cfac1
-0,     211968,     211968,     1024,     4096, 0x055efc5f
-0,     212992,     212992,     1024,     4096, 0x334efc0f
-0,     214016,     214016,     1024,     4096, 0x29e7fc16
-0,     215040,     215040,     1024,     4096, 0xf0f904c0
-0,     216064,     216064,     1024,     4096, 0xaec3ebbb
-0,     217088,     217088,     1024,     4096, 0xc1e4ca2b
-0,     218112,     218112,     1024,     4096, 0xdcb8e550
-0,     219136,     219136,     1024,     4096, 0xe70bfe5d
-0,     220160,     220160,     1024,     4096, 0x5da3f4d4
-0,     221184,     221184,     1024,     4096, 0xfe9f04f6
-0,     222208,     222208,     1024,     4096, 0xf960f3cd
-0,     223232,     223232,     1024,     4096, 0xe6b7fc42
-0,     224256,     224256,     1024,     4096, 0xb8b9f1e2
-0,     225280,     225280,     1024,     4096, 0x520dd814
-0,     226304,     226304,     1024,     4096, 0x00f30212
-0,     227328,     227328,     1024,     4096, 0x8298f610
-0,     228352,     228352,     1024,     4096, 0xf0d9f47f
-0,     229376,     229376,     1024,     4096, 0x5063f4c4
-0,     230400,     230400,     1024,     4096, 0x6910f4bf
-0,     231424,     231424,     1024,     4096, 0x8c27ec24
-0,     232448,     232448,     1024,     4096, 0xf803052a
-0,     233472,     233472,     1024,     4096, 0xe31b1507
-0,     234496,     234496,     1024,     4096, 0x0ca30bbf
-0,     235520,     235520,     1024,     4096, 0x2659f272
-0,     236544,     236544,     1024,     4096, 0x54c0fc05
-0,     237568,     237568,     1024,     4096, 0x7427ebec
-0,     238592,     238592,     1024,     4096, 0xb652fd0c
-0,     239616,     239616,     1024,     4096, 0xa6c9f494
-0,     240640,     240640,     1024,     4096, 0xd429fef3
-0,     241664,     241664,     1024,     4096, 0xbbd5f8e3
-0,     242688,     242688,     1024,     4096, 0x8b74eed4
-0,     243712,     243712,     1024,     4096, 0xf21cfac1
-0,     244736,     244736,     1024,     4096, 0x055efc5f
-0,     245760,     245760,     1024,     4096, 0x334efc0f
-0,     246784,     246784,     1024,     4096, 0x29e7fc16
-0,     247808,     247808,     1024,     4096, 0xf0f904c0
-0,     248832,     248832,     1024,     4096, 0xaec3ebbb
-0,     249856,     249856,     1024,     4096, 0xc1e4ca2b
-0,     250880,     250880,     1024,     4096, 0xdcb8e550
-0,     251904,     251904,     1024,     4096, 0xe70bfe5d
-0,     252928,     252928,     1024,     4096, 0x5da3f4d4
-0,     253952,     253952,     1024,     4096, 0xfe9f04f6
-0,     254976,     254976,     1024,     4096, 0xf960f3cd
-0,     256000,     256000,     1024,     4096, 0xe6b7fc42
-0,     257024,     257024,     1024,     4096, 0xb8b9f1e2
-0,     258048,     258048,     1024,     4096, 0x520dd814
-0,     259072,     259072,     1024,     4096, 0x00f30212
-0,     260096,     260096,     1024,     4096, 0x8298f610
-0,     261120,     261120,     1024,     4096, 0xf0d9f47f
-0,     262144,     262144,     1024,     4096, 0x5063f4c4
-0,     263168,     263168,     1024,     4096, 0x6910f4bf
-0,     264192,     264192,      408,     1632, 0xe6d032c8
+0,          0,          0,     4096,    16384, 0x7dc2dfbb
+0,       4096,       4096,     4096,    16384, 0xda39e3c9
+0,       8192,       8192,     4096,    16384, 0x6df5e542
+0,      12288,      12288,     4096,    16384, 0xfbfade86
+0,      16384,      16384,     4096,    16384, 0x246fdffc
+0,      20480,      20480,     4096,    16384, 0x8a3adff6
+0,      24576,      24576,     4096,    16384, 0x8257dc73
+0,      28672,      28672,     4096,    16384, 0xae05e536
+0,      32768,      32768,     4096,    16384, 0xe42be3b7
+0,      36864,      36864,     4096,    16384, 0x0c9ee2c3
+0,      40960,      40960,     4096,    16384, 0xca7057c9
+0,      45056,      45056,     4096,    16384, 0x4c21ec54
+0,      49152,      49152,     4096,    16384, 0x20b2f662
+0,      53248,      53248,     4096,    16384, 0xc8b0e977
+0,      57344,      57344,     4096,    16384, 0x7f5a21ab
+0,      61440,      61440,     4096,    16384, 0x3173c508
+0,      65536,      65536,     4096,    16384, 0x4dffc801
+0,      69632,      69632,     4096,    16384, 0x5c1ef10a
+0,      73728,      73728,     4096,    16384, 0x08990159
+0,      77824,      77824,     4096,    16384, 0xad60d3f2
+0,      81920,      81920,     4096,    16384, 0xc6ab1f91
+0,      86016,      86016,     4096,    16384, 0x9c5ce6c2
+0,      90112,      90112,     4096,    16384, 0xaeca0a67
+0,      94208,      94208,     4096,    16384, 0x531ba571
+0,      98304,      98304,     4096,    16384, 0x8ceb5cf3
+0,     102400,     102400,     4096,    16384, 0xbf1e7000
+0,     106496,     106496,     4096,    16384, 0x335b6d26
+0,     110592,     110592,     4096,    16384, 0x495eac61
+0,     114688,     114688,     4096,    16384, 0x0f84ae29
+0,     118784,     118784,     4096,    16384, 0xf79308d3
+0,     122880,     122880,     4096,    16384, 0x8cf2c42c
+0,     126976,     126976,     4096,    16384, 0xe06be184
+0,     131072,     131072,     4096,    16384, 0xbba3f99d
+0,     135168,     135168,     4096,    16384, 0x07eed92e
+0,     139264,     139264,     4096,    16384, 0x4943eed1
+0,     143360,     143360,     4096,    16384, 0x6555e050
+0,     147456,     147456,     4096,    16384, 0x0a88d6ba
+0,     151552,     151552,     4096,    16384, 0xbcb7130d
+0,     155648,     155648,     4096,    16384, 0x637fc5e4
+0,     159744,     159744,     4096,    16384, 0xe3a3d6f4
+0,     163840,     163840,     4096,    16384, 0x53b5cd96
+0,     167936,     167936,     4096,    16384, 0xfd79bc1c
+0,     172032,     172032,     4096,    16384, 0x75f3d6c2
+0,     176128,     176128,     4096,    16384, 0x29c4e423
+0,     180224,     180224,     4096,    16384, 0x9ce5e831
+0,     184320,     184320,     4096,    16384, 0x98bba2d9
+0,     188416,     188416,     4096,    16384, 0x3b5de705
+0,     192512,     192512,     4096,    16384, 0x1105c4d3
+0,     196608,     196608,     4096,    16384, 0x76b7daef
+0,     200704,     200704,     4096,    16384, 0xef650f5b
+0,     204800,     204800,     4096,    16384, 0xfd1ddcac
+0,     208896,     208896,     4096,    16384, 0xc60bdf04
+0,     212992,     212992,     4096,    16384, 0x2f59e8be
+0,     217088,     217088,     4096,    16384, 0x98bba2d9
+0,     221184,     221184,     4096,    16384, 0x3b5de705
+0,     225280,     225280,     4096,    16384, 0x1105c4d3
+0,     229376,     229376,     4096,    16384, 0x76b7daef
+0,     233472,     233472,     4096,    16384, 0xef650f5b
+0,     237568,     237568,     4096,    16384, 0xfd1ddcac
+0,     241664,     241664,     4096,    16384, 0xc60bdf04
+0,     245760,     245760,     4096,    16384, 0x2f59e8be
+0,     249856,     249856,     4096,    16384, 0x98bba2d9
+0,     253952,     253952,     4096,    16384, 0x3b5de705
+0,     258048,     258048,     4096,    16384, 0x1105c4d3
+0,     262144,     262144,     2456,     9824, 0x1fe31c69
diff --git a/tests/ref/fate/filter-apad b/tests/ref/fate/filter-apad
index 79ed050a4b..b5c96e067a 100644
--- a/tests/ref/fate/filter-apad
+++ b/tests/ref/fate/filter-apad
@@ -3,263 +3,69 @@ 
 #codec_id 0: pcm_s16le
 #sample_rate 0: 44100
 #channel_layout_name 0: stereo
-0,          0,          0,     1024,     4096, 0x29e3eecf
-0,       1024,       1024,     1024,     4096, 0x18390b96
-0,       2048,       2048,     1024,     4096, 0xc477fa99
-0,       3072,       3072,     1024,     4096, 0x3bc0f14f
-0,       4096,       4096,     1024,     4096, 0x2379ed91
-0,       5120,       5120,     1024,     4096, 0xfd6a0070
-0,       6144,       6144,     1024,     4096, 0x0b01f4cf
-0,       7168,       7168,     1024,     4096, 0x6716fd93
-0,       8192,       8192,     1024,     4096, 0x1840f25b
-0,       9216,       9216,     1024,     4096, 0x9c1ffaf1
-0,      10240,      10240,     1024,     4096, 0xcbedefaf
-0,      11264,      11264,     1024,     4096, 0x3e050390
-0,      12288,      12288,     1024,     4096, 0xb30e0090
-0,      13312,      13312,     1024,     4096, 0x26b8f75b
-0,      14336,      14336,     1024,     4096, 0xd706e311
-0,      15360,      15360,     1024,     4096, 0x0c480138
-0,      16384,      16384,     1024,     4096, 0x6c9a0216
-0,      17408,      17408,     1024,     4096, 0x7abce54f
-0,      18432,      18432,     1024,     4096, 0xda45f63f
-0,      19456,      19456,     1024,     4096, 0x50d5ff87
-0,      20480,      20480,     1024,     4096, 0x59be0352
-0,      21504,      21504,     1024,     4096, 0xa61af077
-0,      22528,      22528,     1024,     4096, 0x84c4fc07
-0,      23552,      23552,     1024,     4096, 0x4a35f345
-0,      24576,      24576,     1024,     4096, 0xbb65fa81
-0,      25600,      25600,     1024,     4096, 0xf6c7f5e5
-0,      26624,      26624,     1024,     4096, 0xd3270138
-0,      27648,      27648,     1024,     4096, 0x4782ed53
-0,      28672,      28672,     1024,     4096, 0xe308f055
-0,      29696,      29696,     1024,     4096, 0x7d33f97d
-0,      30720,      30720,     1024,     4096, 0xb8b00dd4
-0,      31744,      31744,     1024,     4096, 0x7ff7efab
-0,      32768,      32768,     1024,     4096, 0x29e3eecf
-0,      33792,      33792,     1024,     4096, 0x18390b96
-0,      34816,      34816,     1024,     4096, 0xc477fa99
-0,      35840,      35840,     1024,     4096, 0x3bc0f14f
-0,      36864,      36864,     1024,     4096, 0x2379ed91
-0,      37888,      37888,     1024,     4096, 0xfd6a0070
-0,      38912,      38912,     1024,     4096, 0x0b01f4cf
-0,      39936,      39936,     1024,     4096, 0x6716fd93
-0,      40960,      40960,     1024,     4096, 0x1840f25b
-0,      41984,      41984,     1024,     4096, 0x9c1ffaf1
-0,      43008,      43008,     1024,     4096, 0xcbedefaf
-0,      44032,      44032,     1024,     4096, 0xda37d691
-0,      45056,      45056,     1024,     4096, 0x7193ecbf
-0,      46080,      46080,     1024,     4096, 0x6e4a0a36
-0,      47104,      47104,     1024,     4096, 0x61cfe70d
-0,      48128,      48128,     1024,     4096, 0xc19ffa15
-0,      49152,      49152,     1024,     4096, 0x7b32fb3d
-0,      50176,      50176,     1024,     4096, 0xdacefd3f
-0,      51200,      51200,     1024,     4096, 0x3964f64d
-0,      52224,      52224,     1024,     4096, 0xdcf2edad
-0,      53248,      53248,     1024,     4096, 0x1367f69b
-0,      54272,      54272,     1024,     4096, 0xd4c6f7b9
-0,      55296,      55296,     1024,     4096, 0x9e041186
-0,      56320,      56320,     1024,     4096, 0xe939edd7
-0,      57344,      57344,     1024,     4096, 0xa932336a
-0,      58368,      58368,     1024,     4096, 0x5f510e28
-0,      59392,      59392,     1024,     4096, 0x4b8501c8
-0,      60416,      60416,     1024,     4096, 0xfbc30250
-0,      61440,      61440,     1024,     4096, 0x5e7fd855
-0,      62464,      62464,     1024,     4096, 0x8ef1f265
-0,      63488,      63488,     1024,     4096, 0x9f7601c2
-0,      64512,      64512,     1024,     4096, 0xb400f0b7
-0,      65536,      65536,     1024,     4096, 0x4c91e10b
-0,      66560,      66560,     1024,     4096, 0x3f41fe61
-0,      67584,      67584,     1024,     4096, 0x74fff9b9
-0,      68608,      68608,     1024,     4096, 0x18bbf5a5
-0,      69632,      69632,     1024,     4096, 0x51a70180
-0,      70656,      70656,     1024,     4096, 0x29f3e8c5
-0,      71680,      71680,     1024,     4096, 0x562efdb9
-0,      72704,      72704,     1024,     4096, 0xa2e006e0
-0,      73728,      73728,     1024,     4096, 0xa1bff541
-0,      74752,      74752,     1024,     4096, 0xd95b0012
-0,      75776,      75776,     1024,     4096, 0xd93e0912
-0,      76800,      76800,     1024,     4096, 0x6c2a1d88
-0,      77824,      77824,     1024,     4096, 0xb4d8fb8b
-0,      78848,      78848,     1024,     4096, 0xf14b0492
-0,      79872,      79872,     1024,     4096, 0x1c7be7b7
-0,      80896,      80896,     1024,     4096, 0xc181f877
-0,      81920,      81920,     1024,     4096, 0xba132d14
-0,      82944,      82944,     1024,     4096, 0xabae2d9a
-0,      83968,      83968,     1024,     4096, 0xb07fff15
-0,      84992,      84992,     1024,     4096, 0xa0c1ff2d
-0,      86016,      86016,     1024,     4096, 0x19f7fd1f
-0,      87040,      87040,     1024,     4096, 0xcb6d11a4
-0,      88064,      88064,     1024,     4096, 0x166ac8b7
-0,      89088,      89088,     1024,     4096, 0xe68dda8f
-0,      90112,      90112,     1024,     4096, 0xe457b505
-0,      91136,      91136,     1024,     4096, 0xda25a409
-0,      92160,      92160,     1024,     4096, 0x5b5d9d3b
-0,      93184,      93184,     1024,     4096, 0xa61eb13d
-0,      94208,      94208,     1024,     4096, 0xac93b66f
-0,      95232,      95232,     1024,     4096, 0xc7aeb33f
-0,      96256,      96256,     1024,     4096, 0x52cccfb5
-0,      97280,      97280,     1024,     4096, 0x4e4cf487
-0,      98304,      98304,     1024,     4096, 0x19c07f35
-0,      99328,      99328,     1024,     4096, 0x63ecd34f
-0,     100352,     100352,     1024,     4096, 0x122aec53
-0,     101376,     101376,     1024,     4096, 0x6581c0ad
-0,     102400,     102400,     1024,     4096, 0x640edb15
-0,     103424,     103424,     1024,     4096, 0x5d66c66f
-0,     104448,     104448,     1024,     4096, 0x069e9d35
-0,     105472,     105472,     1024,     4096, 0x5c9fd0e9
-0,     106496,     106496,     1024,     4096, 0x72468667
-0,     107520,     107520,     1024,     4096, 0x6e6dd02b
-0,     108544,     108544,     1024,     4096, 0x93edce33
-0,     109568,     109568,     1024,     4096, 0xcdfbd519
-0,     110592,     110592,     1024,     4096, 0x8463f2bb
-0,     111616,     111616,     1024,     4096, 0x5ca6f869
-0,     112640,     112640,     1024,     4096, 0x099a0398
-0,     113664,     113664,     1024,     4096, 0xa7fa10f0
-0,     114688,     114688,     1024,     4096, 0x28caddd3
-0,     115712,     115712,     1024,     4096, 0x4852ef8b
-0,     116736,     116736,     1024,     4096, 0x0250ee7b
-0,     117760,     117760,     1024,     4096, 0x9583da21
-0,     118784,     118784,     1024,     4096, 0x7365fb33
-0,     119808,     119808,     1024,     4096, 0x28c82066
-0,     120832,     120832,     1024,     4096, 0x94650be4
-0,     121856,     121856,     1024,     4096, 0xeb21f8eb
-0,     122880,     122880,     1024,     4096, 0xcd88f455
-0,     123904,     123904,     1024,     4096, 0x66a9efaf
-0,     124928,     124928,     1024,     4096, 0x5500c6ed
-0,     125952,     125952,     1024,     4096, 0x0ee0c62d
-0,     126976,     126976,     1024,     4096, 0x34d30762
-0,     128000,     128000,     1024,     4096, 0x8c0dec9f
-0,     129024,     129024,     1024,     4096, 0x790011d8
-0,     130048,     130048,     1024,     4096, 0xb76a1136
-0,     131072,     131072,     1024,     4096, 0x7dddfea7
-0,     132096,     132096,     1024,     4096, 0xdfa3ed49
-0,     133120,     133120,     1024,     4096, 0xc129f54e
-0,     134144,     134144,     1024,     4096, 0x9a86f077
-0,     135168,     135168,     1024,     4096, 0xc9eef209
-0,     136192,     136192,     1024,     4096, 0x72d4029b
-0,     137216,     137216,     1024,     4096, 0x8ec20590
-0,     138240,     138240,     1024,     4096, 0xd48f18ed
-0,     139264,     139264,     1024,     4096, 0xd807eadc
-0,     140288,     140288,     1024,     4096, 0x1e2bea09
-0,     141312,     141312,     1024,     4096, 0x937af12e
-0,     142336,     142336,     1024,     4096, 0xdedbf303
-0,     143360,     143360,     1024,     4096, 0xdc75df88
-0,     144384,     144384,     1024,     4096, 0x1845ffd6
-0,     145408,     145408,     1024,     4096, 0x20e8150c
-0,     146432,     146432,     1024,     4096, 0x5ea7eeef
-0,     147456,     147456,     1024,     4096, 0x4c7efa21
-0,     148480,     148480,     1024,     4096, 0x8b97e30e
-0,     149504,     149504,     1024,     4096, 0xe5040228
-0,     150528,     150528,     1024,     4096, 0x6283f78c
-0,     151552,     151552,     1024,     4096, 0xe7100140
-0,     152576,     152576,     1024,     4096, 0x9ea6f9b2
-0,     153600,     153600,     1024,     4096, 0x5f0e1563
-0,     154624,     154624,     1024,     4096, 0x510bf18e
-0,     155648,     155648,     1024,     4096, 0x5f4fe425
-0,     156672,     156672,     1024,     4096, 0x507af3c0
-0,     157696,     157696,     1024,     4096, 0xbf14ddc6
-0,     158720,     158720,     1024,     4096, 0x1871ed69
-0,     159744,     159744,     1024,     4096, 0xc349ef9f
-0,     160768,     160768,     1024,     4096, 0x4e2c1834
-0,     161792,     161792,     1024,     4096, 0x2383fe04
-0,     162816,     162816,     1024,     4096, 0x6626f415
-0,     163840,     163840,     1024,     4096, 0x283be379
-0,     164864,     164864,     1024,     4096, 0xc76c0ceb
-0,     165888,     165888,     1024,     4096, 0xa0b8040f
-0,     166912,     166912,     1024,     4096, 0x2535eb6d
-0,     167936,     167936,     1024,     4096, 0xeb180bb5
-0,     168960,     168960,     1024,     4096, 0xbc5cf059
-0,     169984,     169984,     1024,     4096, 0x1862f1ac
-0,     171008,     171008,     1024,     4096, 0x9cc2ea2b
-0,     172032,     172032,     1024,     4096, 0xbb9ae754
-0,     173056,     173056,     1024,     4096, 0x716debb5
-0,     174080,     174080,     1024,     4096, 0xff3aff2a
-0,     175104,     175104,     1024,     4096, 0x755dfa5c
-0,     176128,     176128,     1024,     4096, 0x3b830605
-0,     177152,     177152,     1024,     4096, 0x0030dc9e
-0,     178176,     178176,     1024,     4096, 0xb017fd54
-0,     179200,     179200,     1024,     4096, 0x5c7dfa2e
-0,     180224,     180224,     1024,     4096, 0x7887e599
-0,     181248,     181248,     1024,     4096, 0xb730e72f
-0,     182272,     182272,     1024,     4096, 0x6bb3fae4
-0,     183296,     183296,     1024,     4096, 0xcc08fc36
-0,     184320,     184320,     1024,     4096, 0x5afd9ec2
-0,     185344,     185344,     1024,     4096, 0xa1d3e83d
-0,     186368,     186368,     1024,     4096, 0x7f96013c
-0,     187392,     187392,     1024,     4096, 0x7a0afe31
-0,     188416,     188416,     1024,     4096, 0xa37d1701
-0,     189440,     189440,     1024,     4096, 0x4615ebc2
-0,     190464,     190464,     1024,     4096, 0x217005c1
-0,     191488,     191488,     1024,     4096, 0x1755f789
-0,     192512,     192512,     1024,     4096, 0x83e6db65
-0,     193536,     193536,     1024,     4096, 0x92ab1447
-0,     194560,     194560,     1024,     4096, 0xedbdf383
-0,     195584,     195584,     1024,     4096, 0x4316f6a9
-0,     196608,     196608,     1024,     4096, 0x1a6a0b4c
-0,     197632,     197632,     1024,     4096, 0xdfd809b7
-0,     198656,     198656,     1024,     4096, 0x1d2cf5f1
-0,     199680,     199680,     1024,     4096, 0xd366f4a1
-0,     200704,     200704,     1024,     4096, 0x6a2f86e0
-0,     201728,     201728,     1024,     4096, 0xf51f08a9
-0,     202752,     202752,     1024,     4096, 0x05edefa8
-0,     203776,     203776,     1024,     4096, 0x255df2a6
-0,     204800,     204800,     1024,     4096, 0xe881d9e4
-0,     205824,     205824,     1024,     4096, 0x50380523
-0,     206848,     206848,     1024,     4096, 0x8b93eb26
-0,     207872,     207872,     1024,     4096, 0x759cf94c
-0,     208896,     208896,     1024,     4096, 0x8474f591
-0,     209920,     209920,     1024,     4096, 0x0030dc9e
-0,     210944,     210944,     1024,     4096, 0xb017fd54
-0,     211968,     211968,     1024,     4096, 0x5c7dfa2e
-0,     212992,     212992,     1024,     4096, 0x7887e599
-0,     214016,     214016,     1024,     4096, 0xb730e72f
-0,     215040,     215040,     1024,     4096, 0x6bb3fae4
-0,     216064,     216064,     1024,     4096, 0xcc08fc36
-0,     217088,     217088,     1024,     4096, 0x5afd9ec2
-0,     218112,     218112,     1024,     4096, 0xa1d3e83d
-0,     219136,     219136,     1024,     4096, 0x7f96013c
-0,     220160,     220160,     1024,     4096, 0x7a0afe31
-0,     221184,     221184,     1024,     4096, 0xa37d1701
-0,     222208,     222208,     1024,     4096, 0x4615ebc2
-0,     223232,     223232,     1024,     4096, 0x217005c1
-0,     224256,     224256,     1024,     4096, 0x1755f789
-0,     225280,     225280,     1024,     4096, 0x83e6db65
-0,     226304,     226304,     1024,     4096, 0x92ab1447
-0,     227328,     227328,     1024,     4096, 0xedbdf383
-0,     228352,     228352,     1024,     4096, 0x4316f6a9
-0,     229376,     229376,     1024,     4096, 0x1a6a0b4c
-0,     230400,     230400,     1024,     4096, 0xdfd809b7
-0,     231424,     231424,     1024,     4096, 0x1d2cf5f1
-0,     232448,     232448,     1024,     4096, 0xd366f4a1
-0,     233472,     233472,     1024,     4096, 0x6a2f86e0
-0,     234496,     234496,     1024,     4096, 0xf51f08a9
-0,     235520,     235520,     1024,     4096, 0x05edefa8
-0,     236544,     236544,     1024,     4096, 0x255df2a6
-0,     237568,     237568,     1024,     4096, 0xe881d9e4
-0,     238592,     238592,     1024,     4096, 0x50380523
-0,     239616,     239616,     1024,     4096, 0x8b93eb26
-0,     240640,     240640,     1024,     4096, 0x759cf94c
-0,     241664,     241664,     1024,     4096, 0x8474f591
-0,     242688,     242688,     1024,     4096, 0x0030dc9e
-0,     243712,     243712,     1024,     4096, 0xb017fd54
-0,     244736,     244736,     1024,     4096, 0x5c7dfa2e
-0,     245760,     245760,     1024,     4096, 0x7887e599
-0,     246784,     246784,     1024,     4096, 0xb730e72f
-0,     247808,     247808,     1024,     4096, 0x6bb3fae4
-0,     248832,     248832,     1024,     4096, 0xcc08fc36
-0,     249856,     249856,     1024,     4096, 0x5afd9ec2
-0,     250880,     250880,     1024,     4096, 0xa1d3e83d
-0,     251904,     251904,     1024,     4096, 0x7f96013c
-0,     252928,     252928,     1024,     4096, 0x7a0afe31
-0,     253952,     253952,     1024,     4096, 0xa37d1701
-0,     254976,     254976,     1024,     4096, 0x4615ebc2
-0,     256000,     256000,     1024,     4096, 0x217005c1
-0,     257024,     257024,     1024,     4096, 0x1755f789
-0,     258048,     258048,     1024,     4096, 0x83e6db65
-0,     259072,     259072,     1024,     4096, 0x92ab1447
-0,     260096,     260096,     1024,     4096, 0xedbdf383
-0,     261120,     261120,     1024,     4096, 0x4316f6a9
-0,     262144,     262144,     1024,     4096, 0x1a6a0b4c
-0,     263168,     263168,     1024,     4096, 0xdfd809b7
-0,     264192,     264192,      408,     1632, 0xf412313e
+0,          0,          0,     4096,    16384, 0x02ebe66b
+0,       4096,       4096,     4096,    16384, 0x35bfe081
+0,       8192,       8192,     4096,    16384, 0x3f90e0a9
+0,      12288,      12288,     4096,    16384, 0xd389dc43
+0,      16384,      16384,     4096,    16384, 0x9d5add49
+0,      20480,      20480,     4096,    16384, 0x378ee333
+0,      24576,      24576,     4096,    16384, 0xabf6df0f
+0,      28672,      28672,     4096,    16384, 0xedefe76f
+0,      32768,      32768,     4096,    16384, 0x02ebe66b
+0,      36864,      36864,     4096,    16384, 0x35bfe081
+0,      40960,      40960,     4096,    16384, 0xdbc2b3b9
+0,      45056,      45056,     4096,    16384, 0xe92bd835
+0,      49152,      49152,     4096,    16384, 0x1126dca3
+0,      53248,      53248,     4096,    16384, 0x9647edcf
+0,      57344,      57344,     4096,    16384, 0x5cc345aa
+0,      61440,      61440,     4096,    16384, 0x19d7bd51
+0,      65536,      65536,     4096,    16384, 0x19eccef7
+0,      69632,      69632,     4096,    16384, 0x4b68eeed
+0,      73728,      73728,     4096,    16384, 0x0b3d1bfc
+0,      77824,      77824,     4096,    16384, 0xe9b2e069
+0,      81920,      81920,     4096,    16384, 0xcaa5590e
+0,      86016,      86016,     4096,    16384, 0x47d0b227
+0,      90112,      90112,     4096,    16384, 0x446ba7a4
+0,      94208,      94208,     4096,    16384, 0x299b2e17
+0,      98304,      98304,     4096,    16384, 0xc51affa2
+0,     102400,     102400,     4096,    16384, 0xb4970fcf
+0,     106496,     106496,     4096,    16384, 0xe48af9fc
+0,     110592,     110592,     4096,    16384, 0xc2beffbb
+0,     114688,     114688,     4096,    16384, 0xb9d99627
+0,     118784,     118784,     4096,    16384, 0xb65a2086
+0,     122880,     122880,     4096,    16384, 0x6386714b
+0,     126976,     126976,     4096,    16384, 0x92a3171e
+0,     131072,     131072,     4096,    16384, 0x78bad1e2
+0,     135168,     135168,     4096,    16384, 0x63301330
+0,     139264,     139264,     4096,    16384, 0xd663b943
+0,     143360,     143360,     4096,    16384, 0xdcafe377
+0,     147456,     147456,     4096,    16384, 0xfb2cd701
+0,     151552,     151552,     4096,    16384, 0x91c30201
+0,     155648,     155648,     4096,    16384, 0xf23da341
+0,     159744,     159744,     4096,    16384, 0xe8d5fa0a
+0,     163840,     163840,     4096,    16384, 0x519bdfef
+0,     167936,     167936,     4096,    16384, 0xf2fcd803
+0,     172032,     172032,     4096,    16384, 0xd5ceccbc
+0,     176128,     176128,     4096,    16384, 0xd48ada43
+0,     180224,     180224,     4096,    16384, 0x5a4ac40f
+0,     184320,     184320,     4096,    16384, 0x29db868a
+0,     188416,     188416,     4096,    16384, 0xa2a0002b
+0,     192512,     192512,     4096,    16384, 0xbb0bd9f6
+0,     196608,     196608,     4096,    16384, 0x338dffa4
+0,     200704,     200704,     4096,    16384, 0x970b71f5
+0,     204800,     204800,     4096,    16384, 0x0521c397
+0,     208896,     208896,     4096,    16384, 0xff5ec9de
+0,     212992,     212992,     4096,    16384, 0x5a4ac40f
+0,     217088,     217088,     4096,    16384, 0x29db868a
+0,     221184,     221184,     4096,    16384, 0xa2a0002b
+0,     225280,     225280,     4096,    16384, 0xbb0bd9f6
+0,     229376,     229376,     4096,    16384, 0x338dffa4
+0,     233472,     233472,     4096,    16384, 0x970b71f5
+0,     237568,     237568,     4096,    16384, 0x0521c397
+0,     241664,     241664,     4096,    16384, 0xff5ec9de
+0,     245760,     245760,     4096,    16384, 0x5a4ac40f
+0,     249856,     249856,     4096,    16384, 0x29db868a
+0,     253952,     253952,     4096,    16384, 0xa2a0002b
+0,     258048,     258048,     4096,    16384, 0xbb0bd9f6
+0,     262144,     262144,     2456,     9824, 0xb3f84641
 0,     264600,     264600,       10,       40, 0x00000000
diff --git a/tests/ref/fate/filter-asegment-samples-absolute b/tests/ref/fate/filter-asegment-samples-absolute
index 69d4013f5f..4090459aa7 100644
--- a/tests/ref/fate/filter-asegment-samples-absolute
+++ b/tests/ref/fate/filter-asegment-samples-absolute
@@ -13,262 +13,68 @@ 
 #codec_id 2: pcm_s16le
 #sample_rate 2: 44100
 #channel_layout_name 2: stereo
-0,          0,          0,     1024,     4096, 0x29e3eecf
-0,       1024,       1024,     1024,     4096, 0x18390b96
-0,       2048,       2048,     1024,     4096, 0xc477fa99
-0,       3072,       3072,     1024,     4096, 0x3bc0f14f
-0,       4096,       4096,     1024,     4096, 0x2379ed91
-0,       5120,       5120,     1024,     4096, 0xfd6a0070
-0,       6144,       6144,     1024,     4096, 0x0b01f4cf
-0,       7168,       7168,     1024,     4096, 0x6716fd93
-0,       8192,       8192,     1024,     4096, 0x1840f25b
-0,       9216,       9216,      784,     3136, 0x048e2dc2
-1,      10000,      10000,     1264,     5056, 0x7265bced
-1,      11264,      11264,     1024,     4096, 0x3e050390
-1,      12288,      12288,     1024,     4096, 0xb30e0090
-1,      13312,      13312,     1024,     4096, 0x26b8f75b
-1,      14336,      14336,     1024,     4096, 0xd706e311
-1,      15360,      15360,     1024,     4096, 0x0c480138
-1,      16384,      16384,     1024,     4096, 0x6c9a0216
-1,      17408,      17408,     1024,     4096, 0x7abce54f
-1,      18432,      18432,     1024,     4096, 0xda45f63f
-1,      19456,      19456,      544,     2176, 0x3b54483e
-2,      20000,      20000,     1504,     6016, 0xba58ba9b
-2,      21504,      21504,     1024,     4096, 0xa61af077
-2,      22528,      22528,     1024,     4096, 0x84c4fc07
-2,      23552,      23552,     1024,     4096, 0x4a35f345
-2,      24576,      24576,     1024,     4096, 0xbb65fa81
-2,      25600,      25600,     1024,     4096, 0xf6c7f5e5
-2,      26624,      26624,     1024,     4096, 0xd3270138
-2,      27648,      27648,     1024,     4096, 0x4782ed53
-2,      28672,      28672,     1024,     4096, 0xe308f055
-2,      29696,      29696,     1024,     4096, 0x7d33f97d
-2,      30720,      30720,     1024,     4096, 0xb8b00dd4
-2,      31744,      31744,     1024,     4096, 0x7ff7efab
-2,      32768,      32768,     1024,     4096, 0x29e3eecf
-2,      33792,      33792,     1024,     4096, 0x18390b96
-2,      34816,      34816,     1024,     4096, 0xc477fa99
-2,      35840,      35840,     1024,     4096, 0x3bc0f14f
-2,      36864,      36864,     1024,     4096, 0x2379ed91
-2,      37888,      37888,     1024,     4096, 0xfd6a0070
-2,      38912,      38912,     1024,     4096, 0x0b01f4cf
-2,      39936,      39936,     1024,     4096, 0x6716fd93
-2,      40960,      40960,     1024,     4096, 0x1840f25b
-2,      41984,      41984,     1024,     4096, 0x9c1ffaf1
-2,      43008,      43008,     1024,     4096, 0xcbedefaf
-2,      44032,      44032,     1024,     4096, 0xda37d691
-2,      45056,      45056,     1024,     4096, 0x7193ecbf
-2,      46080,      46080,     1024,     4096, 0x6e4a0a36
-2,      47104,      47104,     1024,     4096, 0x61cfe70d
-2,      48128,      48128,     1024,     4096, 0xc19ffa15
-2,      49152,      49152,     1024,     4096, 0x7b32fb3d
-2,      50176,      50176,     1024,     4096, 0xdacefd3f
-2,      51200,      51200,     1024,     4096, 0x3964f64d
-2,      52224,      52224,     1024,     4096, 0xdcf2edad
-2,      53248,      53248,     1024,     4096, 0x1367f69b
-2,      54272,      54272,     1024,     4096, 0xd4c6f7b9
-2,      55296,      55296,     1024,     4096, 0x9e041186
-2,      56320,      56320,     1024,     4096, 0xe939edd7
-2,      57344,      57344,     1024,     4096, 0xa932336a
-2,      58368,      58368,     1024,     4096, 0x5f510e28
-2,      59392,      59392,     1024,     4096, 0x4b8501c8
-2,      60416,      60416,     1024,     4096, 0xfbc30250
-2,      61440,      61440,     1024,     4096, 0x5e7fd855
-2,      62464,      62464,     1024,     4096, 0x8ef1f265
-2,      63488,      63488,     1024,     4096, 0x9f7601c2
-2,      64512,      64512,     1024,     4096, 0xb400f0b7
-2,      65536,      65536,     1024,     4096, 0x4c91e10b
-2,      66560,      66560,     1024,     4096, 0x3f41fe61
-2,      67584,      67584,     1024,     4096, 0x74fff9b9
-2,      68608,      68608,     1024,     4096, 0x18bbf5a5
-2,      69632,      69632,     1024,     4096, 0x51a70180
-2,      70656,      70656,     1024,     4096, 0x29f3e8c5
-2,      71680,      71680,     1024,     4096, 0x562efdb9
-2,      72704,      72704,     1024,     4096, 0xa2e006e0
-2,      73728,      73728,     1024,     4096, 0xa1bff541
-2,      74752,      74752,     1024,     4096, 0xd95b0012
-2,      75776,      75776,     1024,     4096, 0xd93e0912
-2,      76800,      76800,     1024,     4096, 0x6c2a1d88
-2,      77824,      77824,     1024,     4096, 0xb4d8fb8b
-2,      78848,      78848,     1024,     4096, 0xf14b0492
-2,      79872,      79872,     1024,     4096, 0x1c7be7b7
-2,      80896,      80896,     1024,     4096, 0xc181f877
-2,      81920,      81920,     1024,     4096, 0xba132d14
-2,      82944,      82944,     1024,     4096, 0xabae2d9a
-2,      83968,      83968,     1024,     4096, 0xb07fff15
-2,      84992,      84992,     1024,     4096, 0xa0c1ff2d
-2,      86016,      86016,     1024,     4096, 0x19f7fd1f
-2,      87040,      87040,     1024,     4096, 0xcb6d11a4
-2,      88064,      88064,     1024,     4096, 0x166ac8b7
-2,      89088,      89088,     1024,     4096, 0xe68dda8f
-2,      90112,      90112,     1024,     4096, 0xe457b505
-2,      91136,      91136,     1024,     4096, 0xda25a409
-2,      92160,      92160,     1024,     4096, 0x5b5d9d3b
-2,      93184,      93184,     1024,     4096, 0xa61eb13d
-2,      94208,      94208,     1024,     4096, 0xac93b66f
-2,      95232,      95232,     1024,     4096, 0xc7aeb33f
-2,      96256,      96256,     1024,     4096, 0x52cccfb5
-2,      97280,      97280,     1024,     4096, 0x4e4cf487
-2,      98304,      98304,     1024,     4096, 0x19c07f35
-2,      99328,      99328,     1024,     4096, 0x63ecd34f
-2,     100352,     100352,     1024,     4096, 0x122aec53
-2,     101376,     101376,     1024,     4096, 0x6581c0ad
-2,     102400,     102400,     1024,     4096, 0x640edb15
-2,     103424,     103424,     1024,     4096, 0x5d66c66f
-2,     104448,     104448,     1024,     4096, 0x069e9d35
-2,     105472,     105472,     1024,     4096, 0x5c9fd0e9
-2,     106496,     106496,     1024,     4096, 0x72468667
-2,     107520,     107520,     1024,     4096, 0x6e6dd02b
-2,     108544,     108544,     1024,     4096, 0x93edce33
-2,     109568,     109568,     1024,     4096, 0xcdfbd519
-2,     110592,     110592,     1024,     4096, 0x8463f2bb
-2,     111616,     111616,     1024,     4096, 0x5ca6f869
-2,     112640,     112640,     1024,     4096, 0x099a0398
-2,     113664,     113664,     1024,     4096, 0xa7fa10f0
-2,     114688,     114688,     1024,     4096, 0x28caddd3
-2,     115712,     115712,     1024,     4096, 0x4852ef8b
-2,     116736,     116736,     1024,     4096, 0x0250ee7b
-2,     117760,     117760,     1024,     4096, 0x9583da21
-2,     118784,     118784,     1024,     4096, 0x7365fb33
-2,     119808,     119808,     1024,     4096, 0x28c82066
-2,     120832,     120832,     1024,     4096, 0x94650be4
-2,     121856,     121856,     1024,     4096, 0xeb21f8eb
-2,     122880,     122880,     1024,     4096, 0xcd88f455
-2,     123904,     123904,     1024,     4096, 0x66a9efaf
-2,     124928,     124928,     1024,     4096, 0x5500c6ed
-2,     125952,     125952,     1024,     4096, 0x0ee0c62d
-2,     126976,     126976,     1024,     4096, 0x34d30762
-2,     128000,     128000,     1024,     4096, 0x8c0dec9f
-2,     129024,     129024,     1024,     4096, 0x790011d8
-2,     130048,     130048,     1024,     4096, 0xb76a1136
-2,     131072,     131072,     1024,     4096, 0x7dddfea7
-2,     132096,     132096,     1024,     4096, 0xdfa3ed49
-2,     133120,     133120,     1024,     4096, 0xc129f54e
-2,     134144,     134144,     1024,     4096, 0x9a86f077
-2,     135168,     135168,     1024,     4096, 0xc9eef209
-2,     136192,     136192,     1024,     4096, 0x72d4029b
-2,     137216,     137216,     1024,     4096, 0x8ec20590
-2,     138240,     138240,     1024,     4096, 0xd48f18ed
-2,     139264,     139264,     1024,     4096, 0xd807eadc
-2,     140288,     140288,     1024,     4096, 0x1e2bea09
-2,     141312,     141312,     1024,     4096, 0x937af12e
-2,     142336,     142336,     1024,     4096, 0xdedbf303
-2,     143360,     143360,     1024,     4096, 0xdc75df88
-2,     144384,     144384,     1024,     4096, 0x1845ffd6
-2,     145408,     145408,     1024,     4096, 0x20e8150c
-2,     146432,     146432,     1024,     4096, 0x5ea7eeef
-2,     147456,     147456,     1024,     4096, 0x4c7efa21
-2,     148480,     148480,     1024,     4096, 0x8b97e30e
-2,     149504,     149504,     1024,     4096, 0xe5040228
-2,     150528,     150528,     1024,     4096, 0x6283f78c
-2,     151552,     151552,     1024,     4096, 0xe7100140
-2,     152576,     152576,     1024,     4096, 0x9ea6f9b2
-2,     153600,     153600,     1024,     4096, 0x5f0e1563
-2,     154624,     154624,     1024,     4096, 0x510bf18e
-2,     155648,     155648,     1024,     4096, 0x5f4fe425
-2,     156672,     156672,     1024,     4096, 0x507af3c0
-2,     157696,     157696,     1024,     4096, 0xbf14ddc6
-2,     158720,     158720,     1024,     4096, 0x1871ed69
-2,     159744,     159744,     1024,     4096, 0xc349ef9f
-2,     160768,     160768,     1024,     4096, 0x4e2c1834
-2,     161792,     161792,     1024,     4096, 0x2383fe04
-2,     162816,     162816,     1024,     4096, 0x6626f415
-2,     163840,     163840,     1024,     4096, 0x283be379
-2,     164864,     164864,     1024,     4096, 0xc76c0ceb
-2,     165888,     165888,     1024,     4096, 0xa0b8040f
-2,     166912,     166912,     1024,     4096, 0x2535eb6d
-2,     167936,     167936,     1024,     4096, 0xeb180bb5
-2,     168960,     168960,     1024,     4096, 0xbc5cf059
-2,     169984,     169984,     1024,     4096, 0x1862f1ac
-2,     171008,     171008,     1024,     4096, 0x9cc2ea2b
-2,     172032,     172032,     1024,     4096, 0xbb9ae754
-2,     173056,     173056,     1024,     4096, 0x716debb5
-2,     174080,     174080,     1024,     4096, 0xff3aff2a
-2,     175104,     175104,     1024,     4096, 0x755dfa5c
-2,     176128,     176128,     1024,     4096, 0x3b830605
-2,     177152,     177152,     1024,     4096, 0x0030dc9e
-2,     178176,     178176,     1024,     4096, 0xb017fd54
-2,     179200,     179200,     1024,     4096, 0x5c7dfa2e
-2,     180224,     180224,     1024,     4096, 0x7887e599
-2,     181248,     181248,     1024,     4096, 0xb730e72f
-2,     182272,     182272,     1024,     4096, 0x6bb3fae4
-2,     183296,     183296,     1024,     4096, 0xcc08fc36
-2,     184320,     184320,     1024,     4096, 0x5afd9ec2
-2,     185344,     185344,     1024,     4096, 0xa1d3e83d
-2,     186368,     186368,     1024,     4096, 0x7f96013c
-2,     187392,     187392,     1024,     4096, 0x7a0afe31
-2,     188416,     188416,     1024,     4096, 0xa37d1701
-2,     189440,     189440,     1024,     4096, 0x4615ebc2
-2,     190464,     190464,     1024,     4096, 0x217005c1
-2,     191488,     191488,     1024,     4096, 0x1755f789
-2,     192512,     192512,     1024,     4096, 0x83e6db65
-2,     193536,     193536,     1024,     4096, 0x92ab1447
-2,     194560,     194560,     1024,     4096, 0xedbdf383
-2,     195584,     195584,     1024,     4096, 0x4316f6a9
-2,     196608,     196608,     1024,     4096, 0x1a6a0b4c
-2,     197632,     197632,     1024,     4096, 0xdfd809b7
-2,     198656,     198656,     1024,     4096, 0x1d2cf5f1
-2,     199680,     199680,     1024,     4096, 0xd366f4a1
-2,     200704,     200704,     1024,     4096, 0x6a2f86e0
-2,     201728,     201728,     1024,     4096, 0xf51f08a9
-2,     202752,     202752,     1024,     4096, 0x05edefa8
-2,     203776,     203776,     1024,     4096, 0x255df2a6
-2,     204800,     204800,     1024,     4096, 0xe881d9e4
-2,     205824,     205824,     1024,     4096, 0x50380523
-2,     206848,     206848,     1024,     4096, 0x8b93eb26
-2,     207872,     207872,     1024,     4096, 0x759cf94c
-2,     208896,     208896,     1024,     4096, 0x8474f591
-2,     209920,     209920,     1024,     4096, 0x0030dc9e
-2,     210944,     210944,     1024,     4096, 0xb017fd54
-2,     211968,     211968,     1024,     4096, 0x5c7dfa2e
-2,     212992,     212992,     1024,     4096, 0x7887e599
-2,     214016,     214016,     1024,     4096, 0xb730e72f
-2,     215040,     215040,     1024,     4096, 0x6bb3fae4
-2,     216064,     216064,     1024,     4096, 0xcc08fc36
-2,     217088,     217088,     1024,     4096, 0x5afd9ec2
-2,     218112,     218112,     1024,     4096, 0xa1d3e83d
-2,     219136,     219136,     1024,     4096, 0x7f96013c
-2,     220160,     220160,     1024,     4096, 0x7a0afe31
-2,     221184,     221184,     1024,     4096, 0xa37d1701
-2,     222208,     222208,     1024,     4096, 0x4615ebc2
-2,     223232,     223232,     1024,     4096, 0x217005c1
-2,     224256,     224256,     1024,     4096, 0x1755f789
-2,     225280,     225280,     1024,     4096, 0x83e6db65
-2,     226304,     226304,     1024,     4096, 0x92ab1447
-2,     227328,     227328,     1024,     4096, 0xedbdf383
-2,     228352,     228352,     1024,     4096, 0x4316f6a9
-2,     229376,     229376,     1024,     4096, 0x1a6a0b4c
-2,     230400,     230400,     1024,     4096, 0xdfd809b7
-2,     231424,     231424,     1024,     4096, 0x1d2cf5f1
-2,     232448,     232448,     1024,     4096, 0xd366f4a1
-2,     233472,     233472,     1024,     4096, 0x6a2f86e0
-2,     234496,     234496,     1024,     4096, 0xf51f08a9
-2,     235520,     235520,     1024,     4096, 0x05edefa8
-2,     236544,     236544,     1024,     4096, 0x255df2a6
-2,     237568,     237568,     1024,     4096, 0xe881d9e4
-2,     238592,     238592,     1024,     4096, 0x50380523
-2,     239616,     239616,     1024,     4096, 0x8b93eb26
-2,     240640,     240640,     1024,     4096, 0x759cf94c
-2,     241664,     241664,     1024,     4096, 0x8474f591
-2,     242688,     242688,     1024,     4096, 0x0030dc9e
-2,     243712,     243712,     1024,     4096, 0xb017fd54
-2,     244736,     244736,     1024,     4096, 0x5c7dfa2e
-2,     245760,     245760,     1024,     4096, 0x7887e599
-2,     246784,     246784,     1024,     4096, 0xb730e72f
-2,     247808,     247808,     1024,     4096, 0x6bb3fae4
-2,     248832,     248832,     1024,     4096, 0xcc08fc36
-2,     249856,     249856,     1024,     4096, 0x5afd9ec2
-2,     250880,     250880,     1024,     4096, 0xa1d3e83d
-2,     251904,     251904,     1024,     4096, 0x7f96013c
-2,     252928,     252928,     1024,     4096, 0x7a0afe31
-2,     253952,     253952,     1024,     4096, 0xa37d1701
-2,     254976,     254976,     1024,     4096, 0x4615ebc2
-2,     256000,     256000,     1024,     4096, 0x217005c1
-2,     257024,     257024,     1024,     4096, 0x1755f789
-2,     258048,     258048,     1024,     4096, 0x83e6db65
-2,     259072,     259072,     1024,     4096, 0x92ab1447
-2,     260096,     260096,     1024,     4096, 0xedbdf383
-2,     261120,     261120,     1024,     4096, 0x4316f6a9
-2,     262144,     262144,     1024,     4096, 0x1a6a0b4c
-2,     263168,     263168,     1024,     4096, 0xdfd809b7
-2,     264192,     264192,      408,     1632, 0xf412313e
+0,          0,          0,     4096,    16384, 0x02ebe66b
+0,       4096,       4096,     4096,    16384, 0x35bfe081
+0,       8192,       8192,     1808,     7232, 0xa585202c
+1,      10000,      10000,     6384,    25536, 0x17309ccf
+1,      16384,      16384,     3616,    14464, 0x67e82600
+2,      20000,      20000,     4576,    18304, 0x4bc89a8b
+2,      24576,      24576,     4096,    16384, 0xabf6df0f
+2,      28672,      28672,     4096,    16384, 0xedefe76f
+2,      32768,      32768,     4096,    16384, 0x02ebe66b
+2,      36864,      36864,     4096,    16384, 0x35bfe081
+2,      40960,      40960,     4096,    16384, 0xdbc2b3b9
+2,      45056,      45056,     4096,    16384, 0xe92bd835
+2,      49152,      49152,     4096,    16384, 0x1126dca3
+2,      53248,      53248,     4096,    16384, 0x9647edcf
+2,      57344,      57344,     4096,    16384, 0x5cc345aa
+2,      61440,      61440,     4096,    16384, 0x19d7bd51
+2,      65536,      65536,     4096,    16384, 0x19eccef7
+2,      69632,      69632,     4096,    16384, 0x4b68eeed
+2,      73728,      73728,     4096,    16384, 0x0b3d1bfc
+2,      77824,      77824,     4096,    16384, 0xe9b2e069
+2,      81920,      81920,     4096,    16384, 0xcaa5590e
+2,      86016,      86016,     4096,    16384, 0x47d0b227
+2,      90112,      90112,     4096,    16384, 0x446ba7a4
+2,      94208,      94208,     4096,    16384, 0x299b2e17
+2,      98304,      98304,     4096,    16384, 0xc51affa2
+2,     102400,     102400,     4096,    16384, 0xb4970fcf
+2,     106496,     106496,     4096,    16384, 0xe48af9fc
+2,     110592,     110592,     4096,    16384, 0xc2beffbb
+2,     114688,     114688,     4096,    16384, 0xb9d99627
+2,     118784,     118784,     4096,    16384, 0xb65a2086
+2,     122880,     122880,     4096,    16384, 0x6386714b
+2,     126976,     126976,     4096,    16384, 0x92a3171e
+2,     131072,     131072,     4096,    16384, 0x78bad1e2
+2,     135168,     135168,     4096,    16384, 0x63301330
+2,     139264,     139264,     4096,    16384, 0xd663b943
+2,     143360,     143360,     4096,    16384, 0xdcafe377
+2,     147456,     147456,     4096,    16384, 0xfb2cd701
+2,     151552,     151552,     4096,    16384, 0x91c30201
+2,     155648,     155648,     4096,    16384, 0xf23da341
+2,     159744,     159744,     4096,    16384, 0xe8d5fa0a
+2,     163840,     163840,     4096,    16384, 0x519bdfef
+2,     167936,     167936,     4096,    16384, 0xf2fcd803
+2,     172032,     172032,     4096,    16384, 0xd5ceccbc
+2,     176128,     176128,     4096,    16384, 0xd48ada43
+2,     180224,     180224,     4096,    16384, 0x5a4ac40f
+2,     184320,     184320,     4096,    16384, 0x29db868a
+2,     188416,     188416,     4096,    16384, 0xa2a0002b
+2,     192512,     192512,     4096,    16384, 0xbb0bd9f6
+2,     196608,     196608,     4096,    16384, 0x338dffa4
+2,     200704,     200704,     4096,    16384, 0x970b71f5
+2,     204800,     204800,     4096,    16384, 0x0521c397
+2,     208896,     208896,     4096,    16384, 0xff5ec9de
+2,     212992,     212992,     4096,    16384, 0x5a4ac40f
+2,     217088,     217088,     4096,    16384, 0x29db868a
+2,     221184,     221184,     4096,    16384, 0xa2a0002b
+2,     225280,     225280,     4096,    16384, 0xbb0bd9f6
+2,     229376,     229376,     4096,    16384, 0x338dffa4
+2,     233472,     233472,     4096,    16384, 0x970b71f5
+2,     237568,     237568,     4096,    16384, 0x0521c397
+2,     241664,     241664,     4096,    16384, 0xff5ec9de
+2,     245760,     245760,     4096,    16384, 0x5a4ac40f
+2,     249856,     249856,     4096,    16384, 0x29db868a
+2,     253952,     253952,     4096,    16384, 0xa2a0002b
+2,     258048,     258048,     4096,    16384, 0xbb0bd9f6
+2,     262144,     262144,     2456,     9824, 0xb3f84641
diff --git a/tests/ref/fate/filter-asegment-samples-relative b/tests/ref/fate/filter-asegment-samples-relative
index 69d4013f5f..4090459aa7 100644
--- a/tests/ref/fate/filter-asegment-samples-relative
+++ b/tests/ref/fate/filter-asegment-samples-relative
@@ -13,262 +13,68 @@ 
 #codec_id 2: pcm_s16le
 #sample_rate 2: 44100
 #channel_layout_name 2: stereo
-0,          0,          0,     1024,     4096, 0x29e3eecf
-0,       1024,       1024,     1024,     4096, 0x18390b96
-0,       2048,       2048,     1024,     4096, 0xc477fa99
-0,       3072,       3072,     1024,     4096, 0x3bc0f14f
-0,       4096,       4096,     1024,     4096, 0x2379ed91
-0,       5120,       5120,     1024,     4096, 0xfd6a0070
-0,       6144,       6144,     1024,     4096, 0x0b01f4cf
-0,       7168,       7168,     1024,     4096, 0x6716fd93
-0,       8192,       8192,     1024,     4096, 0x1840f25b
-0,       9216,       9216,      784,     3136, 0x048e2dc2
-1,      10000,      10000,     1264,     5056, 0x7265bced
-1,      11264,      11264,     1024,     4096, 0x3e050390
-1,      12288,      12288,     1024,     4096, 0xb30e0090
-1,      13312,      13312,     1024,     4096, 0x26b8f75b
-1,      14336,      14336,     1024,     4096, 0xd706e311
-1,      15360,      15360,     1024,     4096, 0x0c480138
-1,      16384,      16384,     1024,     4096, 0x6c9a0216
-1,      17408,      17408,     1024,     4096, 0x7abce54f
-1,      18432,      18432,     1024,     4096, 0xda45f63f
-1,      19456,      19456,      544,     2176, 0x3b54483e
-2,      20000,      20000,     1504,     6016, 0xba58ba9b
-2,      21504,      21504,     1024,     4096, 0xa61af077
-2,      22528,      22528,     1024,     4096, 0x84c4fc07
-2,      23552,      23552,     1024,     4096, 0x4a35f345
-2,      24576,      24576,     1024,     4096, 0xbb65fa81
-2,      25600,      25600,     1024,     4096, 0xf6c7f5e5
-2,      26624,      26624,     1024,     4096, 0xd3270138
-2,      27648,      27648,     1024,     4096, 0x4782ed53
-2,      28672,      28672,     1024,     4096, 0xe308f055
-2,      29696,      29696,     1024,     4096, 0x7d33f97d
-2,      30720,      30720,     1024,     4096, 0xb8b00dd4
-2,      31744,      31744,     1024,     4096, 0x7ff7efab
-2,      32768,      32768,     1024,     4096, 0x29e3eecf
-2,      33792,      33792,     1024,     4096, 0x18390b96
-2,      34816,      34816,     1024,     4096, 0xc477fa99
-2,      35840,      35840,     1024,     4096, 0x3bc0f14f
-2,      36864,      36864,     1024,     4096, 0x2379ed91
-2,      37888,      37888,     1024,     4096, 0xfd6a0070
-2,      38912,      38912,     1024,     4096, 0x0b01f4cf
-2,      39936,      39936,     1024,     4096, 0x6716fd93
-2,      40960,      40960,     1024,     4096, 0x1840f25b
-2,      41984,      41984,     1024,     4096, 0x9c1ffaf1
-2,      43008,      43008,     1024,     4096, 0xcbedefaf
-2,      44032,      44032,     1024,     4096, 0xda37d691
-2,      45056,      45056,     1024,     4096, 0x7193ecbf
-2,      46080,      46080,     1024,     4096, 0x6e4a0a36
-2,      47104,      47104,     1024,     4096, 0x61cfe70d
-2,      48128,      48128,     1024,     4096, 0xc19ffa15
-2,      49152,      49152,     1024,     4096, 0x7b32fb3d
-2,      50176,      50176,     1024,     4096, 0xdacefd3f
-2,      51200,      51200,     1024,     4096, 0x3964f64d
-2,      52224,      52224,     1024,     4096, 0xdcf2edad
-2,      53248,      53248,     1024,     4096, 0x1367f69b
-2,      54272,      54272,     1024,     4096, 0xd4c6f7b9
-2,      55296,      55296,     1024,     4096, 0x9e041186
-2,      56320,      56320,     1024,     4096, 0xe939edd7
-2,      57344,      57344,     1024,     4096, 0xa932336a
-2,      58368,      58368,     1024,     4096, 0x5f510e28
-2,      59392,      59392,     1024,     4096, 0x4b8501c8
-2,      60416,      60416,     1024,     4096, 0xfbc30250
-2,      61440,      61440,     1024,     4096, 0x5e7fd855
-2,      62464,      62464,     1024,     4096, 0x8ef1f265
-2,      63488,      63488,     1024,     4096, 0x9f7601c2
-2,      64512,      64512,     1024,     4096, 0xb400f0b7
-2,      65536,      65536,     1024,     4096, 0x4c91e10b
-2,      66560,      66560,     1024,     4096, 0x3f41fe61
-2,      67584,      67584,     1024,     4096, 0x74fff9b9
-2,      68608,      68608,     1024,     4096, 0x18bbf5a5
-2,      69632,      69632,     1024,     4096, 0x51a70180
-2,      70656,      70656,     1024,     4096, 0x29f3e8c5
-2,      71680,      71680,     1024,     4096, 0x562efdb9
-2,      72704,      72704,     1024,     4096, 0xa2e006e0
-2,      73728,      73728,     1024,     4096, 0xa1bff541
-2,      74752,      74752,     1024,     4096, 0xd95b0012
-2,      75776,      75776,     1024,     4096, 0xd93e0912
-2,      76800,      76800,     1024,     4096, 0x6c2a1d88
-2,      77824,      77824,     1024,     4096, 0xb4d8fb8b
-2,      78848,      78848,     1024,     4096, 0xf14b0492
-2,      79872,      79872,     1024,     4096, 0x1c7be7b7
-2,      80896,      80896,     1024,     4096, 0xc181f877
-2,      81920,      81920,     1024,     4096, 0xba132d14
-2,      82944,      82944,     1024,     4096, 0xabae2d9a
-2,      83968,      83968,     1024,     4096, 0xb07fff15
-2,      84992,      84992,     1024,     4096, 0xa0c1ff2d
-2,      86016,      86016,     1024,     4096, 0x19f7fd1f
-2,      87040,      87040,     1024,     4096, 0xcb6d11a4
-2,      88064,      88064,     1024,     4096, 0x166ac8b7
-2,      89088,      89088,     1024,     4096, 0xe68dda8f
-2,      90112,      90112,     1024,     4096, 0xe457b505
-2,      91136,      91136,     1024,     4096, 0xda25a409
-2,      92160,      92160,     1024,     4096, 0x5b5d9d3b
-2,      93184,      93184,     1024,     4096, 0xa61eb13d
-2,      94208,      94208,     1024,     4096, 0xac93b66f
-2,      95232,      95232,     1024,     4096, 0xc7aeb33f
-2,      96256,      96256,     1024,     4096, 0x52cccfb5
-2,      97280,      97280,     1024,     4096, 0x4e4cf487
-2,      98304,      98304,     1024,     4096, 0x19c07f35
-2,      99328,      99328,     1024,     4096, 0x63ecd34f
-2,     100352,     100352,     1024,     4096, 0x122aec53
-2,     101376,     101376,     1024,     4096, 0x6581c0ad
-2,     102400,     102400,     1024,     4096, 0x640edb15
-2,     103424,     103424,     1024,     4096, 0x5d66c66f
-2,     104448,     104448,     1024,     4096, 0x069e9d35
-2,     105472,     105472,     1024,     4096, 0x5c9fd0e9
-2,     106496,     106496,     1024,     4096, 0x72468667
-2,     107520,     107520,     1024,     4096, 0x6e6dd02b
-2,     108544,     108544,     1024,     4096, 0x93edce33
-2,     109568,     109568,     1024,     4096, 0xcdfbd519
-2,     110592,     110592,     1024,     4096, 0x8463f2bb
-2,     111616,     111616,     1024,     4096, 0x5ca6f869
-2,     112640,     112640,     1024,     4096, 0x099a0398
-2,     113664,     113664,     1024,     4096, 0xa7fa10f0
-2,     114688,     114688,     1024,     4096, 0x28caddd3
-2,     115712,     115712,     1024,     4096, 0x4852ef8b
-2,     116736,     116736,     1024,     4096, 0x0250ee7b
-2,     117760,     117760,     1024,     4096, 0x9583da21
-2,     118784,     118784,     1024,     4096, 0x7365fb33
-2,     119808,     119808,     1024,     4096, 0x28c82066
-2,     120832,     120832,     1024,     4096, 0x94650be4
-2,     121856,     121856,     1024,     4096, 0xeb21f8eb
-2,     122880,     122880,     1024,     4096, 0xcd88f455
-2,     123904,     123904,     1024,     4096, 0x66a9efaf
-2,     124928,     124928,     1024,     4096, 0x5500c6ed
-2,     125952,     125952,     1024,     4096, 0x0ee0c62d
-2,     126976,     126976,     1024,     4096, 0x34d30762
-2,     128000,     128000,     1024,     4096, 0x8c0dec9f
-2,     129024,     129024,     1024,     4096, 0x790011d8
-2,     130048,     130048,     1024,     4096, 0xb76a1136
-2,     131072,     131072,     1024,     4096, 0x7dddfea7
-2,     132096,     132096,     1024,     4096, 0xdfa3ed49
-2,     133120,     133120,     1024,     4096, 0xc129f54e
-2,     134144,     134144,     1024,     4096, 0x9a86f077
-2,     135168,     135168,     1024,     4096, 0xc9eef209
-2,     136192,     136192,     1024,     4096, 0x72d4029b
-2,     137216,     137216,     1024,     4096, 0x8ec20590
-2,     138240,     138240,     1024,     4096, 0xd48f18ed
-2,     139264,     139264,     1024,     4096, 0xd807eadc
-2,     140288,     140288,     1024,     4096, 0x1e2bea09
-2,     141312,     141312,     1024,     4096, 0x937af12e
-2,     142336,     142336,     1024,     4096, 0xdedbf303
-2,     143360,     143360,     1024,     4096, 0xdc75df88
-2,     144384,     144384,     1024,     4096, 0x1845ffd6
-2,     145408,     145408,     1024,     4096, 0x20e8150c
-2,     146432,     146432,     1024,     4096, 0x5ea7eeef
-2,     147456,     147456,     1024,     4096, 0x4c7efa21
-2,     148480,     148480,     1024,     4096, 0x8b97e30e
-2,     149504,     149504,     1024,     4096, 0xe5040228
-2,     150528,     150528,     1024,     4096, 0x6283f78c
-2,     151552,     151552,     1024,     4096, 0xe7100140
-2,     152576,     152576,     1024,     4096, 0x9ea6f9b2
-2,     153600,     153600,     1024,     4096, 0x5f0e1563
-2,     154624,     154624,     1024,     4096, 0x510bf18e
-2,     155648,     155648,     1024,     4096, 0x5f4fe425
-2,     156672,     156672,     1024,     4096, 0x507af3c0
-2,     157696,     157696,     1024,     4096, 0xbf14ddc6
-2,     158720,     158720,     1024,     4096, 0x1871ed69
-2,     159744,     159744,     1024,     4096, 0xc349ef9f
-2,     160768,     160768,     1024,     4096, 0x4e2c1834
-2,     161792,     161792,     1024,     4096, 0x2383fe04
-2,     162816,     162816,     1024,     4096, 0x6626f415
-2,     163840,     163840,     1024,     4096, 0x283be379
-2,     164864,     164864,     1024,     4096, 0xc76c0ceb
-2,     165888,     165888,     1024,     4096, 0xa0b8040f
-2,     166912,     166912,     1024,     4096, 0x2535eb6d
-2,     167936,     167936,     1024,     4096, 0xeb180bb5
-2,     168960,     168960,     1024,     4096, 0xbc5cf059
-2,     169984,     169984,     1024,     4096, 0x1862f1ac
-2,     171008,     171008,     1024,     4096, 0x9cc2ea2b
-2,     172032,     172032,     1024,     4096, 0xbb9ae754
-2,     173056,     173056,     1024,     4096, 0x716debb5
-2,     174080,     174080,     1024,     4096, 0xff3aff2a
-2,     175104,     175104,     1024,     4096, 0x755dfa5c
-2,     176128,     176128,     1024,     4096, 0x3b830605
-2,     177152,     177152,     1024,     4096, 0x0030dc9e
-2,     178176,     178176,     1024,     4096, 0xb017fd54
-2,     179200,     179200,     1024,     4096, 0x5c7dfa2e
-2,     180224,     180224,     1024,     4096, 0x7887e599
-2,     181248,     181248,     1024,     4096, 0xb730e72f
-2,     182272,     182272,     1024,     4096, 0x6bb3fae4
-2,     183296,     183296,     1024,     4096, 0xcc08fc36
-2,     184320,     184320,     1024,     4096, 0x5afd9ec2
-2,     185344,     185344,     1024,     4096, 0xa1d3e83d
-2,     186368,     186368,     1024,     4096, 0x7f96013c
-2,     187392,     187392,     1024,     4096, 0x7a0afe31
-2,     188416,     188416,     1024,     4096, 0xa37d1701
-2,     189440,     189440,     1024,     4096, 0x4615ebc2
-2,     190464,     190464,     1024,     4096, 0x217005c1
-2,     191488,     191488,     1024,     4096, 0x1755f789
-2,     192512,     192512,     1024,     4096, 0x83e6db65
-2,     193536,     193536,     1024,     4096, 0x92ab1447
-2,     194560,     194560,     1024,     4096, 0xedbdf383
-2,     195584,     195584,     1024,     4096, 0x4316f6a9
-2,     196608,     196608,     1024,     4096, 0x1a6a0b4c
-2,     197632,     197632,     1024,     4096, 0xdfd809b7
-2,     198656,     198656,     1024,     4096, 0x1d2cf5f1
-2,     199680,     199680,     1024,     4096, 0xd366f4a1
-2,     200704,     200704,     1024,     4096, 0x6a2f86e0
-2,     201728,     201728,     1024,     4096, 0xf51f08a9
-2,     202752,     202752,     1024,     4096, 0x05edefa8
-2,     203776,     203776,     1024,     4096, 0x255df2a6
-2,     204800,     204800,     1024,     4096, 0xe881d9e4
-2,     205824,     205824,     1024,     4096, 0x50380523
-2,     206848,     206848,     1024,     4096, 0x8b93eb26
-2,     207872,     207872,     1024,     4096, 0x759cf94c
-2,     208896,     208896,     1024,     4096, 0x8474f591
-2,     209920,     209920,     1024,     4096, 0x0030dc9e
-2,     210944,     210944,     1024,     4096, 0xb017fd54
-2,     211968,     211968,     1024,     4096, 0x5c7dfa2e
-2,     212992,     212992,     1024,     4096, 0x7887e599
-2,     214016,     214016,     1024,     4096, 0xb730e72f
-2,     215040,     215040,     1024,     4096, 0x6bb3fae4
-2,     216064,     216064,     1024,     4096, 0xcc08fc36
-2,     217088,     217088,     1024,     4096, 0x5afd9ec2
-2,     218112,     218112,     1024,     4096, 0xa1d3e83d
-2,     219136,     219136,     1024,     4096, 0x7f96013c
-2,     220160,     220160,     1024,     4096, 0x7a0afe31
-2,     221184,     221184,     1024,     4096, 0xa37d1701
-2,     222208,     222208,     1024,     4096, 0x4615ebc2
-2,     223232,     223232,     1024,     4096, 0x217005c1
-2,     224256,     224256,     1024,     4096, 0x1755f789
-2,     225280,     225280,     1024,     4096, 0x83e6db65
-2,     226304,     226304,     1024,     4096, 0x92ab1447
-2,     227328,     227328,     1024,     4096, 0xedbdf383
-2,     228352,     228352,     1024,     4096, 0x4316f6a9
-2,     229376,     229376,     1024,     4096, 0x1a6a0b4c
-2,     230400,     230400,     1024,     4096, 0xdfd809b7
-2,     231424,     231424,     1024,     4096, 0x1d2cf5f1
-2,     232448,     232448,     1024,     4096, 0xd366f4a1
-2,     233472,     233472,     1024,     4096, 0x6a2f86e0
-2,     234496,     234496,     1024,     4096, 0xf51f08a9
-2,     235520,     235520,     1024,     4096, 0x05edefa8
-2,     236544,     236544,     1024,     4096, 0x255df2a6
-2,     237568,     237568,     1024,     4096, 0xe881d9e4
-2,     238592,     238592,     1024,     4096, 0x50380523
-2,     239616,     239616,     1024,     4096, 0x8b93eb26
-2,     240640,     240640,     1024,     4096, 0x759cf94c
-2,     241664,     241664,     1024,     4096, 0x8474f591
-2,     242688,     242688,     1024,     4096, 0x0030dc9e
-2,     243712,     243712,     1024,     4096, 0xb017fd54
-2,     244736,     244736,     1024,     4096, 0x5c7dfa2e
-2,     245760,     245760,     1024,     4096, 0x7887e599
-2,     246784,     246784,     1024,     4096, 0xb730e72f
-2,     247808,     247808,     1024,     4096, 0x6bb3fae4
-2,     248832,     248832,     1024,     4096, 0xcc08fc36
-2,     249856,     249856,     1024,     4096, 0x5afd9ec2
-2,     250880,     250880,     1024,     4096, 0xa1d3e83d
-2,     251904,     251904,     1024,     4096, 0x7f96013c
-2,     252928,     252928,     1024,     4096, 0x7a0afe31
-2,     253952,     253952,     1024,     4096, 0xa37d1701
-2,     254976,     254976,     1024,     4096, 0x4615ebc2
-2,     256000,     256000,     1024,     4096, 0x217005c1
-2,     257024,     257024,     1024,     4096, 0x1755f789
-2,     258048,     258048,     1024,     4096, 0x83e6db65
-2,     259072,     259072,     1024,     4096, 0x92ab1447
-2,     260096,     260096,     1024,     4096, 0xedbdf383
-2,     261120,     261120,     1024,     4096, 0x4316f6a9
-2,     262144,     262144,     1024,     4096, 0x1a6a0b4c
-2,     263168,     263168,     1024,     4096, 0xdfd809b7
-2,     264192,     264192,      408,     1632, 0xf412313e
+0,          0,          0,     4096,    16384, 0x02ebe66b
+0,       4096,       4096,     4096,    16384, 0x35bfe081
+0,       8192,       8192,     1808,     7232, 0xa585202c
+1,      10000,      10000,     6384,    25536, 0x17309ccf
+1,      16384,      16384,     3616,    14464, 0x67e82600
+2,      20000,      20000,     4576,    18304, 0x4bc89a8b
+2,      24576,      24576,     4096,    16384, 0xabf6df0f
+2,      28672,      28672,     4096,    16384, 0xedefe76f
+2,      32768,      32768,     4096,    16384, 0x02ebe66b
+2,      36864,      36864,     4096,    16384, 0x35bfe081
+2,      40960,      40960,     4096,    16384, 0xdbc2b3b9
+2,      45056,      45056,     4096,    16384, 0xe92bd835
+2,      49152,      49152,     4096,    16384, 0x1126dca3
+2,      53248,      53248,     4096,    16384, 0x9647edcf
+2,      57344,      57344,     4096,    16384, 0x5cc345aa
+2,      61440,      61440,     4096,    16384, 0x19d7bd51
+2,      65536,      65536,     4096,    16384, 0x19eccef7
+2,      69632,      69632,     4096,    16384, 0x4b68eeed
+2,      73728,      73728,     4096,    16384, 0x0b3d1bfc
+2,      77824,      77824,     4096,    16384, 0xe9b2e069
+2,      81920,      81920,     4096,    16384, 0xcaa5590e
+2,      86016,      86016,     4096,    16384, 0x47d0b227
+2,      90112,      90112,     4096,    16384, 0x446ba7a4
+2,      94208,      94208,     4096,    16384, 0x299b2e17
+2,      98304,      98304,     4096,    16384, 0xc51affa2
+2,     102400,     102400,     4096,    16384, 0xb4970fcf
+2,     106496,     106496,     4096,    16384, 0xe48af9fc
+2,     110592,     110592,     4096,    16384, 0xc2beffbb
+2,     114688,     114688,     4096,    16384, 0xb9d99627
+2,     118784,     118784,     4096,    16384, 0xb65a2086
+2,     122880,     122880,     4096,    16384, 0x6386714b
+2,     126976,     126976,     4096,    16384, 0x92a3171e
+2,     131072,     131072,     4096,    16384, 0x78bad1e2
+2,     135168,     135168,     4096,    16384, 0x63301330
+2,     139264,     139264,     4096,    16384, 0xd663b943
+2,     143360,     143360,     4096,    16384, 0xdcafe377
+2,     147456,     147456,     4096,    16384, 0xfb2cd701
+2,     151552,     151552,     4096,    16384, 0x91c30201
+2,     155648,     155648,     4096,    16384, 0xf23da341
+2,     159744,     159744,     4096,    16384, 0xe8d5fa0a
+2,     163840,     163840,     4096,    16384, 0x519bdfef
+2,     167936,     167936,     4096,    16384, 0xf2fcd803
+2,     172032,     172032,     4096,    16384, 0xd5ceccbc
+2,     176128,     176128,     4096,    16384, 0xd48ada43
+2,     180224,     180224,     4096,    16384, 0x5a4ac40f
+2,     184320,     184320,     4096,    16384, 0x29db868a
+2,     188416,     188416,     4096,    16384, 0xa2a0002b
+2,     192512,     192512,     4096,    16384, 0xbb0bd9f6
+2,     196608,     196608,     4096,    16384, 0x338dffa4
+2,     200704,     200704,     4096,    16384, 0x970b71f5
+2,     204800,     204800,     4096,    16384, 0x0521c397
+2,     208896,     208896,     4096,    16384, 0xff5ec9de
+2,     212992,     212992,     4096,    16384, 0x5a4ac40f
+2,     217088,     217088,     4096,    16384, 0x29db868a
+2,     221184,     221184,     4096,    16384, 0xa2a0002b
+2,     225280,     225280,     4096,    16384, 0xbb0bd9f6
+2,     229376,     229376,     4096,    16384, 0x338dffa4
+2,     233472,     233472,     4096,    16384, 0x970b71f5
+2,     237568,     237568,     4096,    16384, 0x0521c397
+2,     241664,     241664,     4096,    16384, 0xff5ec9de
+2,     245760,     245760,     4096,    16384, 0x5a4ac40f
+2,     249856,     249856,     4096,    16384, 0x29db868a
+2,     253952,     253952,     4096,    16384, 0xa2a0002b
+2,     258048,     258048,     4096,    16384, 0xbb0bd9f6
+2,     262144,     262144,     2456,     9824, 0xb3f84641
diff --git a/tests/ref/fate/filter-asegment-timestamps-absolute b/tests/ref/fate/filter-asegment-timestamps-absolute
index b7f4fa251d..b3f72c958a 100644
--- a/tests/ref/fate/filter-asegment-timestamps-absolute
+++ b/tests/ref/fate/filter-asegment-timestamps-absolute
@@ -13,263 +13,69 @@ 
 #codec_id 2: pcm_s16le
 #sample_rate 2: 44100
 #channel_layout_name 2: stereo
-0,          0,          0,     1024,     4096, 0x29e3eecf
-0,       1024,       1024,     1024,     4096, 0x18390b96
-0,       2048,       2048,     1024,     4096, 0xc477fa99
-0,       3072,       3072,     1024,     4096, 0x3bc0f14f
-0,       4096,       4096,     1024,     4096, 0x2379ed91
-0,       5120,       5120,     1024,     4096, 0xfd6a0070
-0,       6144,       6144,     1024,     4096, 0x0b01f4cf
-0,       7168,       7168,     1024,     4096, 0x6716fd93
-0,       8192,       8192,     1024,     4096, 0x1840f25b
-0,       9216,       9216,     1024,     4096, 0x9c1ffaf1
-0,      10240,      10240,     1024,     4096, 0xcbedefaf
-0,      11264,      11264,     1024,     4096, 0x3e050390
-0,      12288,      12288,     1024,     4096, 0xb30e0090
-0,      13312,      13312,     1024,     4096, 0x26b8f75b
-0,      14336,      14336,     1024,     4096, 0xd706e311
-0,      15360,      15360,     1024,     4096, 0x0c480138
-0,      16384,      16384,     1024,     4096, 0x6c9a0216
-0,      17408,      17408,     1024,     4096, 0x7abce54f
-0,      18432,      18432,     1024,     4096, 0xda45f63f
-0,      19456,      19456,     1024,     4096, 0x50d5ff87
-0,      20480,      20480,     1024,     4096, 0x59be0352
-0,      21504,      21504,     1024,     4096, 0xa61af077
-0,      22528,      22528,     1024,     4096, 0x84c4fc07
-0,      23552,      23552,     1024,     4096, 0x4a35f345
-0,      24576,      24576,     1024,     4096, 0xbb65fa81
-0,      25600,      25600,     1024,     4096, 0xf6c7f5e5
-0,      26624,      26624,     1024,     4096, 0xd3270138
-0,      27648,      27648,     1024,     4096, 0x4782ed53
-0,      28672,      28672,     1024,     4096, 0xe308f055
-0,      29696,      29696,     1024,     4096, 0x7d33f97d
-0,      30720,      30720,     1024,     4096, 0xb8b00dd4
-0,      31744,      31744,     1024,     4096, 0x7ff7efab
-0,      32768,      32768,     1024,     4096, 0x29e3eecf
-0,      33792,      33792,     1024,     4096, 0x18390b96
-0,      34816,      34816,     1024,     4096, 0xc477fa99
-0,      35840,      35840,     1024,     4096, 0x3bc0f14f
-0,      36864,      36864,     1024,     4096, 0x2379ed91
-0,      37888,      37888,     1024,     4096, 0xfd6a0070
-0,      38912,      38912,     1024,     4096, 0x0b01f4cf
-0,      39936,      39936,     1024,     4096, 0x6716fd93
-0,      40960,      40960,     1024,     4096, 0x1840f25b
-0,      41984,      41984,     1024,     4096, 0x9c1ffaf1
-0,      43008,      43008,     1024,     4096, 0xcbedefaf
-0,      44032,      44032,       68,      272, 0x79238c62
-1,      44100,      44100,     1980,     7920, 0x957536fd
-1,      46080,      46080,     1024,     4096, 0x6e4a0a36
-1,      47104,      47104,     1024,     4096, 0x61cfe70d
-1,      48128,      48128,     1024,     4096, 0xc19ffa15
-1,      49152,      49152,     1024,     4096, 0x7b32fb3d
-1,      50176,      50176,     1024,     4096, 0xdacefd3f
-1,      51200,      51200,     1024,     4096, 0x3964f64d
-1,      52224,      52224,     1024,     4096, 0xdcf2edad
-1,      53248,      53248,     1024,     4096, 0x1367f69b
-1,      54272,      54272,     1024,     4096, 0xd4c6f7b9
-1,      55296,      55296,     1024,     4096, 0x9e041186
-1,      56320,      56320,     1024,     4096, 0xe939edd7
-1,      57344,      57344,     1024,     4096, 0xa932336a
-1,      58368,      58368,     1024,     4096, 0x5f510e28
-1,      59392,      59392,     1024,     4096, 0x4b8501c8
-1,      60416,      60416,     1024,     4096, 0xfbc30250
-1,      61440,      61440,     1024,     4096, 0x5e7fd855
-1,      62464,      62464,     1024,     4096, 0x8ef1f265
-1,      63488,      63488,     1024,     4096, 0x9f7601c2
-1,      64512,      64512,     1024,     4096, 0xb400f0b7
-1,      65536,      65536,     1024,     4096, 0x4c91e10b
-1,      66560,      66560,     1024,     4096, 0x3f41fe61
-1,      67584,      67584,     1024,     4096, 0x74fff9b9
-1,      68608,      68608,     1024,     4096, 0x18bbf5a5
-1,      69632,      69632,     1024,     4096, 0x51a70180
-1,      70656,      70656,     1024,     4096, 0x29f3e8c5
-1,      71680,      71680,     1024,     4096, 0x562efdb9
-1,      72704,      72704,     1024,     4096, 0xa2e006e0
-1,      73728,      73728,     1024,     4096, 0xa1bff541
-1,      74752,      74752,     1024,     4096, 0xd95b0012
-1,      75776,      75776,     1024,     4096, 0xd93e0912
-1,      76800,      76800,     1024,     4096, 0x6c2a1d88
-1,      77824,      77824,     1024,     4096, 0xb4d8fb8b
-1,      78848,      78848,     1024,     4096, 0xf14b0492
-1,      79872,      79872,     1024,     4096, 0x1c7be7b7
-1,      80896,      80896,     1024,     4096, 0xc181f877
-1,      81920,      81920,     1024,     4096, 0xba132d14
-1,      82944,      82944,     1024,     4096, 0xabae2d9a
-1,      83968,      83968,     1024,     4096, 0xb07fff15
-1,      84992,      84992,     1024,     4096, 0xa0c1ff2d
-1,      86016,      86016,     1024,     4096, 0x19f7fd1f
-1,      87040,      87040,     1024,     4096, 0xcb6d11a4
-1,      88064,      88064,     1024,     4096, 0x166ac8b7
-1,      89088,      89088,     1024,     4096, 0xe68dda8f
-1,      90112,      90112,     1024,     4096, 0xe457b505
-1,      91136,      91136,     1024,     4096, 0xda25a409
-1,      92160,      92160,     1024,     4096, 0x5b5d9d3b
-1,      93184,      93184,     1024,     4096, 0xa61eb13d
-1,      94208,      94208,     1024,     4096, 0xac93b66f
-1,      95232,      95232,     1024,     4096, 0xc7aeb33f
-1,      96256,      96256,     1024,     4096, 0x52cccfb5
-1,      97280,      97280,     1024,     4096, 0x4e4cf487
-1,      98304,      98304,     1024,     4096, 0x19c07f35
-1,      99328,      99328,     1024,     4096, 0x63ecd34f
-1,     100352,     100352,     1024,     4096, 0x122aec53
-1,     101376,     101376,     1024,     4096, 0x6581c0ad
-1,     102400,     102400,     1024,     4096, 0x640edb15
-1,     103424,     103424,     1024,     4096, 0x5d66c66f
-1,     104448,     104448,     1024,     4096, 0x069e9d35
-1,     105472,     105472,     1024,     4096, 0x5c9fd0e9
-1,     106496,     106496,     1024,     4096, 0x72468667
-1,     107520,     107520,     1024,     4096, 0x6e6dd02b
-1,     108544,     108544,     1024,     4096, 0x93edce33
-1,     109568,     109568,     1024,     4096, 0xcdfbd519
-1,     110592,     110592,     1024,     4096, 0x8463f2bb
-1,     111616,     111616,     1024,     4096, 0x5ca6f869
-1,     112640,     112640,     1024,     4096, 0x099a0398
-1,     113664,     113664,     1024,     4096, 0xa7fa10f0
-1,     114688,     114688,     1024,     4096, 0x28caddd3
-1,     115712,     115712,     1024,     4096, 0x4852ef8b
-1,     116736,     116736,     1024,     4096, 0x0250ee7b
-1,     117760,     117760,     1024,     4096, 0x9583da21
-1,     118784,     118784,     1024,     4096, 0x7365fb33
-1,     119808,     119808,     1024,     4096, 0x28c82066
-1,     120832,     120832,     1024,     4096, 0x94650be4
-1,     121856,     121856,     1024,     4096, 0xeb21f8eb
-1,     122880,     122880,     1024,     4096, 0xcd88f455
-1,     123904,     123904,     1024,     4096, 0x66a9efaf
-1,     124928,     124928,     1024,     4096, 0x5500c6ed
-1,     125952,     125952,     1024,     4096, 0x0ee0c62d
-1,     126976,     126976,     1024,     4096, 0x34d30762
-1,     128000,     128000,     1024,     4096, 0x8c0dec9f
-1,     129024,     129024,     1024,     4096, 0x790011d8
-1,     130048,     130048,     1024,     4096, 0xb76a1136
-1,     131072,     131072,     1024,     4096, 0x7dddfea7
-1,     132096,     132096,      204,      816, 0x398f938f
-2,     132300,     132300,      820,     3280, 0x9f1759ba
-2,     133120,     133120,     1024,     4096, 0xc129f54e
-2,     134144,     134144,     1024,     4096, 0x9a86f077
-2,     135168,     135168,     1024,     4096, 0xc9eef209
-2,     136192,     136192,     1024,     4096, 0x72d4029b
-2,     137216,     137216,     1024,     4096, 0x8ec20590
-2,     138240,     138240,     1024,     4096, 0xd48f18ed
-2,     139264,     139264,     1024,     4096, 0xd807eadc
-2,     140288,     140288,     1024,     4096, 0x1e2bea09
-2,     141312,     141312,     1024,     4096, 0x937af12e
-2,     142336,     142336,     1024,     4096, 0xdedbf303
-2,     143360,     143360,     1024,     4096, 0xdc75df88
-2,     144384,     144384,     1024,     4096, 0x1845ffd6
-2,     145408,     145408,     1024,     4096, 0x20e8150c
-2,     146432,     146432,     1024,     4096, 0x5ea7eeef
-2,     147456,     147456,     1024,     4096, 0x4c7efa21
-2,     148480,     148480,     1024,     4096, 0x8b97e30e
-2,     149504,     149504,     1024,     4096, 0xe5040228
-2,     150528,     150528,     1024,     4096, 0x6283f78c
-2,     151552,     151552,     1024,     4096, 0xe7100140
-2,     152576,     152576,     1024,     4096, 0x9ea6f9b2
-2,     153600,     153600,     1024,     4096, 0x5f0e1563
-2,     154624,     154624,     1024,     4096, 0x510bf18e
-2,     155648,     155648,     1024,     4096, 0x5f4fe425
-2,     156672,     156672,     1024,     4096, 0x507af3c0
-2,     157696,     157696,     1024,     4096, 0xbf14ddc6
-2,     158720,     158720,     1024,     4096, 0x1871ed69
-2,     159744,     159744,     1024,     4096, 0xc349ef9f
-2,     160768,     160768,     1024,     4096, 0x4e2c1834
-2,     161792,     161792,     1024,     4096, 0x2383fe04
-2,     162816,     162816,     1024,     4096, 0x6626f415
-2,     163840,     163840,     1024,     4096, 0x283be379
-2,     164864,     164864,     1024,     4096, 0xc76c0ceb
-2,     165888,     165888,     1024,     4096, 0xa0b8040f
-2,     166912,     166912,     1024,     4096, 0x2535eb6d
-2,     167936,     167936,     1024,     4096, 0xeb180bb5
-2,     168960,     168960,     1024,     4096, 0xbc5cf059
-2,     169984,     169984,     1024,     4096, 0x1862f1ac
-2,     171008,     171008,     1024,     4096, 0x9cc2ea2b
-2,     172032,     172032,     1024,     4096, 0xbb9ae754
-2,     173056,     173056,     1024,     4096, 0x716debb5
-2,     174080,     174080,     1024,     4096, 0xff3aff2a
-2,     175104,     175104,     1024,     4096, 0x755dfa5c
-2,     176128,     176128,     1024,     4096, 0x3b830605
-2,     177152,     177152,     1024,     4096, 0x0030dc9e
-2,     178176,     178176,     1024,     4096, 0xb017fd54
-2,     179200,     179200,     1024,     4096, 0x5c7dfa2e
-2,     180224,     180224,     1024,     4096, 0x7887e599
-2,     181248,     181248,     1024,     4096, 0xb730e72f
-2,     182272,     182272,     1024,     4096, 0x6bb3fae4
-2,     183296,     183296,     1024,     4096, 0xcc08fc36
-2,     184320,     184320,     1024,     4096, 0x5afd9ec2
-2,     185344,     185344,     1024,     4096, 0xa1d3e83d
-2,     186368,     186368,     1024,     4096, 0x7f96013c
-2,     187392,     187392,     1024,     4096, 0x7a0afe31
-2,     188416,     188416,     1024,     4096, 0xa37d1701
-2,     189440,     189440,     1024,     4096, 0x4615ebc2
-2,     190464,     190464,     1024,     4096, 0x217005c1
-2,     191488,     191488,     1024,     4096, 0x1755f789
-2,     192512,     192512,     1024,     4096, 0x83e6db65
-2,     193536,     193536,     1024,     4096, 0x92ab1447
-2,     194560,     194560,     1024,     4096, 0xedbdf383
-2,     195584,     195584,     1024,     4096, 0x4316f6a9
-2,     196608,     196608,     1024,     4096, 0x1a6a0b4c
-2,     197632,     197632,     1024,     4096, 0xdfd809b7
-2,     198656,     198656,     1024,     4096, 0x1d2cf5f1
-2,     199680,     199680,     1024,     4096, 0xd366f4a1
-2,     200704,     200704,     1024,     4096, 0x6a2f86e0
-2,     201728,     201728,     1024,     4096, 0xf51f08a9
-2,     202752,     202752,     1024,     4096, 0x05edefa8
-2,     203776,     203776,     1024,     4096, 0x255df2a6
-2,     204800,     204800,     1024,     4096, 0xe881d9e4
-2,     205824,     205824,     1024,     4096, 0x50380523
-2,     206848,     206848,     1024,     4096, 0x8b93eb26
-2,     207872,     207872,     1024,     4096, 0x759cf94c
-2,     208896,     208896,     1024,     4096, 0x8474f591
-2,     209920,     209920,     1024,     4096, 0x0030dc9e
-2,     210944,     210944,     1024,     4096, 0xb017fd54
-2,     211968,     211968,     1024,     4096, 0x5c7dfa2e
-2,     212992,     212992,     1024,     4096, 0x7887e599
-2,     214016,     214016,     1024,     4096, 0xb730e72f
-2,     215040,     215040,     1024,     4096, 0x6bb3fae4
-2,     216064,     216064,     1024,     4096, 0xcc08fc36
-2,     217088,     217088,     1024,     4096, 0x5afd9ec2
-2,     218112,     218112,     1024,     4096, 0xa1d3e83d
-2,     219136,     219136,     1024,     4096, 0x7f96013c
-2,     220160,     220160,     1024,     4096, 0x7a0afe31
-2,     221184,     221184,     1024,     4096, 0xa37d1701
-2,     222208,     222208,     1024,     4096, 0x4615ebc2
-2,     223232,     223232,     1024,     4096, 0x217005c1
-2,     224256,     224256,     1024,     4096, 0x1755f789
-2,     225280,     225280,     1024,     4096, 0x83e6db65
-2,     226304,     226304,     1024,     4096, 0x92ab1447
-2,     227328,     227328,     1024,     4096, 0xedbdf383
-2,     228352,     228352,     1024,     4096, 0x4316f6a9
-2,     229376,     229376,     1024,     4096, 0x1a6a0b4c
-2,     230400,     230400,     1024,     4096, 0xdfd809b7
-2,     231424,     231424,     1024,     4096, 0x1d2cf5f1
-2,     232448,     232448,     1024,     4096, 0xd366f4a1
-2,     233472,     233472,     1024,     4096, 0x6a2f86e0
-2,     234496,     234496,     1024,     4096, 0xf51f08a9
-2,     235520,     235520,     1024,     4096, 0x05edefa8
-2,     236544,     236544,     1024,     4096, 0x255df2a6
-2,     237568,     237568,     1024,     4096, 0xe881d9e4
-2,     238592,     238592,     1024,     4096, 0x50380523
-2,     239616,     239616,     1024,     4096, 0x8b93eb26
-2,     240640,     240640,     1024,     4096, 0x759cf94c
-2,     241664,     241664,     1024,     4096, 0x8474f591
-2,     242688,     242688,     1024,     4096, 0x0030dc9e
-2,     243712,     243712,     1024,     4096, 0xb017fd54
-2,     244736,     244736,     1024,     4096, 0x5c7dfa2e
-2,     245760,     245760,     1024,     4096, 0x7887e599
-2,     246784,     246784,     1024,     4096, 0xb730e72f
-2,     247808,     247808,     1024,     4096, 0x6bb3fae4
-2,     248832,     248832,     1024,     4096, 0xcc08fc36
-2,     249856,     249856,     1024,     4096, 0x5afd9ec2
-2,     250880,     250880,     1024,     4096, 0xa1d3e83d
-2,     251904,     251904,     1024,     4096, 0x7f96013c
-2,     252928,     252928,     1024,     4096, 0x7a0afe31
-2,     253952,     253952,     1024,     4096, 0xa37d1701
-2,     254976,     254976,     1024,     4096, 0x4615ebc2
-2,     256000,     256000,     1024,     4096, 0x217005c1
-2,     257024,     257024,     1024,     4096, 0x1755f789
-2,     258048,     258048,     1024,     4096, 0x83e6db65
-2,     259072,     259072,     1024,     4096, 0x92ab1447
-2,     260096,     260096,     1024,     4096, 0xedbdf383
-2,     261120,     261120,     1024,     4096, 0x4316f6a9
-2,     262144,     262144,     1024,     4096, 0x1a6a0b4c
-2,     263168,     263168,     1024,     4096, 0xdfd809b7
-2,     264192,     264192,      408,     1632, 0xf412313e
+0,          0,          0,     4096,    16384, 0x02ebe66b
+0,       4096,       4096,     4096,    16384, 0x35bfe081
+0,       8192,       8192,     4096,    16384, 0x3f90e0a9
+0,      12288,      12288,     4096,    16384, 0xd389dc43
+0,      16384,      16384,     4096,    16384, 0x9d5add49
+0,      20480,      20480,     4096,    16384, 0x378ee333
+0,      24576,      24576,     4096,    16384, 0xabf6df0f
+0,      28672,      28672,     4096,    16384, 0xedefe76f
+0,      32768,      32768,     4096,    16384, 0x02ebe66b
+0,      36864,      36864,     4096,    16384, 0x35bfe081
+0,      40960,      40960,     3140,    12560, 0x13b5698a
+1,      44100,      44100,     5052,    20208, 0xadc32273
+1,      49152,      49152,     4096,    16384, 0x1126dca3
+1,      53248,      53248,     4096,    16384, 0x9647edcf
+1,      57344,      57344,     4096,    16384, 0x5cc345aa
+1,      61440,      61440,     4096,    16384, 0x19d7bd51
+1,      65536,      65536,     4096,    16384, 0x19eccef7
+1,      69632,      69632,     4096,    16384, 0x4b68eeed
+1,      73728,      73728,     4096,    16384, 0x0b3d1bfc
+1,      77824,      77824,     4096,    16384, 0xe9b2e069
+1,      81920,      81920,     4096,    16384, 0xcaa5590e
+1,      86016,      86016,     4096,    16384, 0x47d0b227
+1,      90112,      90112,     4096,    16384, 0x446ba7a4
+1,      94208,      94208,     4096,    16384, 0x299b2e17
+1,      98304,      98304,     4096,    16384, 0xc51affa2
+1,     102400,     102400,     4096,    16384, 0xb4970fcf
+1,     106496,     106496,     4096,    16384, 0xe48af9fc
+1,     110592,     110592,     4096,    16384, 0xc2beffbb
+1,     114688,     114688,     4096,    16384, 0xb9d99627
+1,     118784,     118784,     4096,    16384, 0xb65a2086
+1,     122880,     122880,     4096,    16384, 0x6386714b
+1,     126976,     126976,     4096,    16384, 0x92a3171e
+1,     131072,     131072,     1228,     4912, 0x9b509245
+2,     132300,     132300,     2868,    11472, 0xa9273f9d
+2,     135168,     135168,     4096,    16384, 0x63301330
+2,     139264,     139264,     4096,    16384, 0xd663b943
+2,     143360,     143360,     4096,    16384, 0xdcafe377
+2,     147456,     147456,     4096,    16384, 0xfb2cd701
+2,     151552,     151552,     4096,    16384, 0x91c30201
+2,     155648,     155648,     4096,    16384, 0xf23da341
+2,     159744,     159744,     4096,    16384, 0xe8d5fa0a
+2,     163840,     163840,     4096,    16384, 0x519bdfef
+2,     167936,     167936,     4096,    16384, 0xf2fcd803
+2,     172032,     172032,     4096,    16384, 0xd5ceccbc
+2,     176128,     176128,     4096,    16384, 0xd48ada43
+2,     180224,     180224,     4096,    16384, 0x5a4ac40f
+2,     184320,     184320,     4096,    16384, 0x29db868a
+2,     188416,     188416,     4096,    16384, 0xa2a0002b
+2,     192512,     192512,     4096,    16384, 0xbb0bd9f6
+2,     196608,     196608,     4096,    16384, 0x338dffa4
+2,     200704,     200704,     4096,    16384, 0x970b71f5
+2,     204800,     204800,     4096,    16384, 0x0521c397
+2,     208896,     208896,     4096,    16384, 0xff5ec9de
+2,     212992,     212992,     4096,    16384, 0x5a4ac40f
+2,     217088,     217088,     4096,    16384, 0x29db868a
+2,     221184,     221184,     4096,    16384, 0xa2a0002b
+2,     225280,     225280,     4096,    16384, 0xbb0bd9f6
+2,     229376,     229376,     4096,    16384, 0x338dffa4
+2,     233472,     233472,     4096,    16384, 0x970b71f5
+2,     237568,     237568,     4096,    16384, 0x0521c397
+2,     241664,     241664,     4096,    16384, 0xff5ec9de
+2,     245760,     245760,     4096,    16384, 0x5a4ac40f
+2,     249856,     249856,     4096,    16384, 0x29db868a
+2,     253952,     253952,     4096,    16384, 0xa2a0002b
+2,     258048,     258048,     4096,    16384, 0xbb0bd9f6
+2,     262144,     262144,     2456,     9824, 0xb3f84641
diff --git a/tests/ref/fate/filter-asegment-timestamps-relative b/tests/ref/fate/filter-asegment-timestamps-relative
index b7f4fa251d..b3f72c958a 100644
--- a/tests/ref/fate/filter-asegment-timestamps-relative
+++ b/tests/ref/fate/filter-asegment-timestamps-relative
@@ -13,263 +13,69 @@ 
 #codec_id 2: pcm_s16le
 #sample_rate 2: 44100
 #channel_layout_name 2: stereo
-0,          0,          0,     1024,     4096, 0x29e3eecf
-0,       1024,       1024,     1024,     4096, 0x18390b96
-0,       2048,       2048,     1024,     4096, 0xc477fa99
-0,       3072,       3072,     1024,     4096, 0x3bc0f14f
-0,       4096,       4096,     1024,     4096, 0x2379ed91
-0,       5120,       5120,     1024,     4096, 0xfd6a0070
-0,       6144,       6144,     1024,     4096, 0x0b01f4cf
-0,       7168,       7168,     1024,     4096, 0x6716fd93
-0,       8192,       8192,     1024,     4096, 0x1840f25b
-0,       9216,       9216,     1024,     4096, 0x9c1ffaf1
-0,      10240,      10240,     1024,     4096, 0xcbedefaf
-0,      11264,      11264,     1024,     4096, 0x3e050390
-0,      12288,      12288,     1024,     4096, 0xb30e0090
-0,      13312,      13312,     1024,     4096, 0x26b8f75b
-0,      14336,      14336,     1024,     4096, 0xd706e311
-0,      15360,      15360,     1024,     4096, 0x0c480138
-0,      16384,      16384,     1024,     4096, 0x6c9a0216
-0,      17408,      17408,     1024,     4096, 0x7abce54f
-0,      18432,      18432,     1024,     4096, 0xda45f63f
-0,      19456,      19456,     1024,     4096, 0x50d5ff87
-0,      20480,      20480,     1024,     4096, 0x59be0352
-0,      21504,      21504,     1024,     4096, 0xa61af077
-0,      22528,      22528,     1024,     4096, 0x84c4fc07
-0,      23552,      23552,     1024,     4096, 0x4a35f345
-0,      24576,      24576,     1024,     4096, 0xbb65fa81
-0,      25600,      25600,     1024,     4096, 0xf6c7f5e5
-0,      26624,      26624,     1024,     4096, 0xd3270138
-0,      27648,      27648,     1024,     4096, 0x4782ed53
-0,      28672,      28672,     1024,     4096, 0xe308f055
-0,      29696,      29696,     1024,     4096, 0x7d33f97d
-0,      30720,      30720,     1024,     4096, 0xb8b00dd4
-0,      31744,      31744,     1024,     4096, 0x7ff7efab
-0,      32768,      32768,     1024,     4096, 0x29e3eecf
-0,      33792,      33792,     1024,     4096, 0x18390b96
-0,      34816,      34816,     1024,     4096, 0xc477fa99
-0,      35840,      35840,     1024,     4096, 0x3bc0f14f
-0,      36864,      36864,     1024,     4096, 0x2379ed91
-0,      37888,      37888,     1024,     4096, 0xfd6a0070
-0,      38912,      38912,     1024,     4096, 0x0b01f4cf
-0,      39936,      39936,     1024,     4096, 0x6716fd93
-0,      40960,      40960,     1024,     4096, 0x1840f25b
-0,      41984,      41984,     1024,     4096, 0x9c1ffaf1
-0,      43008,      43008,     1024,     4096, 0xcbedefaf
-0,      44032,      44032,       68,      272, 0x79238c62
-1,      44100,      44100,     1980,     7920, 0x957536fd
-1,      46080,      46080,     1024,     4096, 0x6e4a0a36
-1,      47104,      47104,     1024,     4096, 0x61cfe70d
-1,      48128,      48128,     1024,     4096, 0xc19ffa15
-1,      49152,      49152,     1024,     4096, 0x7b32fb3d
-1,      50176,      50176,     1024,     4096, 0xdacefd3f
-1,      51200,      51200,     1024,     4096, 0x3964f64d
-1,      52224,      52224,     1024,     4096, 0xdcf2edad
-1,      53248,      53248,     1024,     4096, 0x1367f69b
-1,      54272,      54272,     1024,     4096, 0xd4c6f7b9
-1,      55296,      55296,     1024,     4096, 0x9e041186
-1,      56320,      56320,     1024,     4096, 0xe939edd7
-1,      57344,      57344,     1024,     4096, 0xa932336a
-1,      58368,      58368,     1024,     4096, 0x5f510e28
-1,      59392,      59392,     1024,     4096, 0x4b8501c8
-1,      60416,      60416,     1024,     4096, 0xfbc30250
-1,      61440,      61440,     1024,     4096, 0x5e7fd855
-1,      62464,      62464,     1024,     4096, 0x8ef1f265
-1,      63488,      63488,     1024,     4096, 0x9f7601c2
-1,      64512,      64512,     1024,     4096, 0xb400f0b7
-1,      65536,      65536,     1024,     4096, 0x4c91e10b
-1,      66560,      66560,     1024,     4096, 0x3f41fe61
-1,      67584,      67584,     1024,     4096, 0x74fff9b9
-1,      68608,      68608,     1024,     4096, 0x18bbf5a5
-1,      69632,      69632,     1024,     4096, 0x51a70180
-1,      70656,      70656,     1024,     4096, 0x29f3e8c5
-1,      71680,      71680,     1024,     4096, 0x562efdb9
-1,      72704,      72704,     1024,     4096, 0xa2e006e0
-1,      73728,      73728,     1024,     4096, 0xa1bff541
-1,      74752,      74752,     1024,     4096, 0xd95b0012
-1,      75776,      75776,     1024,     4096, 0xd93e0912
-1,      76800,      76800,     1024,     4096, 0x6c2a1d88
-1,      77824,      77824,     1024,     4096, 0xb4d8fb8b
-1,      78848,      78848,     1024,     4096, 0xf14b0492
-1,      79872,      79872,     1024,     4096, 0x1c7be7b7
-1,      80896,      80896,     1024,     4096, 0xc181f877
-1,      81920,      81920,     1024,     4096, 0xba132d14
-1,      82944,      82944,     1024,     4096, 0xabae2d9a
-1,      83968,      83968,     1024,     4096, 0xb07fff15
-1,      84992,      84992,     1024,     4096, 0xa0c1ff2d
-1,      86016,      86016,     1024,     4096, 0x19f7fd1f
-1,      87040,      87040,     1024,     4096, 0xcb6d11a4
-1,      88064,      88064,     1024,     4096, 0x166ac8b7
-1,      89088,      89088,     1024,     4096, 0xe68dda8f
-1,      90112,      90112,     1024,     4096, 0xe457b505
-1,      91136,      91136,     1024,     4096, 0xda25a409
-1,      92160,      92160,     1024,     4096, 0x5b5d9d3b
-1,      93184,      93184,     1024,     4096, 0xa61eb13d
-1,      94208,      94208,     1024,     4096, 0xac93b66f
-1,      95232,      95232,     1024,     4096, 0xc7aeb33f
-1,      96256,      96256,     1024,     4096, 0x52cccfb5
-1,      97280,      97280,     1024,     4096, 0x4e4cf487
-1,      98304,      98304,     1024,     4096, 0x19c07f35
-1,      99328,      99328,     1024,     4096, 0x63ecd34f
-1,     100352,     100352,     1024,     4096, 0x122aec53
-1,     101376,     101376,     1024,     4096, 0x6581c0ad
-1,     102400,     102400,     1024,     4096, 0x640edb15
-1,     103424,     103424,     1024,     4096, 0x5d66c66f
-1,     104448,     104448,     1024,     4096, 0x069e9d35
-1,     105472,     105472,     1024,     4096, 0x5c9fd0e9
-1,     106496,     106496,     1024,     4096, 0x72468667
-1,     107520,     107520,     1024,     4096, 0x6e6dd02b
-1,     108544,     108544,     1024,     4096, 0x93edce33
-1,     109568,     109568,     1024,     4096, 0xcdfbd519
-1,     110592,     110592,     1024,     4096, 0x8463f2bb
-1,     111616,     111616,     1024,     4096, 0x5ca6f869
-1,     112640,     112640,     1024,     4096, 0x099a0398
-1,     113664,     113664,     1024,     4096, 0xa7fa10f0
-1,     114688,     114688,     1024,     4096, 0x28caddd3
-1,     115712,     115712,     1024,     4096, 0x4852ef8b
-1,     116736,     116736,     1024,     4096, 0x0250ee7b
-1,     117760,     117760,     1024,     4096, 0x9583da21
-1,     118784,     118784,     1024,     4096, 0x7365fb33
-1,     119808,     119808,     1024,     4096, 0x28c82066
-1,     120832,     120832,     1024,     4096, 0x94650be4
-1,     121856,     121856,     1024,     4096, 0xeb21f8eb
-1,     122880,     122880,     1024,     4096, 0xcd88f455
-1,     123904,     123904,     1024,     4096, 0x66a9efaf
-1,     124928,     124928,     1024,     4096, 0x5500c6ed
-1,     125952,     125952,     1024,     4096, 0x0ee0c62d
-1,     126976,     126976,     1024,     4096, 0x34d30762
-1,     128000,     128000,     1024,     4096, 0x8c0dec9f
-1,     129024,     129024,     1024,     4096, 0x790011d8
-1,     130048,     130048,     1024,     4096, 0xb76a1136
-1,     131072,     131072,     1024,     4096, 0x7dddfea7
-1,     132096,     132096,      204,      816, 0x398f938f
-2,     132300,     132300,      820,     3280, 0x9f1759ba
-2,     133120,     133120,     1024,     4096, 0xc129f54e
-2,     134144,     134144,     1024,     4096, 0x9a86f077
-2,     135168,     135168,     1024,     4096, 0xc9eef209
-2,     136192,     136192,     1024,     4096, 0x72d4029b
-2,     137216,     137216,     1024,     4096, 0x8ec20590
-2,     138240,     138240,     1024,     4096, 0xd48f18ed
-2,     139264,     139264,     1024,     4096, 0xd807eadc
-2,     140288,     140288,     1024,     4096, 0x1e2bea09
-2,     141312,     141312,     1024,     4096, 0x937af12e
-2,     142336,     142336,     1024,     4096, 0xdedbf303
-2,     143360,     143360,     1024,     4096, 0xdc75df88
-2,     144384,     144384,     1024,     4096, 0x1845ffd6
-2,     145408,     145408,     1024,     4096, 0x20e8150c
-2,     146432,     146432,     1024,     4096, 0x5ea7eeef
-2,     147456,     147456,     1024,     4096, 0x4c7efa21
-2,     148480,     148480,     1024,     4096, 0x8b97e30e
-2,     149504,     149504,     1024,     4096, 0xe5040228
-2,     150528,     150528,     1024,     4096, 0x6283f78c
-2,     151552,     151552,     1024,     4096, 0xe7100140
-2,     152576,     152576,     1024,     4096, 0x9ea6f9b2
-2,     153600,     153600,     1024,     4096, 0x5f0e1563
-2,     154624,     154624,     1024,     4096, 0x510bf18e
-2,     155648,     155648,     1024,     4096, 0x5f4fe425
-2,     156672,     156672,     1024,     4096, 0x507af3c0
-2,     157696,     157696,     1024,     4096, 0xbf14ddc6
-2,     158720,     158720,     1024,     4096, 0x1871ed69
-2,     159744,     159744,     1024,     4096, 0xc349ef9f
-2,     160768,     160768,     1024,     4096, 0x4e2c1834
-2,     161792,     161792,     1024,     4096, 0x2383fe04
-2,     162816,     162816,     1024,     4096, 0x6626f415
-2,     163840,     163840,     1024,     4096, 0x283be379
-2,     164864,     164864,     1024,     4096, 0xc76c0ceb
-2,     165888,     165888,     1024,     4096, 0xa0b8040f
-2,     166912,     166912,     1024,     4096, 0x2535eb6d
-2,     167936,     167936,     1024,     4096, 0xeb180bb5
-2,     168960,     168960,     1024,     4096, 0xbc5cf059
-2,     169984,     169984,     1024,     4096, 0x1862f1ac
-2,     171008,     171008,     1024,     4096, 0x9cc2ea2b
-2,     172032,     172032,     1024,     4096, 0xbb9ae754
-2,     173056,     173056,     1024,     4096, 0x716debb5
-2,     174080,     174080,     1024,     4096, 0xff3aff2a
-2,     175104,     175104,     1024,     4096, 0x755dfa5c
-2,     176128,     176128,     1024,     4096, 0x3b830605
-2,     177152,     177152,     1024,     4096, 0x0030dc9e
-2,     178176,     178176,     1024,     4096, 0xb017fd54
-2,     179200,     179200,     1024,     4096, 0x5c7dfa2e
-2,     180224,     180224,     1024,     4096, 0x7887e599
-2,     181248,     181248,     1024,     4096, 0xb730e72f
-2,     182272,     182272,     1024,     4096, 0x6bb3fae4
-2,     183296,     183296,     1024,     4096, 0xcc08fc36
-2,     184320,     184320,     1024,     4096, 0x5afd9ec2
-2,     185344,     185344,     1024,     4096, 0xa1d3e83d
-2,     186368,     186368,     1024,     4096, 0x7f96013c
-2,     187392,     187392,     1024,     4096, 0x7a0afe31
-2,     188416,     188416,     1024,     4096, 0xa37d1701
-2,     189440,     189440,     1024,     4096, 0x4615ebc2
-2,     190464,     190464,     1024,     4096, 0x217005c1
-2,     191488,     191488,     1024,     4096, 0x1755f789
-2,     192512,     192512,     1024,     4096, 0x83e6db65
-2,     193536,     193536,     1024,     4096, 0x92ab1447
-2,     194560,     194560,     1024,     4096, 0xedbdf383
-2,     195584,     195584,     1024,     4096, 0x4316f6a9
-2,     196608,     196608,     1024,     4096, 0x1a6a0b4c
-2,     197632,     197632,     1024,     4096, 0xdfd809b7
-2,     198656,     198656,     1024,     4096, 0x1d2cf5f1
-2,     199680,     199680,     1024,     4096, 0xd366f4a1
-2,     200704,     200704,     1024,     4096, 0x6a2f86e0
-2,     201728,     201728,     1024,     4096, 0xf51f08a9
-2,     202752,     202752,     1024,     4096, 0x05edefa8
-2,     203776,     203776,     1024,     4096, 0x255df2a6
-2,     204800,     204800,     1024,     4096, 0xe881d9e4
-2,     205824,     205824,     1024,     4096, 0x50380523
-2,     206848,     206848,     1024,     4096, 0x8b93eb26
-2,     207872,     207872,     1024,     4096, 0x759cf94c
-2,     208896,     208896,     1024,     4096, 0x8474f591
-2,     209920,     209920,     1024,     4096, 0x0030dc9e
-2,     210944,     210944,     1024,     4096, 0xb017fd54
-2,     211968,     211968,     1024,     4096, 0x5c7dfa2e
-2,     212992,     212992,     1024,     4096, 0x7887e599
-2,     214016,     214016,     1024,     4096, 0xb730e72f
-2,     215040,     215040,     1024,     4096, 0x6bb3fae4
-2,     216064,     216064,     1024,     4096, 0xcc08fc36
-2,     217088,     217088,     1024,     4096, 0x5afd9ec2
-2,     218112,     218112,     1024,     4096, 0xa1d3e83d
-2,     219136,     219136,     1024,     4096, 0x7f96013c
-2,     220160,     220160,     1024,     4096, 0x7a0afe31
-2,     221184,     221184,     1024,     4096, 0xa37d1701
-2,     222208,     222208,     1024,     4096, 0x4615ebc2
-2,     223232,     223232,     1024,     4096, 0x217005c1
-2,     224256,     224256,     1024,     4096, 0x1755f789
-2,     225280,     225280,     1024,     4096, 0x83e6db65
-2,     226304,     226304,     1024,     4096, 0x92ab1447
-2,     227328,     227328,     1024,     4096, 0xedbdf383
-2,     228352,     228352,     1024,     4096, 0x4316f6a9
-2,     229376,     229376,     1024,     4096, 0x1a6a0b4c
-2,     230400,     230400,     1024,     4096, 0xdfd809b7
-2,     231424,     231424,     1024,     4096, 0x1d2cf5f1
-2,     232448,     232448,     1024,     4096, 0xd366f4a1
-2,     233472,     233472,     1024,     4096, 0x6a2f86e0
-2,     234496,     234496,     1024,     4096, 0xf51f08a9
-2,     235520,     235520,     1024,     4096, 0x05edefa8
-2,     236544,     236544,     1024,     4096, 0x255df2a6
-2,     237568,     237568,     1024,     4096, 0xe881d9e4
-2,     238592,     238592,     1024,     4096, 0x50380523
-2,     239616,     239616,     1024,     4096, 0x8b93eb26
-2,     240640,     240640,     1024,     4096, 0x759cf94c
-2,     241664,     241664,     1024,     4096, 0x8474f591
-2,     242688,     242688,     1024,     4096, 0x0030dc9e
-2,     243712,     243712,     1024,     4096, 0xb017fd54
-2,     244736,     244736,     1024,     4096, 0x5c7dfa2e
-2,     245760,     245760,     1024,     4096, 0x7887e599
-2,     246784,     246784,     1024,     4096, 0xb730e72f
-2,     247808,     247808,     1024,     4096, 0x6bb3fae4
-2,     248832,     248832,     1024,     4096, 0xcc08fc36
-2,     249856,     249856,     1024,     4096, 0x5afd9ec2
-2,     250880,     250880,     1024,     4096, 0xa1d3e83d
-2,     251904,     251904,     1024,     4096, 0x7f96013c
-2,     252928,     252928,     1024,     4096, 0x7a0afe31
-2,     253952,     253952,     1024,     4096, 0xa37d1701
-2,     254976,     254976,     1024,     4096, 0x4615ebc2
-2,     256000,     256000,     1024,     4096, 0x217005c1
-2,     257024,     257024,     1024,     4096, 0x1755f789
-2,     258048,     258048,     1024,     4096, 0x83e6db65
-2,     259072,     259072,     1024,     4096, 0x92ab1447
-2,     260096,     260096,     1024,     4096, 0xedbdf383
-2,     261120,     261120,     1024,     4096, 0x4316f6a9
-2,     262144,     262144,     1024,     4096, 0x1a6a0b4c
-2,     263168,     263168,     1024,     4096, 0xdfd809b7
-2,     264192,     264192,      408,     1632, 0xf412313e
+0,          0,          0,     4096,    16384, 0x02ebe66b
+0,       4096,       4096,     4096,    16384, 0x35bfe081
+0,       8192,       8192,     4096,    16384, 0x3f90e0a9
+0,      12288,      12288,     4096,    16384, 0xd389dc43
+0,      16384,      16384,     4096,    16384, 0x9d5add49
+0,      20480,      20480,     4096,    16384, 0x378ee333
+0,      24576,      24576,     4096,    16384, 0xabf6df0f
+0,      28672,      28672,     4096,    16384, 0xedefe76f
+0,      32768,      32768,     4096,    16384, 0x02ebe66b
+0,      36864,      36864,     4096,    16384, 0x35bfe081
+0,      40960,      40960,     3140,    12560, 0x13b5698a
+1,      44100,      44100,     5052,    20208, 0xadc32273
+1,      49152,      49152,     4096,    16384, 0x1126dca3
+1,      53248,      53248,     4096,    16384, 0x9647edcf
+1,      57344,      57344,     4096,    16384, 0x5cc345aa
+1,      61440,      61440,     4096,    16384, 0x19d7bd51
+1,      65536,      65536,     4096,    16384, 0x19eccef7
+1,      69632,      69632,     4096,    16384, 0x4b68eeed
+1,      73728,      73728,     4096,    16384, 0x0b3d1bfc
+1,      77824,      77824,     4096,    16384, 0xe9b2e069
+1,      81920,      81920,     4096,    16384, 0xcaa5590e
+1,      86016,      86016,     4096,    16384, 0x47d0b227
+1,      90112,      90112,     4096,    16384, 0x446ba7a4
+1,      94208,      94208,     4096,    16384, 0x299b2e17
+1,      98304,      98304,     4096,    16384, 0xc51affa2
+1,     102400,     102400,     4096,    16384, 0xb4970fcf
+1,     106496,     106496,     4096,    16384, 0xe48af9fc
+1,     110592,     110592,     4096,    16384, 0xc2beffbb
+1,     114688,     114688,     4096,    16384, 0xb9d99627
+1,     118784,     118784,     4096,    16384, 0xb65a2086
+1,     122880,     122880,     4096,    16384, 0x6386714b
+1,     126976,     126976,     4096,    16384, 0x92a3171e
+1,     131072,     131072,     1228,     4912, 0x9b509245
+2,     132300,     132300,     2868,    11472, 0xa9273f9d
+2,     135168,     135168,     4096,    16384, 0x63301330
+2,     139264,     139264,     4096,    16384, 0xd663b943
+2,     143360,     143360,     4096,    16384, 0xdcafe377
+2,     147456,     147456,     4096,    16384, 0xfb2cd701
+2,     151552,     151552,     4096,    16384, 0x91c30201
+2,     155648,     155648,     4096,    16384, 0xf23da341
+2,     159744,     159744,     4096,    16384, 0xe8d5fa0a
+2,     163840,     163840,     4096,    16384, 0x519bdfef
+2,     167936,     167936,     4096,    16384, 0xf2fcd803
+2,     172032,     172032,     4096,    16384, 0xd5ceccbc
+2,     176128,     176128,     4096,    16384, 0xd48ada43
+2,     180224,     180224,     4096,    16384, 0x5a4ac40f
+2,     184320,     184320,     4096,    16384, 0x29db868a
+2,     188416,     188416,     4096,    16384, 0xa2a0002b
+2,     192512,     192512,     4096,    16384, 0xbb0bd9f6
+2,     196608,     196608,     4096,    16384, 0x338dffa4
+2,     200704,     200704,     4096,    16384, 0x970b71f5
+2,     204800,     204800,     4096,    16384, 0x0521c397
+2,     208896,     208896,     4096,    16384, 0xff5ec9de
+2,     212992,     212992,     4096,    16384, 0x5a4ac40f
+2,     217088,     217088,     4096,    16384, 0x29db868a
+2,     221184,     221184,     4096,    16384, 0xa2a0002b
+2,     225280,     225280,     4096,    16384, 0xbb0bd9f6
+2,     229376,     229376,     4096,    16384, 0x338dffa4
+2,     233472,     233472,     4096,    16384, 0x970b71f5
+2,     237568,     237568,     4096,    16384, 0x0521c397
+2,     241664,     241664,     4096,    16384, 0xff5ec9de
+2,     245760,     245760,     4096,    16384, 0x5a4ac40f
+2,     249856,     249856,     4096,    16384, 0x29db868a
+2,     253952,     253952,     4096,    16384, 0xa2a0002b
+2,     258048,     258048,     4096,    16384, 0xbb0bd9f6
+2,     262144,     262144,     2456,     9824, 0xb3f84641
diff --git a/tests/ref/fate/filter-asetrate b/tests/ref/fate/filter-asetrate
index 4b5e87d69e..7fbd1561be 100644
--- a/tests/ref/fate/filter-asetrate
+++ b/tests/ref/fate/filter-asetrate
@@ -3,23 +3,23 @@ 
 #codec_id 0: pcm_s16le
 #sample_rate 0: 20000
 #channel_layout_name 0: stereo
-0,          0,          0,     1024,     4096, 0x29e3eecf
-0,       1024,       1024,     1024,     4096, 0x18390b96
-0,       2048,       2048,     1024,     4096, 0xc477fa99
-0,       3072,       3072,     1024,     4096, 0x3bc0f14f
-0,       4096,       4096,     1024,     4096, 0x2379ed91
-0,       5120,       5120,     1024,     4096, 0xfd6a0070
-0,       6144,       6144,     1024,     4096, 0x0b01f4cf
-0,       7168,       7168,     1024,     4096, 0x6716fd93
-0,       8192,       8192,     1024,     4096, 0x1840f25b
-0,       9216,       9216,     1024,     4096, 0x9c1ffaf1
-0,      10240,      10240,     1024,     4096, 0xcbedefaf
-0,      11264,      11264,     1024,     4096, 0x3e050390
-0,      12288,      12288,     1024,     4096, 0xb30e0090
-0,      13312,      13312,     1024,     4096, 0x26b8f75b
-0,      14336,      14336,     1024,     4096, 0xd706e311
-0,      15360,      15360,     1024,     4096, 0x0c480138
-0,      16384,      16384,     1024,     4096, 0x6c9a0216
-0,      17408,      17408,     1024,     4096, 0x7abce54f
-0,      18432,      18432,     1024,     4096, 0xda45f63f
-0,      19456,      19456,     1024,     4096, 0x50d5ff87
+0,          0,          0,     4096,    16384, 0x02ebe66b
+0,       4096,       4096,     4096,    16384, 0x35bfe081
+0,       8192,       8192,     4096,    16384, 0x3f90e0a9
+0,      12288,      12288,     4096,    16384, 0xd389dc43
+0,      16384,      16384,     4096,    16384, 0x9d5add49
+0,      20480,      20480,     4096,    16384, 0x378ee333
+0,      24576,      24576,     4096,    16384, 0xabf6df0f
+0,      28672,      28672,     4096,    16384, 0xedefe76f
+0,      32768,      32768,     4096,    16384, 0x02ebe66b
+0,      36864,      36864,     4096,    16384, 0x35bfe081
+0,      40960,      40960,     4096,    16384, 0xdbc2b3b9
+0,      45056,      45056,     4096,    16384, 0xe92bd835
+0,      49152,      49152,     4096,    16384, 0x1126dca3
+0,      53248,      53248,     4096,    16384, 0x9647edcf
+0,      57344,      57344,     4096,    16384, 0x5cc345aa
+0,      61440,      61440,     4096,    16384, 0x19d7bd51
+0,      65536,      65536,     4096,    16384, 0x19eccef7
+0,      69632,      69632,     4096,    16384, 0x4b68eeed
+0,      73728,      73728,     4096,    16384, 0x0b3d1bfc
+0,      77824,      77824,     4096,    16384, 0xe9b2e069
diff --git a/tests/ref/fate/filter-atrim-mixed b/tests/ref/fate/filter-atrim-mixed
index 7f16639406..35fdfdf82f 100644
--- a/tests/ref/fate/filter-atrim-mixed
+++ b/tests/ref/fate/filter-atrim-mixed
@@ -3,7 +3,5 @@ 
 #codec_id 0: pcm_s16le
 #sample_rate 0: 44100
 #channel_layout_name 0: stereo
-0,       1025,       1025,     1023,     4092, 0x78560a4c
-0,       2048,       2048,     1024,     4096, 0xc477fa99
-0,       3072,       3072,     1024,     4096, 0x3bc0f14f
+0,       1025,       1025,     3071,    12284, 0x86e8f643
 0,       4096,       4096,      315,     1260, 0xe4b26b50
diff --git a/tests/ref/fate/filter-atrim-time b/tests/ref/fate/filter-atrim-time
index 2f8d87ecbe..462c7cf0a1 100644
--- a/tests/ref/fate/filter-atrim-time
+++ b/tests/ref/fate/filter-atrim-time
@@ -3,8 +3,5 @@ 
 #codec_id 0: pcm_s16le
 #sample_rate 0: 44100
 #channel_layout_name 0: stereo
-0,       4410,       4410,      710,     2840, 0x658982a3
-0,       5120,       5120,     1024,     4096, 0xfd6a0070
-0,       6144,       6144,     1024,     4096, 0x0b01f4cf
-0,       7168,       7168,     1024,     4096, 0x6716fd93
+0,       4410,       4410,     3782,    15128, 0xaafd7593
 0,       8192,       8192,      628,     2512, 0xda5ddff8
diff --git a/tests/ref/fate/filter-chorus b/tests/ref/fate/filter-chorus
index 68513d49eb..97c7919655 100644
--- a/tests/ref/fate/filter-chorus
+++ b/tests/ref/fate/filter-chorus
@@ -3,13 +3,13 @@ 
 #codec_id 0: pcm_s16le
 #sample_rate 0: 22050
 #channel_layout_name 0: mono
-0,          0,          0,      512,     1024, 0xf7e0f7d3
-0,        512,        512,      512,     1024, 0xb2abfeba
-0,       1024,       1024,      512,     1024, 0x672bfe34
-0,       1536,       1536,      512,     1024, 0x28a0fd03
-0,       2048,       2048,      512,     1024, 0x1175f9eb
-0,       2560,       2560,      512,     1024, 0xced2f971
-0,       3072,       3072,      512,     1024, 0x48c7006f
-0,       3584,       3584,      512,     1024, 0x500f0068
-0,       4096,       4096,      512,     1024, 0xbab9fb65
-0,       4608,       4608,      512,     1024, 0xd60ff7e5
+0,          0,          0,     2048,     4096, 0x1fc6f1f1
+0,       2048,       2048,     2048,     4096, 0xe5f7f442
+0,       4096,       4096,     2048,     4096, 0x4f14ecb9
+0,       6144,       6144,     2048,     4096, 0xd431eeee
+0,       8192,       8192,     2048,     4096, 0x4c38ead6
+0,      10240,      10240,     2048,     4096, 0x786cf071
+0,      12288,      12288,     2048,     4096, 0xe291f200
+0,      14336,      14336,     2048,     4096, 0x47d2f1dd
+0,      16384,      16384,     2048,     4096, 0xd6a1f028
+0,      18432,      18432,     2048,     4096, 0x2bf4ec79
diff --git a/tests/ref/fate/filter-compand b/tests/ref/fate/filter-compand
index 285416172e..fa7ec62db8 100644
--- a/tests/ref/fate/filter-compand
+++ b/tests/ref/fate/filter-compand
@@ -3,23 +3,23 @@ 
 #codec_id 0: pcm_s16le
 #sample_rate 0: 44100
 #channel_layout_name 0: stereo
-0,          0,          0,     1024,     4096, 0xfc10e61b
-0,       1024,       1024,     1024,     4096, 0x8801ef13
-0,       2048,       2048,     1024,     4096, 0xba55fc17
-0,       3072,       3072,     1024,     4096, 0x70f203a0
-0,       4096,       4096,     1024,     4096, 0x9f2ff593
-0,       5120,       5120,     1024,     4096, 0x52f0fb77
-0,       6144,       6144,     1024,     4096, 0x435502ec
-0,       7168,       7168,     1024,     4096, 0xaacfe4bb
-0,       8192,       8192,     1024,     4096, 0x38010f44
-0,       9216,       9216,     1024,     4096, 0x8a79e351
-0,      10240,      10240,     1024,     4096, 0x3d66ec91
-0,      11264,      11264,     1024,     4096, 0x03031b7e
-0,      12288,      12288,     1024,     4096, 0xd9c310ec
-0,      13312,      13312,     1024,     4096, 0x076af28b
-0,      14336,      14336,     1024,     4096, 0xb80fdfe3
-0,      15360,      15360,     1024,     4096, 0xff0fe68d
-0,      16384,      16384,     1024,     4096, 0x679efb4d
-0,      17408,      17408,     1024,     4096, 0xf84fe6e3
-0,      18432,      18432,     1024,     4096, 0x01ebf175
-0,      19456,      19456,     1024,     4096, 0xe7cdea1b
+0,          0,          0,     4096,    16384, 0xc388d503
+0,       4096,       4096,     4096,    16384, 0x9d84d8cf
+0,       8192,       8192,     4096,    16384, 0xa600fab3
+0,      12288,      12288,     4096,    16384, 0x30daca05
+0,      16384,      16384,     4096,    16384, 0xc01cbded
+0,      20480,      20480,     4096,    16384, 0xb73cd0c3
+0,      24576,      24576,     4096,    16384, 0xc93cc8df
+0,      28672,      28672,     4096,    16384, 0x56bde947
+0,      32768,      32768,     4096,    16384, 0xf746ba8f
+0,      36864,      36864,     4096,    16384, 0xaa57ef43
+0,      40960,      40960,     4096,    16384, 0x9478ea1b
+0,      45056,      45056,     4096,    16384, 0xd563c715
+0,      49152,      49152,     4096,    16384, 0x9d1cce65
+0,      53248,      53248,     4096,    16384, 0xe03bb919
+0,      57344,      57344,     4096,    16384, 0x5cc345aa
+0,      61440,      61440,     4096,    16384, 0x19d7bd51
+0,      65536,      65536,     4096,    16384, 0x19eccef7
+0,      69632,      69632,     4096,    16384, 0x4b68eeed
+0,      73728,      73728,     4096,    16384, 0x0b3d1bfc
+0,      77824,      77824,     4096,    16384, 0xe9b2e069
diff --git a/tests/ref/fate/filter-crystalizer b/tests/ref/fate/filter-crystalizer
index ed50fb9788..9820053032 100644
--- a/tests/ref/fate/filter-crystalizer
+++ b/tests/ref/fate/filter-crystalizer
@@ -3,262 +3,68 @@ 
 #codec_id 0: pcm_s16le
 #sample_rate 0: 44100
 #channel_layout_name 0: stereo
-0,          0,          0,     1024,     4096, 0x29e3eecf
-0,       1024,       1024,     1024,     4096, 0x18390b96
-0,       2048,       2048,     1024,     4096, 0xc477fa99
-0,       3072,       3072,     1024,     4096, 0x3bc0f14f
-0,       4096,       4096,     1024,     4096, 0x2379ed91
-0,       5120,       5120,     1024,     4096, 0xfd6a0070
-0,       6144,       6144,     1024,     4096, 0x0b01f4cf
-0,       7168,       7168,     1024,     4096, 0x6716fd93
-0,       8192,       8192,     1024,     4096, 0x1840f25b
-0,       9216,       9216,     1024,     4096, 0x9c1ffaf1
-0,      10240,      10240,     1024,     4096, 0xcbedefaf
-0,      11264,      11264,     1024,     4096, 0x3e050390
-0,      12288,      12288,     1024,     4096, 0xb30e0090
-0,      13312,      13312,     1024,     4096, 0x26b8f75b
-0,      14336,      14336,     1024,     4096, 0xd706e311
-0,      15360,      15360,     1024,     4096, 0x0c480138
-0,      16384,      16384,     1024,     4096, 0x6c9a0216
-0,      17408,      17408,     1024,     4096, 0x7abce54f
-0,      18432,      18432,     1024,     4096, 0xda45f63f
-0,      19456,      19456,     1024,     4096, 0x50d5ff87
-0,      20480,      20480,     1024,     4096, 0x59be0352
-0,      21504,      21504,     1024,     4096, 0xa61af077
-0,      22528,      22528,     1024,     4096, 0x84c4fc07
-0,      23552,      23552,     1024,     4096, 0x4a35f345
-0,      24576,      24576,     1024,     4096, 0xbb65fa81
-0,      25600,      25600,     1024,     4096, 0xf6c7f5e5
-0,      26624,      26624,     1024,     4096, 0xd3270138
-0,      27648,      27648,     1024,     4096, 0x4782ed53
-0,      28672,      28672,     1024,     4096, 0xe308f055
-0,      29696,      29696,     1024,     4096, 0x7d33f97d
-0,      30720,      30720,     1024,     4096, 0xb8b00dd4
-0,      31744,      31744,     1024,     4096, 0x7ff7efab
-0,      32768,      32768,     1024,     4096, 0x29e3eecf
-0,      33792,      33792,     1024,     4096, 0x18390b96
-0,      34816,      34816,     1024,     4096, 0xc477fa99
-0,      35840,      35840,     1024,     4096, 0x3bc0f14f
-0,      36864,      36864,     1024,     4096, 0x2379ed91
-0,      37888,      37888,     1024,     4096, 0xfd6a0070
-0,      38912,      38912,     1024,     4096, 0x0b01f4cf
-0,      39936,      39936,     1024,     4096, 0x6716fd93
-0,      40960,      40960,     1024,     4096, 0x1840f25b
-0,      41984,      41984,     1024,     4096, 0x9c1ffaf1
-0,      43008,      43008,     1024,     4096, 0xcbedefaf
-0,      44032,      44032,     1024,     4096, 0xda37d691
-0,      45056,      45056,     1024,     4096, 0x7193ecbf
-0,      46080,      46080,     1024,     4096, 0x6e4a0a36
-0,      47104,      47104,     1024,     4096, 0x61cfe70d
-0,      48128,      48128,     1024,     4096, 0xc19ffa15
-0,      49152,      49152,     1024,     4096, 0x7b32fb3d
-0,      50176,      50176,     1024,     4096, 0xdacefd3f
-0,      51200,      51200,     1024,     4096, 0x3964f64d
-0,      52224,      52224,     1024,     4096, 0xdcf2edad
-0,      53248,      53248,     1024,     4096, 0x1367f69b
-0,      54272,      54272,     1024,     4096, 0xd4c6f7b9
-0,      55296,      55296,     1024,     4096, 0x9e041186
-0,      56320,      56320,     1024,     4096, 0xe939edd7
-0,      57344,      57344,     1024,     4096, 0xa932336a
-0,      58368,      58368,     1024,     4096, 0x5f510e28
-0,      59392,      59392,     1024,     4096, 0x4b8501c8
-0,      60416,      60416,     1024,     4096, 0xfbc30250
-0,      61440,      61440,     1024,     4096, 0x5e7fd855
-0,      62464,      62464,     1024,     4096, 0x8ef1f265
-0,      63488,      63488,     1024,     4096, 0x9f7601c2
-0,      64512,      64512,     1024,     4096, 0xb400f0b7
-0,      65536,      65536,     1024,     4096, 0x4c91e10b
-0,      66560,      66560,     1024,     4096, 0x3f41fe61
-0,      67584,      67584,     1024,     4096, 0x74fff9b9
-0,      68608,      68608,     1024,     4096, 0x18bbf5a5
-0,      69632,      69632,     1024,     4096, 0x51a70180
-0,      70656,      70656,     1024,     4096, 0x29f3e8c5
-0,      71680,      71680,     1024,     4096, 0x562efdb9
-0,      72704,      72704,     1024,     4096, 0xa2e006e0
-0,      73728,      73728,     1024,     4096, 0xa1bff541
-0,      74752,      74752,     1024,     4096, 0xd95b0012
-0,      75776,      75776,     1024,     4096, 0xd93e0912
-0,      76800,      76800,     1024,     4096, 0x6c2a1d88
-0,      77824,      77824,     1024,     4096, 0xb4d8fb8b
-0,      78848,      78848,     1024,     4096, 0xf14b0492
-0,      79872,      79872,     1024,     4096, 0x1c7be7b7
-0,      80896,      80896,     1024,     4096, 0xc181f877
-0,      81920,      81920,     1024,     4096, 0xba132d14
-0,      82944,      82944,     1024,     4096, 0xabae2d9a
-0,      83968,      83968,     1024,     4096, 0xb07fff15
-0,      84992,      84992,     1024,     4096, 0xa0c1ff2d
-0,      86016,      86016,     1024,     4096, 0x19f7fd1f
-0,      87040,      87040,     1024,     4096, 0xcb6d11a4
-0,      88064,      88064,     1024,     4096, 0x166ac8b7
-0,      89088,      89088,     1024,     4096, 0xe68dda8f
-0,      90112,      90112,     1024,     4096, 0xe457b505
-0,      91136,      91136,     1024,     4096, 0xda25a409
-0,      92160,      92160,     1024,     4096, 0x5b5d9d3b
-0,      93184,      93184,     1024,     4096, 0xa61eb13d
-0,      94208,      94208,     1024,     4096, 0xac93b66f
-0,      95232,      95232,     1024,     4096, 0xc7aeb33f
-0,      96256,      96256,     1024,     4096, 0x52cccfb5
-0,      97280,      97280,     1024,     4096, 0x4e4cf487
-0,      98304,      98304,     1024,     4096, 0x19c07f35
-0,      99328,      99328,     1024,     4096, 0x63ecd34f
-0,     100352,     100352,     1024,     4096, 0x122aec53
-0,     101376,     101376,     1024,     4096, 0x6581c0ad
-0,     102400,     102400,     1024,     4096, 0x640edb15
-0,     103424,     103424,     1024,     4096, 0x5d66c66f
-0,     104448,     104448,     1024,     4096, 0x069e9d35
-0,     105472,     105472,     1024,     4096, 0x5c9fd0e9
-0,     106496,     106496,     1024,     4096, 0x72468667
-0,     107520,     107520,     1024,     4096, 0x6e6dd02b
-0,     108544,     108544,     1024,     4096, 0x93edce33
-0,     109568,     109568,     1024,     4096, 0xcdfbd519
-0,     110592,     110592,     1024,     4096, 0x8463f2bb
-0,     111616,     111616,     1024,     4096, 0x5ca6f869
-0,     112640,     112640,     1024,     4096, 0x099a0398
-0,     113664,     113664,     1024,     4096, 0xa7fa10f0
-0,     114688,     114688,     1024,     4096, 0x28caddd3
-0,     115712,     115712,     1024,     4096, 0x4852ef8b
-0,     116736,     116736,     1024,     4096, 0x0250ee7b
-0,     117760,     117760,     1024,     4096, 0x9583da21
-0,     118784,     118784,     1024,     4096, 0x7365fb33
-0,     119808,     119808,     1024,     4096, 0x28c82066
-0,     120832,     120832,     1024,     4096, 0x94650be4
-0,     121856,     121856,     1024,     4096, 0xeb21f8eb
-0,     122880,     122880,     1024,     4096, 0xcd88f455
-0,     123904,     123904,     1024,     4096, 0x66a9efaf
-0,     124928,     124928,     1024,     4096, 0x5500c6ed
-0,     125952,     125952,     1024,     4096, 0x0ee0c62d
-0,     126976,     126976,     1024,     4096, 0x34d30762
-0,     128000,     128000,     1024,     4096, 0x8c0dec9f
-0,     129024,     129024,     1024,     4096, 0x790011d8
-0,     130048,     130048,     1024,     4096, 0xb76a1136
-0,     131072,     131072,     1024,     4096, 0x7dddfea7
-0,     132096,     132096,     1024,     4096, 0xdfa3ed49
-0,     133120,     133120,     1024,     4096, 0xc129f54e
-0,     134144,     134144,     1024,     4096, 0x9a86f077
-0,     135168,     135168,     1024,     4096, 0xc9eef209
-0,     136192,     136192,     1024,     4096, 0x72d4029b
-0,     137216,     137216,     1024,     4096, 0x8ec20590
-0,     138240,     138240,     1024,     4096, 0xd48f18ed
-0,     139264,     139264,     1024,     4096, 0xd807eadc
-0,     140288,     140288,     1024,     4096, 0x1e2bea09
-0,     141312,     141312,     1024,     4096, 0x937af12e
-0,     142336,     142336,     1024,     4096, 0xdedbf303
-0,     143360,     143360,     1024,     4096, 0xdc75df88
-0,     144384,     144384,     1024,     4096, 0x1845ffd6
-0,     145408,     145408,     1024,     4096, 0x20e8150c
-0,     146432,     146432,     1024,     4096, 0x5ea7eeef
-0,     147456,     147456,     1024,     4096, 0x4c7efa21
-0,     148480,     148480,     1024,     4096, 0x8b97e30e
-0,     149504,     149504,     1024,     4096, 0xe5040228
-0,     150528,     150528,     1024,     4096, 0x6283f78c
-0,     151552,     151552,     1024,     4096, 0xe7100140
-0,     152576,     152576,     1024,     4096, 0x9ea6f9b2
-0,     153600,     153600,     1024,     4096, 0x5f0e1563
-0,     154624,     154624,     1024,     4096, 0x510bf18e
-0,     155648,     155648,     1024,     4096, 0x5f4fe425
-0,     156672,     156672,     1024,     4096, 0x507af3c0
-0,     157696,     157696,     1024,     4096, 0xbf14ddc6
-0,     158720,     158720,     1024,     4096, 0x1871ed69
-0,     159744,     159744,     1024,     4096, 0xc349ef9f
-0,     160768,     160768,     1024,     4096, 0x4e2c1834
-0,     161792,     161792,     1024,     4096, 0x2383fe04
-0,     162816,     162816,     1024,     4096, 0x6626f415
-0,     163840,     163840,     1024,     4096, 0x283be379
-0,     164864,     164864,     1024,     4096, 0xc76c0ceb
-0,     165888,     165888,     1024,     4096, 0xa0b8040f
-0,     166912,     166912,     1024,     4096, 0x2535eb6d
-0,     167936,     167936,     1024,     4096, 0xeb180bb5
-0,     168960,     168960,     1024,     4096, 0xbc5cf059
-0,     169984,     169984,     1024,     4096, 0x1862f1ac
-0,     171008,     171008,     1024,     4096, 0x9cc2ea2b
-0,     172032,     172032,     1024,     4096, 0xbb9ae754
-0,     173056,     173056,     1024,     4096, 0x716debb5
-0,     174080,     174080,     1024,     4096, 0xff3aff2a
-0,     175104,     175104,     1024,     4096, 0x755dfa5c
-0,     176128,     176128,     1024,     4096, 0x3b830605
-0,     177152,     177152,     1024,     4096, 0x0030dc9e
-0,     178176,     178176,     1024,     4096, 0xb017fd54
-0,     179200,     179200,     1024,     4096, 0x5c7dfa2e
-0,     180224,     180224,     1024,     4096, 0x7887e599
-0,     181248,     181248,     1024,     4096, 0xb730e72f
-0,     182272,     182272,     1024,     4096, 0x6bb3fae4
-0,     183296,     183296,     1024,     4096, 0xcc08fc36
-0,     184320,     184320,     1024,     4096, 0x5afd9ec2
-0,     185344,     185344,     1024,     4096, 0xa1d3e83d
-0,     186368,     186368,     1024,     4096, 0x7f96013c
-0,     187392,     187392,     1024,     4096, 0x7a0afe31
-0,     188416,     188416,     1024,     4096, 0xa37d1701
-0,     189440,     189440,     1024,     4096, 0x4615ebc2
-0,     190464,     190464,     1024,     4096, 0x217005c1
-0,     191488,     191488,     1024,     4096, 0x1755f789
-0,     192512,     192512,     1024,     4096, 0x83e6db65
-0,     193536,     193536,     1024,     4096, 0x92ab1447
-0,     194560,     194560,     1024,     4096, 0xedbdf383
-0,     195584,     195584,     1024,     4096, 0x4316f6a9
-0,     196608,     196608,     1024,     4096, 0x1a6a0b4c
-0,     197632,     197632,     1024,     4096, 0xdfd809b7
-0,     198656,     198656,     1024,     4096, 0x1d2cf5f1
-0,     199680,     199680,     1024,     4096, 0xd366f4a1
-0,     200704,     200704,     1024,     4096, 0x6a2f86e0
-0,     201728,     201728,     1024,     4096, 0xf51f08a9
-0,     202752,     202752,     1024,     4096, 0x05edefa8
-0,     203776,     203776,     1024,     4096, 0x255df2a6
-0,     204800,     204800,     1024,     4096, 0xe881d9e4
-0,     205824,     205824,     1024,     4096, 0x50380523
-0,     206848,     206848,     1024,     4096, 0x8b93eb26
-0,     207872,     207872,     1024,     4096, 0x759cf94c
-0,     208896,     208896,     1024,     4096, 0x8474f591
-0,     209920,     209920,     1024,     4096, 0x0030dc9e
-0,     210944,     210944,     1024,     4096, 0xb017fd54
-0,     211968,     211968,     1024,     4096, 0x5c7dfa2e
-0,     212992,     212992,     1024,     4096, 0x7887e599
-0,     214016,     214016,     1024,     4096, 0xb730e72f
-0,     215040,     215040,     1024,     4096, 0x6bb3fae4
-0,     216064,     216064,     1024,     4096, 0xcc08fc36
-0,     217088,     217088,     1024,     4096, 0x5afd9ec2
-0,     218112,     218112,     1024,     4096, 0xa1d3e83d
-0,     219136,     219136,     1024,     4096, 0x7f96013c
-0,     220160,     220160,     1024,     4096, 0x7a0afe31
-0,     221184,     221184,     1024,     4096, 0xa37d1701
-0,     222208,     222208,     1024,     4096, 0x4615ebc2
-0,     223232,     223232,     1024,     4096, 0x217005c1
-0,     224256,     224256,     1024,     4096, 0x1755f789
-0,     225280,     225280,     1024,     4096, 0x83e6db65
-0,     226304,     226304,     1024,     4096, 0x92ab1447
-0,     227328,     227328,     1024,     4096, 0xedbdf383
-0,     228352,     228352,     1024,     4096, 0x4316f6a9
-0,     229376,     229376,     1024,     4096, 0x1a6a0b4c
-0,     230400,     230400,     1024,     4096, 0xdfd809b7
-0,     231424,     231424,     1024,     4096, 0x1d2cf5f1
-0,     232448,     232448,     1024,     4096, 0xd366f4a1
-0,     233472,     233472,     1024,     4096, 0x6a2f86e0
-0,     234496,     234496,     1024,     4096, 0xf51f08a9
-0,     235520,     235520,     1024,     4096, 0x05edefa8
-0,     236544,     236544,     1024,     4096, 0x255df2a6
-0,     237568,     237568,     1024,     4096, 0xe881d9e4
-0,     238592,     238592,     1024,     4096, 0x50380523
-0,     239616,     239616,     1024,     4096, 0x8b93eb26
-0,     240640,     240640,     1024,     4096, 0x759cf94c
-0,     241664,     241664,     1024,     4096, 0x8474f591
-0,     242688,     242688,     1024,     4096, 0x0030dc9e
-0,     243712,     243712,     1024,     4096, 0xb017fd54
-0,     244736,     244736,     1024,     4096, 0x5c7dfa2e
-0,     245760,     245760,     1024,     4096, 0x7887e599
-0,     246784,     246784,     1024,     4096, 0xb730e72f
-0,     247808,     247808,     1024,     4096, 0x6bb3fae4
-0,     248832,     248832,     1024,     4096, 0xcc08fc36
-0,     249856,     249856,     1024,     4096, 0x5afd9ec2
-0,     250880,     250880,     1024,     4096, 0xa1d3e83d
-0,     251904,     251904,     1024,     4096, 0x7f96013c
-0,     252928,     252928,     1024,     4096, 0x7a0afe31
-0,     253952,     253952,     1024,     4096, 0xa37d1701
-0,     254976,     254976,     1024,     4096, 0x4615ebc2
-0,     256000,     256000,     1024,     4096, 0x217005c1
-0,     257024,     257024,     1024,     4096, 0x1755f789
-0,     258048,     258048,     1024,     4096, 0x83e6db65
-0,     259072,     259072,     1024,     4096, 0x92ab1447
-0,     260096,     260096,     1024,     4096, 0xedbdf383
-0,     261120,     261120,     1024,     4096, 0x4316f6a9
-0,     262144,     262144,     1024,     4096, 0x1a6a0b4c
-0,     263168,     263168,     1024,     4096, 0xdfd809b7
-0,     264192,     264192,      408,     1632, 0xf412313e
+0,          0,          0,     4096,    16384, 0x02ebe66b
+0,       4096,       4096,     4096,    16384, 0x35bfe081
+0,       8192,       8192,     4096,    16384, 0x3f90e0a9
+0,      12288,      12288,     4096,    16384, 0xd389dc43
+0,      16384,      16384,     4096,    16384, 0x9d5add49
+0,      20480,      20480,     4096,    16384, 0x378ee333
+0,      24576,      24576,     4096,    16384, 0xabf6df0f
+0,      28672,      28672,     4096,    16384, 0xedefe76f
+0,      32768,      32768,     4096,    16384, 0x02ebe66b
+0,      36864,      36864,     4096,    16384, 0x35bfe081
+0,      40960,      40960,     4096,    16384, 0xdbc2b3b9
+0,      45056,      45056,     4096,    16384, 0xe92bd835
+0,      49152,      49152,     4096,    16384, 0x1126dca3
+0,      53248,      53248,     4096,    16384, 0x9647edcf
+0,      57344,      57344,     4096,    16384, 0x5cc345aa
+0,      61440,      61440,     4096,    16384, 0x19d7bd51
+0,      65536,      65536,     4096,    16384, 0x19eccef7
+0,      69632,      69632,     4096,    16384, 0x4b68eeed
+0,      73728,      73728,     4096,    16384, 0x0b3d1bfc
+0,      77824,      77824,     4096,    16384, 0xe9b2e069
+0,      81920,      81920,     4096,    16384, 0xcaa5590e
+0,      86016,      86016,     4096,    16384, 0x47d0b227
+0,      90112,      90112,     4096,    16384, 0x446ba7a4
+0,      94208,      94208,     4096,    16384, 0x299b2e17
+0,      98304,      98304,     4096,    16384, 0xc51affa2
+0,     102400,     102400,     4096,    16384, 0xb4970fcf
+0,     106496,     106496,     4096,    16384, 0xe48af9fc
+0,     110592,     110592,     4096,    16384, 0xc2beffbb
+0,     114688,     114688,     4096,    16384, 0xb9d99627
+0,     118784,     118784,     4096,    16384, 0xb65a2086
+0,     122880,     122880,     4096,    16384, 0x6386714b
+0,     126976,     126976,     4096,    16384, 0x92a3171e
+0,     131072,     131072,     4096,    16384, 0x78bad1e2
+0,     135168,     135168,     4096,    16384, 0x63301330
+0,     139264,     139264,     4096,    16384, 0xd663b943
+0,     143360,     143360,     4096,    16384, 0xdcafe377
+0,     147456,     147456,     4096,    16384, 0xfb2cd701
+0,     151552,     151552,     4096,    16384, 0x91c30201
+0,     155648,     155648,     4096,    16384, 0xf23da341
+0,     159744,     159744,     4096,    16384, 0xe8d5fa0a
+0,     163840,     163840,     4096,    16384, 0x519bdfef
+0,     167936,     167936,     4096,    16384, 0xf2fcd803
+0,     172032,     172032,     4096,    16384, 0xd5ceccbc
+0,     176128,     176128,     4096,    16384, 0xd48ada43
+0,     180224,     180224,     4096,    16384, 0x5a4ac40f
+0,     184320,     184320,     4096,    16384, 0x29db868a
+0,     188416,     188416,     4096,    16384, 0xa2a0002b
+0,     192512,     192512,     4096,    16384, 0xbb0bd9f6
+0,     196608,     196608,     4096,    16384, 0x338dffa4
+0,     200704,     200704,     4096,    16384, 0x970b71f5
+0,     204800,     204800,     4096,    16384, 0x0521c397
+0,     208896,     208896,     4096,    16384, 0xff5ec9de
+0,     212992,     212992,     4096,    16384, 0x5a4ac40f
+0,     217088,     217088,     4096,    16384, 0x29db868a
+0,     221184,     221184,     4096,    16384, 0xa2a0002b
+0,     225280,     225280,     4096,    16384, 0xbb0bd9f6
+0,     229376,     229376,     4096,    16384, 0x338dffa4
+0,     233472,     233472,     4096,    16384, 0x970b71f5
+0,     237568,     237568,     4096,    16384, 0x0521c397
+0,     241664,     241664,     4096,    16384, 0xff5ec9de
+0,     245760,     245760,     4096,    16384, 0x5a4ac40f
+0,     249856,     249856,     4096,    16384, 0x29db868a
+0,     253952,     253952,     4096,    16384, 0xa2a0002b
+0,     258048,     258048,     4096,    16384, 0xbb0bd9f6
+0,     262144,     262144,     2456,     9824, 0xb3f84641
diff --git a/tests/ref/fate/filter-dcshift b/tests/ref/fate/filter-dcshift
index 4ad1401a9e..aaff1d0f04 100644
--- a/tests/ref/fate/filter-dcshift
+++ b/tests/ref/fate/filter-dcshift
@@ -3,23 +3,23 @@ 
 #codec_id 0: pcm_s16le
 #sample_rate 0: 44100
 #channel_layout_name 0: stereo
-0,          0,          0,     1024,     4096, 0x96868842
-0,       1024,       1024,     1024,     4096, 0xeff98700
-0,       2048,       2048,     1024,     4096, 0x6ea28e1e
-0,       3072,       3072,     1024,     4096, 0x67b982be
-0,       4096,       4096,     1024,     4096, 0xd08a8302
-0,       5120,       5120,     1024,     4096, 0xfdf891dc
-0,       6144,       6144,     1024,     4096, 0xbec4784a
-0,       7168,       7168,     1024,     4096, 0x04ca910a
-0,       8192,       8192,     1024,     4096, 0xe4af87d0
-0,       9216,       9216,     1024,     4096, 0xc7f18c66
-0,      10240,      10240,     1024,     4096, 0x6448732a
-0,      11264,      11264,     1024,     4096, 0x98b89706
-0,      12288,      12288,     1024,     4096, 0xf47887f4
-0,      13312,      13312,     1024,     4096, 0x387290d2
-0,      14336,      14336,     1024,     4096, 0xc5716e84
-0,      15360,      15360,     1024,     4096, 0x94de8aa8
-0,      16384,      16384,     1024,     4096, 0x3a618d88
-0,      17408,      17408,     1024,     4096, 0xfeb56ec2
-0,      18432,      18432,     1024,     4096, 0x55fe8fb6
-0,      19456,      19456,     1024,     4096, 0x8ff788fa
+0,          0,          0,     4096,    16384, 0x9eb7203c
+0,       4096,       4096,     4096,    16384, 0x051a1e50
+0,       8192,       8192,     4096,    16384, 0xfb151e84
+0,      12288,      12288,     4096,    16384, 0xbd041210
+0,      16384,      16384,     4096,    16384, 0x23c91518
+0,      20480,      20480,     4096,    16384, 0xe45c1d10
+0,      24576,      24576,     4096,    16384, 0xe4081edc
+0,      28672,      28672,     4096,    16384, 0x4d0f2140
+0,      32768,      32768,     4096,    16384, 0x9eb7203c
+0,      36864,      36864,     4096,    16384, 0x051a1e50
+0,      40960,      40960,     4096,    16384, 0x16d3f171
+0,      45056,      45056,     4096,    16384, 0x7b1e05fe
+0,      49152,      49152,     4096,    16384, 0x17292896
+0,      53248,      53248,     4096,    16384, 0xdfe137ae
+0,      57344,      57344,     4096,    16384, 0x26c16d5e
+0,      61440,      61440,     4096,    16384, 0xb8691740
+0,      65536,      65536,     4096,    16384, 0x685d32e8
+0,      69632,      69632,     4096,    16384, 0x603140de
+0,      73728,      73728,     4096,    16384, 0x4f8451ae
+0,      77824,      77824,     4096,    16384, 0xcc541022
diff --git a/tests/ref/fate/filter-earwax b/tests/ref/fate/filter-earwax
index 7626482899..ebd57fb500 100644
--- a/tests/ref/fate/filter-earwax
+++ b/tests/ref/fate/filter-earwax
@@ -3,23 +3,23 @@ 
 #codec_id 0: pcm_s16le
 #sample_rate 0: 44100
 #channel_layout_name 0: stereo
-0,          0,          0,     1024,     4096, 0xb7e1f437
-0,       1024,       1024,     1024,     4096, 0xa031042a
-0,       2048,       2048,     1024,     4096, 0x9b72ed0f
-0,       3072,       3072,     1024,     4096, 0xff14ed33
-0,       4096,       4096,     1024,     4096, 0x96eef519
-0,       5120,       5120,     1024,     4096, 0x290d0ca0
-0,       6144,       6144,     1024,     4096, 0x0393fbf5
-0,       7168,       7168,     1024,     4096, 0xed89ef59
-0,       8192,       8192,     1024,     4096, 0xf664e969
-0,       9216,       9216,     1024,     4096, 0x261a05e4
-0,      10240,      10240,     1024,     4096, 0xc334ff5b
-0,      11264,      11264,     1024,     4096, 0x030ffa65
-0,      12288,      12288,     1024,     4096, 0xcfb4e835
-0,      13312,      13312,     1024,     4096, 0xd9adf7ff
-0,      14336,      14336,     1024,     4096, 0x5e9001ae
-0,      15360,      15360,     1024,     4096, 0xbfaf0174
-0,      16384,      16384,     1024,     4096, 0x8cf3f061
-0,      17408,      17408,     1024,     4096, 0x35ffece5
-0,      18432,      18432,     1024,     4096, 0x1de801e2
-0,      19456,      19456,     1024,     4096, 0xa1a40372
+0,          0,          0,     4096,    16384, 0x07e1d2c1
+0,       4096,       4096,     4096,    16384, 0x669aed25
+0,       8192,       8192,     4096,    16384, 0x4df6e92b
+0,      12288,      12288,     4096,    16384, 0xd7a5e365
+0,      16384,      16384,     4096,    16384, 0xd4cce2a9
+0,      20480,      20480,     4096,    16384, 0x3d82e07d
+0,      24576,      24576,     4096,    16384, 0xd5f5d64f
+0,      28672,      28672,     4096,    16384, 0x29f1dbf1
+0,      32768,      32768,     4096,    16384, 0xf287e2a9
+0,      36864,      36864,     4096,    16384, 0x669aed25
+0,      40960,      40960,     4096,    16384, 0x549b0a60
+0,      45056,      45056,     4096,    16384, 0x1234d369
+0,      49152,      49152,     4096,    16384, 0x93309cc3
+0,      53248,      53248,     4096,    16384, 0xebeee5b3
+0,      57344,      57344,     4096,    16384, 0x981ee56d
+0,      61440,      61440,     4096,    16384, 0x7e7706c2
+0,      65536,      65536,     4096,    16384, 0x164f2ffc
+0,      69632,      69632,     4096,    16384, 0x7147de0b
+0,      73728,      73728,     4096,    16384, 0xca378eb9
+0,      77824,      77824,     4096,    16384, 0x643b9baf
diff --git a/tests/ref/fate/filter-extrastereo b/tests/ref/fate/filter-extrastereo
index a94d5f2e95..fdf630897e 100644
--- a/tests/ref/fate/filter-extrastereo
+++ b/tests/ref/fate/filter-extrastereo
@@ -3,23 +3,23 @@ 
 #codec_id 0: pcm_s16le
 #sample_rate 0: 44100
 #channel_layout_name 0: stereo
-0,          0,          0,     1024,     4096, 0x29e3eecf
-0,       1024,       1024,     1024,     4096, 0x18390b96
-0,       2048,       2048,     1024,     4096, 0xc477fa99
-0,       3072,       3072,     1024,     4096, 0x3bc0f14f
-0,       4096,       4096,     1024,     4096, 0x2379ed91
-0,       5120,       5120,     1024,     4096, 0xfd6a0070
-0,       6144,       6144,     1024,     4096, 0x0b01f4cf
-0,       7168,       7168,     1024,     4096, 0x6716fd93
-0,       8192,       8192,     1024,     4096, 0x1840f25b
-0,       9216,       9216,     1024,     4096, 0x9c1ffaf1
-0,      10240,      10240,     1024,     4096, 0xcbedefaf
-0,      11264,      11264,     1024,     4096, 0x3e050390
-0,      12288,      12288,     1024,     4096, 0xb30e0090
-0,      13312,      13312,     1024,     4096, 0x26b8f75b
-0,      14336,      14336,     1024,     4096, 0xd706e311
-0,      15360,      15360,     1024,     4096, 0x0c480138
-0,      16384,      16384,     1024,     4096, 0x6c9a0216
-0,      17408,      17408,     1024,     4096, 0x7abce54f
-0,      18432,      18432,     1024,     4096, 0xda45f63f
-0,      19456,      19456,     1024,     4096, 0x50d5ff87
+0,          0,          0,     4096,    16384, 0x02ebe66b
+0,       4096,       4096,     4096,    16384, 0x35bfe081
+0,       8192,       8192,     4096,    16384, 0x3f90e0a9
+0,      12288,      12288,     4096,    16384, 0xd389dc43
+0,      16384,      16384,     4096,    16384, 0x9d5add49
+0,      20480,      20480,     4096,    16384, 0x378ee333
+0,      24576,      24576,     4096,    16384, 0xabf6df0f
+0,      28672,      28672,     4096,    16384, 0xedefe76f
+0,      32768,      32768,     4096,    16384, 0x02ebe66b
+0,      36864,      36864,     4096,    16384, 0x35bfe081
+0,      40960,      40960,     4096,    16384, 0xdbc2b3b9
+0,      45056,      45056,     4096,    16384, 0xe92bd835
+0,      49152,      49152,     4096,    16384, 0x1126dca3
+0,      53248,      53248,     4096,    16384, 0x9647edcf
+0,      57344,      57344,     4096,    16384, 0x5cc345aa
+0,      61440,      61440,     4096,    16384, 0x19d7bd51
+0,      65536,      65536,     4096,    16384, 0x19eccef7
+0,      69632,      69632,     4096,    16384, 0x4b68eeed
+0,      73728,      73728,     4096,    16384, 0x0b3d1bfc
+0,      77824,      77824,     4096,    16384, 0xe9b2e069
diff --git a/tests/ref/fate/filter-pan-downmix1 b/tests/ref/fate/filter-pan-downmix1
index 54a4189618..f42753af54 100644
--- a/tests/ref/fate/filter-pan-downmix1
+++ b/tests/ref/fate/filter-pan-downmix1
@@ -3,23 +3,23 @@ 
 #codec_id 0: pcm_s16le
 #sample_rate 0: 44100
 #channel_layout_name 0: stereo
-0,          0,          0,     1024,     4096, 0x1290fa57
-0,       1024,       1024,     1024,     4096, 0xc363f67e
-0,       2048,       2048,     1024,     4096, 0x9a38065f
-0,       3072,       3072,     1024,     4096, 0xef2ae6e6
-0,       4096,       4096,     1024,     4096, 0x585fe3b5
-0,       5120,       5120,     1024,     4096, 0x2d38f104
-0,       6144,       6144,     1024,     4096, 0xaacfdcf8
-0,       7168,       7168,     1024,     4096, 0xed2d02b7
-0,       8192,       8192,     1024,     4096, 0xe1650058
-0,       9216,       9216,     1024,     4096, 0x0fe208a3
-0,      10240,      10240,     1024,     4096, 0xf1ece81f
-0,      11264,      11264,     1024,     4096, 0x836ef60b
-0,      12288,      12288,     1024,     4096, 0x6683e4cd
-0,      13312,      13312,     1024,     4096, 0x0b42025c
-0,      14336,      14336,     1024,     4096, 0x07fbda9c
-0,      15360,      15360,     1024,     4096, 0x8f3f07c0
-0,      16384,      16384,     1024,     4096, 0x145dfc54
-0,      17408,      17408,     1024,     4096, 0x4f74eeba
-0,      18432,      18432,     1024,     4096, 0xc75eea1e
-0,      19456,      19456,     1024,     4096, 0x08c7ed8e
+0,          0,          0,     4096,    16384, 0xf3e9de38
+0,       4096,       4096,     4096,    16384, 0x217ab486
+0,       8192,       8192,     4096,    16384, 0x2197e734
+0,      12288,      12288,     4096,    16384, 0x0e1fc994
+0,      16384,      16384,     4096,    16384, 0x7517c2e7
+0,      20480,      20480,     4096,    16384, 0x287ea3f3
+0,      24576,      24576,     4096,    16384, 0x0a5feaf5
+0,      28672,      28672,     4096,    16384, 0xe9a0dd42
+0,      32768,      32768,     4096,    16384, 0x4de9da44
+0,      36864,      36864,     4096,    16384, 0xab77eb08
+0,      40960,      40960,     4096,    16384, 0xa422b661
+0,      45056,      45056,     4096,    16384, 0x4ac2fd47
+0,      49152,      49152,     4096,    16384, 0x57b5a7cb
+0,      53248,      53248,     4096,    16384, 0x3825c66b
+0,      57344,      57344,     4096,    16384, 0xa422b661
+0,      61440,      61440,     4096,    16384, 0x4ac2fd47
+0,      65536,      65536,     4096,    16384, 0x57b5a7cb
+0,      69632,      69632,     4096,    16384, 0x3825c66b
+0,      73728,      73728,     4096,    16384, 0xa422b661
+0,      77824,      77824,     4096,    16384, 0x4ac2fd47
diff --git a/tests/ref/fate/filter-pan-downmix2 b/tests/ref/fate/filter-pan-downmix2
index b8cf98054c..7987a8a51f 100644
--- a/tests/ref/fate/filter-pan-downmix2
+++ b/tests/ref/fate/filter-pan-downmix2
@@ -3,23 +3,23 @@ 
 #codec_id 0: pcm_s16le
 #sample_rate 0: 44100
 #channel_layout_name 0: 5 channels
-0,          0,          0,     1024,    10240, 0xfc3c0f05
-0,       1024,       1024,     1024,    10240, 0xc6c9d04b
-0,       2048,       2048,     1024,    10240, 0x1628c409
-0,       3072,       3072,     1024,    10240, 0x5ef50e5b
-0,       4096,       4096,     1024,    10240, 0xc4a0ff1a
-0,       5120,       5120,     1024,    10240, 0xb116da08
-0,       6144,       6144,     1024,    10240, 0x9b2cdf3d
-0,       7168,       7168,     1024,    10240, 0xf3cfe299
-0,       8192,       8192,     1024,    10240, 0x85dcbfc2
-0,       9216,       9216,     1024,    10240, 0xc748f5cf
-0,      10240,      10240,     1024,    10240, 0x7063ef46
-0,      11264,      11264,     1024,    10240, 0xa219da16
-0,      12288,      12288,     1024,    10240, 0xbf77e2ae
-0,      13312,      13312,     1024,    10240, 0xa71bd705
-0,      14336,      14336,     1024,    10240, 0x6878e3d6
-0,      15360,      15360,     1024,    10240, 0xb8f419a3
-0,      16384,      16384,     1024,    10240, 0xd7ccd236
-0,      17408,      17408,     1024,    10240, 0x48ee24ec
-0,      18432,      18432,     1024,    10240, 0xe9e8e37e
-0,      19456,      19456,     1024,    10240, 0x949f00ae
+0,          0,          0,     4096,    40960, 0x6e07b1c3
+0,       4096,       4096,     4096,    40960, 0x48899b25
+0,       8192,       8192,     4096,    40960, 0xe5bc7f1a
+0,      12288,      12288,     4096,    40960, 0x5893b74a
+0,      16384,      16384,     4096,    40960, 0xe828db5d
+0,      20480,      20480,     4096,    40960, 0x0d34ace8
+0,      24576,      24576,     4096,    40960, 0x008fa873
+0,      28672,      28672,     4096,    40960, 0x2064eaf4
+0,      32768,      32768,     4096,    40960, 0xb61fa202
+0,      36864,      36864,     4096,    40960, 0xbc167598
+0,      40960,      40960,     4096,    40960, 0xadc59a11
+0,      45056,      45056,     4096,    40960, 0xd2c27fb2
+0,      49152,      49152,     4096,    40960, 0x42c57686
+0,      53248,      53248,     4096,    40960, 0xb02059ae
+0,      57344,      57344,     4096,    40960, 0x0f8e5ba6
+0,      61440,      61440,     4096,    40960, 0x9bee70ad
+0,      65536,      65536,     4096,    40960, 0x12ca5387
+0,      69632,      69632,     4096,    40960, 0xac009dd7
+0,      73728,      73728,     4096,    40960, 0x83b4664f
+0,      77824,      77824,     4096,    40960, 0xd7f41340
diff --git a/tests/ref/fate/filter-pan-mono1 b/tests/ref/fate/filter-pan-mono1
index 80afee20a3..488eb5f737 100644
--- a/tests/ref/fate/filter-pan-mono1
+++ b/tests/ref/fate/filter-pan-mono1
@@ -3,23 +3,23 @@ 
 #codec_id 0: pcm_s16le
 #sample_rate 0: 44100
 #channel_layout_name 0: mono
-0,          0,          0,     1024,     2048, 0x750f0a66
-0,       1024,       1024,     1024,     2048, 0x155cf063
-0,       2048,       2048,     1024,     2048, 0x1e43fc32
-0,       3072,       3072,     1024,     2048, 0x282ffc28
-0,       4096,       4096,     1024,     2048, 0x6d7bf000
-0,       5120,       5120,     1024,     2048, 0xc0b2f411
-0,       6144,       6144,     1024,     2048, 0xd711fb03
-0,       7168,       7168,     1024,     2048, 0x3164189c
-0,       8192,       8192,     1024,     2048, 0x8c69e827
-0,       9216,       9216,     1024,     2048, 0x562d0518
-0,      10240,      10240,     1024,     2048, 0x380aee27
-0,      11264,      11264,     1024,     2048, 0x990a03e4
-0,      12288,      12288,     1024,     2048, 0x68d7ef60
-0,      13312,      13312,     1024,     2048, 0xd13fef9e
-0,      14336,      14336,     1024,     2048, 0x009306e4
-0,      15360,      15360,     1024,     2048, 0x51850390
-0,      16384,      16384,     1024,     2048, 0xcd3ceeae
-0,      17408,      17408,     1024,     2048, 0x189ff277
-0,      18432,      18432,     1024,     2048, 0x4b98f68c
-0,      19456,      19456,     1024,     2048, 0x34eaf544
+0,          0,          0,     4096,     8192, 0x872af341
+0,       4096,       4096,     4096,     8192, 0x0ae4f7ce
+0,       8192,       8192,     4096,     8192, 0xceb1df59
+0,      12288,      12288,     4096,     8192, 0xc0d9e981
+0,      16384,      16384,     4096,     8192, 0x2d1dcd22
+0,      20480,      20480,     4096,     8192, 0xe06dfc64
+0,      24576,      24576,     4096,     8192, 0x824efe11
+0,      28672,      28672,     4096,     8192, 0xb4c0f85d
+0,      32768,      32768,     4096,     8192, 0xcd65deed
+0,      36864,      36864,     4096,     8192, 0x0e6edb9d
+0,      40960,      40960,     4096,     8192, 0xe254cff0
+0,      45056,      45056,     4096,     8192, 0x2f7b9900
+0,      49152,      49152,     4096,     8192, 0x3f4c142e
+0,      53248,      53248,     4096,     8192, 0x7a4a0826
+0,      57344,      57344,     4096,     8192, 0x65db11e9
+0,      61440,      61440,     4096,     8192, 0x1f887f95
+0,      65536,      65536,     4096,     8192, 0x17d4cdad
+0,      69632,      69632,     4096,     8192, 0xd037d9b5
+0,      73728,      73728,     4096,     8192, 0xe254cff0
+0,      77824,      77824,     4096,     8192, 0x2f7b9900
diff --git a/tests/ref/fate/filter-pan-mono2 b/tests/ref/fate/filter-pan-mono2
index 02046aebe2..4795e1479f 100644
--- a/tests/ref/fate/filter-pan-mono2
+++ b/tests/ref/fate/filter-pan-mono2
@@ -3,23 +3,23 @@ 
 #codec_id 0: pcm_s16le
 #sample_rate 0: 44100
 #channel_layout_name 0: 1 channels
-0,          0,          0,     1024,     2048, 0x6130fb80
-0,       1024,       1024,     1024,     2048, 0xd5ef0930
-0,       2048,       2048,     1024,     2048, 0x40bce3f6
-0,       3072,       3072,     1024,     2048, 0x72e5d193
-0,       4096,       4096,     1024,     2048, 0xb005073f
-0,       5120,       5120,     1024,     2048, 0xa323fdbe
-0,       6144,       6144,     1024,     2048, 0xe5cbfe1e
-0,       7168,       7168,     1024,     2048, 0x4b42fe79
-0,       8192,       8192,     1024,     2048, 0x384eedea
-0,       9216,       9216,     1024,     2048, 0xe5cdf825
-0,      10240,      10240,     1024,     2048, 0xc2970ec0
-0,      11264,      11264,     1024,     2048, 0xa85fe5e0
-0,      12288,      12288,     1024,     2048, 0xfd51f2de
-0,      13312,      13312,     1024,     2048, 0xa1aafe30
-0,      14336,      14336,     1024,     2048, 0x8770fea2
-0,      15360,      15360,     1024,     2048, 0x67c50d76
-0,      16384,      16384,     1024,     2048, 0x7772fbc8
-0,      17408,      17408,     1024,     2048, 0xc48eff54
-0,      18432,      18432,     1024,     2048, 0x2e14f359
-0,      19456,      19456,     1024,     2048, 0x2df70a60
+0,          0,          0,     4096,     8192, 0x7016ba57
+0,       4096,       4096,     4096,     8192, 0xab9701c1
+0,       8192,       8192,     4096,     8192, 0x0776dacd
+0,      12288,      12288,     4096,     8192, 0x29aefd44
+0,      16384,      16384,     4096,     8192, 0x23ccf8f3
+0,      20480,      20480,     4096,     8192, 0x5debfa42
+0,      24576,      24576,     4096,     8192, 0xd365e9c4
+0,      28672,      28672,     4096,     8192, 0x7ef5f7b4
+0,      32768,      32768,     4096,     8192, 0xf229dc95
+0,      36864,      36864,     4096,     8192, 0xeee3e2c4
+0,      40960,      40960,     4096,     8192, 0x3110fb40
+0,      45056,      45056,     4096,     8192, 0x72a4f036
+0,      49152,      49152,     4096,     8192, 0x025dfac4
+0,      53248,      53248,     4096,     8192, 0xa13ff290
+0,      57344,      57344,     4096,     8192, 0x6ce6f277
+0,      61440,      61440,     4096,     8192, 0x8f3df6ed
+0,      65536,      65536,     4096,     8192, 0xbdcaeafc
+0,      69632,      69632,     4096,     8192, 0xda5df33f
+0,      73728,      73728,     4096,     8192, 0x3110fb40
+0,      77824,      77824,     4096,     8192, 0x72a4f036
diff --git a/tests/ref/fate/filter-pan-stereo1 b/tests/ref/fate/filter-pan-stereo1
index d1cfddb720..d339e7a5d6 100644
--- a/tests/ref/fate/filter-pan-stereo1
+++ b/tests/ref/fate/filter-pan-stereo1
@@ -3,23 +3,23 @@ 
 #codec_id 0: pcm_s16le
 #sample_rate 0: 44100
 #channel_layout_name 0: stereo
-0,          0,          0,     1024,     4096, 0x337efeb6
-0,       1024,       1024,     1024,     4096, 0x5c4aea76
-0,       2048,       2048,     1024,     4096, 0xec82ee33
-0,       3072,       3072,     1024,     4096, 0xfe66f9df
-0,       4096,       4096,     1024,     4096, 0x7291e981
-0,       5120,       5120,     1024,     4096, 0x390be918
-0,       6144,       6144,     1024,     4096, 0x3c6fff4f
-0,       7168,       7168,     1024,     4096, 0xa46b12b7
-0,       8192,       8192,     1024,     4096, 0xcbb4e329
-0,       9216,       9216,     1024,     4096, 0xe66f0265
-0,      10240,      10240,     1024,     4096, 0x1cffe900
-0,      11264,      11264,     1024,     4096, 0xd86efd12
-0,      12288,      12288,     1024,     4096, 0xa122f221
-0,      13312,      13312,     1024,     4096, 0x13500181
-0,      14336,      14336,     1024,     4096, 0x4d9a0bd7
-0,      15360,      15360,     1024,     4096, 0xa3620ba4
-0,      16384,      16384,     1024,     4096, 0x60e8e816
-0,      17408,      17408,     1024,     4096, 0xea75e8a5
-0,      18432,      18432,     1024,     4096, 0xc6c2f1a5
-0,      19456,      19456,     1024,     4096, 0xa83aebaa
+0,          0,          0,     4096,    16384, 0xee65d16b
+0,       4096,       4096,     4096,    16384, 0xe1f0e4bd
+0,       8192,       8192,     4096,    16384, 0x55b6cbbe
+0,      12288,      12288,     4096,    16384, 0x1c960b2c
+0,      16384,      16384,     4096,    16384, 0xee3fae37
+0,      20480,      20480,     4096,    16384, 0x18bee034
+0,      24576,      24576,     4096,    16384, 0xb126eeb6
+0,      28672,      28672,     4096,    16384, 0xe3cad8a3
+0,      32768,      32768,     4096,    16384, 0xc118c2b2
+0,      36864,      36864,     4096,    16384, 0xf511cdb5
+0,      40960,      40960,     4096,    16384, 0x5115b057
+0,      45056,      45056,     4096,    16384, 0x3e7de091
+0,      49152,      49152,     4096,    16384, 0x7237f4b7
+0,      53248,      53248,     4096,    16384, 0xb9d39b8c
+0,      57344,      57344,     4096,    16384, 0xf992cf31
+0,      61440,      61440,     4096,    16384, 0x79a69b64
+0,      65536,      65536,     4096,    16384, 0xc1a4d301
+0,      69632,      69632,     4096,    16384, 0x7b56f3e5
+0,      73728,      73728,     4096,    16384, 0xcc2f8be3
+0,      77824,      77824,     4096,    16384, 0x4fd3cd37
diff --git a/tests/ref/fate/filter-pan-stereo2 b/tests/ref/fate/filter-pan-stereo2
index c206058bbd..6079c31998 100644
--- a/tests/ref/fate/filter-pan-stereo2
+++ b/tests/ref/fate/filter-pan-stereo2
@@ -3,23 +3,23 @@ 
 #codec_id 0: pcm_s16le
 #sample_rate 0: 44100
 #channel_layout_name 0: stereo
-0,          0,          0,     1024,     4096, 0x8801f679
-0,       1024,       1024,     1024,     4096, 0xbf6906ca
-0,       2048,       2048,     1024,     4096, 0xec8eeac9
-0,       3072,       3072,     1024,     4096, 0x938d0541
-0,       4096,       4096,     1024,     4096, 0xf0820121
-0,       5120,       5120,     1024,     4096, 0xd1da0083
-0,       6144,       6144,     1024,     4096, 0x13e502bf
-0,       7168,       7168,     1024,     4096, 0xcc68046f
-0,       8192,       8192,     1024,     4096, 0xb3e704db
-0,       9216,       9216,     1024,     4096, 0x8a9f07c0
-0,      10240,      10240,     1024,     4096, 0x50e0f62f
-0,      11264,      11264,     1024,     4096, 0xea48f6b6
-0,      12288,      12288,     1024,     4096, 0x76c31e7c
-0,      13312,      13312,     1024,     4096, 0x3629effc
-0,      14336,      14336,     1024,     4096, 0x3c450759
-0,      15360,      15360,     1024,     4096, 0x9569f61c
-0,      16384,      16384,     1024,     4096, 0x0685f076
-0,      17408,      17408,     1024,     4096, 0x3fc3fb15
-0,      18432,      18432,     1024,     4096, 0x7dc5fb44
-0,      19456,      19456,     1024,     4096, 0xcc3e03ab
+0,          0,          0,     4096,    16384, 0xe5e3ed5c
+0,       4096,       4096,     4096,    16384, 0x298408d2
+0,       8192,       8192,     4096,    16384, 0x7cd7f98f
+0,      12288,      12288,     4096,    16384, 0xed5b0c0b
+0,      16384,      16384,     4096,    16384, 0xf748ea98
+0,      20480,      20480,     4096,    16384, 0x2bef026f
+0,      24576,      24576,     4096,    16384, 0x9e84e12e
+0,      28672,      28672,     4096,    16384, 0x9c881add
+0,      32768,      32768,     4096,    16384, 0x081aec11
+0,      36864,      36864,     4096,    16384, 0x2b5ac497
+0,      40960,      40960,     4096,    16384, 0xbdaee67d
+0,      45056,      45056,     4096,    16384, 0x20d2c2da
+0,      49152,      49152,     4096,    16384, 0xb956e349
+0,      53248,      53248,     4096,    16384, 0x95a1f811
+0,      57344,      57344,     4096,    16384, 0xc262f67e
+0,      61440,      61440,     4096,    16384, 0x56e5ec70
+0,      65536,      65536,     4096,    16384, 0x559fd188
+0,      69632,      69632,     4096,    16384, 0x318ee4e9
+0,      73728,      73728,     4096,    16384, 0xa87c0dd5
+0,      77824,      77824,     4096,    16384, 0xcb76fdf3
diff --git a/tests/ref/fate/filter-pan-stereo3 b/tests/ref/fate/filter-pan-stereo3
index 726608b2bc..e728b17188 100644
--- a/tests/ref/fate/filter-pan-stereo3
+++ b/tests/ref/fate/filter-pan-stereo3
@@ -3,23 +3,23 @@ 
 #codec_id 0: pcm_s16le
 #sample_rate 0: 44100
 #channel_layout_name 0: stereo
-0,          0,          0,     1024,     4096, 0xa0d1fbb3
-0,       1024,       1024,     1024,     4096, 0x598a056c
-0,       2048,       2048,     1024,     4096, 0x741ded28
-0,       3072,       3072,     1024,     4096, 0xc651b0ec
-0,       4096,       4096,     1024,     4096, 0x1082057c
-0,       5120,       5120,     1024,     4096, 0x70f7f00d
-0,       6144,       6144,     1024,     4096, 0xaed7fc53
-0,       7168,       7168,     1024,     4096, 0x4250faae
-0,       8192,       8192,     1024,     4096, 0xf7fcf61a
-0,       9216,       9216,     1024,     4096, 0xb1350562
-0,      10240,      10240,     1024,     4096, 0x16adea0b
-0,      11264,      11264,     1024,     4096, 0x706fd834
-0,      12288,      12288,     1024,     4096, 0x5431dd24
-0,      13312,      13312,     1024,     4096, 0xfaedfb73
-0,      14336,      14336,     1024,     4096, 0xee3d07e2
-0,      15360,      15360,     1024,     4096, 0x2561eeb8
-0,      16384,      16384,     1024,     4096, 0x8f76fc05
-0,      17408,      17408,     1024,     4096, 0xef05f0a1
-0,      18432,      18432,     1024,     4096, 0x4e92f19a
-0,      19456,      19456,     1024,     4096, 0x81b6e0bc
+0,          0,          0,     4096,    16384, 0x71829f51
+0,       4096,       4096,     4096,    16384, 0x40eeeca8
+0,       8192,       8192,     4096,    16384, 0x9a46bdd9
+0,      12288,      12288,     4096,    16384, 0xefe3cf4f
+0,      16384,      16384,     4096,    16384, 0x69adbf29
+0,      20480,      20480,     4096,    16384, 0xa249df3d
+0,      24576,      24576,     4096,    16384, 0x865fb8e4
+0,      28672,      28672,     4096,    16384, 0xdc78ceab
+0,      32768,      32768,     4096,    16384, 0x2721c39d
+0,      36864,      36864,     4096,    16384, 0x5f11d8be
+0,      40960,      40960,     4096,    16384, 0x1b0de341
+0,      45056,      45056,     4096,    16384, 0x9157d43a
+0,      49152,      49152,     4096,    16384, 0x75bbe2c2
+0,      53248,      53248,     4096,    16384, 0x8a5cee7d
+0,      57344,      57344,     4096,    16384, 0x60dee072
+0,      61440,      61440,     4096,    16384, 0x1dfaede0
+0,      65536,      65536,     4096,    16384, 0x165ee0f2
+0,      69632,      69632,     4096,    16384, 0xb9edd546
+0,      73728,      73728,     4096,    16384, 0x1b0de341
+0,      77824,      77824,     4096,    16384, 0x9157d43a
diff --git a/tests/ref/fate/filter-pan-stereo4 b/tests/ref/fate/filter-pan-stereo4
index 92ed0685fe..81dc30b3bc 100644
--- a/tests/ref/fate/filter-pan-stereo4
+++ b/tests/ref/fate/filter-pan-stereo4
@@ -3,23 +3,23 @@ 
 #codec_id 0: pcm_s16le
 #sample_rate 0: 44100
 #channel_layout_name 0: 2 channels
-0,          0,          0,     1024,     4096, 0x7bd6fc44
-0,       1024,       1024,     1024,     4096, 0xed38ec37
-0,       2048,       2048,     1024,     4096, 0x4696ea64
-0,       3072,       3072,     1024,     4096, 0xf2c8e38c
-0,       4096,       4096,     1024,     4096, 0x9aa8f5c9
-0,       5120,       5120,     1024,     4096, 0xfb46fe06
-0,       6144,       6144,     1024,     4096, 0x6700fa3e
-0,       7168,       7168,     1024,     4096, 0x235e0687
-0,       8192,       8192,     1024,     4096, 0x8b9aecab
-0,       9216,       9216,     1024,     4096, 0x62f3e0db
-0,      10240,      10240,     1024,     4096, 0xe59ef89c
-0,      11264,      11264,     1024,     4096, 0x1a48f2fe
-0,      12288,      12288,     1024,     4096, 0x9026e182
-0,      13312,      13312,     1024,     4096, 0xec4d05d1
-0,      14336,      14336,     1024,     4096, 0x7ee70559
-0,      15360,      15360,     1024,     4096, 0x807ae3e6
-0,      16384,      16384,     1024,     4096, 0xf0d2fc29
-0,      17408,      17408,     1024,     4096, 0xd9e7f52b
-0,      18432,      18432,     1024,     4096, 0x0f1ce5f7
-0,      19456,      19456,     1024,     4096, 0x6b3cf294
+0,          0,          0,     4096,    16384, 0xdefbb698
+0,       4096,       4096,     4096,    16384, 0xeadbf4b2
+0,       8192,       8192,     4096,    16384, 0x4727b94d
+0,      12288,      12288,     4096,    16384, 0x1647d0a1
+0,      16384,      16384,     4096,    16384, 0x2dfdca0c
+0,      20480,      20480,     4096,    16384, 0x71a7070f
+0,      24576,      24576,     4096,    16384, 0x7a4ed841
+0,      28672,      28672,     4096,    16384, 0xa5a0dce9
+0,      32768,      32768,     4096,    16384, 0xfa72bbc8
+0,      36864,      36864,     4096,    16384, 0xf3d5f0e1
+0,      40960,      40960,     4096,    16384, 0x7ef8f45c
+0,      45056,      45056,     4096,    16384, 0x0138c310
+0,      49152,      49152,     4096,    16384, 0x07b5f81c
+0,      53248,      53248,     4096,    16384, 0x3d8be889
+0,      57344,      57344,     4096,    16384, 0xa13cd269
+0,      61440,      61440,     4096,    16384, 0xa40f002a
+0,      65536,      65536,     4096,    16384, 0xddc1caad
+0,      69632,      69632,     4096,    16384, 0x925de035
+0,      73728,      73728,     4096,    16384, 0x7ef8f45c
+0,      77824,      77824,     4096,    16384, 0x0138c310
diff --git a/tests/ref/fate/filter-pan-upmix1 b/tests/ref/fate/filter-pan-upmix1
index c36192c22a..b4366fc8e2 100644
--- a/tests/ref/fate/filter-pan-upmix1
+++ b/tests/ref/fate/filter-pan-upmix1
@@ -3,23 +3,23 @@ 
 #codec_id 0: pcm_s16le
 #sample_rate 0: 44100
 #channel_layout_name 0: 4 channels
-0,          0,          0,     1024,     8192, 0xdaadfc44
-0,       1024,       1024,     1024,     8192, 0xe6d9ec37
-0,       2048,       2048,     1024,     8192, 0x5edfea64
-0,       3072,       3072,     1024,     8192, 0x7f7be38c
-0,       4096,       4096,     1024,     8192, 0x3f60f5c9
-0,       5120,       5120,     1024,     8192, 0xcee4fe06
-0,       6144,       6144,     1024,     8192, 0xdb98fa3e
-0,       7168,       7168,     1024,     8192, 0x4cb30687
-0,       8192,       8192,     1024,     8192, 0x00f6ecab
-0,       9216,       9216,     1024,     8192, 0xa7b0e0db
-0,      10240,      10240,     1024,     8192, 0xc2dcf89c
-0,      11264,      11264,     1024,     8192, 0x30d6f2fe
-0,      12288,      12288,     1024,     8192, 0xf83ae182
-0,      13312,      13312,     1024,     8192, 0xeecd05d1
-0,      14336,      14336,     1024,     8192, 0xfd3b0559
-0,      15360,      15360,     1024,     8192, 0xcd69e3e6
-0,      16384,      16384,     1024,     8192, 0xdf80fc29
-0,      17408,      17408,     1024,     8192, 0x7e8bf52b
-0,      18432,      18432,     1024,     8192, 0xee07e5f7
-0,      19456,      19456,     1024,     8192, 0xc874f294
+0,          0,          0,     4096,    32768, 0x18efb698
+0,       4096,       4096,     4096,    32768, 0xcb9ef4b2
+0,       8192,       8192,     4096,    32768, 0x4da2b94d
+0,      12288,      12288,     4096,    32768, 0xe673d0a1
+0,      16384,      16384,     4096,    32768, 0xe640ca0c
+0,      20480,      20480,     4096,    32768, 0xd6ae070f
+0,      24576,      24576,     4096,    32768, 0xe1ddd841
+0,      28672,      28672,     4096,    32768, 0x4174dce9
+0,      32768,      32768,     4096,    32768, 0x91ebbbc8
+0,      36864,      36864,     4096,    32768, 0xd2bff0e1
+0,      40960,      40960,     4096,    32768, 0xf027f45c
+0,      45056,      45056,     4096,    32768, 0xaa61c310
+0,      49152,      49152,     4096,    32768, 0x01a7f81c
+0,      53248,      53248,     4096,    32768, 0x4c74e889
+0,      57344,      57344,     4096,    32768, 0xf60ed269
+0,      61440,      61440,     4096,    32768, 0x45fc002a
+0,      65536,      65536,     4096,    32768, 0x6e24caad
+0,      69632,      69632,     4096,    32768, 0xf941e035
+0,      73728,      73728,     4096,    32768, 0xf027f45c
+0,      77824,      77824,     4096,    32768, 0xaa61c310
diff --git a/tests/ref/fate/filter-pan-upmix2 b/tests/ref/fate/filter-pan-upmix2
index dca5cee168..a73bb53109 100644
--- a/tests/ref/fate/filter-pan-upmix2
+++ b/tests/ref/fate/filter-pan-upmix2
@@ -3,23 +3,23 @@ 
 #codec_id 0: pcm_s16le
 #sample_rate 0: 44100
 #channel_layout_name 0: 9 channels
-0,          0,          0,     1024,    18432, 0xc565c124
-0,       1024,       1024,     1024,    18432, 0xfe3e0450
-0,       2048,       2048,     1024,    18432, 0xff8db816
-0,       3072,       3072,     1024,    18432, 0xa74dcce0
-0,       4096,       4096,     1024,    18432, 0x8980dc34
-0,       5120,       5120,     1024,    18432, 0xaef4f4cc
-0,       6144,       6144,     1024,    18432, 0x947abfa0
-0,       7168,       7168,     1024,    18432, 0xe5cde624
-0,       8192,       8192,     1024,    18432, 0x7ba1b812
-0,       9216,       9216,     1024,    18432, 0x1166ca13
-0,      10240,      10240,     1024,    18432, 0x0fd40143
-0,      11264,      11264,     1024,    18432, 0x8aecc408
-0,      12288,      12288,     1024,    18432, 0x3da6de0b
-0,      13312,      13312,     1024,    18432, 0x95bd097d
-0,      14336,      14336,     1024,    18432, 0x8eacb965
-0,      15360,      15360,     1024,    18432, 0x3daf2b0a
-0,      16384,      16384,     1024,    18432, 0xe69218d2
-0,      17408,      17408,     1024,    18432, 0x0b14c778
-0,      18432,      18432,     1024,    18432, 0xa28cba24
-0,      19456,      19456,     1024,    18432, 0x77edf299
+0,          0,          0,     4096,    73728, 0xb4d44a88
+0,       4096,       4096,     4096,    73728, 0x70ff76f1
+0,       8192,       8192,     4096,    73728, 0xa8b2478e
+0,      12288,      12288,     4096,    73728, 0xf90bcc06
+0,      16384,      16384,     4096,    73728, 0xbb448d25
+0,      20480,      20480,     4096,    73728, 0x76eb3638
+0,      24576,      24576,     4096,    73728, 0x46559bdd
+0,      28672,      28672,     4096,    73728, 0x8f1d34d3
+0,      32768,      32768,     4096,    73728, 0xa426b851
+0,      36864,      36864,     4096,    73728, 0x764b4d68
+0,      40960,      40960,     4096,    73728, 0x7d1a8d7b
+0,      45056,      45056,     4096,    73728, 0x2f8a772d
+0,      49152,      49152,     4096,    73728, 0x107f837d
+0,      53248,      53248,     4096,    73728, 0xa58d6617
+0,      57344,      57344,     4096,    73728, 0x7d1a8d7b
+0,      61440,      61440,     4096,    73728, 0x2f8a772d
+0,      65536,      65536,     4096,    73728, 0x107f837d
+0,      69632,      69632,     4096,    73728, 0xa58d6617
+0,      73728,      73728,     4096,    73728, 0x7d1a8d7b
+0,      77824,      77824,     4096,    73728, 0x2f8a772d
diff --git a/tests/ref/fate/filter-stereotools b/tests/ref/fate/filter-stereotools
index 60a74893bd..377b33267f 100644
--- a/tests/ref/fate/filter-stereotools
+++ b/tests/ref/fate/filter-stereotools
@@ -3,23 +3,23 @@ 
 #codec_id 0: pcm_s16le
 #sample_rate 0: 44100
 #channel_layout_name 0: stereo
-0,          0,          0,     1024,     4096, 0x48b6d241
-0,       1024,       1024,     1024,     4096, 0xe0c4ca9a
-0,       2048,       2048,     1024,     4096, 0x6dd8e26c
-0,       3072,       3072,     1024,     4096, 0x047cce1c
-0,       4096,       4096,     1024,     4096, 0x0b7bc8e4
-0,       5120,       5120,     1024,     4096, 0xf0c9d037
-0,       6144,       6144,     1024,     4096, 0x6f23c83d
-0,       7168,       7168,     1024,     4096, 0xe6d8c099
-0,       8192,       8192,     1024,     4096, 0xcca3cb25
-0,       9216,       9216,     1024,     4096, 0xefced25b
-0,      10240,      10240,     1024,     4096, 0x8614cdcb
-0,      11264,      11264,     1024,     4096, 0x06d1eb3f
-0,      12288,      12288,     1024,     4096, 0x7afbcffd
-0,      13312,      13312,     1024,     4096, 0x6371dcd8
-0,      14336,      14336,     1024,     4096, 0xdd8f90d9
-0,      15360,      15360,     1024,     4096, 0x448c08f4
-0,      16384,      16384,     1024,     4096, 0x4d9b2d26
-0,      17408,      17408,     1024,     4096, 0x735a05da
-0,      18432,      18432,     1024,     4096, 0x8651bf40
-0,      19456,      19456,     1024,     4096, 0xbf98c4e7
+0,          0,          0,     4096,    16384, 0x6ba24d90
+0,       4096,       4096,     4096,    16384, 0x39c3221e
+0,       8192,       8192,     4096,    16384, 0xd06156b7
+0,      12288,      12288,     4096,    16384, 0x6fb946c0
+0,      16384,      16384,     4096,    16384, 0xa445b736
+0,      20480,      20480,     4096,    16384, 0xf5d2eb9e
+0,      24576,      24576,     4096,    16384, 0x4ef78700
+0,      28672,      28672,     4096,    16384, 0xe252a355
+0,      32768,      32768,     4096,    16384, 0xe3dcfb2f
+0,      36864,      36864,     4096,    16384, 0x885a6277
+0,      40960,      40960,     4096,    16384, 0x630f2f59
+0,      45056,      45056,     4096,    16384, 0x2d048e52
+0,      49152,      49152,     4096,    16384, 0xa43fc10f
+0,      53248,      53248,     4096,    16384, 0x80a22d49
+0,      57344,      57344,     4096,    16384, 0x1b6e7dbc
+0,      61440,      61440,     4096,    16384, 0x973da258
+0,      65536,      65536,     4096,    16384, 0x45470212
+0,      69632,      69632,     4096,    16384, 0xb6531766
+0,      73728,      73728,     4096,    16384, 0x22ee6793
+0,      77824,      77824,     4096,    16384, 0xb666eb70
diff --git a/tests/ref/fate/flcl1905 b/tests/ref/fate/flcl1905
index fae08aaccf..f4d4cc8ba9 100644
--- a/tests/ref/fate/flcl1905
+++ b/tests/ref/fate/flcl1905
@@ -1,352 +1,264 @@ 
-packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=2048|duration_time=0.046440|size=372|pos=56|flags=K__
-packet|codec_type=audio|stream_index=0|pts=2048|pts_time=0.046440|dts=2048|dts_time=0.046440|duration=2048|duration_time=0.046440|size=372|pos=428|flags=K__
-packet|codec_type=audio|stream_index=0|pts=4096|pts_time=0.092880|dts=4096|dts_time=0.092880|duration=2048|duration_time=0.046440|size=372|pos=800|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=4096|pts_time=0.092880|pkt_dts=4096|pkt_dts_time=0.092880|best_effort_timestamp=4096|best_effort_timestamp_time=0.092880|duration=2048|duration_time=0.046440|pkt_pos=800|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=6144|pts_time=0.139320|dts=6144|dts_time=0.139320|duration=2048|duration_time=0.046440|size=372|pos=1172|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=6144|pts_time=0.139320|pkt_dts=6144|pkt_dts_time=0.139320|best_effort_timestamp=6144|best_effort_timestamp_time=0.139320|duration=2048|duration_time=0.046440|pkt_pos=1172|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=8192|pts_time=0.185760|dts=8192|dts_time=0.185760|duration=2048|duration_time=0.046440|size=372|pos=1544|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=8192|pts_time=0.185760|pkt_dts=8192|pkt_dts_time=0.185760|best_effort_timestamp=8192|best_effort_timestamp_time=0.185760|duration=2048|duration_time=0.046440|pkt_pos=1544|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=10240|pts_time=0.232200|dts=10240|dts_time=0.232200|duration=2048|duration_time=0.046440|size=372|pos=1916|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=10240|pts_time=0.232200|pkt_dts=10240|pkt_dts_time=0.232200|best_effort_timestamp=10240|best_effort_timestamp_time=0.232200|duration=2048|duration_time=0.046440|pkt_pos=1916|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=12288|pts_time=0.278639|dts=12288|dts_time=0.278639|duration=2048|duration_time=0.046440|size=372|pos=2288|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=12288|pts_time=0.278639|pkt_dts=12288|pkt_dts_time=0.278639|best_effort_timestamp=12288|best_effort_timestamp_time=0.278639|duration=2048|duration_time=0.046440|pkt_pos=2288|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=14336|pts_time=0.325079|dts=14336|dts_time=0.325079|duration=2048|duration_time=0.046440|size=372|pos=2660|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=14336|pts_time=0.325079|pkt_dts=14336|pkt_dts_time=0.325079|best_effort_timestamp=14336|best_effort_timestamp_time=0.325079|duration=2048|duration_time=0.046440|pkt_pos=2660|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=16384|pts_time=0.371519|dts=16384|dts_time=0.371519|duration=2048|duration_time=0.046440|size=372|pos=3032|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=16384|pts_time=0.371519|pkt_dts=16384|pkt_dts_time=0.371519|best_effort_timestamp=16384|best_effort_timestamp_time=0.371519|duration=2048|duration_time=0.046440|pkt_pos=3032|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=18432|pts_time=0.417959|dts=18432|dts_time=0.417959|duration=2048|duration_time=0.046440|size=372|pos=3404|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=18432|pts_time=0.417959|pkt_dts=18432|pkt_dts_time=0.417959|best_effort_timestamp=18432|best_effort_timestamp_time=0.417959|duration=2048|duration_time=0.046440|pkt_pos=3404|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=20480|pts_time=0.464399|dts=20480|dts_time=0.464399|duration=2048|duration_time=0.046440|size=372|pos=3776|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=20480|pts_time=0.464399|pkt_dts=20480|pkt_dts_time=0.464399|best_effort_timestamp=20480|best_effort_timestamp_time=0.464399|duration=2048|duration_time=0.046440|pkt_pos=3776|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=22528|pts_time=0.510839|dts=22528|dts_time=0.510839|duration=2048|duration_time=0.046440|size=372|pos=4148|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=22528|pts_time=0.510839|pkt_dts=22528|pkt_dts_time=0.510839|best_effort_timestamp=22528|best_effort_timestamp_time=0.510839|duration=2048|duration_time=0.046440|pkt_pos=4148|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=24576|pts_time=0.557279|dts=24576|dts_time=0.557279|duration=2048|duration_time=0.046440|size=372|pos=4520|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=24576|pts_time=0.557279|pkt_dts=24576|pkt_dts_time=0.557279|best_effort_timestamp=24576|best_effort_timestamp_time=0.557279|duration=2048|duration_time=0.046440|pkt_pos=4520|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=26624|pts_time=0.603719|dts=26624|dts_time=0.603719|duration=2048|duration_time=0.046440|size=372|pos=4892|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=26624|pts_time=0.603719|pkt_dts=26624|pkt_dts_time=0.603719|best_effort_timestamp=26624|best_effort_timestamp_time=0.603719|duration=2048|duration_time=0.046440|pkt_pos=4892|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=28672|pts_time=0.650159|dts=28672|dts_time=0.650159|duration=2048|duration_time=0.046440|size=372|pos=5264|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=28672|pts_time=0.650159|pkt_dts=28672|pkt_dts_time=0.650159|best_effort_timestamp=28672|best_effort_timestamp_time=0.650159|duration=2048|duration_time=0.046440|pkt_pos=5264|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=30720|pts_time=0.696599|dts=30720|dts_time=0.696599|duration=2048|duration_time=0.046440|size=372|pos=5636|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=30720|pts_time=0.696599|pkt_dts=30720|pkt_dts_time=0.696599|best_effort_timestamp=30720|best_effort_timestamp_time=0.696599|duration=2048|duration_time=0.046440|pkt_pos=5636|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=32768|pts_time=0.743039|dts=32768|dts_time=0.743039|duration=2048|duration_time=0.046440|size=372|pos=6008|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=32768|pts_time=0.743039|pkt_dts=32768|pkt_dts_time=0.743039|best_effort_timestamp=32768|best_effort_timestamp_time=0.743039|duration=2048|duration_time=0.046440|pkt_pos=6008|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=34816|pts_time=0.789478|dts=34816|dts_time=0.789478|duration=2048|duration_time=0.046440|size=372|pos=6380|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=34816|pts_time=0.789478|pkt_dts=34816|pkt_dts_time=0.789478|best_effort_timestamp=34816|best_effort_timestamp_time=0.789478|duration=2048|duration_time=0.046440|pkt_pos=6380|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=36864|pts_time=0.835918|dts=36864|dts_time=0.835918|duration=2048|duration_time=0.046440|size=372|pos=6752|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=36864|pts_time=0.835918|pkt_dts=36864|pkt_dts_time=0.835918|best_effort_timestamp=36864|best_effort_timestamp_time=0.835918|duration=2048|duration_time=0.046440|pkt_pos=6752|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=38912|pts_time=0.882358|dts=38912|dts_time=0.882358|duration=2048|duration_time=0.046440|size=372|pos=7124|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=38912|pts_time=0.882358|pkt_dts=38912|pkt_dts_time=0.882358|best_effort_timestamp=38912|best_effort_timestamp_time=0.882358|duration=2048|duration_time=0.046440|pkt_pos=7124|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=40960|pts_time=0.928798|dts=40960|dts_time=0.928798|duration=2048|duration_time=0.046440|size=372|pos=7496|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=40960|pts_time=0.928798|pkt_dts=40960|pkt_dts_time=0.928798|best_effort_timestamp=40960|best_effort_timestamp_time=0.928798|duration=2048|duration_time=0.046440|pkt_pos=7496|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=43008|pts_time=0.975238|dts=43008|dts_time=0.975238|duration=2048|duration_time=0.046440|size=372|pos=7868|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=43008|pts_time=0.975238|pkt_dts=43008|pkt_dts_time=0.975238|best_effort_timestamp=43008|best_effort_timestamp_time=0.975238|duration=2048|duration_time=0.046440|pkt_pos=7868|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=45056|pts_time=1.021678|dts=45056|dts_time=1.021678|duration=2048|duration_time=0.046440|size=372|pos=8240|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=45056|pts_time=1.021678|pkt_dts=45056|pkt_dts_time=1.021678|best_effort_timestamp=45056|best_effort_timestamp_time=1.021678|duration=2048|duration_time=0.046440|pkt_pos=8240|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=47104|pts_time=1.068118|dts=47104|dts_time=1.068118|duration=2048|duration_time=0.046440|size=372|pos=8612|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=47104|pts_time=1.068118|pkt_dts=47104|pkt_dts_time=1.068118|best_effort_timestamp=47104|best_effort_timestamp_time=1.068118|duration=2048|duration_time=0.046440|pkt_pos=8612|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=49152|pts_time=1.114558|dts=49152|dts_time=1.114558|duration=2048|duration_time=0.046440|size=372|pos=8984|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=49152|pts_time=1.114558|pkt_dts=49152|pkt_dts_time=1.114558|best_effort_timestamp=49152|best_effort_timestamp_time=1.114558|duration=2048|duration_time=0.046440|pkt_pos=8984|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=51200|pts_time=1.160998|dts=51200|dts_time=1.160998|duration=2048|duration_time=0.046440|size=372|pos=9356|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=51200|pts_time=1.160998|pkt_dts=51200|pkt_dts_time=1.160998|best_effort_timestamp=51200|best_effort_timestamp_time=1.160998|duration=2048|duration_time=0.046440|pkt_pos=9356|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=53248|pts_time=1.207438|dts=53248|dts_time=1.207438|duration=2048|duration_time=0.046440|size=372|pos=9728|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=53248|pts_time=1.207438|pkt_dts=53248|pkt_dts_time=1.207438|best_effort_timestamp=53248|best_effort_timestamp_time=1.207438|duration=2048|duration_time=0.046440|pkt_pos=9728|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=55296|pts_time=1.253878|dts=55296|dts_time=1.253878|duration=2048|duration_time=0.046440|size=372|pos=10100|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=55296|pts_time=1.253878|pkt_dts=55296|pkt_dts_time=1.253878|best_effort_timestamp=55296|best_effort_timestamp_time=1.253878|duration=2048|duration_time=0.046440|pkt_pos=10100|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=57344|pts_time=1.300317|dts=57344|dts_time=1.300317|duration=2048|duration_time=0.046440|size=372|pos=10472|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=57344|pts_time=1.300317|pkt_dts=57344|pkt_dts_time=1.300317|best_effort_timestamp=57344|best_effort_timestamp_time=1.300317|duration=2048|duration_time=0.046440|pkt_pos=10472|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=59392|pts_time=1.346757|dts=59392|dts_time=1.346757|duration=2048|duration_time=0.046440|size=372|pos=10844|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=59392|pts_time=1.346757|pkt_dts=59392|pkt_dts_time=1.346757|best_effort_timestamp=59392|best_effort_timestamp_time=1.346757|duration=2048|duration_time=0.046440|pkt_pos=10844|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=61440|pts_time=1.393197|dts=61440|dts_time=1.393197|duration=2048|duration_time=0.046440|size=372|pos=11216|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=61440|pts_time=1.393197|pkt_dts=61440|pkt_dts_time=1.393197|best_effort_timestamp=61440|best_effort_timestamp_time=1.393197|duration=2048|duration_time=0.046440|pkt_pos=11216|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=63488|pts_time=1.439637|dts=63488|dts_time=1.439637|duration=2048|duration_time=0.046440|size=372|pos=11588|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=63488|pts_time=1.439637|pkt_dts=63488|pkt_dts_time=1.439637|best_effort_timestamp=63488|best_effort_timestamp_time=1.439637|duration=2048|duration_time=0.046440|pkt_pos=11588|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=65536|pts_time=1.486077|dts=65536|dts_time=1.486077|duration=2048|duration_time=0.046440|size=372|pos=11960|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=65536|pts_time=1.486077|pkt_dts=65536|pkt_dts_time=1.486077|best_effort_timestamp=65536|best_effort_timestamp_time=1.486077|duration=2048|duration_time=0.046440|pkt_pos=11960|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=67584|pts_time=1.532517|dts=67584|dts_time=1.532517|duration=2048|duration_time=0.046440|size=372|pos=12332|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=67584|pts_time=1.532517|pkt_dts=67584|pkt_dts_time=1.532517|best_effort_timestamp=67584|best_effort_timestamp_time=1.532517|duration=2048|duration_time=0.046440|pkt_pos=12332|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=69632|pts_time=1.578957|dts=69632|dts_time=1.578957|duration=2048|duration_time=0.046440|size=372|pos=12704|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=69632|pts_time=1.578957|pkt_dts=69632|pkt_dts_time=1.578957|best_effort_timestamp=69632|best_effort_timestamp_time=1.578957|duration=2048|duration_time=0.046440|pkt_pos=12704|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=71680|pts_time=1.625397|dts=71680|dts_time=1.625397|duration=2048|duration_time=0.046440|size=372|pos=13076|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=71680|pts_time=1.625397|pkt_dts=71680|pkt_dts_time=1.625397|best_effort_timestamp=71680|best_effort_timestamp_time=1.625397|duration=2048|duration_time=0.046440|pkt_pos=13076|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=73728|pts_time=1.671837|dts=73728|dts_time=1.671837|duration=2048|duration_time=0.046440|size=372|pos=13448|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=73728|pts_time=1.671837|pkt_dts=73728|pkt_dts_time=1.671837|best_effort_timestamp=73728|best_effort_timestamp_time=1.671837|duration=2048|duration_time=0.046440|pkt_pos=13448|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=75776|pts_time=1.718277|dts=75776|dts_time=1.718277|duration=2048|duration_time=0.046440|size=372|pos=13820|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=75776|pts_time=1.718277|pkt_dts=75776|pkt_dts_time=1.718277|best_effort_timestamp=75776|best_effort_timestamp_time=1.718277|duration=2048|duration_time=0.046440|pkt_pos=13820|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=77824|pts_time=1.764717|dts=77824|dts_time=1.764717|duration=2048|duration_time=0.046440|size=372|pos=14192|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=77824|pts_time=1.764717|pkt_dts=77824|pkt_dts_time=1.764717|best_effort_timestamp=77824|best_effort_timestamp_time=1.764717|duration=2048|duration_time=0.046440|pkt_pos=14192|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=79872|pts_time=1.811156|dts=79872|dts_time=1.811156|duration=2048|duration_time=0.046440|size=372|pos=14564|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=79872|pts_time=1.811156|pkt_dts=79872|pkt_dts_time=1.811156|best_effort_timestamp=79872|best_effort_timestamp_time=1.811156|duration=2048|duration_time=0.046440|pkt_pos=14564|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=81920|pts_time=1.857596|dts=81920|dts_time=1.857596|duration=2048|duration_time=0.046440|size=372|pos=14936|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=81920|pts_time=1.857596|pkt_dts=81920|pkt_dts_time=1.857596|best_effort_timestamp=81920|best_effort_timestamp_time=1.857596|duration=2048|duration_time=0.046440|pkt_pos=14936|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=83968|pts_time=1.904036|dts=83968|dts_time=1.904036|duration=2048|duration_time=0.046440|size=372|pos=15308|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=83968|pts_time=1.904036|pkt_dts=83968|pkt_dts_time=1.904036|best_effort_timestamp=83968|best_effort_timestamp_time=1.904036|duration=2048|duration_time=0.046440|pkt_pos=15308|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=86016|pts_time=1.950476|dts=86016|dts_time=1.950476|duration=2048|duration_time=0.046440|size=372|pos=15680|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=86016|pts_time=1.950476|pkt_dts=86016|pkt_dts_time=1.950476|best_effort_timestamp=86016|best_effort_timestamp_time=1.950476|duration=2048|duration_time=0.046440|pkt_pos=15680|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=88064|pts_time=1.996916|dts=88064|dts_time=1.996916|duration=2048|duration_time=0.046440|size=372|pos=16052|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=88064|pts_time=1.996916|pkt_dts=88064|pkt_dts_time=1.996916|best_effort_timestamp=88064|best_effort_timestamp_time=1.996916|duration=2048|duration_time=0.046440|pkt_pos=16052|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=90112|pts_time=2.043356|dts=90112|dts_time=2.043356|duration=2048|duration_time=0.046440|size=372|pos=16424|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=90112|pts_time=2.043356|pkt_dts=90112|pkt_dts_time=2.043356|best_effort_timestamp=90112|best_effort_timestamp_time=2.043356|duration=2048|duration_time=0.046440|pkt_pos=16424|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=92160|pts_time=2.089796|dts=92160|dts_time=2.089796|duration=2048|duration_time=0.046440|size=372|pos=16796|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=92160|pts_time=2.089796|pkt_dts=92160|pkt_dts_time=2.089796|best_effort_timestamp=92160|best_effort_timestamp_time=2.089796|duration=2048|duration_time=0.046440|pkt_pos=16796|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=94208|pts_time=2.136236|dts=94208|dts_time=2.136236|duration=2048|duration_time=0.046440|size=372|pos=17168|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=94208|pts_time=2.136236|pkt_dts=94208|pkt_dts_time=2.136236|best_effort_timestamp=94208|best_effort_timestamp_time=2.136236|duration=2048|duration_time=0.046440|pkt_pos=17168|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=96256|pts_time=2.182676|dts=96256|dts_time=2.182676|duration=2048|duration_time=0.046440|size=372|pos=17540|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=96256|pts_time=2.182676|pkt_dts=96256|pkt_dts_time=2.182676|best_effort_timestamp=96256|best_effort_timestamp_time=2.182676|duration=2048|duration_time=0.046440|pkt_pos=17540|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=98304|pts_time=2.229116|dts=98304|dts_time=2.229116|duration=2048|duration_time=0.046440|size=372|pos=17912|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=98304|pts_time=2.229116|pkt_dts=98304|pkt_dts_time=2.229116|best_effort_timestamp=98304|best_effort_timestamp_time=2.229116|duration=2048|duration_time=0.046440|pkt_pos=17912|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=100352|pts_time=2.275556|dts=100352|dts_time=2.275556|duration=2048|duration_time=0.046440|size=372|pos=18284|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=100352|pts_time=2.275556|pkt_dts=100352|pkt_dts_time=2.275556|best_effort_timestamp=100352|best_effort_timestamp_time=2.275556|duration=2048|duration_time=0.046440|pkt_pos=18284|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=102400|pts_time=2.321995|dts=102400|dts_time=2.321995|duration=2048|duration_time=0.046440|size=372|pos=18656|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=102400|pts_time=2.321995|pkt_dts=102400|pkt_dts_time=2.321995|best_effort_timestamp=102400|best_effort_timestamp_time=2.321995|duration=2048|duration_time=0.046440|pkt_pos=18656|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=104448|pts_time=2.368435|dts=104448|dts_time=2.368435|duration=2048|duration_time=0.046440|size=372|pos=19028|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=104448|pts_time=2.368435|pkt_dts=104448|pkt_dts_time=2.368435|best_effort_timestamp=104448|best_effort_timestamp_time=2.368435|duration=2048|duration_time=0.046440|pkt_pos=19028|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=106496|pts_time=2.414875|dts=106496|dts_time=2.414875|duration=2048|duration_time=0.046440|size=372|pos=19400|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=106496|pts_time=2.414875|pkt_dts=106496|pkt_dts_time=2.414875|best_effort_timestamp=106496|best_effort_timestamp_time=2.414875|duration=2048|duration_time=0.046440|pkt_pos=19400|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=108544|pts_time=2.461315|dts=108544|dts_time=2.461315|duration=2048|duration_time=0.046440|size=372|pos=19772|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=108544|pts_time=2.461315|pkt_dts=108544|pkt_dts_time=2.461315|best_effort_timestamp=108544|best_effort_timestamp_time=2.461315|duration=2048|duration_time=0.046440|pkt_pos=19772|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=110592|pts_time=2.507755|dts=110592|dts_time=2.507755|duration=2048|duration_time=0.046440|size=372|pos=20144|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=110592|pts_time=2.507755|pkt_dts=110592|pkt_dts_time=2.507755|best_effort_timestamp=110592|best_effort_timestamp_time=2.507755|duration=2048|duration_time=0.046440|pkt_pos=20144|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=112640|pts_time=2.554195|dts=112640|dts_time=2.554195|duration=2048|duration_time=0.046440|size=372|pos=20516|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=112640|pts_time=2.554195|pkt_dts=112640|pkt_dts_time=2.554195|best_effort_timestamp=112640|best_effort_timestamp_time=2.554195|duration=2048|duration_time=0.046440|pkt_pos=20516|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=114688|pts_time=2.600635|dts=114688|dts_time=2.600635|duration=2048|duration_time=0.046440|size=372|pos=20888|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=114688|pts_time=2.600635|pkt_dts=114688|pkt_dts_time=2.600635|best_effort_timestamp=114688|best_effort_timestamp_time=2.600635|duration=2048|duration_time=0.046440|pkt_pos=20888|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=116736|pts_time=2.647075|dts=116736|dts_time=2.647075|duration=2048|duration_time=0.046440|size=372|pos=21260|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=116736|pts_time=2.647075|pkt_dts=116736|pkt_dts_time=2.647075|best_effort_timestamp=116736|best_effort_timestamp_time=2.647075|duration=2048|duration_time=0.046440|pkt_pos=21260|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=118784|pts_time=2.693515|dts=118784|dts_time=2.693515|duration=2048|duration_time=0.046440|size=372|pos=21632|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=118784|pts_time=2.693515|pkt_dts=118784|pkt_dts_time=2.693515|best_effort_timestamp=118784|best_effort_timestamp_time=2.693515|duration=2048|duration_time=0.046440|pkt_pos=21632|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=120832|pts_time=2.739955|dts=120832|dts_time=2.739955|duration=2048|duration_time=0.046440|size=372|pos=22004|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=120832|pts_time=2.739955|pkt_dts=120832|pkt_dts_time=2.739955|best_effort_timestamp=120832|best_effort_timestamp_time=2.739955|duration=2048|duration_time=0.046440|pkt_pos=22004|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=122880|pts_time=2.786395|dts=122880|dts_time=2.786395|duration=2048|duration_time=0.046440|size=372|pos=22376|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=122880|pts_time=2.786395|pkt_dts=122880|pkt_dts_time=2.786395|best_effort_timestamp=122880|best_effort_timestamp_time=2.786395|duration=2048|duration_time=0.046440|pkt_pos=22376|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=124928|pts_time=2.832834|dts=124928|dts_time=2.832834|duration=2048|duration_time=0.046440|size=372|pos=22748|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=124928|pts_time=2.832834|pkt_dts=124928|pkt_dts_time=2.832834|best_effort_timestamp=124928|best_effort_timestamp_time=2.832834|duration=2048|duration_time=0.046440|pkt_pos=22748|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=126976|pts_time=2.879274|dts=126976|dts_time=2.879274|duration=2048|duration_time=0.046440|size=372|pos=23120|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=126976|pts_time=2.879274|pkt_dts=126976|pkt_dts_time=2.879274|best_effort_timestamp=126976|best_effort_timestamp_time=2.879274|duration=2048|duration_time=0.046440|pkt_pos=23120|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=129024|pts_time=2.925714|dts=129024|dts_time=2.925714|duration=2048|duration_time=0.046440|size=372|pos=23492|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=129024|pts_time=2.925714|pkt_dts=129024|pkt_dts_time=2.925714|best_effort_timestamp=129024|best_effort_timestamp_time=2.925714|duration=2048|duration_time=0.046440|pkt_pos=23492|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=131072|pts_time=2.972154|dts=131072|dts_time=2.972154|duration=2048|duration_time=0.046440|size=372|pos=23864|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=131072|pts_time=2.972154|pkt_dts=131072|pkt_dts_time=2.972154|best_effort_timestamp=131072|best_effort_timestamp_time=2.972154|duration=2048|duration_time=0.046440|pkt_pos=23864|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=133120|pts_time=3.018594|dts=133120|dts_time=3.018594|duration=2048|duration_time=0.046440|size=372|pos=24236|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=133120|pts_time=3.018594|pkt_dts=133120|pkt_dts_time=3.018594|best_effort_timestamp=133120|best_effort_timestamp_time=3.018594|duration=2048|duration_time=0.046440|pkt_pos=24236|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=135168|pts_time=3.065034|dts=135168|dts_time=3.065034|duration=2048|duration_time=0.046440|size=372|pos=24608|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=135168|pts_time=3.065034|pkt_dts=135168|pkt_dts_time=3.065034|best_effort_timestamp=135168|best_effort_timestamp_time=3.065034|duration=2048|duration_time=0.046440|pkt_pos=24608|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=137216|pts_time=3.111474|dts=137216|dts_time=3.111474|duration=2048|duration_time=0.046440|size=372|pos=24980|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=137216|pts_time=3.111474|pkt_dts=137216|pkt_dts_time=3.111474|best_effort_timestamp=137216|best_effort_timestamp_time=3.111474|duration=2048|duration_time=0.046440|pkt_pos=24980|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=139264|pts_time=3.157914|dts=139264|dts_time=3.157914|duration=2048|duration_time=0.046440|size=372|pos=25352|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=139264|pts_time=3.157914|pkt_dts=139264|pkt_dts_time=3.157914|best_effort_timestamp=139264|best_effort_timestamp_time=3.157914|duration=2048|duration_time=0.046440|pkt_pos=25352|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=141312|pts_time=3.204354|dts=141312|dts_time=3.204354|duration=2048|duration_time=0.046440|size=372|pos=25724|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=141312|pts_time=3.204354|pkt_dts=141312|pkt_dts_time=3.204354|best_effort_timestamp=141312|best_effort_timestamp_time=3.204354|duration=2048|duration_time=0.046440|pkt_pos=25724|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=143360|pts_time=3.250794|dts=143360|dts_time=3.250794|duration=2048|duration_time=0.046440|size=372|pos=26096|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=143360|pts_time=3.250794|pkt_dts=143360|pkt_dts_time=3.250794|best_effort_timestamp=143360|best_effort_timestamp_time=3.250794|duration=2048|duration_time=0.046440|pkt_pos=26096|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=145408|pts_time=3.297234|dts=145408|dts_time=3.297234|duration=2048|duration_time=0.046440|size=372|pos=26468|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=145408|pts_time=3.297234|pkt_dts=145408|pkt_dts_time=3.297234|best_effort_timestamp=145408|best_effort_timestamp_time=3.297234|duration=2048|duration_time=0.046440|pkt_pos=26468|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=147456|pts_time=3.343673|dts=147456|dts_time=3.343673|duration=2048|duration_time=0.046440|size=372|pos=26840|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=147456|pts_time=3.343673|pkt_dts=147456|pkt_dts_time=3.343673|best_effort_timestamp=147456|best_effort_timestamp_time=3.343673|duration=2048|duration_time=0.046440|pkt_pos=26840|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=149504|pts_time=3.390113|dts=149504|dts_time=3.390113|duration=2048|duration_time=0.046440|size=372|pos=27212|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=149504|pts_time=3.390113|pkt_dts=149504|pkt_dts_time=3.390113|best_effort_timestamp=149504|best_effort_timestamp_time=3.390113|duration=2048|duration_time=0.046440|pkt_pos=27212|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=151552|pts_time=3.436553|dts=151552|dts_time=3.436553|duration=2048|duration_time=0.046440|size=372|pos=27584|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=151552|pts_time=3.436553|pkt_dts=151552|pkt_dts_time=3.436553|best_effort_timestamp=151552|best_effort_timestamp_time=3.436553|duration=2048|duration_time=0.046440|pkt_pos=27584|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=153600|pts_time=3.482993|dts=153600|dts_time=3.482993|duration=2048|duration_time=0.046440|size=372|pos=27956|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=153600|pts_time=3.482993|pkt_dts=153600|pkt_dts_time=3.482993|best_effort_timestamp=153600|best_effort_timestamp_time=3.482993|duration=2048|duration_time=0.046440|pkt_pos=27956|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=155648|pts_time=3.529433|dts=155648|dts_time=3.529433|duration=2048|duration_time=0.046440|size=372|pos=28328|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=155648|pts_time=3.529433|pkt_dts=155648|pkt_dts_time=3.529433|best_effort_timestamp=155648|best_effort_timestamp_time=3.529433|duration=2048|duration_time=0.046440|pkt_pos=28328|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=157696|pts_time=3.575873|dts=157696|dts_time=3.575873|duration=2048|duration_time=0.046440|size=372|pos=28700|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=157696|pts_time=3.575873|pkt_dts=157696|pkt_dts_time=3.575873|best_effort_timestamp=157696|best_effort_timestamp_time=3.575873|duration=2048|duration_time=0.046440|pkt_pos=28700|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=159744|pts_time=3.622313|dts=159744|dts_time=3.622313|duration=2048|duration_time=0.046440|size=372|pos=29072|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=159744|pts_time=3.622313|pkt_dts=159744|pkt_dts_time=3.622313|best_effort_timestamp=159744|best_effort_timestamp_time=3.622313|duration=2048|duration_time=0.046440|pkt_pos=29072|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=161792|pts_time=3.668753|dts=161792|dts_time=3.668753|duration=2048|duration_time=0.046440|size=372|pos=29444|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=161792|pts_time=3.668753|pkt_dts=161792|pkt_dts_time=3.668753|best_effort_timestamp=161792|best_effort_timestamp_time=3.668753|duration=2048|duration_time=0.046440|pkt_pos=29444|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=163840|pts_time=3.715193|dts=163840|dts_time=3.715193|duration=2048|duration_time=0.046440|size=372|pos=29816|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=163840|pts_time=3.715193|pkt_dts=163840|pkt_dts_time=3.715193|best_effort_timestamp=163840|best_effort_timestamp_time=3.715193|duration=2048|duration_time=0.046440|pkt_pos=29816|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=165888|pts_time=3.761633|dts=165888|dts_time=3.761633|duration=2048|duration_time=0.046440|size=372|pos=30188|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=165888|pts_time=3.761633|pkt_dts=165888|pkt_dts_time=3.761633|best_effort_timestamp=165888|best_effort_timestamp_time=3.761633|duration=2048|duration_time=0.046440|pkt_pos=30188|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=167936|pts_time=3.808073|dts=167936|dts_time=3.808073|duration=2048|duration_time=0.046440|size=372|pos=30560|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=167936|pts_time=3.808073|pkt_dts=167936|pkt_dts_time=3.808073|best_effort_timestamp=167936|best_effort_timestamp_time=3.808073|duration=2048|duration_time=0.046440|pkt_pos=30560|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=169984|pts_time=3.854512|dts=169984|dts_time=3.854512|duration=2048|duration_time=0.046440|size=372|pos=30932|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=169984|pts_time=3.854512|pkt_dts=169984|pkt_dts_time=3.854512|best_effort_timestamp=169984|best_effort_timestamp_time=3.854512|duration=2048|duration_time=0.046440|pkt_pos=30932|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=172032|pts_time=3.900952|dts=172032|dts_time=3.900952|duration=2048|duration_time=0.046440|size=372|pos=31304|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=172032|pts_time=3.900952|pkt_dts=172032|pkt_dts_time=3.900952|best_effort_timestamp=172032|best_effort_timestamp_time=3.900952|duration=2048|duration_time=0.046440|pkt_pos=31304|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=174080|pts_time=3.947392|dts=174080|dts_time=3.947392|duration=2048|duration_time=0.046440|size=372|pos=31676|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=174080|pts_time=3.947392|pkt_dts=174080|pkt_dts_time=3.947392|best_effort_timestamp=174080|best_effort_timestamp_time=3.947392|duration=2048|duration_time=0.046440|pkt_pos=31676|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=176128|pts_time=3.993832|dts=176128|dts_time=3.993832|duration=2048|duration_time=0.046440|size=372|pos=32048|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=176128|pts_time=3.993832|pkt_dts=176128|pkt_dts_time=3.993832|best_effort_timestamp=176128|best_effort_timestamp_time=3.993832|duration=2048|duration_time=0.046440|pkt_pos=32048|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=178176|pts_time=4.040272|dts=178176|dts_time=4.040272|duration=2048|duration_time=0.046440|size=372|pos=32420|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=178176|pts_time=4.040272|pkt_dts=178176|pkt_dts_time=4.040272|best_effort_timestamp=178176|best_effort_timestamp_time=4.040272|duration=2048|duration_time=0.046440|pkt_pos=32420|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=180224|pts_time=4.086712|dts=180224|dts_time=4.086712|duration=2048|duration_time=0.046440|size=372|pos=32792|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=180224|pts_time=4.086712|pkt_dts=180224|pkt_dts_time=4.086712|best_effort_timestamp=180224|best_effort_timestamp_time=4.086712|duration=2048|duration_time=0.046440|pkt_pos=32792|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=182272|pts_time=4.133152|dts=182272|dts_time=4.133152|duration=2048|duration_time=0.046440|size=372|pos=33164|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=182272|pts_time=4.133152|pkt_dts=182272|pkt_dts_time=4.133152|best_effort_timestamp=182272|best_effort_timestamp_time=4.133152|duration=2048|duration_time=0.046440|pkt_pos=33164|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=184320|pts_time=4.179592|dts=184320|dts_time=4.179592|duration=2048|duration_time=0.046440|size=372|pos=33536|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=184320|pts_time=4.179592|pkt_dts=184320|pkt_dts_time=4.179592|best_effort_timestamp=184320|best_effort_timestamp_time=4.179592|duration=2048|duration_time=0.046440|pkt_pos=33536|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=186368|pts_time=4.226032|dts=186368|dts_time=4.226032|duration=2048|duration_time=0.046440|size=372|pos=33908|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=186368|pts_time=4.226032|pkt_dts=186368|pkt_dts_time=4.226032|best_effort_timestamp=186368|best_effort_timestamp_time=4.226032|duration=2048|duration_time=0.046440|pkt_pos=33908|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=188416|pts_time=4.272472|dts=188416|dts_time=4.272472|duration=2048|duration_time=0.046440|size=372|pos=34280|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=188416|pts_time=4.272472|pkt_dts=188416|pkt_dts_time=4.272472|best_effort_timestamp=188416|best_effort_timestamp_time=4.272472|duration=2048|duration_time=0.046440|pkt_pos=34280|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=190464|pts_time=4.318912|dts=190464|dts_time=4.318912|duration=2048|duration_time=0.046440|size=372|pos=34652|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=190464|pts_time=4.318912|pkt_dts=190464|pkt_dts_time=4.318912|best_effort_timestamp=190464|best_effort_timestamp_time=4.318912|duration=2048|duration_time=0.046440|pkt_pos=34652|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=192512|pts_time=4.365351|dts=192512|dts_time=4.365351|duration=2048|duration_time=0.046440|size=372|pos=35024|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=192512|pts_time=4.365351|pkt_dts=192512|pkt_dts_time=4.365351|best_effort_timestamp=192512|best_effort_timestamp_time=4.365351|duration=2048|duration_time=0.046440|pkt_pos=35024|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=194560|pts_time=4.411791|dts=194560|dts_time=4.411791|duration=2048|duration_time=0.046440|size=372|pos=35396|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=194560|pts_time=4.411791|pkt_dts=194560|pkt_dts_time=4.411791|best_effort_timestamp=194560|best_effort_timestamp_time=4.411791|duration=2048|duration_time=0.046440|pkt_pos=35396|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=196608|pts_time=4.458231|dts=196608|dts_time=4.458231|duration=2048|duration_time=0.046440|size=372|pos=35768|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=196608|pts_time=4.458231|pkt_dts=196608|pkt_dts_time=4.458231|best_effort_timestamp=196608|best_effort_timestamp_time=4.458231|duration=2048|duration_time=0.046440|pkt_pos=35768|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=198656|pts_time=4.504671|dts=198656|dts_time=4.504671|duration=2048|duration_time=0.046440|size=372|pos=36140|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=198656|pts_time=4.504671|pkt_dts=198656|pkt_dts_time=4.504671|best_effort_timestamp=198656|best_effort_timestamp_time=4.504671|duration=2048|duration_time=0.046440|pkt_pos=36140|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=200704|pts_time=4.551111|dts=200704|dts_time=4.551111|duration=2048|duration_time=0.046440|size=372|pos=36512|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=200704|pts_time=4.551111|pkt_dts=200704|pkt_dts_time=4.551111|best_effort_timestamp=200704|best_effort_timestamp_time=4.551111|duration=2048|duration_time=0.046440|pkt_pos=36512|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=202752|pts_time=4.597551|dts=202752|dts_time=4.597551|duration=2048|duration_time=0.046440|size=372|pos=36884|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=202752|pts_time=4.597551|pkt_dts=202752|pkt_dts_time=4.597551|best_effort_timestamp=202752|best_effort_timestamp_time=4.597551|duration=2048|duration_time=0.046440|pkt_pos=36884|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=204800|pts_time=4.643991|dts=204800|dts_time=4.643991|duration=2048|duration_time=0.046440|size=372|pos=37256|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=204800|pts_time=4.643991|pkt_dts=204800|pkt_dts_time=4.643991|best_effort_timestamp=204800|best_effort_timestamp_time=4.643991|duration=2048|duration_time=0.046440|pkt_pos=37256|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=206848|pts_time=4.690431|dts=206848|dts_time=4.690431|duration=2048|duration_time=0.046440|size=372|pos=37628|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=206848|pts_time=4.690431|pkt_dts=206848|pkt_dts_time=4.690431|best_effort_timestamp=206848|best_effort_timestamp_time=4.690431|duration=2048|duration_time=0.046440|pkt_pos=37628|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=208896|pts_time=4.736871|dts=208896|dts_time=4.736871|duration=2048|duration_time=0.046440|size=372|pos=38000|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=208896|pts_time=4.736871|pkt_dts=208896|pkt_dts_time=4.736871|best_effort_timestamp=208896|best_effort_timestamp_time=4.736871|duration=2048|duration_time=0.046440|pkt_pos=38000|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=210944|pts_time=4.783311|dts=210944|dts_time=4.783311|duration=2048|duration_time=0.046440|size=372|pos=38372|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=210944|pts_time=4.783311|pkt_dts=210944|pkt_dts_time=4.783311|best_effort_timestamp=210944|best_effort_timestamp_time=4.783311|duration=2048|duration_time=0.046440|pkt_pos=38372|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=212992|pts_time=4.829751|dts=212992|dts_time=4.829751|duration=2048|duration_time=0.046440|size=372|pos=38744|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=212992|pts_time=4.829751|pkt_dts=212992|pkt_dts_time=4.829751|best_effort_timestamp=212992|best_effort_timestamp_time=4.829751|duration=2048|duration_time=0.046440|pkt_pos=38744|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=215040|pts_time=4.876190|dts=215040|dts_time=4.876190|duration=2048|duration_time=0.046440|size=372|pos=39116|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=215040|pts_time=4.876190|pkt_dts=215040|pkt_dts_time=4.876190|best_effort_timestamp=215040|best_effort_timestamp_time=4.876190|duration=2048|duration_time=0.046440|pkt_pos=39116|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=217088|pts_time=4.922630|dts=217088|dts_time=4.922630|duration=2048|duration_time=0.046440|size=372|pos=39488|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=217088|pts_time=4.922630|pkt_dts=217088|pkt_dts_time=4.922630|best_effort_timestamp=217088|best_effort_timestamp_time=4.922630|duration=2048|duration_time=0.046440|pkt_pos=39488|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=219136|pts_time=4.969070|dts=219136|dts_time=4.969070|duration=2048|duration_time=0.046440|size=372|pos=39860|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=219136|pts_time=4.969070|pkt_dts=219136|pkt_dts_time=4.969070|best_effort_timestamp=219136|best_effort_timestamp_time=4.969070|duration=2048|duration_time=0.046440|pkt_pos=39860|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=221184|pts_time=5.015510|dts=221184|dts_time=5.015510|duration=2048|duration_time=0.046440|size=372|pos=40232|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=221184|pts_time=5.015510|pkt_dts=221184|pkt_dts_time=5.015510|best_effort_timestamp=221184|best_effort_timestamp_time=5.015510|duration=2048|duration_time=0.046440|pkt_pos=40232|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=223232|pts_time=5.061950|dts=223232|dts_time=5.061950|duration=2048|duration_time=0.046440|size=372|pos=40604|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=223232|pts_time=5.061950|pkt_dts=223232|pkt_dts_time=5.061950|best_effort_timestamp=223232|best_effort_timestamp_time=5.061950|duration=2048|duration_time=0.046440|pkt_pos=40604|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=225280|pts_time=5.108390|dts=225280|dts_time=5.108390|duration=2048|duration_time=0.046440|size=372|pos=40976|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=225280|pts_time=5.108390|pkt_dts=225280|pkt_dts_time=5.108390|best_effort_timestamp=225280|best_effort_timestamp_time=5.108390|duration=2048|duration_time=0.046440|pkt_pos=40976|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=227328|pts_time=5.154830|dts=227328|dts_time=5.154830|duration=2048|duration_time=0.046440|size=372|pos=41348|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=227328|pts_time=5.154830|pkt_dts=227328|pkt_dts_time=5.154830|best_effort_timestamp=227328|best_effort_timestamp_time=5.154830|duration=2048|duration_time=0.046440|pkt_pos=41348|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=229376|pts_time=5.201270|dts=229376|dts_time=5.201270|duration=2048|duration_time=0.046440|size=372|pos=41720|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=229376|pts_time=5.201270|pkt_dts=229376|pkt_dts_time=5.201270|best_effort_timestamp=229376|best_effort_timestamp_time=5.201270|duration=2048|duration_time=0.046440|pkt_pos=41720|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=231424|pts_time=5.247710|dts=231424|dts_time=5.247710|duration=2048|duration_time=0.046440|size=372|pos=42092|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=231424|pts_time=5.247710|pkt_dts=231424|pkt_dts_time=5.247710|best_effort_timestamp=231424|best_effort_timestamp_time=5.247710|duration=2048|duration_time=0.046440|pkt_pos=42092|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=233472|pts_time=5.294150|dts=233472|dts_time=5.294150|duration=2048|duration_time=0.046440|size=372|pos=42464|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=233472|pts_time=5.294150|pkt_dts=233472|pkt_dts_time=5.294150|best_effort_timestamp=233472|best_effort_timestamp_time=5.294150|duration=2048|duration_time=0.046440|pkt_pos=42464|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=235520|pts_time=5.340590|dts=235520|dts_time=5.340590|duration=2048|duration_time=0.046440|size=372|pos=42836|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=235520|pts_time=5.340590|pkt_dts=235520|pkt_dts_time=5.340590|best_effort_timestamp=235520|best_effort_timestamp_time=5.340590|duration=2048|duration_time=0.046440|pkt_pos=42836|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=237568|pts_time=5.387029|dts=237568|dts_time=5.387029|duration=2048|duration_time=0.046440|size=372|pos=43208|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=237568|pts_time=5.387029|pkt_dts=237568|pkt_dts_time=5.387029|best_effort_timestamp=237568|best_effort_timestamp_time=5.387029|duration=2048|duration_time=0.046440|pkt_pos=43208|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=239616|pts_time=5.433469|dts=239616|dts_time=5.433469|duration=2048|duration_time=0.046440|size=372|pos=43580|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=239616|pts_time=5.433469|pkt_dts=239616|pkt_dts_time=5.433469|best_effort_timestamp=239616|best_effort_timestamp_time=5.433469|duration=2048|duration_time=0.046440|pkt_pos=43580|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=241664|pts_time=5.479909|dts=241664|dts_time=5.479909|duration=2048|duration_time=0.046440|size=372|pos=43952|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=241664|pts_time=5.479909|pkt_dts=241664|pkt_dts_time=5.479909|best_effort_timestamp=241664|best_effort_timestamp_time=5.479909|duration=2048|duration_time=0.046440|pkt_pos=43952|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=243712|pts_time=5.526349|dts=243712|dts_time=5.526349|duration=2048|duration_time=0.046440|size=372|pos=44324|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=243712|pts_time=5.526349|pkt_dts=243712|pkt_dts_time=5.526349|best_effort_timestamp=243712|best_effort_timestamp_time=5.526349|duration=2048|duration_time=0.046440|pkt_pos=44324|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=245760|pts_time=5.572789|dts=245760|dts_time=5.572789|duration=2048|duration_time=0.046440|size=372|pos=44696|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=245760|pts_time=5.572789|pkt_dts=245760|pkt_dts_time=5.572789|best_effort_timestamp=245760|best_effort_timestamp_time=5.572789|duration=2048|duration_time=0.046440|pkt_pos=44696|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=247808|pts_time=5.619229|dts=247808|dts_time=5.619229|duration=2048|duration_time=0.046440|size=372|pos=45068|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=247808|pts_time=5.619229|pkt_dts=247808|pkt_dts_time=5.619229|best_effort_timestamp=247808|best_effort_timestamp_time=5.619229|duration=2048|duration_time=0.046440|pkt_pos=45068|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=249856|pts_time=5.665669|dts=249856|dts_time=5.665669|duration=2048|duration_time=0.046440|size=372|pos=45440|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=249856|pts_time=5.665669|pkt_dts=249856|pkt_dts_time=5.665669|best_effort_timestamp=249856|best_effort_timestamp_time=5.665669|duration=2048|duration_time=0.046440|pkt_pos=45440|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=251904|pts_time=5.712109|dts=251904|dts_time=5.712109|duration=2048|duration_time=0.046440|size=372|pos=45812|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=251904|pts_time=5.712109|pkt_dts=251904|pkt_dts_time=5.712109|best_effort_timestamp=251904|best_effort_timestamp_time=5.712109|duration=2048|duration_time=0.046440|pkt_pos=45812|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=253952|pts_time=5.758549|dts=253952|dts_time=5.758549|duration=2048|duration_time=0.046440|size=372|pos=46184|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=253952|pts_time=5.758549|pkt_dts=253952|pkt_dts_time=5.758549|best_effort_timestamp=253952|best_effort_timestamp_time=5.758549|duration=2048|duration_time=0.046440|pkt_pos=46184|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=256000|pts_time=5.804989|dts=256000|dts_time=5.804989|duration=2048|duration_time=0.046440|size=372|pos=46556|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=256000|pts_time=5.804989|pkt_dts=256000|pkt_dts_time=5.804989|best_effort_timestamp=256000|best_effort_timestamp_time=5.804989|duration=2048|duration_time=0.046440|pkt_pos=46556|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=258048|pts_time=5.851429|dts=258048|dts_time=5.851429|duration=2048|duration_time=0.046440|size=372|pos=46928|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=258048|pts_time=5.851429|pkt_dts=258048|pkt_dts_time=5.851429|best_effort_timestamp=258048|best_effort_timestamp_time=5.851429|duration=2048|duration_time=0.046440|pkt_pos=46928|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=260096|pts_time=5.897868|dts=260096|dts_time=5.897868|duration=2048|duration_time=0.046440|size=372|pos=47300|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=260096|pts_time=5.897868|pkt_dts=260096|pkt_dts_time=5.897868|best_effort_timestamp=260096|best_effort_timestamp_time=5.897868|duration=2048|duration_time=0.046440|pkt_pos=47300|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=262144|pts_time=5.944308|dts=262144|dts_time=5.944308|duration=2048|duration_time=0.046440|size=372|pos=47672|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=262144|pts_time=5.944308|pkt_dts=262144|pkt_dts_time=5.944308|best_effort_timestamp=262144|best_effort_timestamp_time=5.944308|duration=2048|duration_time=0.046440|pkt_pos=47672|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=264192|pts_time=5.990748|dts=264192|dts_time=5.990748|duration=2048|duration_time=0.046440|size=372|pos=48044|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=264192|pts_time=5.990748|pkt_dts=264192|pkt_dts_time=5.990748|best_effort_timestamp=264192|best_effort_timestamp_time=5.990748|duration=2048|duration_time=0.046440|pkt_pos=48044|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=266240|pts_time=6.037188|dts=266240|dts_time=6.037188|duration=2048|duration_time=0.046440|size=372|pos=48416|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=266240|pts_time=6.037188|pkt_dts=266240|pkt_dts_time=6.037188|best_effort_timestamp=266240|best_effort_timestamp_time=6.037188|duration=2048|duration_time=0.046440|pkt_pos=48416|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=268288|pts_time=6.083628|dts=268288|dts_time=6.083628|duration=2048|duration_time=0.046440|size=372|pos=48788|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=268288|pts_time=6.083628|pkt_dts=268288|pkt_dts_time=6.083628|best_effort_timestamp=268288|best_effort_timestamp_time=6.083628|duration=2048|duration_time=0.046440|pkt_pos=48788|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=270336|pts_time=6.130068|dts=270336|dts_time=6.130068|duration=2048|duration_time=0.046440|size=372|pos=49160|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=270336|pts_time=6.130068|pkt_dts=270336|pkt_dts_time=6.130068|best_effort_timestamp=270336|best_effort_timestamp_time=6.130068|duration=2048|duration_time=0.046440|pkt_pos=49160|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=272384|pts_time=6.176508|dts=272384|dts_time=6.176508|duration=2048|duration_time=0.046440|size=372|pos=49532|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=272384|pts_time=6.176508|pkt_dts=272384|pkt_dts_time=6.176508|best_effort_timestamp=272384|best_effort_timestamp_time=6.176508|duration=2048|duration_time=0.046440|pkt_pos=49532|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=274432|pts_time=6.222948|dts=274432|dts_time=6.222948|duration=2048|duration_time=0.046440|size=372|pos=49904|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=274432|pts_time=6.222948|pkt_dts=274432|pkt_dts_time=6.222948|best_effort_timestamp=274432|best_effort_timestamp_time=6.222948|duration=2048|duration_time=0.046440|pkt_pos=49904|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=276480|pts_time=6.269388|dts=276480|dts_time=6.269388|duration=2048|duration_time=0.046440|size=372|pos=50276|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=276480|pts_time=6.269388|pkt_dts=276480|pkt_dts_time=6.269388|best_effort_timestamp=276480|best_effort_timestamp_time=6.269388|duration=2048|duration_time=0.046440|pkt_pos=50276|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=278528|pts_time=6.315828|dts=278528|dts_time=6.315828|duration=2048|duration_time=0.046440|size=372|pos=50648|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=278528|pts_time=6.315828|pkt_dts=278528|pkt_dts_time=6.315828|best_effort_timestamp=278528|best_effort_timestamp_time=6.315828|duration=2048|duration_time=0.046440|pkt_pos=50648|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=280576|pts_time=6.362268|dts=280576|dts_time=6.362268|duration=2048|duration_time=0.046440|size=372|pos=51020|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=280576|pts_time=6.362268|pkt_dts=280576|pkt_dts_time=6.362268|best_effort_timestamp=280576|best_effort_timestamp_time=6.362268|duration=2048|duration_time=0.046440|pkt_pos=51020|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=282624|pts_time=6.408707|dts=282624|dts_time=6.408707|duration=2048|duration_time=0.046440|size=372|pos=51392|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=282624|pts_time=6.408707|pkt_dts=282624|pkt_dts_time=6.408707|best_effort_timestamp=282624|best_effort_timestamp_time=6.408707|duration=2048|duration_time=0.046440|pkt_pos=51392|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=284672|pts_time=6.455147|dts=284672|dts_time=6.455147|duration=2048|duration_time=0.046440|size=372|pos=51764|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=284672|pts_time=6.455147|pkt_dts=284672|pkt_dts_time=6.455147|best_effort_timestamp=284672|best_effort_timestamp_time=6.455147|duration=2048|duration_time=0.046440|pkt_pos=51764|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=286720|pts_time=6.501587|dts=286720|dts_time=6.501587|duration=2048|duration_time=0.046440|size=372|pos=52136|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=286720|pts_time=6.501587|pkt_dts=286720|pkt_dts_time=6.501587|best_effort_timestamp=286720|best_effort_timestamp_time=6.501587|duration=2048|duration_time=0.046440|pkt_pos=52136|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=288768|pts_time=6.548027|dts=288768|dts_time=6.548027|duration=2048|duration_time=0.046440|size=372|pos=52508|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=288768|pts_time=6.548027|pkt_dts=288768|pkt_dts_time=6.548027|best_effort_timestamp=288768|best_effort_timestamp_time=6.548027|duration=2048|duration_time=0.046440|pkt_pos=52508|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=290816|pts_time=6.594467|dts=290816|dts_time=6.594467|duration=2048|duration_time=0.046440|size=372|pos=52880|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=290816|pts_time=6.594467|pkt_dts=290816|pkt_dts_time=6.594467|best_effort_timestamp=290816|best_effort_timestamp_time=6.594467|duration=2048|duration_time=0.046440|pkt_pos=52880|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=292864|pts_time=6.640907|dts=292864|dts_time=6.640907|duration=2048|duration_time=0.046440|size=372|pos=53252|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=292864|pts_time=6.640907|pkt_dts=292864|pkt_dts_time=6.640907|best_effort_timestamp=292864|best_effort_timestamp_time=6.640907|duration=2048|duration_time=0.046440|pkt_pos=53252|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=294912|pts_time=6.687347|dts=294912|dts_time=6.687347|duration=2048|duration_time=0.046440|size=372|pos=53624|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=294912|pts_time=6.687347|pkt_dts=294912|pkt_dts_time=6.687347|best_effort_timestamp=294912|best_effort_timestamp_time=6.687347|duration=2048|duration_time=0.046440|pkt_pos=53624|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=296960|pts_time=6.733787|dts=296960|dts_time=6.733787|duration=2048|duration_time=0.046440|size=372|pos=53996|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=296960|pts_time=6.733787|pkt_dts=296960|pkt_dts_time=6.733787|best_effort_timestamp=296960|best_effort_timestamp_time=6.733787|duration=2048|duration_time=0.046440|pkt_pos=53996|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=299008|pts_time=6.780227|dts=299008|dts_time=6.780227|duration=2048|duration_time=0.046440|size=372|pos=54368|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=299008|pts_time=6.780227|pkt_dts=299008|pkt_dts_time=6.780227|best_effort_timestamp=299008|best_effort_timestamp_time=6.780227|duration=2048|duration_time=0.046440|pkt_pos=54368|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=301056|pts_time=6.826667|dts=301056|dts_time=6.826667|duration=2048|duration_time=0.046440|size=372|pos=54740|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=301056|pts_time=6.826667|pkt_dts=301056|pkt_dts_time=6.826667|best_effort_timestamp=301056|best_effort_timestamp_time=6.826667|duration=2048|duration_time=0.046440|pkt_pos=54740|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=303104|pts_time=6.873107|dts=303104|dts_time=6.873107|duration=2048|duration_time=0.046440|size=372|pos=55112|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=303104|pts_time=6.873107|pkt_dts=303104|pkt_dts_time=6.873107|best_effort_timestamp=303104|best_effort_timestamp_time=6.873107|duration=2048|duration_time=0.046440|pkt_pos=55112|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=305152|pts_time=6.919546|dts=305152|dts_time=6.919546|duration=2048|duration_time=0.046440|size=372|pos=55484|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=305152|pts_time=6.919546|pkt_dts=305152|pkt_dts_time=6.919546|best_effort_timestamp=305152|best_effort_timestamp_time=6.919546|duration=2048|duration_time=0.046440|pkt_pos=55484|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=307200|pts_time=6.965986|dts=307200|dts_time=6.965986|duration=2048|duration_time=0.046440|size=372|pos=55856|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=307200|pts_time=6.965986|pkt_dts=307200|pkt_dts_time=6.965986|best_effort_timestamp=307200|best_effort_timestamp_time=6.965986|duration=2048|duration_time=0.046440|pkt_pos=55856|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=309248|pts_time=7.012426|dts=309248|dts_time=7.012426|duration=2048|duration_time=0.046440|size=372|pos=56228|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=309248|pts_time=7.012426|pkt_dts=309248|pkt_dts_time=7.012426|best_effort_timestamp=309248|best_effort_timestamp_time=7.012426|duration=2048|duration_time=0.046440|pkt_pos=56228|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=311296|pts_time=7.058866|dts=311296|dts_time=7.058866|duration=2048|duration_time=0.046440|size=372|pos=56600|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=311296|pts_time=7.058866|pkt_dts=311296|pkt_dts_time=7.058866|best_effort_timestamp=311296|best_effort_timestamp_time=7.058866|duration=2048|duration_time=0.046440|pkt_pos=56600|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=313344|pts_time=7.105306|dts=313344|dts_time=7.105306|duration=2048|duration_time=0.046440|size=372|pos=56972|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=313344|pts_time=7.105306|pkt_dts=313344|pkt_dts_time=7.105306|best_effort_timestamp=313344|best_effort_timestamp_time=7.105306|duration=2048|duration_time=0.046440|pkt_pos=56972|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=315392|pts_time=7.151746|dts=315392|dts_time=7.151746|duration=2048|duration_time=0.046440|size=372|pos=57344|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=315392|pts_time=7.151746|pkt_dts=315392|pkt_dts_time=7.151746|best_effort_timestamp=315392|best_effort_timestamp_time=7.151746|duration=2048|duration_time=0.046440|pkt_pos=57344|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=317440|pts_time=7.198186|dts=317440|dts_time=7.198186|duration=2048|duration_time=0.046440|size=372|pos=57716|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=317440|pts_time=7.198186|pkt_dts=317440|pkt_dts_time=7.198186|best_effort_timestamp=317440|best_effort_timestamp_time=7.198186|duration=2048|duration_time=0.046440|pkt_pos=57716|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=319488|pts_time=7.244626|dts=319488|dts_time=7.244626|duration=2048|duration_time=0.046440|size=372|pos=58088|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=319488|pts_time=7.244626|pkt_dts=319488|pkt_dts_time=7.244626|best_effort_timestamp=319488|best_effort_timestamp_time=7.244626|duration=2048|duration_time=0.046440|pkt_pos=58088|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=321536|pts_time=7.291066|dts=321536|dts_time=7.291066|duration=2048|duration_time=0.046440|size=372|pos=58460|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=321536|pts_time=7.291066|pkt_dts=321536|pkt_dts_time=7.291066|best_effort_timestamp=321536|best_effort_timestamp_time=7.291066|duration=2048|duration_time=0.046440|pkt_pos=58460|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=323584|pts_time=7.337506|dts=323584|dts_time=7.337506|duration=2048|duration_time=0.046440|size=372|pos=58832|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=323584|pts_time=7.337506|pkt_dts=323584|pkt_dts_time=7.337506|best_effort_timestamp=323584|best_effort_timestamp_time=7.337506|duration=2048|duration_time=0.046440|pkt_pos=58832|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=325632|pts_time=7.383946|dts=325632|dts_time=7.383946|duration=2048|duration_time=0.046440|size=372|pos=59204|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=325632|pts_time=7.383946|pkt_dts=325632|pkt_dts_time=7.383946|best_effort_timestamp=325632|best_effort_timestamp_time=7.383946|duration=2048|duration_time=0.046440|pkt_pos=59204|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=327680|pts_time=7.430385|dts=327680|dts_time=7.430385|duration=2048|duration_time=0.046440|size=372|pos=59576|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=327680|pts_time=7.430385|pkt_dts=327680|pkt_dts_time=7.430385|best_effort_timestamp=327680|best_effort_timestamp_time=7.430385|duration=2048|duration_time=0.046440|pkt_pos=59576|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=329728|pts_time=7.476825|dts=329728|dts_time=7.476825|duration=2048|duration_time=0.046440|size=372|pos=59948|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=329728|pts_time=7.476825|pkt_dts=329728|pkt_dts_time=7.476825|best_effort_timestamp=329728|best_effort_timestamp_time=7.476825|duration=2048|duration_time=0.046440|pkt_pos=59948|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=331776|pts_time=7.523265|dts=331776|dts_time=7.523265|duration=2048|duration_time=0.046440|size=372|pos=60320|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=331776|pts_time=7.523265|pkt_dts=331776|pkt_dts_time=7.523265|best_effort_timestamp=331776|best_effort_timestamp_time=7.523265|duration=2048|duration_time=0.046440|pkt_pos=60320|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=333824|pts_time=7.569705|dts=333824|dts_time=7.569705|duration=2048|duration_time=0.046440|size=372|pos=60692|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=333824|pts_time=7.569705|pkt_dts=333824|pkt_dts_time=7.569705|best_effort_timestamp=333824|best_effort_timestamp_time=7.569705|duration=2048|duration_time=0.046440|pkt_pos=60692|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=335872|pts_time=7.616145|dts=335872|dts_time=7.616145|duration=2048|duration_time=0.046440|size=372|pos=61064|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=335872|pts_time=7.616145|pkt_dts=335872|pkt_dts_time=7.616145|best_effort_timestamp=335872|best_effort_timestamp_time=7.616145|duration=2048|duration_time=0.046440|pkt_pos=61064|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=337920|pts_time=7.662585|dts=337920|dts_time=7.662585|duration=2048|duration_time=0.046440|size=372|pos=61436|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=337920|pts_time=7.662585|pkt_dts=337920|pkt_dts_time=7.662585|best_effort_timestamp=337920|best_effort_timestamp_time=7.662585|duration=2048|duration_time=0.046440|pkt_pos=61436|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=339968|pts_time=7.709025|dts=339968|dts_time=7.709025|duration=2048|duration_time=0.046440|size=372|pos=61808|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=339968|pts_time=7.709025|pkt_dts=339968|pkt_dts_time=7.709025|best_effort_timestamp=339968|best_effort_timestamp_time=7.709025|duration=2048|duration_time=0.046440|pkt_pos=61808|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=342016|pts_time=7.755465|dts=342016|dts_time=7.755465|duration=2048|duration_time=0.046440|size=372|pos=62180|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=342016|pts_time=7.755465|pkt_dts=342016|pkt_dts_time=7.755465|best_effort_timestamp=342016|best_effort_timestamp_time=7.755465|duration=2048|duration_time=0.046440|pkt_pos=62180|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=344064|pts_time=7.801905|dts=344064|dts_time=7.801905|duration=2048|duration_time=0.046440|size=372|pos=62552|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=344064|pts_time=7.801905|pkt_dts=344064|pkt_dts_time=7.801905|best_effort_timestamp=344064|best_effort_timestamp_time=7.801905|duration=2048|duration_time=0.046440|pkt_pos=62552|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=346112|pts_time=7.848345|dts=346112|dts_time=7.848345|duration=2048|duration_time=0.046440|size=372|pos=62924|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=346112|pts_time=7.848345|pkt_dts=346112|pkt_dts_time=7.848345|best_effort_timestamp=346112|best_effort_timestamp_time=7.848345|duration=2048|duration_time=0.046440|pkt_pos=62924|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=348160|pts_time=7.894785|dts=348160|dts_time=7.894785|duration=2048|duration_time=0.046440|size=372|pos=63296|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=348160|pts_time=7.894785|pkt_dts=348160|pkt_dts_time=7.894785|best_effort_timestamp=348160|best_effort_timestamp_time=7.894785|duration=2048|duration_time=0.046440|pkt_pos=63296|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=350208|pts_time=7.941224|dts=350208|dts_time=7.941224|duration=2048|duration_time=0.046440|size=372|pos=63668|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=350208|pts_time=7.941224|pkt_dts=350208|pkt_dts_time=7.941224|best_effort_timestamp=350208|best_effort_timestamp_time=7.941224|duration=2048|duration_time=0.046440|pkt_pos=63668|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=352256|pts_time=7.987664|dts=352256|dts_time=7.987664|duration=2048|duration_time=0.046440|size=372|pos=64040|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=352256|pts_time=7.987664|pkt_dts=352256|pkt_dts_time=7.987664|best_effort_timestamp=352256|best_effort_timestamp_time=7.987664|duration=2048|duration_time=0.046440|pkt_pos=64040|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=354304|pts_time=8.034104|dts=354304|dts_time=8.034104|duration=2048|duration_time=0.046440|size=372|pos=64412|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=354304|pts_time=8.034104|pkt_dts=354304|pkt_dts_time=8.034104|best_effort_timestamp=354304|best_effort_timestamp_time=8.034104|duration=2048|duration_time=0.046440|pkt_pos=64412|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=356352|pts_time=8.080544|dts=356352|dts_time=8.080544|duration=2048|duration_time=0.046440|size=372|pos=64784|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=356352|pts_time=8.080544|pkt_dts=356352|pkt_dts_time=8.080544|best_effort_timestamp=356352|best_effort_timestamp_time=8.080544|duration=2048|duration_time=0.046440|pkt_pos=64784|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
-packet|codec_type=audio|stream_index=0|pts=358400|pts_time=8.126984|dts=358400|dts_time=8.126984|duration=2048|duration_time=0.046440|size=372|pos=65156|flags=K__
-frame|media_type=audio|stream_index=0|key_frame=1|pts=358400|pts_time=8.126984|pkt_dts=358400|pkt_dts_time=8.126984|best_effort_timestamp=358400|best_effort_timestamp_time=8.126984|duration=2048|duration_time=0.046440|pkt_pos=65156|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=4096|duration_time=0.092880|size=744|pos=56|flags=K__
+packet|codec_type=audio|stream_index=0|pts=4096|pts_time=0.092880|dts=4096|dts_time=0.092880|duration=4096|duration_time=0.092880|size=744|pos=800|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=4096|pts_time=0.092880|pkt_dts=4096|pkt_dts_time=0.092880|best_effort_timestamp=4096|best_effort_timestamp_time=0.092880|duration=4096|duration_time=0.092880|pkt_pos=800|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=800|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=8192|pts_time=0.185760|dts=8192|dts_time=0.185760|duration=4096|duration_time=0.092880|size=744|pos=1544|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=8192|pts_time=0.185760|pkt_dts=8192|pkt_dts_time=0.185760|best_effort_timestamp=8192|best_effort_timestamp_time=0.185760|duration=4096|duration_time=0.092880|pkt_pos=1544|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=1544|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=12288|pts_time=0.278639|dts=12288|dts_time=0.278639|duration=4096|duration_time=0.092880|size=744|pos=2288|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=12288|pts_time=0.278639|pkt_dts=12288|pkt_dts_time=0.278639|best_effort_timestamp=12288|best_effort_timestamp_time=0.278639|duration=4096|duration_time=0.092880|pkt_pos=2288|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=2288|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=16384|pts_time=0.371519|dts=16384|dts_time=0.371519|duration=4096|duration_time=0.092880|size=744|pos=3032|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=16384|pts_time=0.371519|pkt_dts=16384|pkt_dts_time=0.371519|best_effort_timestamp=16384|best_effort_timestamp_time=0.371519|duration=4096|duration_time=0.092880|pkt_pos=3032|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=3032|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=20480|pts_time=0.464399|dts=20480|dts_time=0.464399|duration=4096|duration_time=0.092880|size=744|pos=3776|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=20480|pts_time=0.464399|pkt_dts=20480|pkt_dts_time=0.464399|best_effort_timestamp=20480|best_effort_timestamp_time=0.464399|duration=4096|duration_time=0.092880|pkt_pos=3776|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=3776|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=24576|pts_time=0.557279|dts=24576|dts_time=0.557279|duration=4096|duration_time=0.092880|size=744|pos=4520|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=24576|pts_time=0.557279|pkt_dts=24576|pkt_dts_time=0.557279|best_effort_timestamp=24576|best_effort_timestamp_time=0.557279|duration=4096|duration_time=0.092880|pkt_pos=4520|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=4520|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=28672|pts_time=0.650159|dts=28672|dts_time=0.650159|duration=4096|duration_time=0.092880|size=744|pos=5264|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=28672|pts_time=0.650159|pkt_dts=28672|pkt_dts_time=0.650159|best_effort_timestamp=28672|best_effort_timestamp_time=0.650159|duration=4096|duration_time=0.092880|pkt_pos=5264|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=5264|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=32768|pts_time=0.743039|dts=32768|dts_time=0.743039|duration=4096|duration_time=0.092880|size=744|pos=6008|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=32768|pts_time=0.743039|pkt_dts=32768|pkt_dts_time=0.743039|best_effort_timestamp=32768|best_effort_timestamp_time=0.743039|duration=4096|duration_time=0.092880|pkt_pos=6008|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=6008|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=36864|pts_time=0.835918|dts=36864|dts_time=0.835918|duration=4096|duration_time=0.092880|size=744|pos=6752|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=36864|pts_time=0.835918|pkt_dts=36864|pkt_dts_time=0.835918|best_effort_timestamp=36864|best_effort_timestamp_time=0.835918|duration=4096|duration_time=0.092880|pkt_pos=6752|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=6752|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=40960|pts_time=0.928798|dts=40960|dts_time=0.928798|duration=4096|duration_time=0.092880|size=744|pos=7496|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=40960|pts_time=0.928798|pkt_dts=40960|pkt_dts_time=0.928798|best_effort_timestamp=40960|best_effort_timestamp_time=0.928798|duration=4096|duration_time=0.092880|pkt_pos=7496|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=7496|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=45056|pts_time=1.021678|dts=45056|dts_time=1.021678|duration=4096|duration_time=0.092880|size=744|pos=8240|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=45056|pts_time=1.021678|pkt_dts=45056|pkt_dts_time=1.021678|best_effort_timestamp=45056|best_effort_timestamp_time=1.021678|duration=4096|duration_time=0.092880|pkt_pos=8240|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=8240|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=49152|pts_time=1.114558|dts=49152|dts_time=1.114558|duration=4096|duration_time=0.092880|size=744|pos=8984|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=49152|pts_time=1.114558|pkt_dts=49152|pkt_dts_time=1.114558|best_effort_timestamp=49152|best_effort_timestamp_time=1.114558|duration=4096|duration_time=0.092880|pkt_pos=8984|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=8984|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=53248|pts_time=1.207438|dts=53248|dts_time=1.207438|duration=4096|duration_time=0.092880|size=744|pos=9728|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=53248|pts_time=1.207438|pkt_dts=53248|pkt_dts_time=1.207438|best_effort_timestamp=53248|best_effort_timestamp_time=1.207438|duration=4096|duration_time=0.092880|pkt_pos=9728|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=9728|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=57344|pts_time=1.300317|dts=57344|dts_time=1.300317|duration=4096|duration_time=0.092880|size=744|pos=10472|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=57344|pts_time=1.300317|pkt_dts=57344|pkt_dts_time=1.300317|best_effort_timestamp=57344|best_effort_timestamp_time=1.300317|duration=4096|duration_time=0.092880|pkt_pos=10472|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=10472|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=61440|pts_time=1.393197|dts=61440|dts_time=1.393197|duration=4096|duration_time=0.092880|size=744|pos=11216|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=61440|pts_time=1.393197|pkt_dts=61440|pkt_dts_time=1.393197|best_effort_timestamp=61440|best_effort_timestamp_time=1.393197|duration=4096|duration_time=0.092880|pkt_pos=11216|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=11216|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=65536|pts_time=1.486077|dts=65536|dts_time=1.486077|duration=4096|duration_time=0.092880|size=744|pos=11960|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=65536|pts_time=1.486077|pkt_dts=65536|pkt_dts_time=1.486077|best_effort_timestamp=65536|best_effort_timestamp_time=1.486077|duration=4096|duration_time=0.092880|pkt_pos=11960|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=11960|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=69632|pts_time=1.578957|dts=69632|dts_time=1.578957|duration=4096|duration_time=0.092880|size=744|pos=12704|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=69632|pts_time=1.578957|pkt_dts=69632|pkt_dts_time=1.578957|best_effort_timestamp=69632|best_effort_timestamp_time=1.578957|duration=4096|duration_time=0.092880|pkt_pos=12704|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=12704|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=73728|pts_time=1.671837|dts=73728|dts_time=1.671837|duration=4096|duration_time=0.092880|size=744|pos=13448|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=73728|pts_time=1.671837|pkt_dts=73728|pkt_dts_time=1.671837|best_effort_timestamp=73728|best_effort_timestamp_time=1.671837|duration=4096|duration_time=0.092880|pkt_pos=13448|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=13448|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=77824|pts_time=1.764717|dts=77824|dts_time=1.764717|duration=4096|duration_time=0.092880|size=744|pos=14192|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=77824|pts_time=1.764717|pkt_dts=77824|pkt_dts_time=1.764717|best_effort_timestamp=77824|best_effort_timestamp_time=1.764717|duration=4096|duration_time=0.092880|pkt_pos=14192|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=14192|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=81920|pts_time=1.857596|dts=81920|dts_time=1.857596|duration=4096|duration_time=0.092880|size=744|pos=14936|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=81920|pts_time=1.857596|pkt_dts=81920|pkt_dts_time=1.857596|best_effort_timestamp=81920|best_effort_timestamp_time=1.857596|duration=4096|duration_time=0.092880|pkt_pos=14936|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=14936|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=86016|pts_time=1.950476|dts=86016|dts_time=1.950476|duration=4096|duration_time=0.092880|size=744|pos=15680|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=86016|pts_time=1.950476|pkt_dts=86016|pkt_dts_time=1.950476|best_effort_timestamp=86016|best_effort_timestamp_time=1.950476|duration=4096|duration_time=0.092880|pkt_pos=15680|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=15680|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=90112|pts_time=2.043356|dts=90112|dts_time=2.043356|duration=4096|duration_time=0.092880|size=744|pos=16424|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=90112|pts_time=2.043356|pkt_dts=90112|pkt_dts_time=2.043356|best_effort_timestamp=90112|best_effort_timestamp_time=2.043356|duration=4096|duration_time=0.092880|pkt_pos=16424|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=16424|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=94208|pts_time=2.136236|dts=94208|dts_time=2.136236|duration=4096|duration_time=0.092880|size=744|pos=17168|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=94208|pts_time=2.136236|pkt_dts=94208|pkt_dts_time=2.136236|best_effort_timestamp=94208|best_effort_timestamp_time=2.136236|duration=4096|duration_time=0.092880|pkt_pos=17168|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=17168|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=98304|pts_time=2.229116|dts=98304|dts_time=2.229116|duration=4096|duration_time=0.092880|size=744|pos=17912|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=98304|pts_time=2.229116|pkt_dts=98304|pkt_dts_time=2.229116|best_effort_timestamp=98304|best_effort_timestamp_time=2.229116|duration=4096|duration_time=0.092880|pkt_pos=17912|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=17912|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=102400|pts_time=2.321995|dts=102400|dts_time=2.321995|duration=4096|duration_time=0.092880|size=744|pos=18656|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=102400|pts_time=2.321995|pkt_dts=102400|pkt_dts_time=2.321995|best_effort_timestamp=102400|best_effort_timestamp_time=2.321995|duration=4096|duration_time=0.092880|pkt_pos=18656|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=18656|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=106496|pts_time=2.414875|dts=106496|dts_time=2.414875|duration=4096|duration_time=0.092880|size=744|pos=19400|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=106496|pts_time=2.414875|pkt_dts=106496|pkt_dts_time=2.414875|best_effort_timestamp=106496|best_effort_timestamp_time=2.414875|duration=4096|duration_time=0.092880|pkt_pos=19400|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=19400|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=110592|pts_time=2.507755|dts=110592|dts_time=2.507755|duration=4096|duration_time=0.092880|size=744|pos=20144|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=110592|pts_time=2.507755|pkt_dts=110592|pkt_dts_time=2.507755|best_effort_timestamp=110592|best_effort_timestamp_time=2.507755|duration=4096|duration_time=0.092880|pkt_pos=20144|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=20144|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=114688|pts_time=2.600635|dts=114688|dts_time=2.600635|duration=4096|duration_time=0.092880|size=744|pos=20888|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=114688|pts_time=2.600635|pkt_dts=114688|pkt_dts_time=2.600635|best_effort_timestamp=114688|best_effort_timestamp_time=2.600635|duration=4096|duration_time=0.092880|pkt_pos=20888|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=20888|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=118784|pts_time=2.693515|dts=118784|dts_time=2.693515|duration=4096|duration_time=0.092880|size=744|pos=21632|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=118784|pts_time=2.693515|pkt_dts=118784|pkt_dts_time=2.693515|best_effort_timestamp=118784|best_effort_timestamp_time=2.693515|duration=4096|duration_time=0.092880|pkt_pos=21632|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=21632|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=122880|pts_time=2.786395|dts=122880|dts_time=2.786395|duration=4096|duration_time=0.092880|size=744|pos=22376|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=122880|pts_time=2.786395|pkt_dts=122880|pkt_dts_time=2.786395|best_effort_timestamp=122880|best_effort_timestamp_time=2.786395|duration=4096|duration_time=0.092880|pkt_pos=22376|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=22376|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=126976|pts_time=2.879274|dts=126976|dts_time=2.879274|duration=4096|duration_time=0.092880|size=744|pos=23120|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=126976|pts_time=2.879274|pkt_dts=126976|pkt_dts_time=2.879274|best_effort_timestamp=126976|best_effort_timestamp_time=2.879274|duration=4096|duration_time=0.092880|pkt_pos=23120|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=23120|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=131072|pts_time=2.972154|dts=131072|dts_time=2.972154|duration=4096|duration_time=0.092880|size=744|pos=23864|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=131072|pts_time=2.972154|pkt_dts=131072|pkt_dts_time=2.972154|best_effort_timestamp=131072|best_effort_timestamp_time=2.972154|duration=4096|duration_time=0.092880|pkt_pos=23864|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=23864|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=135168|pts_time=3.065034|dts=135168|dts_time=3.065034|duration=4096|duration_time=0.092880|size=744|pos=24608|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=135168|pts_time=3.065034|pkt_dts=135168|pkt_dts_time=3.065034|best_effort_timestamp=135168|best_effort_timestamp_time=3.065034|duration=4096|duration_time=0.092880|pkt_pos=24608|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=24608|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=139264|pts_time=3.157914|dts=139264|dts_time=3.157914|duration=4096|duration_time=0.092880|size=744|pos=25352|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=139264|pts_time=3.157914|pkt_dts=139264|pkt_dts_time=3.157914|best_effort_timestamp=139264|best_effort_timestamp_time=3.157914|duration=4096|duration_time=0.092880|pkt_pos=25352|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=25352|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=143360|pts_time=3.250794|dts=143360|dts_time=3.250794|duration=4096|duration_time=0.092880|size=744|pos=26096|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=143360|pts_time=3.250794|pkt_dts=143360|pkt_dts_time=3.250794|best_effort_timestamp=143360|best_effort_timestamp_time=3.250794|duration=4096|duration_time=0.092880|pkt_pos=26096|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=26096|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=147456|pts_time=3.343673|dts=147456|dts_time=3.343673|duration=4096|duration_time=0.092880|size=744|pos=26840|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=147456|pts_time=3.343673|pkt_dts=147456|pkt_dts_time=3.343673|best_effort_timestamp=147456|best_effort_timestamp_time=3.343673|duration=4096|duration_time=0.092880|pkt_pos=26840|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=26840|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=151552|pts_time=3.436553|dts=151552|dts_time=3.436553|duration=4096|duration_time=0.092880|size=744|pos=27584|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=151552|pts_time=3.436553|pkt_dts=151552|pkt_dts_time=3.436553|best_effort_timestamp=151552|best_effort_timestamp_time=3.436553|duration=4096|duration_time=0.092880|pkt_pos=27584|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=27584|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=155648|pts_time=3.529433|dts=155648|dts_time=3.529433|duration=4096|duration_time=0.092880|size=744|pos=28328|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=155648|pts_time=3.529433|pkt_dts=155648|pkt_dts_time=3.529433|best_effort_timestamp=155648|best_effort_timestamp_time=3.529433|duration=4096|duration_time=0.092880|pkt_pos=28328|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=28328|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=159744|pts_time=3.622313|dts=159744|dts_time=3.622313|duration=4096|duration_time=0.092880|size=744|pos=29072|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=159744|pts_time=3.622313|pkt_dts=159744|pkt_dts_time=3.622313|best_effort_timestamp=159744|best_effort_timestamp_time=3.622313|duration=4096|duration_time=0.092880|pkt_pos=29072|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=29072|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=163840|pts_time=3.715193|dts=163840|dts_time=3.715193|duration=4096|duration_time=0.092880|size=744|pos=29816|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=163840|pts_time=3.715193|pkt_dts=163840|pkt_dts_time=3.715193|best_effort_timestamp=163840|best_effort_timestamp_time=3.715193|duration=4096|duration_time=0.092880|pkt_pos=29816|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=29816|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=167936|pts_time=3.808073|dts=167936|dts_time=3.808073|duration=4096|duration_time=0.092880|size=744|pos=30560|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=167936|pts_time=3.808073|pkt_dts=167936|pkt_dts_time=3.808073|best_effort_timestamp=167936|best_effort_timestamp_time=3.808073|duration=4096|duration_time=0.092880|pkt_pos=30560|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=30560|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=172032|pts_time=3.900952|dts=172032|dts_time=3.900952|duration=4096|duration_time=0.092880|size=744|pos=31304|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=172032|pts_time=3.900952|pkt_dts=172032|pkt_dts_time=3.900952|best_effort_timestamp=172032|best_effort_timestamp_time=3.900952|duration=4096|duration_time=0.092880|pkt_pos=31304|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=31304|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=176128|pts_time=3.993832|dts=176128|dts_time=3.993832|duration=4096|duration_time=0.092880|size=744|pos=32048|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=176128|pts_time=3.993832|pkt_dts=176128|pkt_dts_time=3.993832|best_effort_timestamp=176128|best_effort_timestamp_time=3.993832|duration=4096|duration_time=0.092880|pkt_pos=32048|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=32048|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=180224|pts_time=4.086712|dts=180224|dts_time=4.086712|duration=4096|duration_time=0.092880|size=744|pos=32792|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=180224|pts_time=4.086712|pkt_dts=180224|pkt_dts_time=4.086712|best_effort_timestamp=180224|best_effort_timestamp_time=4.086712|duration=4096|duration_time=0.092880|pkt_pos=32792|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=32792|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=184320|pts_time=4.179592|dts=184320|dts_time=4.179592|duration=4096|duration_time=0.092880|size=744|pos=33536|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=184320|pts_time=4.179592|pkt_dts=184320|pkt_dts_time=4.179592|best_effort_timestamp=184320|best_effort_timestamp_time=4.179592|duration=4096|duration_time=0.092880|pkt_pos=33536|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=33536|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=188416|pts_time=4.272472|dts=188416|dts_time=4.272472|duration=4096|duration_time=0.092880|size=744|pos=34280|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=188416|pts_time=4.272472|pkt_dts=188416|pkt_dts_time=4.272472|best_effort_timestamp=188416|best_effort_timestamp_time=4.272472|duration=4096|duration_time=0.092880|pkt_pos=34280|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=34280|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=192512|pts_time=4.365351|dts=192512|dts_time=4.365351|duration=4096|duration_time=0.092880|size=744|pos=35024|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=192512|pts_time=4.365351|pkt_dts=192512|pkt_dts_time=4.365351|best_effort_timestamp=192512|best_effort_timestamp_time=4.365351|duration=4096|duration_time=0.092880|pkt_pos=35024|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=35024|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=196608|pts_time=4.458231|dts=196608|dts_time=4.458231|duration=4096|duration_time=0.092880|size=744|pos=35768|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=196608|pts_time=4.458231|pkt_dts=196608|pkt_dts_time=4.458231|best_effort_timestamp=196608|best_effort_timestamp_time=4.458231|duration=4096|duration_time=0.092880|pkt_pos=35768|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=35768|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=200704|pts_time=4.551111|dts=200704|dts_time=4.551111|duration=4096|duration_time=0.092880|size=744|pos=36512|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=200704|pts_time=4.551111|pkt_dts=200704|pkt_dts_time=4.551111|best_effort_timestamp=200704|best_effort_timestamp_time=4.551111|duration=4096|duration_time=0.092880|pkt_pos=36512|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=36512|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=204800|pts_time=4.643991|dts=204800|dts_time=4.643991|duration=4096|duration_time=0.092880|size=744|pos=37256|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=204800|pts_time=4.643991|pkt_dts=204800|pkt_dts_time=4.643991|best_effort_timestamp=204800|best_effort_timestamp_time=4.643991|duration=4096|duration_time=0.092880|pkt_pos=37256|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=37256|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=208896|pts_time=4.736871|dts=208896|dts_time=4.736871|duration=4096|duration_time=0.092880|size=744|pos=38000|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=208896|pts_time=4.736871|pkt_dts=208896|pkt_dts_time=4.736871|best_effort_timestamp=208896|best_effort_timestamp_time=4.736871|duration=4096|duration_time=0.092880|pkt_pos=38000|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=38000|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=212992|pts_time=4.829751|dts=212992|dts_time=4.829751|duration=4096|duration_time=0.092880|size=744|pos=38744|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=212992|pts_time=4.829751|pkt_dts=212992|pkt_dts_time=4.829751|best_effort_timestamp=212992|best_effort_timestamp_time=4.829751|duration=4096|duration_time=0.092880|pkt_pos=38744|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=38744|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=217088|pts_time=4.922630|dts=217088|dts_time=4.922630|duration=4096|duration_time=0.092880|size=744|pos=39488|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=217088|pts_time=4.922630|pkt_dts=217088|pkt_dts_time=4.922630|best_effort_timestamp=217088|best_effort_timestamp_time=4.922630|duration=4096|duration_time=0.092880|pkt_pos=39488|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=39488|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=221184|pts_time=5.015510|dts=221184|dts_time=5.015510|duration=4096|duration_time=0.092880|size=744|pos=40232|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=221184|pts_time=5.015510|pkt_dts=221184|pkt_dts_time=5.015510|best_effort_timestamp=221184|best_effort_timestamp_time=5.015510|duration=4096|duration_time=0.092880|pkt_pos=40232|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=40232|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=225280|pts_time=5.108390|dts=225280|dts_time=5.108390|duration=4096|duration_time=0.092880|size=744|pos=40976|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=225280|pts_time=5.108390|pkt_dts=225280|pkt_dts_time=5.108390|best_effort_timestamp=225280|best_effort_timestamp_time=5.108390|duration=4096|duration_time=0.092880|pkt_pos=40976|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=40976|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=229376|pts_time=5.201270|dts=229376|dts_time=5.201270|duration=4096|duration_time=0.092880|size=744|pos=41720|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=229376|pts_time=5.201270|pkt_dts=229376|pkt_dts_time=5.201270|best_effort_timestamp=229376|best_effort_timestamp_time=5.201270|duration=4096|duration_time=0.092880|pkt_pos=41720|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=41720|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=233472|pts_time=5.294150|dts=233472|dts_time=5.294150|duration=4096|duration_time=0.092880|size=744|pos=42464|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=233472|pts_time=5.294150|pkt_dts=233472|pkt_dts_time=5.294150|best_effort_timestamp=233472|best_effort_timestamp_time=5.294150|duration=4096|duration_time=0.092880|pkt_pos=42464|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=42464|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=237568|pts_time=5.387029|dts=237568|dts_time=5.387029|duration=4096|duration_time=0.092880|size=744|pos=43208|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=237568|pts_time=5.387029|pkt_dts=237568|pkt_dts_time=5.387029|best_effort_timestamp=237568|best_effort_timestamp_time=5.387029|duration=4096|duration_time=0.092880|pkt_pos=43208|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=43208|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=241664|pts_time=5.479909|dts=241664|dts_time=5.479909|duration=4096|duration_time=0.092880|size=744|pos=43952|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=241664|pts_time=5.479909|pkt_dts=241664|pkt_dts_time=5.479909|best_effort_timestamp=241664|best_effort_timestamp_time=5.479909|duration=4096|duration_time=0.092880|pkt_pos=43952|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=43952|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=245760|pts_time=5.572789|dts=245760|dts_time=5.572789|duration=4096|duration_time=0.092880|size=744|pos=44696|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=245760|pts_time=5.572789|pkt_dts=245760|pkt_dts_time=5.572789|best_effort_timestamp=245760|best_effort_timestamp_time=5.572789|duration=4096|duration_time=0.092880|pkt_pos=44696|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=44696|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=249856|pts_time=5.665669|dts=249856|dts_time=5.665669|duration=4096|duration_time=0.092880|size=744|pos=45440|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=249856|pts_time=5.665669|pkt_dts=249856|pkt_dts_time=5.665669|best_effort_timestamp=249856|best_effort_timestamp_time=5.665669|duration=4096|duration_time=0.092880|pkt_pos=45440|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=45440|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=253952|pts_time=5.758549|dts=253952|dts_time=5.758549|duration=4096|duration_time=0.092880|size=744|pos=46184|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=253952|pts_time=5.758549|pkt_dts=253952|pkt_dts_time=5.758549|best_effort_timestamp=253952|best_effort_timestamp_time=5.758549|duration=4096|duration_time=0.092880|pkt_pos=46184|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=46184|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=258048|pts_time=5.851429|dts=258048|dts_time=5.851429|duration=4096|duration_time=0.092880|size=744|pos=46928|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=258048|pts_time=5.851429|pkt_dts=258048|pkt_dts_time=5.851429|best_effort_timestamp=258048|best_effort_timestamp_time=5.851429|duration=4096|duration_time=0.092880|pkt_pos=46928|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=46928|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=262144|pts_time=5.944308|dts=262144|dts_time=5.944308|duration=4096|duration_time=0.092880|size=744|pos=47672|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=262144|pts_time=5.944308|pkt_dts=262144|pkt_dts_time=5.944308|best_effort_timestamp=262144|best_effort_timestamp_time=5.944308|duration=4096|duration_time=0.092880|pkt_pos=47672|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=47672|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=266240|pts_time=6.037188|dts=266240|dts_time=6.037188|duration=4096|duration_time=0.092880|size=744|pos=48416|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=266240|pts_time=6.037188|pkt_dts=266240|pkt_dts_time=6.037188|best_effort_timestamp=266240|best_effort_timestamp_time=6.037188|duration=4096|duration_time=0.092880|pkt_pos=48416|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=48416|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=270336|pts_time=6.130068|dts=270336|dts_time=6.130068|duration=4096|duration_time=0.092880|size=744|pos=49160|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=270336|pts_time=6.130068|pkt_dts=270336|pkt_dts_time=6.130068|best_effort_timestamp=270336|best_effort_timestamp_time=6.130068|duration=4096|duration_time=0.092880|pkt_pos=49160|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=49160|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=274432|pts_time=6.222948|dts=274432|dts_time=6.222948|duration=4096|duration_time=0.092880|size=744|pos=49904|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=274432|pts_time=6.222948|pkt_dts=274432|pkt_dts_time=6.222948|best_effort_timestamp=274432|best_effort_timestamp_time=6.222948|duration=4096|duration_time=0.092880|pkt_pos=49904|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=49904|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=278528|pts_time=6.315828|dts=278528|dts_time=6.315828|duration=4096|duration_time=0.092880|size=744|pos=50648|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=278528|pts_time=6.315828|pkt_dts=278528|pkt_dts_time=6.315828|best_effort_timestamp=278528|best_effort_timestamp_time=6.315828|duration=4096|duration_time=0.092880|pkt_pos=50648|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=50648|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=282624|pts_time=6.408707|dts=282624|dts_time=6.408707|duration=4096|duration_time=0.092880|size=744|pos=51392|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=282624|pts_time=6.408707|pkt_dts=282624|pkt_dts_time=6.408707|best_effort_timestamp=282624|best_effort_timestamp_time=6.408707|duration=4096|duration_time=0.092880|pkt_pos=51392|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=51392|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=286720|pts_time=6.501587|dts=286720|dts_time=6.501587|duration=4096|duration_time=0.092880|size=744|pos=52136|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=286720|pts_time=6.501587|pkt_dts=286720|pkt_dts_time=6.501587|best_effort_timestamp=286720|best_effort_timestamp_time=6.501587|duration=4096|duration_time=0.092880|pkt_pos=52136|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=52136|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=290816|pts_time=6.594467|dts=290816|dts_time=6.594467|duration=4096|duration_time=0.092880|size=744|pos=52880|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=290816|pts_time=6.594467|pkt_dts=290816|pkt_dts_time=6.594467|best_effort_timestamp=290816|best_effort_timestamp_time=6.594467|duration=4096|duration_time=0.092880|pkt_pos=52880|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=52880|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=294912|pts_time=6.687347|dts=294912|dts_time=6.687347|duration=4096|duration_time=0.092880|size=744|pos=53624|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=294912|pts_time=6.687347|pkt_dts=294912|pkt_dts_time=6.687347|best_effort_timestamp=294912|best_effort_timestamp_time=6.687347|duration=4096|duration_time=0.092880|pkt_pos=53624|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=53624|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=299008|pts_time=6.780227|dts=299008|dts_time=6.780227|duration=4096|duration_time=0.092880|size=744|pos=54368|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=299008|pts_time=6.780227|pkt_dts=299008|pkt_dts_time=6.780227|best_effort_timestamp=299008|best_effort_timestamp_time=6.780227|duration=4096|duration_time=0.092880|pkt_pos=54368|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=54368|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=303104|pts_time=6.873107|dts=303104|dts_time=6.873107|duration=4096|duration_time=0.092880|size=744|pos=55112|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=303104|pts_time=6.873107|pkt_dts=303104|pkt_dts_time=6.873107|best_effort_timestamp=303104|best_effort_timestamp_time=6.873107|duration=4096|duration_time=0.092880|pkt_pos=55112|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=55112|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=307200|pts_time=6.965986|dts=307200|dts_time=6.965986|duration=4096|duration_time=0.092880|size=744|pos=55856|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=307200|pts_time=6.965986|pkt_dts=307200|pkt_dts_time=6.965986|best_effort_timestamp=307200|best_effort_timestamp_time=6.965986|duration=4096|duration_time=0.092880|pkt_pos=55856|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=55856|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=311296|pts_time=7.058866|dts=311296|dts_time=7.058866|duration=4096|duration_time=0.092880|size=744|pos=56600|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=311296|pts_time=7.058866|pkt_dts=311296|pkt_dts_time=7.058866|best_effort_timestamp=311296|best_effort_timestamp_time=7.058866|duration=4096|duration_time=0.092880|pkt_pos=56600|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=56600|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=315392|pts_time=7.151746|dts=315392|dts_time=7.151746|duration=4096|duration_time=0.092880|size=744|pos=57344|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=315392|pts_time=7.151746|pkt_dts=315392|pkt_dts_time=7.151746|best_effort_timestamp=315392|best_effort_timestamp_time=7.151746|duration=4096|duration_time=0.092880|pkt_pos=57344|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=57344|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=319488|pts_time=7.244626|dts=319488|dts_time=7.244626|duration=4096|duration_time=0.092880|size=744|pos=58088|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=319488|pts_time=7.244626|pkt_dts=319488|pkt_dts_time=7.244626|best_effort_timestamp=319488|best_effort_timestamp_time=7.244626|duration=4096|duration_time=0.092880|pkt_pos=58088|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=58088|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=323584|pts_time=7.337506|dts=323584|dts_time=7.337506|duration=4096|duration_time=0.092880|size=744|pos=58832|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=323584|pts_time=7.337506|pkt_dts=323584|pkt_dts_time=7.337506|best_effort_timestamp=323584|best_effort_timestamp_time=7.337506|duration=4096|duration_time=0.092880|pkt_pos=58832|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=58832|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=327680|pts_time=7.430385|dts=327680|dts_time=7.430385|duration=4096|duration_time=0.092880|size=744|pos=59576|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=327680|pts_time=7.430385|pkt_dts=327680|pkt_dts_time=7.430385|best_effort_timestamp=327680|best_effort_timestamp_time=7.430385|duration=4096|duration_time=0.092880|pkt_pos=59576|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=59576|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=331776|pts_time=7.523265|dts=331776|dts_time=7.523265|duration=4096|duration_time=0.092880|size=744|pos=60320|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=331776|pts_time=7.523265|pkt_dts=331776|pkt_dts_time=7.523265|best_effort_timestamp=331776|best_effort_timestamp_time=7.523265|duration=4096|duration_time=0.092880|pkt_pos=60320|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=60320|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=335872|pts_time=7.616145|dts=335872|dts_time=7.616145|duration=4096|duration_time=0.092880|size=744|pos=61064|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=335872|pts_time=7.616145|pkt_dts=335872|pkt_dts_time=7.616145|best_effort_timestamp=335872|best_effort_timestamp_time=7.616145|duration=4096|duration_time=0.092880|pkt_pos=61064|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=61064|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=339968|pts_time=7.709025|dts=339968|dts_time=7.709025|duration=4096|duration_time=0.092880|size=744|pos=61808|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=339968|pts_time=7.709025|pkt_dts=339968|pkt_dts_time=7.709025|best_effort_timestamp=339968|best_effort_timestamp_time=7.709025|duration=4096|duration_time=0.092880|pkt_pos=61808|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=61808|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=344064|pts_time=7.801905|dts=344064|dts_time=7.801905|duration=4096|duration_time=0.092880|size=744|pos=62552|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=344064|pts_time=7.801905|pkt_dts=344064|pkt_dts_time=7.801905|best_effort_timestamp=344064|best_effort_timestamp_time=7.801905|duration=4096|duration_time=0.092880|pkt_pos=62552|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=62552|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=348160|pts_time=7.894785|dts=348160|dts_time=7.894785|duration=4096|duration_time=0.092880|size=744|pos=63296|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=348160|pts_time=7.894785|pkt_dts=348160|pkt_dts_time=7.894785|best_effort_timestamp=348160|best_effort_timestamp_time=7.894785|duration=4096|duration_time=0.092880|pkt_pos=63296|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=63296|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=352256|pts_time=7.987664|dts=352256|dts_time=7.987664|duration=4096|duration_time=0.092880|size=744|pos=64040|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=352256|pts_time=7.987664|pkt_dts=352256|pkt_dts_time=7.987664|best_effort_timestamp=352256|best_effort_timestamp_time=7.987664|duration=4096|duration_time=0.092880|pkt_pos=64040|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=64040|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+packet|codec_type=audio|stream_index=0|pts=356352|pts_time=8.080544|dts=356352|dts_time=8.080544|duration=4096|duration_time=0.092880|size=744|pos=64784|flags=K__
+frame|media_type=audio|stream_index=0|key_frame=1|pts=356352|pts_time=8.080544|pkt_dts=356352|pkt_dts_time=8.080544|best_effort_timestamp=356352|best_effort_timestamp_time=8.080544|duration=4096|duration_time=0.092880|pkt_pos=64784|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
+frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=4096|duration_time=0.092880|pkt_pos=64784|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
 packet|codec_type=audio|stream_index=0|pts=360448|pts_time=8.173424|dts=360448|dts_time=8.173424|duration=44|duration_time=0.000998|size=8|pos=65528|flags=K_C
 frame|media_type=audio|stream_index=0|key_frame=1|pts=N/A|pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|duration=44|duration_time=0.000998|pkt_pos=65528|pkt_size=8|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown
diff --git a/tests/ref/fate/g722-encode b/tests/ref/fate/g722-encode
index 9d8b007e33..2483a8a6e3 100644
--- a/tests/ref/fate/g722-encode
+++ b/tests/ref/fate/g722-encode
@@ -7,191 +7,97 @@ 
 #sample_rate 0: 16000
 #channel_layout_name 0: mono
 #stream#, dts,        pts, duration,     size, hash
-0,          0,          0,      512,     1024, ecc4b3d6b6898813d21ee7dea53ea514
-0,        512,        512,      512,     1024, fd0e44b2b74a807adb938f2b44767003
-0,       1024,       1024,      512,     1024, b191129323f233839af583fb7219317f
-0,       1536,       1536,      512,     1024, b4ea4e2cbf472e8a27570ae6315137ff
-0,       2048,       2048,      512,     1024, 2d56763ccb004c045e07f67ff5664d67
-0,       2560,       2560,      512,     1024, 70fb563bf98cbfc985c5c3d757a2cc9d
-0,       3072,       3072,      512,     1024, d2783caf8a3d69537b528620e7245144
-0,       3584,       3584,      512,     1024, 67ec78ac57b46b1c4def5da6ce5d8394
-0,       4096,       4096,      512,     1024, 574d19974be17fdd3679dda356818dc2
-0,       4608,       4608,      512,     1024, 26e1a75d95dbce14a999479cb02f99ea
-0,       5120,       5120,      512,     1024, 7c653537dfc04e8c6a078522ac53dac7
-0,       5632,       5632,      512,     1024, 37275182038135eaef79c95cb64d219d
-0,       6144,       6144,      512,     1024, 05e1c4b4eea068479531f1f0d6ca068d
-0,       6656,       6656,      512,     1024, aa316c63558f79e45d6b6645a5fe673a
-0,       7168,       7168,      512,     1024, a59cf31b8cbabca8ed5868869e733be1
-0,       7680,       7680,      512,     1024, 2e8e8203207557efb070b77dc74c79c1
-0,       8192,       8192,      512,     1024, 4b41efcb7210b29af86d4293ee8c28ee
-0,       8704,       8704,      512,     1024, 9043b3f3affd4eb4a084741ef04560f3
-0,       9216,       9216,      512,     1024, 87407f02b03024c0bd8b6aefc0a655e3
-0,       9728,       9728,      512,     1024, 18ac61dd2363484e0de3091e54736f64
-0,      10240,      10240,      512,     1024, 5e2a228323b1dfaa70428dd404c1f6fe
-0,      10752,      10752,      512,     1024, 3d090b22e015669d3e0cf45b5b29a067
-0,      11264,      11264,      512,     1024, 52292971aa9ee6df0c4766ff0ebff792
-0,      11776,      11776,      512,     1024, eb948d758c51c304b3df3fe71299e5b5
-0,      12288,      12288,      512,     1024, 6e19f6cc6e15df0d329f2f6c14a51050
-0,      12800,      12800,      512,     1024, d5a69fc82cbe91a2c21d5a5963ffba88
-0,      13312,      13312,      512,     1024, 7b93bcc77680db1c0ceb7ddaacd7381f
-0,      13824,      13824,      512,     1024, b6b9bbd66a26df360092bfd0e86b2643
-0,      14336,      14336,      512,     1024, 2107508296bc79970f4b9c134d1fd9e1
-0,      14848,      14848,      512,     1024, 42283a97b11133caddc12fd8e06e5ca8
-0,      15360,      15360,      512,     1024, 8a1bfa46184ab907888881498220225a
-0,      15872,      15872,      512,     1024, 16d203df56b120d02876d41d831a9460
-0,      16384,      16384,      512,     1024, 5a56f8007c87cf6c8730064f3fbe5c79
-0,      16896,      16896,      512,     1024, cd17fc200d6c5510b1ee229ff36b4ba4
-0,      17408,      17408,      512,     1024, 76d99beef096e45c4a6e16e52128c924
-0,      17920,      17920,      512,     1024, c74c7e5b73034974f7b17ac9c03e632e
-0,      18432,      18432,      512,     1024, b1dcbb79c2c281b7ddf2ec8a1d2bf2aa
-0,      18944,      18944,      512,     1024, 779e495c7783d2811db6c9feeeb214b0
-0,      19456,      19456,      512,     1024, 326cefdaf3e4390f7a4e9d070c07cc45
-0,      19968,      19968,      512,     1024, 5f870762b90ab527e3bd8d3c9777b2d5
-0,      20480,      20480,      512,     1024, 7d38fc0b9544f1c2b8be2d2a2e58ded4
-0,      20992,      20992,      512,     1024, c1681508f0718a3155c47aeffa8ab9c0
-0,      21504,      21504,      512,     1024, 0c10d4db76d03f8497e7349295c287cb
-0,      22016,      22016,      512,     1024, 622eff94cc7ae5e40b2cdecdf9bf7d3c
-0,      22528,      22528,      512,     1024, b657a651506981a4f7f1b7b5b828e210
-0,      23040,      23040,      512,     1024, e5b6fbbc0605f1284f39d34358aa78b9
-0,      23552,      23552,      512,     1024, 4545b3eb1708b1bb631db35bf41975dc
-0,      24064,      24064,      512,     1024, 615dd05eecb8981524ad2cabf0b7c605
-0,      24576,      24576,      512,     1024, a8ff25b2a8888214b8bc2476b8893f13
-0,      25088,      25088,      512,     1024, 4e9edb65759047da8f70701481448d4c
-0,      25600,      25600,      512,     1024, 270c9409cab3ec526148b4cd2f9da859
-0,      26112,      26112,      512,     1024, 46fc0bf208ca574a5cc8a27950a516b6
-0,      26624,      26624,      512,     1024, c3dd6e4ae2ad18bcf24e14153033923b
-0,      27136,      27136,      512,     1024, a6944b3974e5beae9b52557ef405d48d
-0,      27648,      27648,      512,     1024, c8b8a19fb766b22ce9eb57fcce4770da
-0,      28160,      28160,      512,     1024, 92d2cd4d5bc8953b9861b3a8d4e0ec74
-0,      28672,      28672,      512,     1024, 37ace51c793de31d9a77568f0a864a37
-0,      29184,      29184,      512,     1024, 80ff33962c968afe4d9c39360d727e22
-0,      29696,      29696,      512,     1024, 1b7aa60ba7e411e53c7df3f3bdcaabe1
-0,      30208,      30208,      512,     1024, e5db2522652342bc1a65aea8eb1276c8
-0,      30720,      30720,      512,     1024, 9b92893a4de55192ff60722a3087a939
-0,      31232,      31232,      512,     1024, 5cc05b5f95b933fbffcfe78c38c6cf2d
-0,      31744,      31744,      512,     1024, d49dd99fb47b621588a8007baaddc4db
-0,      32256,      32256,      512,     1024, 1d2d87a6fde25649f1a81cbe2bf4a5b8
-0,      32768,      32768,      512,     1024, 75c19658be99c8299b2744609af799f8
-0,      33280,      33280,      512,     1024, f68af60bdf638cffcb59520a2ef978f1
-0,      33792,      33792,      512,     1024, 58482f193563657d9403478290ea6ad5
-0,      34304,      34304,      512,     1024, 0bacae0323f17e26b8e29875135d0e82
-0,      34816,      34816,      512,     1024, 06659219a1034eabef94744f1f95b9b7
-0,      35328,      35328,      512,     1024, c4f8117a33b0fcc78b9e81111d1f7f45
-0,      35840,      35840,      512,     1024, 944502626b0b9206163bdc64fb16b13e
-0,      36352,      36352,      512,     1024, a5d18841599d9a7d1aedf31b232b9f9b
-0,      36864,      36864,      512,     1024, b80f1d39e9aba3240834c37176ec8eec
-0,      37376,      37376,      512,     1024, 9769b38891d2941384af776eedb48aa4
-0,      37888,      37888,      512,     1024, 9e3a42bb02d600de2e3df71dfca99402
-0,      38400,      38400,      512,     1024, 6108204ebc9a4cbe0503a6e09892dfd6
-0,      38912,      38912,      512,     1024, 8d2968e23c448f2e2a5d16a7270ff76c
-0,      39424,      39424,      512,     1024, 6762adf2728ff4e7db118f647941086c
-0,      39936,      39936,      512,     1024, 9f3f5479785eb9c6e93fa655398ba769
-0,      40448,      40448,      512,     1024, e829e74c660685ccd299c4225e958409
-0,      40960,      40960,      512,     1024, 14375fb18a4462f6767d219dfd7ae7bd
-0,      41472,      41472,      512,     1024, 0469478b4c3589aaa5aa66a3d1b9cfec
-0,      41984,      41984,      512,     1024, b4bb9d1f67901d43e168371fe6209752
-0,      42496,      42496,      512,     1024, 8284e5acef28cccc5d8b4446b087917f
-0,      43008,      43008,      512,     1024, b4ed7694ad2ae219695006bc2b875a3f
-0,      43520,      43520,      512,     1024, 863b8ba685c2023e16a92edab30574ae
-0,      44032,      44032,      512,     1024, bffacdbe1c3b2985e01ab3c1e87151cf
-0,      44544,      44544,      512,     1024, 0bab5c26239bb2bf64bb9ddd2cdab140
-0,      45056,      45056,      512,     1024, 82f9e1a8ea4749e2e86b00f762c928e4
-0,      45568,      45568,      512,     1024, 773c765c493806b96cb462bd67916813
-0,      46080,      46080,      512,     1024, 77712d03b3b80763e196daa6d3af0b10
-0,      46592,      46592,      512,     1024, e46f1bfe86814b922456bcecd646c9ea
-0,      47104,      47104,      512,     1024, e2a0ec93107cb551dd23aacb2ae08f6d
-0,      47616,      47616,      512,     1024, 1184e53d7652be1c11f3e9fec4afc28b
-0,      48128,      48128,      512,     1024, cffb62d7debaa07436b8749b9a183648
-0,      48640,      48640,      512,     1024, 99925d2b1db0be9ae252cac1b3c57233
-0,      49152,      49152,      512,     1024, e0ecbfe71d2eae216ac554b635e059ab
-0,      49664,      49664,      512,     1024, eb20314e37db7f17fdf51b71b00040ca
-0,      50176,      50176,      512,     1024, 2ac824edd62b4d9db11e1f404c6521d6
-0,      50688,      50688,      512,     1024, 9f07a0c8332dd9802966893dd0b82b13
-0,      51200,      51200,      512,     1024, 53a2f54bdcad4771b39b4ebec791b317
-0,      51712,      51712,      512,     1024, 9a533a0b87ddc4d1c6beca0611d9f052
-0,      52224,      52224,      512,     1024, 347b31a3f548f9d5c70fb4c5e406e4a4
-0,      52736,      52736,      512,     1024, 1b67855847534c5b40fc2ce9d30be33f
-0,      53248,      53248,      512,     1024, fbe9cbf8c8e041f979a2715db71211ae
-0,      53760,      53760,      512,     1024, 40ae530d58b46cf48ffadb6937a6560a
-0,      54272,      54272,      512,     1024, fda5c571021d83183590f443a6ad1cc9
-0,      54784,      54784,      512,     1024, 9bb60367ae7e2ab1945ba1496aa1857c
-0,      55296,      55296,      512,     1024, 5f37d53be72a55528cc69b2d63b98757
-0,      55808,      55808,      512,     1024, 7bb1ac5d959a43123f76f0cdfa4ae92b
-0,      56320,      56320,      512,     1024, 12e0019a216551b44f45b03297b945cf
-0,      56832,      56832,      512,     1024, a4cb0d110b5db70e3959ee8bc5f198ae
-0,      57344,      57344,      512,     1024, 37b977cfa20b46d2d31fc9cb2fb36130
-0,      57856,      57856,      512,     1024, c023794bbc26ed825c4b1a66f524b91f
-0,      58368,      58368,      512,     1024, a77f817271e4815234f032f593814deb
-0,      58880,      58880,      512,     1024, cca65e10c7ba86da0c046951118b20aa
-0,      59392,      59392,      512,     1024, f6786a8257ca114b944df9cd54135d78
-0,      59904,      59904,      512,     1024, 60cda73714b73b21588ecc96ed6676bc
-0,      60416,      60416,      512,     1024, 5a88b03b20f874b3cde21ce6dc7aea80
-0,      60928,      60928,      512,     1024, de75587ea1a8c563fc6afaf2b19d75f3
-0,      61440,      61440,      512,     1024, 90de9f9741ba4266dc72740b5c935593
-0,      61952,      61952,      512,     1024, 0ea9f452d07e346398f8ec2011554468
-0,      62464,      62464,      512,     1024, d41d852b6f3f4ecaaf512029cbedbf8c
-0,      62976,      62976,      512,     1024, 9e9308d5b8d8628d7d51bffe10d73639
-0,      63488,      63488,      512,     1024, c8db11fc5cfb955694560ef5a0b3f63e
-0,      64000,      64000,      512,     1024, 9fa55045c1aeda8a9921280d5ed54e11
-0,      64512,      64512,      512,     1024, eee1bc41c2f86911db5fa640ae22592b
-0,      65024,      65024,      512,     1024, 3415564a810db3df57030667b3ba0096
-0,      65536,      65536,      512,     1024, dc68e222eac259b11c1ba382706b34fc
-0,      66048,      66048,      512,     1024, cc2ff0377c68ff70eb294748dde632d4
-0,      66560,      66560,      512,     1024, 160c39b3173f11a15fd6ea0f835756fe
-0,      67072,      67072,      512,     1024, a613ba395c8da5666b170755c96aa2b3
-0,      67584,      67584,      512,     1024, 9ec981b2b73aec1f5f74ddf356309ff2
-0,      68096,      68096,      512,     1024, f3d15376ca953ca2d4fb3c6f591fc9bb
-0,      68608,      68608,      512,     1024, 2ad24a8303dee43463e1eae7e9296ba6
-0,      69120,      69120,      512,     1024, 730959eb356e93f89116c6fca2bf8d31
-0,      69632,      69632,      512,     1024, a5dbb221747ebce1929916a565a0fbf4
-0,      70144,      70144,      512,     1024, 75177da5305c5ade52a67ea448d78177
-0,      70656,      70656,      512,     1024, ba6675a2f8cf25d8d27d59f8458e5827
-0,      71168,      71168,      512,     1024, a214c576e8993f4e0421d7c408b4b3d6
-0,      71680,      71680,      512,     1024, 0862c0728286bf1c9906e39ae22131e3
-0,      72192,      72192,      512,     1024, 03f2c6fc66a0bdeede6abd44154ed9f1
-0,      72704,      72704,      512,     1024, a4645e91ebc0e052d7a5fec6c7c0ff57
-0,      73216,      73216,      512,     1024, fe608b24bd81dfe014286206ba6899cf
-0,      73728,      73728,      512,     1024, 82f0c46d62b5f908d289d051ee27ac13
-0,      74240,      74240,      512,     1024, c23aaa034f6884274a434027aebb6eb2
-0,      74752,      74752,      512,     1024, 3217068fedd93da429f707d8c61d7320
-0,      75264,      75264,      512,     1024, 74ce15fb14e579567a7f33107db594e7
-0,      75776,      75776,      512,     1024, a148ff64c59038ffa3459c55f74b1907
-0,      76288,      76288,      512,     1024, a56c39c6b79b90d83ab4e1e36397cc9e
-0,      76800,      76800,      512,     1024, 206abcb5e365053ae47bac7eb85b1478
-0,      77312,      77312,      512,     1024, 923bd1d8fd44dfb075e21be94181b047
-0,      77824,      77824,      512,     1024, 8d4f6bcfb9705d91333ddcd02ea41207
-0,      78336,      78336,      512,     1024, d6052883fdcfc5b4cbe65ef0a2665ffc
-0,      78848,      78848,      512,     1024, 6aca284568a638e112ff1bf651a444cf
-0,      79360,      79360,      512,     1024, cbaeb186bb3ed97f41dcee6b7d590b4e
-0,      79872,      79872,      512,     1024, ec0eeb5fc8c927ee89b1083908934ce7
-0,      80384,      80384,      512,     1024, 3512fdaae2ae2c0925d6023986596a90
-0,      80896,      80896,      512,     1024, 112b691669b09ee1cb80875c8376f483
-0,      81408,      81408,      512,     1024, 2cfeda374d01e135621a8d2b0492a188
-0,      81920,      81920,      512,     1024, 661f8957f7caec4cd26d5adc62afbf01
-0,      82432,      82432,      512,     1024, 1dc70b963e828ca98b99aebb0c62a0b3
-0,      82944,      82944,      512,     1024, 0e272b6268ef9bb010d59f9204c96b41
-0,      83456,      83456,      512,     1024, f4460f3b921b83a63537c5cc22a56ba4
-0,      83968,      83968,      512,     1024, 362b0d86622e8da0a0d318684a6d1c93
-0,      84480,      84480,      512,     1024, 1f06fb22c9a44116925f4ca0d173c00d
-0,      84992,      84992,      512,     1024, 8bb58cf107f8d9367d0d9d45f0b7b2a8
-0,      85504,      85504,      512,     1024, 279437d9f8f203023990b558bd851e9a
-0,      86016,      86016,      512,     1024, afdf57002b3de7a47a7a22b3e6c091f4
-0,      86528,      86528,      512,     1024, aadf418238f39444f2397cb9a3e5af33
-0,      87040,      87040,      512,     1024, 2b860ae1c3d365ab8bd6f09e868aaac6
-0,      87552,      87552,      512,     1024, 58fecb0ed9ccd4023ea6a58f7ab84089
-0,      88064,      88064,      512,     1024, 46973367495c9d7dc7a8d025dfed398e
-0,      88576,      88576,      512,     1024, c1c62ece55bf144bb04b8e288ff8d744
-0,      89088,      89088,      512,     1024, cc19a12d243f86a419fd8ad97bfebc91
-0,      89600,      89600,      512,     1024, 5c46ef51bc1cdbc0a6d8c381d5b01f1c
-0,      90112,      90112,      512,     1024, e41d4c487982354d11630f9e36d6ee93
-0,      90624,      90624,      512,     1024, 0468c0f7abd1ad3cead1982d11ceab87
-0,      91136,      91136,      512,     1024, fe18db27f79764937646adf93e289024
-0,      91648,      91648,      512,     1024, 9ba3772779e1aa7b84e08afcf3d1c9f4
-0,      92160,      92160,      512,     1024, 33d60797f1b5a9a15e364fa5b1f364c0
-0,      92672,      92672,      512,     1024, 7a195fc85eef5481fa3c0d2d23e09af3
-0,      93184,      93184,      512,     1024, b67363f09fd1e244672b6d3e5c1a6123
-0,      93696,      93696,      512,     1024, 43e8330ff71c40d4d1abb02e7549aa78
-0,      94208,      94208,      512,     1024, 343de90e94103fe6eab856a8225e26b9
-0,      94720,      94720,      512,     1024, d205719a649cf1a263926b410649752d
-0,      95232,      95232,      512,     1024, 4245b1fee4c24c74187565248ab95911
-0,      95744,      95744,      256,      512, c49c960d8dff61fdb69ed5fc516554da
+0,          0,          0,     1024,     2048, 1c1386b0e7b879e8167eb977550bdf35
+0,       1024,       1024,     1024,     2048, 55e3e29bbe65c0f7407d8834a83a0ade
+0,       2048,       2048,     1024,     2048, 571e6fb80021e542142fe01a103ecc69
+0,       3072,       3072,     1024,     2048, 83011382b6f414692d92abb686788cb9
+0,       4096,       4096,     1024,     2048, 9a06df102b7d1186e762135c8bc6d582
+0,       5120,       5120,     1024,     2048, 63e154820e22f2e7d16750ac93ca1eaf
+0,       6144,       6144,     1024,     2048, 38f2cdaf82d17ca0eb2846269a9b1a34
+0,       7168,       7168,     1024,     2048, fe2ef66ebe4d2c64da3e7c8eb627eae0
+0,       8192,       8192,     1024,     2048, cedc08a3942ba23e5c6a3d6f1f74ae6a
+0,       9216,       9216,     1024,     2048, 67a8222a02707f4d65c69b939fe84d0b
+0,      10240,      10240,     1024,     2048, ed919fe83eaf67228bcde77317a34366
+0,      11264,      11264,     1024,     2048, d346b7040d2311b4eaec9385858b7d61
+0,      12288,      12288,     1024,     2048, 4f473fb7521a64b5585d0220cb8ca93d
+0,      13312,      13312,     1024,     2048, 583cf00b5befd0dc23e9b064135bc1b1
+0,      14336,      14336,     1024,     2048, e1cef7e9e31286bfb54a153f1fa295de
+0,      15360,      15360,     1024,     2048, f69aaef8f423015293bd0a198f40be49
+0,      16384,      16384,     1024,     2048, d98b2fc1ec2405085ccad3eca04c4070
+0,      17408,      17408,     1024,     2048, 2429e9f2977c3e49dd723a48113daada
+0,      18432,      18432,     1024,     2048, fca575165fea576bf816d8f501ec324c
+0,      19456,      19456,     1024,     2048, cbfd2cb1fddda21ff3ed26ea476b10c8
+0,      20480,      20480,     1024,     2048, 2b88a5acf3e78d957cab2e5e78f32438
+0,      21504,      21504,     1024,     2048, 05d4adc8108f8e29fb852d530c72f410
+0,      22528,      22528,     1024,     2048, 08ce6fc3b40d6437867579bc63670982
+0,      23552,      23552,     1024,     2048, abf7e3d67c4ea17c73d7a81b647a4918
+0,      24576,      24576,     1024,     2048, 801fafd5321f2de57482fee7b5a99313
+0,      25600,      25600,     1024,     2048, 5561e036d2d6bb38bad487b0fcda77f1
+0,      26624,      26624,     1024,     2048, 0baf5203ef990742cc5bf2bb7fbecc0f
+0,      27648,      27648,     1024,     2048, 46b18f50915e4a3d7ff724eb57426ef6
+0,      28672,      28672,     1024,     2048, fac33ebf6a43826bf9e87ea8be5e5be7
+0,      29696,      29696,     1024,     2048, 45b62acf264b64d0efcc31e0dc0df300
+0,      30720,      30720,     1024,     2048, 77d649a81d884cf761fbdd29d18fc8be
+0,      31744,      31744,     1024,     2048, 4020b38f123169426fd728d6701d6f75
+0,      32768,      32768,     1024,     2048, 7eb47921f532d3ab6c0817ef2b7ddc59
+0,      33792,      33792,     1024,     2048, 20065b1dba0a4e908ee84298f2210caf
+0,      34816,      34816,     1024,     2048, e778663551390bd2ca9ec147b3a77f3b
+0,      35840,      35840,     1024,     2048, 89d00677404385cfbad82377192571c2
+0,      36864,      36864,     1024,     2048, f1303f2c04c5cf4262173dc60c9e1cfa
+0,      37888,      37888,     1024,     2048, 12a2db77e79f51f9e24e98fff42b2bf4
+0,      38912,      38912,     1024,     2048, 1fee254456559dbf69e28b5d967362d0
+0,      39936,      39936,     1024,     2048, 52b3a04e0b7445535bc1b8bf07753daf
+0,      40960,      40960,     1024,     2048, c38ab46c990628591d0f6013b55bb5db
+0,      41984,      41984,     1024,     2048, e0a865817b0e9cac793e5f09e18b14b4
+0,      43008,      43008,     1024,     2048, 88a95b613acbfd1f596c2e4d225ba167
+0,      44032,      44032,     1024,     2048, 4039e5a57644ba2723f0030a2aa15a9b
+0,      45056,      45056,     1024,     2048, 70c01c12732a09aa1e7c70ca936f6ffa
+0,      46080,      46080,     1024,     2048, a1628c25a4826846e29fb8885e88fa22
+0,      47104,      47104,     1024,     2048, 1dc90bcd1a1895dba9e25d809897a87a
+0,      48128,      48128,     1024,     2048, 6c4292138b1424ee6aec7d4641a7f270
+0,      49152,      49152,     1024,     2048, 4497951c7ec8f3f5ed1164c632eaf3db
+0,      50176,      50176,     1024,     2048, 994f54d0192b3bb2981ce014e0e564ca
+0,      51200,      51200,     1024,     2048, 8a01132c029298395e706a8debce84e4
+0,      52224,      52224,     1024,     2048, 8e5bb6f201d4808dce5570777e8d3ddc
+0,      53248,      53248,     1024,     2048, fff8285921663a23fc77e1abdcde3ae6
+0,      54272,      54272,     1024,     2048, 8b9e40400ea39a078243c7f1bc946799
+0,      55296,      55296,     1024,     2048, 019ce606c8aa39e1e1322005f50ef9d3
+0,      56320,      56320,     1024,     2048, e7a2a8f286292d9055665db2afb10c2f
+0,      57344,      57344,     1024,     2048, 405b23de4ef7130bed53f9701d1930a4
+0,      58368,      58368,     1024,     2048, 4d298756428abeb55d61bd2a2e2c901c
+0,      59392,      59392,     1024,     2048, 689e75a700ad741f3ca2e28db0b543cc
+0,      60416,      60416,     1024,     2048, ec3f020ce36d1a948d95da2a6da68b01
+0,      61440,      61440,     1024,     2048, b73700c5569ae85b21458992176a3185
+0,      62464,      62464,     1024,     2048, d2d4469d9862f444881ff9ea0a742e07
+0,      63488,      63488,     1024,     2048, cdd274392300cb0aa20a31455d304481
+0,      64512,      64512,     1024,     2048, 1918ba512082dc686401238a9a44b0c4
+0,      65536,      65536,     1024,     2048, 70d069d52bb213542b82a8e38cfc9e0f
+0,      66560,      66560,     1024,     2048, d4522dfd28f19faffc44fc9c1d59d84b
+0,      67584,      67584,     1024,     2048, e61aa07624a499854f5656ae701f50c5
+0,      68608,      68608,     1024,     2048, d78e4afffa9241feca9de7aa455a01c1
+0,      69632,      69632,     1024,     2048, 149e47c7af5b18d02c304eefa90b142a
+0,      70656,      70656,     1024,     2048, 586789edc86cdd48533556188cc495ea
+0,      71680,      71680,     1024,     2048, b8d3ebe2af3bda2c0bb641b75e0219a0
+0,      72704,      72704,     1024,     2048, e0137eeed9fd48cb6732954ef22c0d10
+0,      73728,      73728,     1024,     2048, 231018234f1baa0e6baad582d5d3b0e8
+0,      74752,      74752,     1024,     2048, b63c4a19aa58681fa90c8845e5efd399
+0,      75776,      75776,     1024,     2048, 184437812369e9eac31b0bdff151993a
+0,      76800,      76800,     1024,     2048, bdd31cf8559d30df3fb1cab9147881ed
+0,      77824,      77824,     1024,     2048, b3ba69fec17a16aa7bf91bdaba7a3f4c
+0,      78848,      78848,     1024,     2048, 2a9e924965f97f0566189842e5506faf
+0,      79872,      79872,     1024,     2048, e079c85fec85d3da1e19e7ebb147732e
+0,      80896,      80896,     1024,     2048, 40af8f27b9edf3dbbaa54a65e5b53482
+0,      81920,      81920,     1024,     2048, ce10bdbfbd9871cfcbe4ef2de8bc161d
+0,      82944,      82944,     1024,     2048, 8220ab4d3991849b9bc7576be75529be
+0,      83968,      83968,     1024,     2048, 7f8aa0f1b25ba6ed1ea62533d82e0370
+0,      84992,      84992,     1024,     2048, a16bfcfa43b6344844a2cfa4ba19fcca
+0,      86016,      86016,     1024,     2048, a221853e3cd11df95f28fbc6bfe1c854
+0,      87040,      87040,     1024,     2048, d0fe03f1afc203892930183e1001b7dc
+0,      88064,      88064,     1024,     2048, fc664bd7be1b1bcd3aca87bc01dd9d50
+0,      89088,      89088,     1024,     2048, 556a2e7f518d7719c5811804ca50bf73
+0,      90112,      90112,     1024,     2048, a87d843fefd7012779fef452afb2c1ee
+0,      91136,      91136,     1024,     2048, 102cc35fbbad0640cd2154af38456398
+0,      92160,      92160,     1024,     2048, f8ab28ec788832f134a30631980a4333
+0,      93184,      93184,     1024,     2048, 9bff7f32bc2539aae139e947e3c18017
+0,      94208,      94208,     1024,     2048, 358ad5cb29882d0f842821b59a379e0d
+0,      95232,      95232,      768,     1536, f2e73352561bcfb76805725667ddf970
diff --git a/tests/ref/fate/g726-encode-2bit b/tests/ref/fate/g726-encode-2bit
index d0ee56a5da..6233f6623b 100644
--- a/tests/ref/fate/g726-encode-2bit
+++ b/tests/ref/fate/g726-encode-2bit
@@ -7,191 +7,97 @@ 
 #sample_rate 0: 8000
 #channel_layout_name 0: mono
 #stream#, dts,        pts, duration,     size, hash
-0,          0,          0,      256,      512, d549127a5d4791eb9df0f796a1003961
-0,        256,        256,      256,      512, 3e412bc00abdef38d013be863092d17e
-0,        512,        512,      256,      512, 29b2f89be99fce8bcecc44a2e0911abe
-0,        768,        768,      256,      512, 65e6839329b21b6edd377c90cdd9411d
-0,       1024,       1024,      256,      512, 2afcdd15176a4511726020f64c43d4be
-0,       1280,       1280,      256,      512, d5d315c87f5fd5afe9eef7d271bfdd77
-0,       1536,       1536,      256,      512, 084c9945a3c560715e4e1627bb631c91
-0,       1792,       1792,      256,      512, 09c0e31afdf3dd9eede73b74199fd6b2
-0,       2048,       2048,      256,      512, e2515218054c31885614535ca0bbb563
-0,       2304,       2304,      256,      512, bd825f9d78d2f907ebf9a9e238ce11de
-0,       2560,       2560,      256,      512, 8566d041948e94622f62c6b382ca052b
-0,       2816,       2816,      256,      512, 561f07fd282d75829a455180f2ac2a1e
-0,       3072,       3072,      256,      512, 6cd1ab5ca3bdd35cd75f77f6d43b1a78
-0,       3328,       3328,      256,      512, 1a285395ad1b5a50992e4dce6b92d412
-0,       3584,       3584,      256,      512, 37cc9705a7a2b40bb8a791daf793a8d1
-0,       3840,       3840,      256,      512, 1363e6813baf4b5759d9c2a090a6dc96
-0,       4096,       4096,      256,      512, 65597464cd02b65e726c8f297c372896
-0,       4352,       4352,      256,      512, 42a50a6728b6e2bf57d2c914b8946323
-0,       4608,       4608,      256,      512, 92672d013850b3f2d6a1ad724df70d39
-0,       4864,       4864,      256,      512, 1804b6bdf202ab042cb315ba78b2361d
-0,       5120,       5120,      256,      512, c74a803ccc1f398296e254361a147f9d
-0,       5376,       5376,      256,      512, 3912b72392b32cd94b499322a93bf842
-0,       5632,       5632,      256,      512, 8f4bec1c2201155c7be2d94f2756f237
-0,       5888,       5888,      256,      512, 6f2ad074108a397342d09fd2539ac0e9
-0,       6144,       6144,      256,      512, 4f0de75927d79bcabaef16e23254d89b
-0,       6400,       6400,      256,      512, d2c5309ea74231ce144c7f777e9df4ba
-0,       6656,       6656,      256,      512, b4a673318faabf163e04e74dd6f6bd11
-0,       6912,       6912,      256,      512, 14ca045bcc69ab9968977f7ae225e67b
-0,       7168,       7168,      256,      512, 7f46226b4de8c08752fa143671d343c7
-0,       7424,       7424,      256,      512, 1a9c948d253f203eb6a0c602c76764b7
-0,       7680,       7680,      256,      512, 4edeab1f793313665aa09d4ddf529cd2
-0,       7936,       7936,      256,      512, 11e508121587c980cbaa3cef83d99025
-0,       8192,       8192,      256,      512, 8f1075311250e38b8237297230ca98e7
-0,       8448,       8448,      256,      512, e311c6f0be42075e8c9da9c506a1993a
-0,       8704,       8704,      256,      512, cd5bf3a2a058621348c77f443aea5f20
-0,       8960,       8960,      256,      512, 58184f8e52486d67492560062ff69aa0
-0,       9216,       9216,      256,      512, abdec2b18e9e11f9a2101eae39fddccc
-0,       9472,       9472,      256,      512, 9077c8f777662d10247b3806312c3842
-0,       9728,       9728,      256,      512, 3d728cec1af5a36ce50a2edc47b725f6
-0,       9984,       9984,      256,      512, 66376022c5df9ffad2645e8e5b360bad
-0,      10240,      10240,      256,      512, 2d109211cd159a6e7e417b6a009c3925
-0,      10496,      10496,      256,      512, 1720a977e5325352319bf5ff379dcd7a
-0,      10752,      10752,      256,      512, 44804d6d1fcf83eb087e1fbc24b6eac9
-0,      11008,      11008,      256,      512, b1ae4e2e8d4e40988702f1b69a36042d
-0,      11264,      11264,      256,      512, 8c2dde899f06668151535e040f95b35f
-0,      11520,      11520,      256,      512, fbb1d49c4a145f018dad17e3d562c85b
-0,      11776,      11776,      256,      512, 2c5c4094e00a5ee0c0717789747468aa
-0,      12032,      12032,      256,      512, 3f066cee877b577300007cad238945a8
-0,      12288,      12288,      256,      512, 09137ef1ca8797f32f9e282f4bca85fa
-0,      12544,      12544,      256,      512, ac01f7488b3a1215c86b891d02ef070d
-0,      12800,      12800,      256,      512, e34b2f8f69423fea10fb82d51807a7ab
-0,      13056,      13056,      256,      512, 1dfc348bf8e2ec76ac79ee3c8d70fdff
-0,      13312,      13312,      256,      512, 04f6c88729e192b9eab0407a13b9b2a5
-0,      13568,      13568,      256,      512, f413212836017cb4384b72edf2c6ccaf
-0,      13824,      13824,      256,      512, ece598ed67d02f1e0fa72fc488dd41d2
-0,      14080,      14080,      256,      512, 2f6f5980e7f2dce62107adcbb67564f4
-0,      14336,      14336,      256,      512, 7c74faa3d535d95ae67cc67b8abb351e
-0,      14592,      14592,      256,      512, 4203e80be60fc9ec2d459e8736a0c703
-0,      14848,      14848,      256,      512, f337195d01de9df38146ee57c97930d0
-0,      15104,      15104,      256,      512, 704c5456dae8742fc4b3cb380bb99083
-0,      15360,      15360,      256,      512, a1c2b1f488680cfbece7c6e32abc8aae
-0,      15616,      15616,      256,      512, 0af87b0715efadb3646334470d21b7a6
-0,      15872,      15872,      256,      512, e2a9cd2fcf860c2698d04d51e99a9970
-0,      16128,      16128,      256,      512, a48be740e8fca939c926b4af0f2333c7
-0,      16384,      16384,      256,      512, 5a4ee02cf5d47be8e8a8556361688568
-0,      16640,      16640,      256,      512, 8479661ea4b7e8ee3fe337abb34d34ca
-0,      16896,      16896,      256,      512, 72945f3895c181bd5e6c8ea817a1ae2a
-0,      17152,      17152,      256,      512, 5f423124f40f603dd689eaeb6020063d
-0,      17408,      17408,      256,      512, d498b69cd698233cc9d3c136fe31fb2a
-0,      17664,      17664,      256,      512, 9c739e2be2aae22188af5fecdb94670c
-0,      17920,      17920,      256,      512, 2d51a2ee080d78f1692e424ac87374ce
-0,      18176,      18176,      256,      512, c05e4bf6d5dd6399518bc190adf75fa7
-0,      18432,      18432,      256,      512, b2a8167af4223e501da688406aeb92d0
-0,      18688,      18688,      256,      512, fe69c21053f89701fc44baa408d8b117
-0,      18944,      18944,      256,      512, 471d58067d2732a39db302446e236b36
-0,      19200,      19200,      256,      512, 445ffd4c76072a81c228d94583121cad
-0,      19456,      19456,      256,      512, 86a234adadab1501b1c00c239638318d
-0,      19712,      19712,      256,      512, 30ea7ea1bc970f5e315ee1e6c44cb0bf
-0,      19968,      19968,      256,      512, 54d6cc50f4549333bb9aeca7a2c1c88d
-0,      20224,      20224,      256,      512, 71fbc245e672e3b75708ddbc20f1c3e5
-0,      20480,      20480,      256,      512, 1cfdbcc784a099a4ad77514b3f41499e
-0,      20736,      20736,      256,      512, b76a0ac13bacee901b8035650dd42d36
-0,      20992,      20992,      256,      512, 502dc127bb106624b6fc2537bfbdf9e3
-0,      21248,      21248,      256,      512, f0215e677c4965a756612d4c917b3da0
-0,      21504,      21504,      256,      512, 8bfe09b7da9bf87ba8815869fd2bbf9d
-0,      21760,      21760,      256,      512, 85f9ae922b4df772b023abe2b579905d
-0,      22016,      22016,      256,      512, b8388a8cbaf46dbcc0e41fc27ae158c2
-0,      22272,      22272,      256,      512, 366e7893bb6392895cd7df36eddd23e8
-0,      22528,      22528,      256,      512, 1c2ea9bb0a1ff91514e48dad7374ac45
-0,      22784,      22784,      256,      512, 397358994e18a75298bd7750a403e53e
-0,      23040,      23040,      256,      512, fd3787d81c08ff7e99c609f32549ae17
-0,      23296,      23296,      256,      512, 3731c4fb5ddffd21507ad492de27f1f7
-0,      23552,      23552,      256,      512, a89182f216219f72092456d297a714c5
-0,      23808,      23808,      256,      512, 79b933431b50217c550b884a4f2bf8f9
-0,      24064,      24064,      256,      512, a11271b9427e9f96ae06831b0d3bbf1d
-0,      24320,      24320,      256,      512, a9c11af279c2c5f24c6bd13b84987995
-0,      24576,      24576,      256,      512, 29e644f7b4ff663b88794dc0353b1b3c
-0,      24832,      24832,      256,      512, 3762952b4913a6cf5a784b1fa2a14b61
-0,      25088,      25088,      256,      512, 016761522758f561cd2376546d5cf97d
-0,      25344,      25344,      256,      512, 5c70a55fcc9fccadcb2039a2fcdf142d
-0,      25600,      25600,      256,      512, e8e72842180fc8d742eeb96df5c7fa17
-0,      25856,      25856,      256,      512, 607802e1a38605d29a8eade3d912c339
-0,      26112,      26112,      256,      512, d19597e4069a4dbe654111bb59e008d8
-0,      26368,      26368,      256,      512, 23c6c01fea69397c481786f269a8ca01
-0,      26624,      26624,      256,      512, 7ba8b9904781378c5cf6b0f24e39052d
-0,      26880,      26880,      256,      512, b5926da775bb56d2eef6eca981a88076
-0,      27136,      27136,      256,      512, 9a5c6ef8706247847e2e82cccbf92fc5
-0,      27392,      27392,      256,      512, c841ad6f4c50a6e20bde24900c22cb36
-0,      27648,      27648,      256,      512, 188c8fae37d2e9893715d2a1c7583d40
-0,      27904,      27904,      256,      512, 1ca6e2a0942616e71eecadd8354e55f2
-0,      28160,      28160,      256,      512, 836afa2b2e38bd6e21c8d941b9185d59
-0,      28416,      28416,      256,      512, 421efcff54c8e4448253f8cf44f27e71
-0,      28672,      28672,      256,      512, fa3acbf4223a6879b7fab75a60e269bf
-0,      28928,      28928,      256,      512, dfb0715722158a8ea289eb5871499d1e
-0,      29184,      29184,      256,      512, 3553a944bd40609f55cba8941934eede
-0,      29440,      29440,      256,      512, 830fc73d5b3404dda46fb78a36ee0f90
-0,      29696,      29696,      256,      512, f44f799096fecee5bb0c5a0959745d9b
-0,      29952,      29952,      256,      512, 2fb3e1463ed5e08a066aa6f2a553c2a8
-0,      30208,      30208,      256,      512, db04938618fa9d31484fc22dbc36d9b1
-0,      30464,      30464,      256,      512, a5b778243407aa2560952a7c7022b01d
-0,      30720,      30720,      256,      512, ec89349500aca15841098a3f856f0ec0
-0,      30976,      30976,      256,      512, 0a58d8cc4a8b602b7ffe876c5251a736
-0,      31232,      31232,      256,      512, fd8e661b669ad5170b8a18c9824772ea
-0,      31488,      31488,      256,      512, dccddb555d4e2274dcc5204e65c96739
-0,      31744,      31744,      256,      512, ddcccc2573bd50f3228ee587572d2220
-0,      32000,      32000,      256,      512, 6c36e647763583fd90a851a23f3ff4c7
-0,      32256,      32256,      256,      512, 90b165fc815c758b46b6f2e24dae8c40
-0,      32512,      32512,      256,      512, 4f73fa080eefe7b3ca60151efd1e00fb
-0,      32768,      32768,      256,      512, f743e914573ae41536b2b6d6f2b6ba30
-0,      33024,      33024,      256,      512, 5e2fbbcbaef9e73ac7796e82cc70bfa8
-0,      33280,      33280,      256,      512, 0fe3568ba4dc76200a4ce16873de5de4
-0,      33536,      33536,      256,      512, 88bc17f6374bb44f266a0418886874b2
-0,      33792,      33792,      256,      512, 1c6fe224f9cd2b88ae3904e1a257aed7
-0,      34048,      34048,      256,      512, d5bce8b9aeda32fdbcff64f97257cd41
-0,      34304,      34304,      256,      512, 011f31942dfcca4b870b9e67d80e5df2
-0,      34560,      34560,      256,      512, 536d116e8e1561dcc1ea9d122275d7d4
-0,      34816,      34816,      256,      512, 5713e16ca7b82fdcf5b38d623d26ac5a
-0,      35072,      35072,      256,      512, 5b09574c285ba49ebb272e1d359be1e6
-0,      35328,      35328,      256,      512, aaf96b9c5df6a49ff3f03a51b44722d8
-0,      35584,      35584,      256,      512, 972608e72173d12a161e876c84a30f5d
-0,      35840,      35840,      256,      512, 5166e54b188adc196e6b760ddda4c44d
-0,      36096,      36096,      256,      512, 7aaff0d65e7878a1a1d29f38d0da209a
-0,      36352,      36352,      256,      512, c3cb7c80995ee6de5b199e19556f8608
-0,      36608,      36608,      256,      512, c951488b2392d08b687c946c18b8e395
-0,      36864,      36864,      256,      512, 62507b9928271a63560aa9cabe36e84d
-0,      37120,      37120,      256,      512, 7f940459df9dd1f640e13c1cb174d3be
-0,      37376,      37376,      256,      512, 0fd8b132767a41f6225d4d81228d73cc
-0,      37632,      37632,      256,      512, 0500f4c2eb78e7c0c7be259175be954a
-0,      37888,      37888,      256,      512, 82df25b9533783a80bd250875c0446f7
-0,      38144,      38144,      256,      512, 66dd1ea950e13bf577fe8827e60792ef
-0,      38400,      38400,      256,      512, 62594c3cc1c35fed0299c2fd98428813
-0,      38656,      38656,      256,      512, 4f2db75a638992bfac551100c94e8682
-0,      38912,      38912,      256,      512, 60a4d4aa1b17821bd8c5633cce7f25bd
-0,      39168,      39168,      256,      512, 6fc50c71c2602964fb729e71de8e47e6
-0,      39424,      39424,      256,      512, a69ffa4a479eba013adca4571d4b5f55
-0,      39680,      39680,      256,      512, 6783ed47d439d4d9c3813f7661ff3f70
-0,      39936,      39936,      256,      512, 7a56c3639a02f9c971a432c6e5ead102
-0,      40192,      40192,      256,      512, 6eb5fda2e9948e8072da46fc456c9185
-0,      40448,      40448,      256,      512, 703094c6af56d41fe1253c7d4ba5376b
-0,      40704,      40704,      256,      512, 987deba6024662259f53ccccbfdb6ac9
-0,      40960,      40960,      256,      512, 43f36bb4112274c12fd9a3f36af2d628
-0,      41216,      41216,      256,      512, 551b75c6f80308e2879aa63d15ed2f9a
-0,      41472,      41472,      256,      512, 58b362438d3b9f9842e7f3a49f07c980
-0,      41728,      41728,      256,      512, 96dd1169b39bffc874e34fdfc863bf6e
-0,      41984,      41984,      256,      512, 5fed28d7b7b06529529af01165b8d36f
-0,      42240,      42240,      256,      512, 6d2bf851c5cf5181795f354a22ed7715
-0,      42496,      42496,      256,      512, cd5f1773925eddc2baa926709caecdf1
-0,      42752,      42752,      256,      512, 60aa790a40768a0903e4ee32b147ef56
-0,      43008,      43008,      256,      512, 681f9d9ff85befe057163d3b7564c7de
-0,      43264,      43264,      256,      512, b827a8a4066feeb5257edebd1f4658ba
-0,      43520,      43520,      256,      512, 01b4ea3a24f50ca7682f8beb30ff60e4
-0,      43776,      43776,      256,      512, 40b2b9718d72d596679c6af65665672c
-0,      44032,      44032,      256,      512, 5283209ad861c4a6c343d728043b7551
-0,      44288,      44288,      256,      512, 866f47f73a77defe76a45bfb4609efc4
-0,      44544,      44544,      256,      512, 4ada422220245e19dcb6dc8e89f2b1d5
-0,      44800,      44800,      256,      512, 57ecebc3224922fda4159411ddede31c
-0,      45056,      45056,      256,      512, 067eeb6e98946616e21602fe1bab5893
-0,      45312,      45312,      256,      512, 5c4f4b8692806a997b244748faa2328f
-0,      45568,      45568,      256,      512, 1203aae2f2b330e2c8329d7b1e93b042
-0,      45824,      45824,      256,      512, 533b8b72bf462a338f3959aeaca867ca
-0,      46080,      46080,      256,      512, 7f2570ef5ee309fa1ff347e4ec2b175a
-0,      46336,      46336,      256,      512, 83757b696e080fcab540bdd50c6f43b0
-0,      46592,      46592,      256,      512, 1f1f193ca264ecacc51a88a5b9466385
-0,      46848,      46848,      256,      512, 3541f86d5d11a24c9ebb323db7258f51
-0,      47104,      47104,      256,      512, 81a46c922b6912cbd64c5e9da953eefa
-0,      47360,      47360,      256,      512, 2b5193038cbad545ced622a8b070afc3
-0,      47616,      47616,      256,      512, 66a768bec0b165d16a30ec1e15bd4d41
-0,      47872,      47872,      128,      256, 00ca90e9dbfd75f9d26eeb03d3397266
+0,          0,          0,      512,     1024, 509872bc6c29f368c07c526cff1a9358
+0,        512,        512,      512,     1024, cfa5c21dc956d1b8d6554e950243580d
+0,       1024,       1024,      512,     1024, 00d454ec6249cbd0e3147abb267fc918
+0,       1536,       1536,      512,     1024, 1438f6ae88bf49778af0d336a07d0fd7
+0,       2048,       2048,      512,     1024, 3a522ce177e1dc160ebb109f1c5df231
+0,       2560,       2560,      512,     1024, 0401450fcac6a7b73ee3e773f956d10e
+0,       3072,       3072,      512,     1024, b9f033dd01117773cfeef3083cd31fec
+0,       3584,       3584,      512,     1024, 0ea73991f48316ac9f4c2297519a4056
+0,       4096,       4096,      512,     1024, ea7860f39aae4a3252c885f00a7b70b5
+0,       4608,       4608,      512,     1024, 1143a087e8da9b993bdbd955f9ddefdd
+0,       5120,       5120,      512,     1024, f66d4215e70c7140c80af0504dd58885
+0,       5632,       5632,      512,     1024, 4f71c3b8e92e7762320fdd49ef596359
+0,       6144,       6144,      512,     1024, 6b83c4d82230eea695ac99bcf548b3ae
+0,       6656,       6656,      512,     1024, dac7537764d99460e2d72e152ec9fc83
+0,       7168,       7168,      512,     1024, 7e49ef6e5403295484303c4ba7fed2f7
+0,       7680,       7680,      512,     1024, b621bbc2ce745f80272fc78f1b6c43fd
+0,       8192,       8192,      512,     1024, 8cc00a7357374f2b1c8d8457a9899bbe
+0,       8704,       8704,      512,     1024, 72f886661d27802139b2f2aab7e383bc
+0,       9216,       9216,      512,     1024, 069e2f50c12541bb2499cffe8bd1dd71
+0,       9728,       9728,      512,     1024, a13ca871c416e2c987ee3e25d071ea87
+0,      10240,      10240,      512,     1024, 50b91291bad6dea9ed8fd9432dd3b736
+0,      10752,      10752,      512,     1024, ebf4dbccb9c706a1a6c4568f91df8d83
+0,      11264,      11264,      512,     1024, b16a6f72cbe58524e4eb74bacb53296d
+0,      11776,      11776,      512,     1024, dc2c3e5ff23ecc067c6257c41f5aadf7
+0,      12288,      12288,      512,     1024, 63f8bfeb955abb7df6a5231865659430
+0,      12800,      12800,      512,     1024, bd65fc67b01eb49b7114c2c41b4989d2
+0,      13312,      13312,      512,     1024, 4f3c63ee32a825348e6f878628f18361
+0,      13824,      13824,      512,     1024, 56568f5a0ee53ee69c21282431ff68ac
+0,      14336,      14336,      512,     1024, 0678feb628007ed041b13eda43181965
+0,      14848,      14848,      512,     1024, 152c01f57cdb1962e724172639201a5e
+0,      15360,      15360,      512,     1024, 1b216585457750da1af104bbccf36212
+0,      15872,      15872,      512,     1024, 094b185d235f2f867d0292c03c9497a2
+0,      16384,      16384,      512,     1024, f3fce67f25a127ef15a110f264132657
+0,      16896,      16896,      512,     1024, 6a68dafccddf653225854941063b9031
+0,      17408,      17408,      512,     1024, 2871f72241ee781f9cc59b5c8499ad05
+0,      17920,      17920,      512,     1024, 77e7d660c81f53c82e21d76099b2183b
+0,      18432,      18432,      512,     1024, 5bc9467dc2be078ce83871f6aadf5764
+0,      18944,      18944,      512,     1024, 8b084f8aa7e2e7591f29fc93ac0dd22b
+0,      19456,      19456,      512,     1024, 0388475d3cc739c38a3a166d0d52f4bb
+0,      19968,      19968,      512,     1024, dc0d3acf822c5dbfe7b746a4f1888cd8
+0,      20480,      20480,      512,     1024, 9a058bd7be699a85bf089fd92f1509b4
+0,      20992,      20992,      512,     1024, 6ed8da8a779f9a8770a6863d29a73c38
+0,      21504,      21504,      512,     1024, b081d7e2c2dc1459290477db71d8b17f
+0,      22016,      22016,      512,     1024, 2d651cc37a640aeae422ab440100f025
+0,      22528,      22528,      512,     1024, 10f0a29c10330333f96f1add981e8d9e
+0,      23040,      23040,      512,     1024, ee6efe5a205f8863aa56bc08012d5d83
+0,      23552,      23552,      512,     1024, 8aed25db2348fc6a63b6e91a421ef98a
+0,      24064,      24064,      512,     1024, 6f535201ea35970b63ee96fc49be0c1a
+0,      24576,      24576,      512,     1024, 81c8a2dfe062d41f1679d0407223bf97
+0,      25088,      25088,      512,     1024, 95e20dcc54fdf147320ee53bb9ca209c
+0,      25600,      25600,      512,     1024, 8711627df116a180527d2a71584d4601
+0,      26112,      26112,      512,     1024, 5f1baf02dc68cc10b58f358a8feb0ccf
+0,      26624,      26624,      512,     1024, 7e2a713cef97f53d2d29c0ac9e27b8a6
+0,      27136,      27136,      512,     1024, f26367818187e7b684e822859e29446b
+0,      27648,      27648,      512,     1024, 2df9646b0275e7366e90b9d23b2a20a4
+0,      28160,      28160,      512,     1024, d97db93f6466f8e8b0d896593bc04b4f
+0,      28672,      28672,      512,     1024, 594f731108e9d9f204b6a506e47a43db
+0,      29184,      29184,      512,     1024, 5a48d0eae9c53b18cd927bcabcd11d22
+0,      29696,      29696,      512,     1024, cd7587b2728ac1e0d7687d467defba92
+0,      30208,      30208,      512,     1024, 864bafb2de0abf677dee6e5e06dbb26d
+0,      30720,      30720,      512,     1024, 6be9be91161c7ec7d2509c3765679e80
+0,      31232,      31232,      512,     1024, e1acd3986b7568d904af98487bf88640
+0,      31744,      31744,      512,     1024, ed89b4fd224f2d36d7ee47f8ca15fc31
+0,      32256,      32256,      512,     1024, 820a7441498f21b0caf5c34ad8daa1ad
+0,      32768,      32768,      512,     1024, 56dfc5b56b5ca1d9444c664aacf0500c
+0,      33280,      33280,      512,     1024, b61fab878762fcf9177bf9e83c2aa2ae
+0,      33792,      33792,      512,     1024, fab396b874a237980fe79d7d02a51659
+0,      34304,      34304,      512,     1024, 0642c5e20d55f7b0147e947b3184679f
+0,      34816,      34816,      512,     1024, 1c92a13fd9fe79fa0dffac0ddb8cabac
+0,      35328,      35328,      512,     1024, 1bfed4a6ead7e88b3fe0a2e803da14d2
+0,      35840,      35840,      512,     1024, 2b2ae949b92d29e050eb602d68f6bc86
+0,      36352,      36352,      512,     1024, e1ff41a54d86426476c9534a4406d071
+0,      36864,      36864,      512,     1024, feec7432838350fc0ae0118d8b5fe42f
+0,      37376,      37376,      512,     1024, 59473e20806ec8674117d04c137c0172
+0,      37888,      37888,      512,     1024, 5c98c8ee2741683308848eace2e7609a
+0,      38400,      38400,      512,     1024, e6bf774e0e989b23c104d08ef30de092
+0,      38912,      38912,      512,     1024, eec550dd514edbfc1f4b9b49bff7366e
+0,      39424,      39424,      512,     1024, b21b1e9cfef7e298a4570ee435a722d3
+0,      39936,      39936,      512,     1024, 23265773ad05b8e6ee8203f71c7619a6
+0,      40448,      40448,      512,     1024, c2f9d3c85a26dbc5f1ceeb274eab0174
+0,      40960,      40960,      512,     1024, 8900733c9c7bbfd3e71c82180d177cf5
+0,      41472,      41472,      512,     1024, 3b6521092d040bae7fae1073b07c73e8
+0,      41984,      41984,      512,     1024, 96fecdbd5b111870ed50f86a5f3f32a2
+0,      42496,      42496,      512,     1024, 4b407a4d8712d3403929c50204618597
+0,      43008,      43008,      512,     1024, e3ecfb5dcde5a1faa1ce71d21d851d78
+0,      43520,      43520,      512,     1024, 6d86c4cf614f4c5c2c85279d9fe9960a
+0,      44032,      44032,      512,     1024, ad57b3b7c23b1270356dbeaa9eedd857
+0,      44544,      44544,      512,     1024, 7ed1ad59bae5377ef9877b57f349843e
+0,      45056,      45056,      512,     1024, 428ad7309bb2a0a85286a0dc789b4150
+0,      45568,      45568,      512,     1024, fdb7fa40d670f2aaba55fdb85744da60
+0,      46080,      46080,      512,     1024, 3fe30c526bbab9bd7f575a8338e081ac
+0,      46592,      46592,      512,     1024, 5ed3fb2d1727bb3d1a2cf3c2ad2bc0f0
+0,      47104,      47104,      512,     1024, 261943c4761b029527c1652eb50292c0
+0,      47616,      47616,      384,      768, 5c073ba59dfd16c36c155aeff762ff15
diff --git a/tests/ref/fate/g726-encode-3bit b/tests/ref/fate/g726-encode-3bit
index 4ed58fcc80..1f9bd261be 100644
--- a/tests/ref/fate/g726-encode-3bit
+++ b/tests/ref/fate/g726-encode-3bit
@@ -7,191 +7,97 @@ 
 #sample_rate 0: 8000
 #channel_layout_name 0: mono
 #stream#, dts,        pts, duration,     size, hash
-0,          0,          0,      256,      512, 05c2c5ce2fe48d155f8ca4b871cbd217
-0,        256,        256,      256,      512, e7f2c551ee7b62bbf6fefcece4460558
-0,        512,        512,      256,      512, 146cd5446a6359654e9fe5daa6e6b1e2
-0,        768,        768,      256,      512, 3baa8e9ecaeca5779d4dbb6d243612b7
-0,       1024,       1024,      256,      512, 122b9684e93c4f68461fd2a7fd428a90
-0,       1280,       1280,      256,      512, ccc99a63aacb01ce888e7833119359c3
-0,       1536,       1536,      256,      512, 306001bdd8394064c32bdd269a162f14
-0,       1792,       1792,      256,      512, b87a1c14c98eb6cc6449cd23deae3366
-0,       2048,       2048,      256,      512, f7383ab6128b14da2f4328e1fbd65dcf
-0,       2304,       2304,      256,      512, 0f0545632cf3a3573a54730a5c265c44
-0,       2560,       2560,      256,      512, b3c4ad490da0299e20a7c35f9d5ea5e1
-0,       2816,       2816,      256,      512, f75ce59b6e162b71ee5bd906cae5dc3b
-0,       3072,       3072,      256,      512, 3ef5a63e598854918404758f7a971195
-0,       3328,       3328,      256,      512, 471b6b46bfa9a9d94cd643d2434cf46f
-0,       3584,       3584,      256,      512, 3adf549c9196c028c4f5a1148b6fda37
-0,       3840,       3840,      256,      512, a62b432126547a5c5cfea4144dbcb844
-0,       4096,       4096,      256,      512, 3c05f4b314a55654c2052d3f42c0601d
-0,       4352,       4352,      256,      512, 26ef786ebee25f6ffc1a95140ff64a9f
-0,       4608,       4608,      256,      512, 8a3ce190ca162df47c0fa0fa23dcd128
-0,       4864,       4864,      256,      512, de1cc36f40d9b008f61d7273db907478
-0,       5120,       5120,      256,      512, 45876395efd7390dcbe1d5c30813b976
-0,       5376,       5376,      256,      512, 301d9938c68e6d31fde878fc5b50f5be
-0,       5632,       5632,      256,      512, bc21664bc19168b9b35664b2a7a4aea4
-0,       5888,       5888,      256,      512, 86a09f2d05926e45f1cabf6b44d99e20
-0,       6144,       6144,      256,      512, 3588037e4e32e160d630a6f1416094d7
-0,       6400,       6400,      256,      512, 960b21c47ad8f4193b34ca06f843a419
-0,       6656,       6656,      256,      512, ff1159c002fc1ad3ba691d3b2cae69b9
-0,       6912,       6912,      256,      512, 2a8d24f84a386a40f8337ed2645dbad0
-0,       7168,       7168,      256,      512, d84fc2f44de2603e84eb4a094cfcf6e2
-0,       7424,       7424,      256,      512, c4d0745d0f2f815cf2d62f90d9637bba
-0,       7680,       7680,      256,      512, ff67040fdb051b8958a1a80385368154
-0,       7936,       7936,      256,      512, 145ffbed404825ec18d44c4159c2f76d
-0,       8192,       8192,      256,      512, cd4955707be0eac0b1e9c518452aff02
-0,       8448,       8448,      256,      512, 1683980849a065ccc2f0063fbed0aebd
-0,       8704,       8704,      256,      512, 4098dd3e24a930cbe6259e1e174fccd9
-0,       8960,       8960,      256,      512, cd02e2a0e5265f307ec8564c3711c4a8
-0,       9216,       9216,      256,      512, 3063f032e2133ac45aae8121a270ff7e
-0,       9472,       9472,      256,      512, 87c94eec5891cf25ae0a7ddde2bbbce8
-0,       9728,       9728,      256,      512, 95cc5d1bea3829cf7acd2d33fb5f5bd3
-0,       9984,       9984,      256,      512, 0b6a5a21df3dfcf2a15cc6527c3d54eb
-0,      10240,      10240,      256,      512, 35c9e7ad2dca9fd672aec003eb02f6ff
-0,      10496,      10496,      256,      512, 843aea9d4ca83ca8a47172c5b03f4097
-0,      10752,      10752,      256,      512, 17aa8d6d442c4f7770835b49f22ab1df
-0,      11008,      11008,      256,      512, 9e0bbc7b40f498a143e86f3ca557d6b0
-0,      11264,      11264,      256,      512, b98cd1ad0a0599b5a3fbe910ad63b146
-0,      11520,      11520,      256,      512, fbdf83d652e3f1f1a26d98753c70cbf0
-0,      11776,      11776,      256,      512, 48fe034331f983dc8c5b73c09737fbaf
-0,      12032,      12032,      256,      512, 0207c3376aaa1844c4449d137f73b82e
-0,      12288,      12288,      256,      512, 1df84ec1ce5e7fe5479a39ed630daf8b
-0,      12544,      12544,      256,      512, 5f40a24808df553edd69326ae855f36f
-0,      12800,      12800,      256,      512, 2940982e27d72aa8f4c4374edec41004
-0,      13056,      13056,      256,      512, 297a1c4b0a72dd8caee97dbc3aeef140
-0,      13312,      13312,      256,      512, 33306008c0fe7cd3ce75f17fde2c480d
-0,      13568,      13568,      256,      512, 493ffbbe1e4806d74f157dd24b2c098f
-0,      13824,      13824,      256,      512, 7d7ede0168547f02b1e3a879a524e51b
-0,      14080,      14080,      256,      512, cf95d212c07a10055f20bde0e778ba70
-0,      14336,      14336,      256,      512, 700aa5e4215382860b08a0d07658b9bd
-0,      14592,      14592,      256,      512, fa1bdbfb2aa65bd8be937dd4c1e5d122
-0,      14848,      14848,      256,      512, dc2962b8f689a771bc8af79686f1b779
-0,      15104,      15104,      256,      512, eaae511a4dc5bce17f56b6d4a9119fe9
-0,      15360,      15360,      256,      512, 58a8159c3aa221c62b74baf7963be352
-0,      15616,      15616,      256,      512, ee229a60d67adc9583cb3735d88f31a2
-0,      15872,      15872,      256,      512, 42a4e06dd20f9fd9a8c5c911675803e5
-0,      16128,      16128,      256,      512, d089d9aae43c01df39c082f31daeffbe
-0,      16384,      16384,      256,      512, f030ad57abd8d48ef124c444aae2b53e
-0,      16640,      16640,      256,      512, 287b60a558fe18371c02019ec443da09
-0,      16896,      16896,      256,      512, 2c23989c4e6e211356e0b00957d5993f
-0,      17152,      17152,      256,      512, d00b2a33571f0d7c41022701cbbaf0d5
-0,      17408,      17408,      256,      512, 92b9ab727b349b6517d5928c81360809
-0,      17664,      17664,      256,      512, ed6fcccc2cf59351123cfa2236511ea5
-0,      17920,      17920,      256,      512, ec80bbca8a1ce87f206bee1b90d132ad
-0,      18176,      18176,      256,      512, fdc685cbb3eb4e0d1291b293147c7db2
-0,      18432,      18432,      256,      512, 17c4f9fd66027263bfb233ee055f7091
-0,      18688,      18688,      256,      512, dcb38885883610cb415414907c6c8041
-0,      18944,      18944,      256,      512, b2f6e08a70eaaefc7b6d91f1c5ec590a
-0,      19200,      19200,      256,      512, 02bf40b9c255200e1f612d6d0ed202e3
-0,      19456,      19456,      256,      512, 51982634d4f6a350716a0f61862cbe73
-0,      19712,      19712,      256,      512, 36a326a26542a9623939d31bba8cc7d4
-0,      19968,      19968,      256,      512, ab5067ebf1030b32cfa56e003986edb6
-0,      20224,      20224,      256,      512, fb4b8864983695d39dbf78d0a3ad1c4c
-0,      20480,      20480,      256,      512, 22a34c4abc7e8ac25430e3061f665f70
-0,      20736,      20736,      256,      512, e00d6038edb43654c9078159c031b494
-0,      20992,      20992,      256,      512, 25ca9f59002e07ef17930ed20e0b726b
-0,      21248,      21248,      256,      512, b46d8d8a593fae6896e6aee651c993cd
-0,      21504,      21504,      256,      512, bcad6fccf44298f3c065d86ef8608614
-0,      21760,      21760,      256,      512, 52bafc7f9e257942e6d4ec743a846ed8
-0,      22016,      22016,      256,      512, a63d213be976966b16601bd6ac85b1cd
-0,      22272,      22272,      256,      512, 7875fa574274b5ba1e11b601dcdfe98e
-0,      22528,      22528,      256,      512, fed1495f42b814fcba90be104a0d6d11
-0,      22784,      22784,      256,      512, 1edcb0b92200f169dc1ef44aae030c69
-0,      23040,      23040,      256,      512, 2c3dafa2008e9f9c73b55cba7480317a
-0,      23296,      23296,      256,      512, 97bf6a32af2601e497c88dcef83f4a0e
-0,      23552,      23552,      256,      512, 934c94981018871ed484a67e8f210514
-0,      23808,      23808,      256,      512, 595050582ec693326d09f004a9bf84f2
-0,      24064,      24064,      256,      512, 1fb162be1a9bdf42615640ac46eea958
-0,      24320,      24320,      256,      512, 0d7694eab437f41f8ecfebd41b2770ae
-0,      24576,      24576,      256,      512, d7b9430cfb0cd039a8308fa99fa955fb
-0,      24832,      24832,      256,      512, 95f7d73c18957ad4ab5b75be3c10b157
-0,      25088,      25088,      256,      512, e1cdfc9ef9b4dba9c989e11834d233cb
-0,      25344,      25344,      256,      512, 8233f57a526ac3ac16ca74794c2b5417
-0,      25600,      25600,      256,      512, 42cf0f0a404fd9e420b134d38bfaf27b
-0,      25856,      25856,      256,      512, d02a63fed1c1818c6f6bbe5051e7bcc6
-0,      26112,      26112,      256,      512, 21f026d149990a6fdc9921d355155af4
-0,      26368,      26368,      256,      512, eda6cb22ff953fc514a401c6d340d73f
-0,      26624,      26624,      256,      512, 9e20f5ef9bb5f8d245203b4a5ef74148
-0,      26880,      26880,      256,      512, 180b7a52e34353a662f61b90f9a6f977
-0,      27136,      27136,      256,      512, de40d11b83ff121536f70cc5f82f116c
-0,      27392,      27392,      256,      512, 536ba647f313b043ba0865dee602ce41
-0,      27648,      27648,      256,      512, 43e005a2a1e3edf62ff4c688c414b0b0
-0,      27904,      27904,      256,      512, 4a5cc7082775f124af7355b21a72a484
-0,      28160,      28160,      256,      512, 87224208fedaba7f6421488787384eaa
-0,      28416,      28416,      256,      512, ef0dc52c0e2aed48723d3499b153a4b1
-0,      28672,      28672,      256,      512, 2b2254cb8242d98255b8a16c204c6c3f
-0,      28928,      28928,      256,      512, 856d38f78146ac58d3a57446ea1a2aa2
-0,      29184,      29184,      256,      512, 78060533f80b156fbb8beeb72587abeb
-0,      29440,      29440,      256,      512, 274e56ac7c31356a0eeaaabe41b5cffa
-0,      29696,      29696,      256,      512, bd4f6de0e4b2a0c0ee5d9ac7d10db0d8
-0,      29952,      29952,      256,      512, db0effb62ab04694721606e0c1120df7
-0,      30208,      30208,      256,      512, 891e5386b7ce41d9a340a166e55f637f
-0,      30464,      30464,      256,      512, dfde4c4046f0b68924bf518aa2e1a909
-0,      30720,      30720,      256,      512, 08ac5f9df5bfa5ad9b9bd8963356df7c
-0,      30976,      30976,      256,      512, e0316589f0fb9ccfd901b7e6d2eeb42e
-0,      31232,      31232,      256,      512, 9718764f544f2dd3d0aa37d7eeae59c4
-0,      31488,      31488,      256,      512, aa396ffb9a1e91f4edb27dbe5202a0b9
-0,      31744,      31744,      256,      512, db4a72bcbca208e98948ffb28562b5c6
-0,      32000,      32000,      256,      512, c69c2cc4fe3ea79f3b897df221281ca7
-0,      32256,      32256,      256,      512, 8adaf24bac2361a568514c3dc563c697
-0,      32512,      32512,      256,      512, 4eef24d374b4ffab842eb9390c60dc61
-0,      32768,      32768,      256,      512, 1a3f44ac6469c6547be65d0a8e467a00
-0,      33024,      33024,      256,      512, dc7740bb6a8baff3f137b865b0fd9b76
-0,      33280,      33280,      256,      512, b149d403fd87963be6f4cecd42d01da9
-0,      33536,      33536,      256,      512, 49f4d73975d73a36e16b7ef90e8f777a
-0,      33792,      33792,      256,      512, 9781dd7b02d3c52cb67681f4771feb20
-0,      34048,      34048,      256,      512, 5568087a196533f62f97c6f060b3af41
-0,      34304,      34304,      256,      512, fd1dc398e285dfb1ce5ee8205ae89309
-0,      34560,      34560,      256,      512, 4036a0cf41fbb413823cc09ae137c556
-0,      34816,      34816,      256,      512, f3744d98e42ac61aacaa4155909cb1e2
-0,      35072,      35072,      256,      512, 49eaa9de3985969e84fa57c74b2bd5ec
-0,      35328,      35328,      256,      512, 11c1d14da7f614dbda64c545f479a98c
-0,      35584,      35584,      256,      512, 753cbabc4c17baa73c17c94c0e594b7f
-0,      35840,      35840,      256,      512, a1d8eaa2bbc9d0fc013ad4414db66f19
-0,      36096,      36096,      256,      512, b32155f19b5d6160df35249e2438b3f7
-0,      36352,      36352,      256,      512, 2bcf49dca873ac470a45bc39d1ab0e19
-0,      36608,      36608,      256,      512, 52aa2fc2db2065cbe918386d43033b8b
-0,      36864,      36864,      256,      512, 5ab1d7783c6d64579d41005e414521a1
-0,      37120,      37120,      256,      512, dd3c2a6927745a68d0dbde2584f713e2
-0,      37376,      37376,      256,      512, 1944e5b5300fe3424b79d94b0f1e9f9f
-0,      37632,      37632,      256,      512, f4eacef4e94ecad003d1ea90b62cf898
-0,      37888,      37888,      256,      512, 9fc0e89bdf7b4b3048133109b3a34654
-0,      38144,      38144,      256,      512, 31f13fd6948ed76a208445cbebf28284
-0,      38400,      38400,      256,      512, 61c8bbc01c8ce63c41c6aa715eb8eb6e
-0,      38656,      38656,      256,      512, 8afe2401817388e2d067f991eb02051a
-0,      38912,      38912,      256,      512, d89c74464e446c111766f599245c997c
-0,      39168,      39168,      256,      512, 9fdb85f969c03101ecca61277a394b5e
-0,      39424,      39424,      256,      512, 50e285791fce46db81237993b639edf9
-0,      39680,      39680,      256,      512, 6daea84a94ca4f7ba1616a11e49c6014
-0,      39936,      39936,      256,      512, c67946dce635cf1c49956aac6aaa6b19
-0,      40192,      40192,      256,      512, b48491f0b8e73c9e13fc65bc340ff97f
-0,      40448,      40448,      256,      512, 8e784b030083495563d29102ef65d661
-0,      40704,      40704,      256,      512, 18c8e403addf579695b1521608c58d92
-0,      40960,      40960,      256,      512, 5dacf376a5eb58d6e81c2f50958df914
-0,      41216,      41216,      256,      512, 3a4a5805bd1bfebc236d9650e554752e
-0,      41472,      41472,      256,      512, b23cabbf67a3f0f8412befa352981857
-0,      41728,      41728,      256,      512, 9f8d85a2e0388a772f74c81ce27fb53c
-0,      41984,      41984,      256,      512, 8f0a9a5b9d5abaaf420739e22db505b7
-0,      42240,      42240,      256,      512, 72d7743468c298d1d4dc82e38661f7b9
-0,      42496,      42496,      256,      512, e49721e548ef48f9bd59d23454099f96
-0,      42752,      42752,      256,      512, 9c13b95dfba0a9d080c1cdfcaa21ac22
-0,      43008,      43008,      256,      512, 587dc6b518f42ffce75aef2f3f06265a
-0,      43264,      43264,      256,      512, 72290c8907d59587b780af1099bb5ae6
-0,      43520,      43520,      256,      512, 44ed8463c485513155a10b0ed18330f3
-0,      43776,      43776,      256,      512, c39628c3c975cda6112603ed322a2503
-0,      44032,      44032,      256,      512, eaa107666f4296efa5a5e989e5a49c7b
-0,      44288,      44288,      256,      512, 73410639824fc02307b4a93aefac4988
-0,      44544,      44544,      256,      512, a06389338d96e89d4af7b45db7d84541
-0,      44800,      44800,      256,      512, beae98b418e5a996327187e112875586
-0,      45056,      45056,      256,      512, 000ce3617ef02ee678d0233ed6376cfa
-0,      45312,      45312,      256,      512, f1c8464edad1f717168a0823ce7a2686
-0,      45568,      45568,      256,      512, 587f38edc5ef83f6aa49717f5bf55056
-0,      45824,      45824,      256,      512, 6f143d33bac6a682d13cea603c4c45b8
-0,      46080,      46080,      256,      512, 7ed1ca97b67944f6cba855488a27015e
-0,      46336,      46336,      256,      512, 9918c16592e0a5f6de3aaa9b478b0bfe
-0,      46592,      46592,      256,      512, 37a316fed294bf197389bce749d6704d
-0,      46848,      46848,      256,      512, 6f845f9ada8bf74a6436c389690cf5f1
-0,      47104,      47104,      256,      512, 4de5a002ea3c40ebf650a6bac2476349
-0,      47360,      47360,      256,      512, 0f06ea62b14bc93383f53adac1ef2ecd
-0,      47616,      47616,      256,      512, 8d10c15182e01041d3176acef6ea24e8
-0,      47872,      47872,      128,      256, 84264f5a7d87e48e5749f389b62b9ceb
+0,          0,          0,      512,     1024, 749c5e4be5c1f4ff349eb02131276b5a
+0,        512,        512,      512,     1024, 659f1f69a62932f4b19b93cbc4fd466f
+0,       1024,       1024,      512,     1024, a2f0e7a3fb2103cad1663813ef8c4b23
+0,       1536,       1536,      512,     1024, f3a95213bd5263d2cb4e0b44c60f2468
+0,       2048,       2048,      512,     1024, 961812c38705eceffd5a14d581745067
+0,       2560,       2560,      512,     1024, 3fad2ce9afc085a93ae1a274b508d9fb
+0,       3072,       3072,      512,     1024, 7171866dc4907a9f4d01ff352b83757e
+0,       3584,       3584,      512,     1024, 71f962e6098d29f876c39e42479f9514
+0,       4096,       4096,      512,     1024, 7d00e2bcf079174baa7c3c8d8b68a392
+0,       4608,       4608,      512,     1024, 98792dd0d76268a36e598c5a1eef77fe
+0,       5120,       5120,      512,     1024, e32311c27456ddc08ce1fbb5cb25f2dc
+0,       5632,       5632,      512,     1024, 33e66408679001a65b9ca55337ffd42c
+0,       6144,       6144,      512,     1024, d088933dab6adda9a8fcde44adb52ddc
+0,       6656,       6656,      512,     1024, a90852a8ed3a6de8216d3314d0ec0d05
+0,       7168,       7168,      512,     1024, 1c69d6cef064577947c18fafe8865eb1
+0,       7680,       7680,      512,     1024, a9f74a8e770fd425897f73d7123798d4
+0,       8192,       8192,      512,     1024, b92cb87f5343a41dad1eeabc89d104a0
+0,       8704,       8704,      512,     1024, 4d6409f17fcb4260d810651403a5d554
+0,       9216,       9216,      512,     1024, a7210e34569baebc404058eb9c21d5b2
+0,       9728,       9728,      512,     1024, 5e5fbc03814ab9879c8873f88442747f
+0,      10240,      10240,      512,     1024, de5a6215fb670e8a1b1898cf14e90c4b
+0,      10752,      10752,      512,     1024, 3247c557c5bec179c71cd614d0eaa8d8
+0,      11264,      11264,      512,     1024, a21cd72249d424beeeede154bc230f9f
+0,      11776,      11776,      512,     1024, bb8fce917d94e301420a903b7b3963ec
+0,      12288,      12288,      512,     1024, 20473b2653fd38d79869037cbf919fec
+0,      12800,      12800,      512,     1024, 750bf8ef688e55f8273a021483dd7800
+0,      13312,      13312,      512,     1024, ca9243b73eb7f86fcfb8e82b6b0bd03f
+0,      13824,      13824,      512,     1024, c8aa208eb52e95fd85ba726fd06f9587
+0,      14336,      14336,      512,     1024, 2269b08676d5f78285c04ed05d79dba1
+0,      14848,      14848,      512,     1024, e4cdfc472e1bea5e440ee48b1c2af275
+0,      15360,      15360,      512,     1024, 898f815706179c59dc69b1c4a53a0dbe
+0,      15872,      15872,      512,     1024, 149821d570ef126ba0b17aed95884a51
+0,      16384,      16384,      512,     1024, b98a25df1e1912df1721cb954ad31ba5
+0,      16896,      16896,      512,     1024, ef930bb637c69eea63eee703c515ef85
+0,      17408,      17408,      512,     1024, 516779d8bd2de77e9db2327247e61cf6
+0,      17920,      17920,      512,     1024, cd86454ae311fd57ac925f5625fcaf6b
+0,      18432,      18432,      512,     1024, 31c2ed57d3cec33d2cd04823999142ae
+0,      18944,      18944,      512,     1024, 0d724ae593bf5aec5ade41020bc62e76
+0,      19456,      19456,      512,     1024, 7a198086a40ef08d6019e4d38d21519f
+0,      19968,      19968,      512,     1024, 489b864db32c1c810911e09a5674699c
+0,      20480,      20480,      512,     1024, 224f2a23e663863d51a3bd039c891c85
+0,      20992,      20992,      512,     1024, 87200ae5181411aa1230822a099ec2dd
+0,      21504,      21504,      512,     1024, 0c630e09145c82d70ef663356508877d
+0,      22016,      22016,      512,     1024, 5c1bcd5366036374c8441bb0f3bcd49f
+0,      22528,      22528,      512,     1024, 2431f1716db7f2a5355ef905badca230
+0,      23040,      23040,      512,     1024, d2ba9f7bf7523c6a85c9904364e371f7
+0,      23552,      23552,      512,     1024, 60ebc46511400601cd7c95893a080056
+0,      24064,      24064,      512,     1024, 395a751ef3a84b5744cd903a7130efa4
+0,      24576,      24576,      512,     1024, 82a3a880795d075d7d6ec9bfac25aae4
+0,      25088,      25088,      512,     1024, 2b4b03696b97ebc4ca0f3e9932a6bac7
+0,      25600,      25600,      512,     1024, 1800cfa8f9e57851d6cda560d0a0abc7
+0,      26112,      26112,      512,     1024, f0cb6c7998d10cd11c51804ab58c1d46
+0,      26624,      26624,      512,     1024, 1ddfc6c6048e71e8ba746c2fdf93c102
+0,      27136,      27136,      512,     1024, 76e6c9a40dbcaa32ece535c01dce67f1
+0,      27648,      27648,      512,     1024, 4401c5ad37211c87da978633f8e85fb0
+0,      28160,      28160,      512,     1024, 827a0317c3270e218882a2ce57e76abe
+0,      28672,      28672,      512,     1024, 0a41ac7d14421b4e466593bbbe9692d2
+0,      29184,      29184,      512,     1024, 2bc1f8444eb100115f91a17972658242
+0,      29696,      29696,      512,     1024, 893960925b51f34de6ab38b56e14dcbf
+0,      30208,      30208,      512,     1024, a9e6645ddffe7213e60c55d384092164
+0,      30720,      30720,      512,     1024, 396c2457f72053a5aa2fce375e963d84
+0,      31232,      31232,      512,     1024, 3b0fc1f02d2bedab9e10f2f06a60aa26
+0,      31744,      31744,      512,     1024, b7d734d9b982a0f6fa5807a4170f6749
+0,      32256,      32256,      512,     1024, 3934a76e0c8a54e679d5b541a745a86d
+0,      32768,      32768,      512,     1024, f6ea520b961d1ce597c86fd8625111bb
+0,      33280,      33280,      512,     1024, 649e15f305ee7e687e9f9d77d1573856
+0,      33792,      33792,      512,     1024, a0beb551f32c395a83353b7cc116b08b
+0,      34304,      34304,      512,     1024, 66fbfa509e4f8fb3dc66c8983e461a73
+0,      34816,      34816,      512,     1024, f8dfdf2244709cfcaae58bd294d0624d
+0,      35328,      35328,      512,     1024, a14625a11f391717ed2da0bf195d1164
+0,      35840,      35840,      512,     1024, 26e41f5729a9ce714bb4e9925aa07eea
+0,      36352,      36352,      512,     1024, 05c6d65caa674725111cceb207b266e6
+0,      36864,      36864,      512,     1024, 697a65902580084bbdec9c1f4435e16c
+0,      37376,      37376,      512,     1024, 9684c9b9d2da6e69b126e535a0004889
+0,      37888,      37888,      512,     1024, 3ef8bf7e81f487e0c5fefa900c50efea
+0,      38400,      38400,      512,     1024, 15ca572f749895fcae2626cdc3c340ae
+0,      38912,      38912,      512,     1024, 757c65ecd522697e9880ab186fb651fd
+0,      39424,      39424,      512,     1024, 1a7e869d934d39da1f17a6823445a6eb
+0,      39936,      39936,      512,     1024, 9a89baab0c01c1b085232f76f9395db3
+0,      40448,      40448,      512,     1024, dc4066c293b94dd84f5890f10a4c184f
+0,      40960,      40960,      512,     1024, 55bad4702df6a26c80908217af0e147b
+0,      41472,      41472,      512,     1024, f0e7e410bdd31ce4365b35036c8e997a
+0,      41984,      41984,      512,     1024, c58d443beb8ef7b27d8b03b8b89f42c3
+0,      42496,      42496,      512,     1024, bdb7d6557f15a8eee4e4406849d2026c
+0,      43008,      43008,      512,     1024, 7ba18a856a2fe45cfed32f996d3e9601
+0,      43520,      43520,      512,     1024, 8baaddd67dac730e2488496b5c62dd40
+0,      44032,      44032,      512,     1024, e2c79aa110ef523696452deaf2e710dd
+0,      44544,      44544,      512,     1024, 7bd319b1fbc025f9073ffd329f8a1f87
+0,      45056,      45056,      512,     1024, 61e77bdb54fdc5d2062c038b708886b5
+0,      45568,      45568,      512,     1024, a4f945561f60b058e9519a5345421376
+0,      46080,      46080,      512,     1024, 9bd001832139195adfe8485006162177
+0,      46592,      46592,      512,     1024, 39abce4fefce06b9041b6aa3a8a38c8f
+0,      47104,      47104,      512,     1024, e686c077c2bd7a05bff75001013fe96d
+0,      47616,      47616,      384,      768, 0ee6c34845791363944132d79f522e50
diff --git a/tests/ref/fate/g726-encode-4bit b/tests/ref/fate/g726-encode-4bit
index 113035b21f..373f35cf77 100644
--- a/tests/ref/fate/g726-encode-4bit
+++ b/tests/ref/fate/g726-encode-4bit
@@ -7,191 +7,97 @@ 
 #sample_rate 0: 8000
 #channel_layout_name 0: mono
 #stream#, dts,        pts, duration,     size, hash
-0,          0,          0,      256,      512, b8209caf00d7afe20c2bc78109992cc0
-0,        256,        256,      256,      512, 782cead506882a4af4269e173ac36fbd
-0,        512,        512,      256,      512, c97d8c3d042b11be23267fe9c56e4828
-0,        768,        768,      256,      512, 873f92b023a822d0e1d7d788e7f1ec75
-0,       1024,       1024,      256,      512, 77f9214ced3066061370ed8e9ca7baf1
-0,       1280,       1280,      256,      512, 797fc777226b35c9c7f3fd07add2dd55
-0,       1536,       1536,      256,      512, ac6d0e41c044266550bff7181d08255f
-0,       1792,       1792,      256,      512, e2633a2d305ae71ea8549e0fdfc36cb6
-0,       2048,       2048,      256,      512, c05b872ccb26b31c4a67258fd2d6c9bb
-0,       2304,       2304,      256,      512, 6694cb7bfcef7449dfbf91fff5ecd51a
-0,       2560,       2560,      256,      512, ef05c5ad8ee24529d46938aaf7a25714
-0,       2816,       2816,      256,      512, bdab9ec84762e37c128452bc7c5b01de
-0,       3072,       3072,      256,      512, c06f6b812165889cbaef0f3206a29716
-0,       3328,       3328,      256,      512, 3287bc3983bdabd9a0c87ce71c98e5f7
-0,       3584,       3584,      256,      512, c79fd1e93b15b16cd79b14a447111993
-0,       3840,       3840,      256,      512, 08c45e77a9372c523b7a01ef931aa586
-0,       4096,       4096,      256,      512, fb0a2956f9bf17ddeca655c6d13db3a0
-0,       4352,       4352,      256,      512, ceaeccd9d19cba41fa2f5e578fb683e7
-0,       4608,       4608,      256,      512, 830e3706de4a09a58e91b11aa8d3df89
-0,       4864,       4864,      256,      512, 8ee08c1d1e08aa06b0d333e5054e206e
-0,       5120,       5120,      256,      512, af7c1604dc4f917201ee01de964558c3
-0,       5376,       5376,      256,      512, 1d44490e8e2fe8756387de8d66f641e8
-0,       5632,       5632,      256,      512, c38792ba77cd805a650de3202f7a7413
-0,       5888,       5888,      256,      512, 38ff1e86ce58cda492667bc204dc5f20
-0,       6144,       6144,      256,      512, 6cd5ffa80f44c9cf7755c696bd3d3dd9
-0,       6400,       6400,      256,      512, 7bb9ab2aa1516ba4801f1a13445ef983
-0,       6656,       6656,      256,      512, 21af0248b37815dd270326b5c1179e1e
-0,       6912,       6912,      256,      512, ecd4f3481122911183ead8146830d1d6
-0,       7168,       7168,      256,      512, 221360a5286a741b22a42f8671c774c3
-0,       7424,       7424,      256,      512, 3721fa451c55692a92f48b250a4e7e76
-0,       7680,       7680,      256,      512, 4c40fe5904fa0ac79227631035a1efae
-0,       7936,       7936,      256,      512, d788331dd90ddc98568068fa2077a626
-0,       8192,       8192,      256,      512, 42b954d17f324fc65f1200190b2febd1
-0,       8448,       8448,      256,      512, e18b2124c682a843f3a17404c05e1339
-0,       8704,       8704,      256,      512, 078de5e38b77e859282c4ecf7f3210df
-0,       8960,       8960,      256,      512, 33eced7551e15f02ad0e88ee06fcd7c2
-0,       9216,       9216,      256,      512, 858f87254002602fcecd5b8919a49d42
-0,       9472,       9472,      256,      512, c220debc23f4cbc65b7daf5e69563f5d
-0,       9728,       9728,      256,      512, f888d38ba4b877c7e6c318c1746fb472
-0,       9984,       9984,      256,      512, df1900fd3cf1aae60d3d2caaf1358416
-0,      10240,      10240,      256,      512, ab977068c2424735360e46cbb3f52885
-0,      10496,      10496,      256,      512, f88294e0ff2fe9793e9cfc255ef12cbb
-0,      10752,      10752,      256,      512, e70acc5e592a94e1afcc40e722bdb4af
-0,      11008,      11008,      256,      512, 5eab2458e33241a112833b8baaf53878
-0,      11264,      11264,      256,      512, cda4cef2931c9d1753dee1ac36f7144b
-0,      11520,      11520,      256,      512, fd5a6c3316493aeb0587b1aa99887c5d
-0,      11776,      11776,      256,      512, 3c9ef3a8854b8ddb9f88927fbefb4d4c
-0,      12032,      12032,      256,      512, b686ba33d061e21c380a7f0878bc1780
-0,      12288,      12288,      256,      512, 2f10a363897de1de801f93d5210d0790
-0,      12544,      12544,      256,      512, d3a56b206ef6b0d08745fb3c95ad9329
-0,      12800,      12800,      256,      512, aac0799bdaed8b2b031f47e5e9fe2896
-0,      13056,      13056,      256,      512, 4896e7b397e251529d7a80c0cdd7ec43
-0,      13312,      13312,      256,      512, 1020a546ebff044f743005bad92ec876
-0,      13568,      13568,      256,      512, 7e2fc5f304936258839dd21939893ad4
-0,      13824,      13824,      256,      512, fe81625d1a68b49991395ec44b23b0eb
-0,      14080,      14080,      256,      512, 70e1ed5c8340c51f3e119dfb7c6edc79
-0,      14336,      14336,      256,      512, 95d0cc1f9db28aba0d0cafd01831d86f
-0,      14592,      14592,      256,      512, cb32b346c14ba2c6a3261dab2fa5d4d7
-0,      14848,      14848,      256,      512, 22d44d75244a23e75ef28b8fd7ef48a0
-0,      15104,      15104,      256,      512, d66e19e00d68e21595391d0f82c4f205
-0,      15360,      15360,      256,      512, 2b382665ce34d702aadbda14b15d9a8c
-0,      15616,      15616,      256,      512, b4d4915b03b3afb3853e98e90fe19ecb
-0,      15872,      15872,      256,      512, 8e06e8e7da4ab15b5f56311f2a936343
-0,      16128,      16128,      256,      512, c25c479188f37b5c3481f3e0fdebd2a4
-0,      16384,      16384,      256,      512, 1bb28ab00e8945b6c3d62b31a6200e5f
-0,      16640,      16640,      256,      512, d0a2ced3bae9070dc3f9633893a3723d
-0,      16896,      16896,      256,      512, 84ff882e0730c753ef6ca207f6c5da8c
-0,      17152,      17152,      256,      512, cab8b62beea92454047ab3fec6ee3f83
-0,      17408,      17408,      256,      512, 5fe00b7b7be034b65a37f0783e6a7102
-0,      17664,      17664,      256,      512, 23912531a31a7fd095c9c7e26018ec1b
-0,      17920,      17920,      256,      512, 63a32583fb536f02b3edbf0054131bcc
-0,      18176,      18176,      256,      512, b6fb4de032e2aff254289542216cbd3e
-0,      18432,      18432,      256,      512, f0e0cda0af0b8f9247495cdd9c658daf
-0,      18688,      18688,      256,      512, a166683571ddb09ef410b12bf04e66a1
-0,      18944,      18944,      256,      512, 3e02391688de7b2454100769a263cbce
-0,      19200,      19200,      256,      512, be58b2c870ae1df55dfd802ca187d009
-0,      19456,      19456,      256,      512, 0a40526ad06314b28f2e809405892b59
-0,      19712,      19712,      256,      512, b7fe4c4c2d9a68f01c41234f3ecdae04
-0,      19968,      19968,      256,      512, 51f452e94842ad76c50052830539e27c
-0,      20224,      20224,      256,      512, 9cdcc5b6aa941f44b9acce14c00f514b
-0,      20480,      20480,      256,      512, 283ac575ae2b7bdec6613b67d4ce428e
-0,      20736,      20736,      256,      512, 196b715e7ce36397c11c19108447d303
-0,      20992,      20992,      256,      512, 8f4d76969c5efed48cf222e309525fa4
-0,      21248,      21248,      256,      512, a4e5fb5d47c2c0dbbbae67e761610e77
-0,      21504,      21504,      256,      512, d8bdbf2a5f2da6dfc2630a3d1bbd2b34
-0,      21760,      21760,      256,      512, 32e82dca6959b728d22821cc66faad1d
-0,      22016,      22016,      256,      512, 38171825b5c50437f071d84393a96da3
-0,      22272,      22272,      256,      512, 41d20ffbdb2d30aa8eb1a83be51dcb18
-0,      22528,      22528,      256,      512, c8ebf2ec56d7cb9fda8afea9d5ac9012
-0,      22784,      22784,      256,      512, 10c82887d8262040575e657c366cf0e7
-0,      23040,      23040,      256,      512, 018a4e8033f5208290fbd9573362dcc0
-0,      23296,      23296,      256,      512, 0f023f34a4b4c788c86334974eed269d
-0,      23552,      23552,      256,      512, cd17e252d73d7bd810fa8702e7a3afd4
-0,      23808,      23808,      256,      512, 84ff60e7ae1167d627506057d978598e
-0,      24064,      24064,      256,      512, 1db17742a21567f88323f24ba55cf7d7
-0,      24320,      24320,      256,      512, ec67cabb80871e3bea210cd8d4cff4b1
-0,      24576,      24576,      256,      512, a90bc1fa66bd16231c8eae2f93d86d4f
-0,      24832,      24832,      256,      512, 2fd344a827768f72dffe0b39fd25f90c
-0,      25088,      25088,      256,      512, 80adb51d55382f824876381617c1849d
-0,      25344,      25344,      256,      512, 94b81c7d3b885d47221c938fd9d17eb2
-0,      25600,      25600,      256,      512, 17b843796133539342cfff9ccdbf72d0
-0,      25856,      25856,      256,      512, e81dab37e22b4c01b948394819e4fd14
-0,      26112,      26112,      256,      512, 632492a1da12bee17ad68c9612c92ac5
-0,      26368,      26368,      256,      512, 7b59e48ebd618262dc057b8f42f4566d
-0,      26624,      26624,      256,      512, bf7f5cdf2e26783d9cb5b79f1baa48fa
-0,      26880,      26880,      256,      512, 2b52a604aad33446905f600c68160c6b
-0,      27136,      27136,      256,      512, c223d71e93fa5a11a490662187658d76
-0,      27392,      27392,      256,      512, 3b080e37f305de8d7223a2256a0f654d
-0,      27648,      27648,      256,      512, dbdb7daa6efbae644c8e7cd8b8f7add3
-0,      27904,      27904,      256,      512, 5e2e6a4770ddaa3b4e108882d8ca8e56
-0,      28160,      28160,      256,      512, 7abc1c2cfa747eeba9d278239e994003
-0,      28416,      28416,      256,      512, 42e6616cd8b2eee29be2e37aede22613
-0,      28672,      28672,      256,      512, 1fbea38c19f04dcb4ad315e0bfcfb289
-0,      28928,      28928,      256,      512, 4f98b21810945af9c9220396924c519a
-0,      29184,      29184,      256,      512, 0f0eef9847eaf2661e0bf4a04976643b
-0,      29440,      29440,      256,      512, 566c75d21879a737213651973627b334
-0,      29696,      29696,      256,      512, 12e3f061f4d06cef04d22374be4246dd
-0,      29952,      29952,      256,      512, 5a98a57dada8a6ee79fdd37e249a545e
-0,      30208,      30208,      256,      512, 26ef3eb64978854407e819bd4549e6f1
-0,      30464,      30464,      256,      512, ab1aa2db484e187dc3bad858316c0c02
-0,      30720,      30720,      256,      512, fa4d6aa06fcc6b1fc4245eaa1c6ed19a
-0,      30976,      30976,      256,      512, ef219f54a7eedfad1638da9c1ed5c009
-0,      31232,      31232,      256,      512, d0f225cdd842cca6db31f3ee8497b075
-0,      31488,      31488,      256,      512, 9cf9db9d38cd441b6d1b31b24d9f6a00
-0,      31744,      31744,      256,      512, ea9bc707dd0ce662794f193719d7dfa1
-0,      32000,      32000,      256,      512, d8ad8775f2b33f3b9d90c85cc46dc933
-0,      32256,      32256,      256,      512, db8de51b8f9f8107003e468e1492a97c
-0,      32512,      32512,      256,      512, fc400f57348eea605797a76c23f01f29
-0,      32768,      32768,      256,      512, 8b5495a5afa11a275712f5ba06babe60
-0,      33024,      33024,      256,      512, 53deaf7eeceb50e373aebdaa5c16c809
-0,      33280,      33280,      256,      512, 0f7a380965e2c641b27c4aab952472b6
-0,      33536,      33536,      256,      512, 20986440e2e63e9bc082bbc05f2d2404
-0,      33792,      33792,      256,      512, 20cb661581e9a938b943093dba07a48f
-0,      34048,      34048,      256,      512, 6c1b00cc031df37816b497f451a84f28
-0,      34304,      34304,      256,      512, e13d994830d387a17ca8caa90c0792e2
-0,      34560,      34560,      256,      512, f4af3dbc544ffa0fdb8202d351eee457
-0,      34816,      34816,      256,      512, 978c7b37408075e0dfde95093ec8a435
-0,      35072,      35072,      256,      512, 212699956a56008e03fe6e3402f26168
-0,      35328,      35328,      256,      512, a2848f1a75280acb4ebb76c2e759cfff
-0,      35584,      35584,      256,      512, c3fa3b0b75654b231d576c9596ea21ab
-0,      35840,      35840,      256,      512, c452c0ed97864edcc9f56e3577158040
-0,      36096,      36096,      256,      512, 978f9f65b0b22b27bfc44c944afa9316
-0,      36352,      36352,      256,      512, 947f93a8f88b694dff881ebdd05043db
-0,      36608,      36608,      256,      512, 90220d48c7d3d13e170cbefbceb296e4
-0,      36864,      36864,      256,      512, a4b2f929d327c34efc7444b8f781b263
-0,      37120,      37120,      256,      512, 284c391f3d416ed7c244f7abe3a95442
-0,      37376,      37376,      256,      512, 5d546c9b38a8562906f63e5118e7a42a
-0,      37632,      37632,      256,      512, c1533a9a8d624d29eb6e31ceca19b041
-0,      37888,      37888,      256,      512, f6763d4aca6038a9b1c5eb63a3206a94
-0,      38144,      38144,      256,      512, 00c4bb8af75f66134fec2af86fe4aaaf
-0,      38400,      38400,      256,      512, a2f97af985aca25803397fb2049acaff
-0,      38656,      38656,      256,      512, ac63d37e935b99d187d48c486f7d73e2
-0,      38912,      38912,      256,      512, 6a8e31b60e49716b01d893f3e05c1d27
-0,      39168,      39168,      256,      512, addfcfc86fa76a4fd146863eada22cc2
-0,      39424,      39424,      256,      512, caedc7bda3cd5b4982ed27deaa72af12
-0,      39680,      39680,      256,      512, 6c6747469cba6d8d9c5a5f91d22293cf
-0,      39936,      39936,      256,      512, 3acc6e3cd2c0c05d290d54e8d31cb72b
-0,      40192,      40192,      256,      512, da9689042a1f04eea3db3e174ca0206a
-0,      40448,      40448,      256,      512, 65cf3af1ee4c787695e114544c4a2c89
-0,      40704,      40704,      256,      512, 05bdd1c7c8deb818b3aa1340bbfc4743
-0,      40960,      40960,      256,      512, 2fa85432ac8f7f8f5ebada9dae3d415a
-0,      41216,      41216,      256,      512, d589f8c9f1288e3fca7beb3ade64a21a
-0,      41472,      41472,      256,      512, d7e4e599794e88ca1127fe9c1b1ddd19
-0,      41728,      41728,      256,      512, ff0210998f9bb5326db0bd564fc54090
-0,      41984,      41984,      256,      512, a78ae3d2f2004ad3ec29a2352cd4c070
-0,      42240,      42240,      256,      512, 0eaa1c17c73322e499b4e723601c44ea
-0,      42496,      42496,      256,      512, efbbb7b35a66abc7bc02609e2c6588f0
-0,      42752,      42752,      256,      512, c8fbcbfe96e6ccf72da7911a5fe13963
-0,      43008,      43008,      256,      512, 734649eb384ded7dca99fe15f4facec3
-0,      43264,      43264,      256,      512, f8891e71d8a91963a76934b61a900b28
-0,      43520,      43520,      256,      512, 9b052512c3b119799e37a2c5cc3839fd
-0,      43776,      43776,      256,      512, b051e36d60eaca5bcbe341524aef7fb5
-0,      44032,      44032,      256,      512, b1429d63d213a79087f67b31d843d8e9
-0,      44288,      44288,      256,      512, be21f83858f1f2094bc07acf1d1bea1a
-0,      44544,      44544,      256,      512, cd63cd74a590063f8621713fd33369ad
-0,      44800,      44800,      256,      512, d04f37f302e3409ad018ff7198ea3335
-0,      45056,      45056,      256,      512, 5dcc3589a327cbd338c95c900b7cd894
-0,      45312,      45312,      256,      512, f5298e11756b8bf9c593323ed9030687
-0,      45568,      45568,      256,      512, cf9be446df13df01ab753a6de9083f46
-0,      45824,      45824,      256,      512, 171e096e1b67fff5dbca915664810a1d
-0,      46080,      46080,      256,      512, 2a315457be38c35dd7c98f3c981cbdcd
-0,      46336,      46336,      256,      512, 754c900d2a0a8c49e00ed3232720c4c8
-0,      46592,      46592,      256,      512, fe1db9b06c51fd65b9e8bd2d19424fd5
-0,      46848,      46848,      256,      512, 980d569dd197a3034bb9b6169cb71116
-0,      47104,      47104,      256,      512, ff3c4216bf4dc5a3dc1907c7bdd080e3
-0,      47360,      47360,      256,      512, bf8dcbad2d962de3fa9637ebb9ebba43
-0,      47616,      47616,      256,      512, 3e3e8843483ab297caccc84308d3ce4e
-0,      47872,      47872,      128,      256, 9ed309a331dbd515324dc9de238b605d
+0,          0,          0,      512,     1024, e462a78273c42c955f4a8d0764504527
+0,        512,        512,      512,     1024, ba393ab5be48c94532afdc8ed87b3283
+0,       1024,       1024,      512,     1024, 171b2d9d2d65199d454d93b990c25569
+0,       1536,       1536,      512,     1024, 87a31ad0a9fdd539924b89727887076b
+0,       2048,       2048,      512,     1024, 395ac07a8bdfce0c34a82037a791fdb6
+0,       2560,       2560,      512,     1024, cb9ffa454b026c8af6752915469addf1
+0,       3072,       3072,      512,     1024, 88155f5c52947fa0a6b41a5d90e7fcce
+0,       3584,       3584,      512,     1024, ff2635e9dc7a20b05670999f127bc07a
+0,       4096,       4096,      512,     1024, 03a8996fe239611a45a8b64fd1f5d882
+0,       4608,       4608,      512,     1024, d6b10d56939d34e62f1971bc0c17c3c4
+0,       5120,       5120,      512,     1024, 04dc70271ae47a9df5ef11259a2ec314
+0,       5632,       5632,      512,     1024, 61f932baa9284cd07e72d63bb5a844a7
+0,       6144,       6144,      512,     1024, 55c33714127a668e4fa5e275ff3023b5
+0,       6656,       6656,      512,     1024, 02298949b93e5eb30ba9eaa76bd2299e
+0,       7168,       7168,      512,     1024, dd528441ed14ca22bbed83db99fd5a23
+0,       7680,       7680,      512,     1024, 83663bf9a55778b4eb74cc30d0963aa0
+0,       8192,       8192,      512,     1024, be7e4fc320362f7aad761ce3f7fe0051
+0,       8704,       8704,      512,     1024, 0e0b6617db79c1abcb8736370c3f35cb
+0,       9216,       9216,      512,     1024, 7a60a2f7d5fa039f32b8f9cfd37174a4
+0,       9728,       9728,      512,     1024, 8d969ae43be3324dfd7e532526a2e532
+0,      10240,      10240,      512,     1024, faec94304ef2b068c3646fb4050df32d
+0,      10752,      10752,      512,     1024, dd5cb976f0cb4d0586300eb278afe7df
+0,      11264,      11264,      512,     1024, 9ef158e354b255bfbe9ae699deeb6cd2
+0,      11776,      11776,      512,     1024, 78f83960bca8ef1d2dff318337a43acd
+0,      12288,      12288,      512,     1024, d300c855cc71548fb3504632c953e5a8
+0,      12800,      12800,      512,     1024, 362a91b8c7c84520fa5a032fb5d655da
+0,      13312,      13312,      512,     1024, ecdda6aa40d4e74b95f651b353fbe0c9
+0,      13824,      13824,      512,     1024, 97480f331929b7499bb2034e102db5e8
+0,      14336,      14336,      512,     1024, db1f24dbf0b4e6f37e7454248a6cb458
+0,      14848,      14848,      512,     1024, dd134658d79dcbc0e3c90d35217a478c
+0,      15360,      15360,      512,     1024, eeebe168cb9284e616e94465a42b4b70
+0,      15872,      15872,      512,     1024, d3bc5f37e4406aa35fca099ce469357e
+0,      16384,      16384,      512,     1024, ac586b76406bdaeb2de1da67f9b43b96
+0,      16896,      16896,      512,     1024, 4e38638c1c18bce1d5bd50d5a899ad47
+0,      17408,      17408,      512,     1024, 4ccb0e5466069d31e69d0eca1bfd7770
+0,      17920,      17920,      512,     1024, 5460ce0371a18bfe04d07e97b1505165
+0,      18432,      18432,      512,     1024, afcc80a0a55751444989772cf03c00f6
+0,      18944,      18944,      512,     1024, 82d91887dad6dd833af2e43cbea50fca
+0,      19456,      19456,      512,     1024, eec16553e6390cde2e8887eba380c5dc
+0,      19968,      19968,      512,     1024, da4d253b64d3af1d023609be94c6a1fb
+0,      20480,      20480,      512,     1024, b4bdbccf49d28f3a0941d51c70ec928f
+0,      20992,      20992,      512,     1024, f996421690602ad42ed2606bc7e19186
+0,      21504,      21504,      512,     1024, 77c9d3e35234baf68dea6f22234779eb
+0,      22016,      22016,      512,     1024, fc7a022367f119ccd647430f3693243f
+0,      22528,      22528,      512,     1024, fbb4f54f9a797d98070b47e3efc80d2a
+0,      23040,      23040,      512,     1024, b2ab75d5dc9c21eb68c7fc0262643ac2
+0,      23552,      23552,      512,     1024, 3bcb8448769d665ef9038a39ee4a1ed8
+0,      24064,      24064,      512,     1024, 055ad0df8165f2e6195ea65f6e8a286a
+0,      24576,      24576,      512,     1024, ac6748536e6e72ddac23ae33d7c75ea0
+0,      25088,      25088,      512,     1024, c354c93bf03cd6b51c7c1d1cac38aa0b
+0,      25600,      25600,      512,     1024, 8a5240d53b27f1f25e693396825e7a62
+0,      26112,      26112,      512,     1024, fcaa5da746908c44d7bdc11cc207e7b1
+0,      26624,      26624,      512,     1024, 5c763e916d082e322a218a46fed8d97a
+0,      27136,      27136,      512,     1024, 929e311cde16d8dca809f7f2c8291624
+0,      27648,      27648,      512,     1024, b227c362d210386e507609edd2aece76
+0,      28160,      28160,      512,     1024, cc245fb14472eca204be5424b19f877b
+0,      28672,      28672,      512,     1024, 8dc27fb25d2966b0afa9927f43304bdc
+0,      29184,      29184,      512,     1024, 779a8e9d3e0016a62e47be0d43b9b919
+0,      29696,      29696,      512,     1024, 69cf5779c7c4d3a5fb752f9d362e923a
+0,      30208,      30208,      512,     1024, 1e25170a7059435b2e99292e3327062a
+0,      30720,      30720,      512,     1024, 726ca49e2452f29e7fd3c10e7e5b74ea
+0,      31232,      31232,      512,     1024, 28b54a82590645db94f2283c6e82bfc9
+0,      31744,      31744,      512,     1024, 41eff313ad24559ef08f7738adac60b3
+0,      32256,      32256,      512,     1024, 374706cf8beab83c2ec7d562bc2a4087
+0,      32768,      32768,      512,     1024, 76c3bd97ff43f123962724bf60fd9e94
+0,      33280,      33280,      512,     1024, 9951f8ddc0c3deae2d87d2d3e9d25082
+0,      33792,      33792,      512,     1024, e2402cfc3b6d9dbe922bbc28b5add776
+0,      34304,      34304,      512,     1024, 68e1b60ab9f22c51b3983c77917f811a
+0,      34816,      34816,      512,     1024, 7bbad0851f35458718255a91fb069fd0
+0,      35328,      35328,      512,     1024, a7f31c52e1937df0f20ca6ee2c743c31
+0,      35840,      35840,      512,     1024, 1cd1c915fb0f587433631d55d8e0fdc6
+0,      36352,      36352,      512,     1024, 93a932f376ee5637e0fd71faf0a7eb73
+0,      36864,      36864,      512,     1024, 560411042955f0bcefe7f0ec8d2a2da9
+0,      37376,      37376,      512,     1024, bdab5b8cecc1ff7f61e6fd9c9312006e
+0,      37888,      37888,      512,     1024, fefbe79648fae7aa569ef25c424bf08a
+0,      38400,      38400,      512,     1024, 18d6ff61ea03c8657e990e92d85a90c7
+0,      38912,      38912,      512,     1024, e2b0c109583da836d0dafcf1a1dcceb2
+0,      39424,      39424,      512,     1024, c14386f47a4059ae2af6e119229575af
+0,      39936,      39936,      512,     1024, 769694900bd69b3a33ec5f51ae08762a
+0,      40448,      40448,      512,     1024, a822a51963cdb5d8ddedeb865db6ceb9
+0,      40960,      40960,      512,     1024, 35a85df3d6cf7ae305b7653d46ce044b
+0,      41472,      41472,      512,     1024, 61176c6dfe177bab444ed94a88767158
+0,      41984,      41984,      512,     1024, 5585e560a3440bb0d265fe0d7db8e02d
+0,      42496,      42496,      512,     1024, 4d4bc0401e9ed6c988b81c94ddcc8e5f
+0,      43008,      43008,      512,     1024, 3f2c7de6a995cf66232178ac68e9512c
+0,      43520,      43520,      512,     1024, 72d5cbd6702b152f125296300f207e55
+0,      44032,      44032,      512,     1024, 016bc6d70e84c1c5d8349a799ee75007
+0,      44544,      44544,      512,     1024, 0133d1cee2f626e9506e96d9d6e17681
+0,      45056,      45056,      512,     1024, dd8a9f7e42479d057241ded25a1bbb65
+0,      45568,      45568,      512,     1024, 797999a8a13cd82969f182afea0abd12
+0,      46080,      46080,      512,     1024, e9bc67da89b93fca6b9ed9be6016c1d5
+0,      46592,      46592,      512,     1024, 2431cea96bc5410d59b7ff8ccb93c211
+0,      47104,      47104,      512,     1024, b2de5f02c365584f4757c557993b7fcb
+0,      47616,      47616,      384,      768, 82f8baf07ca30dd6d5cc84dd29030ab4
diff --git a/tests/ref/fate/g726-encode-5bit b/tests/ref/fate/g726-encode-5bit
index 21a777b26b..4b6c4a3af6 100644
--- a/tests/ref/fate/g726-encode-5bit
+++ b/tests/ref/fate/g726-encode-5bit
@@ -7,191 +7,97 @@ 
 #sample_rate 0: 8000
 #channel_layout_name 0: mono
 #stream#, dts,        pts, duration,     size, hash
-0,          0,          0,      256,      512, e835d2231a27f8a18ed4e25e9c0d1540
-0,        256,        256,      256,      512, df76f833e51083e9552420eaee13141b
-0,        512,        512,      256,      512, 2584bcd2b294f33ba16a8558a9552900
-0,        768,        768,      256,      512, 7937c41808ba06773143fb82e69a8c46
-0,       1024,       1024,      256,      512, a10c020ef19864f968e7b2f0be104eec
-0,       1280,       1280,      256,      512, 1a83b18aeab10836461504c9985220b1
-0,       1536,       1536,      256,      512, c05c12dfa764b7e988cb0cf9e254859d
-0,       1792,       1792,      256,      512, 8d358e6bdbf925d99778686fd638ff53
-0,       2048,       2048,      256,      512, c09f63de013c58e9052facd57ec4c82a
-0,       2304,       2304,      256,      512, 93a92b69795bfd361645ef07dff143fe
-0,       2560,       2560,      256,      512, e7557271e8b19e27f156ed349d655675
-0,       2816,       2816,      256,      512, 347b3f90d2c742e5b2e513ce555541d2
-0,       3072,       3072,      256,      512, 962978e93f25555d259117aae1a1f3d6
-0,       3328,       3328,      256,      512, cc55b6fc4e361a1b45bf35bfb2d9f37c
-0,       3584,       3584,      256,      512, 508172380ebb3c6aaabd13af0a247274
-0,       3840,       3840,      256,      512, 9dc2e87518cc0ef88c232270904e7060
-0,       4096,       4096,      256,      512, e37c796827a9acec6fd305a58758dc01
-0,       4352,       4352,      256,      512, f563303e1d5715ef9cfbbd75e41fb6a7
-0,       4608,       4608,      256,      512, da56825b0c9abb78052b92031123f239
-0,       4864,       4864,      256,      512, 67d5d9a5df61907419c4812eb81b13c9
-0,       5120,       5120,      256,      512, bf835c8ba52aa2e4c70d44b7d1b6f799
-0,       5376,       5376,      256,      512, 59af5ac1305cf43ae4617d7e60817ba0
-0,       5632,       5632,      256,      512, 1ced87e23978f1bb11600456692e0f45
-0,       5888,       5888,      256,      512, e7ebac8c074b712fb0a4eba7da414e8e
-0,       6144,       6144,      256,      512, 263b92777221ceb2c7ff0a23a650c55a
-0,       6400,       6400,      256,      512, 0a38c39c6a475b332501781762cedee7
-0,       6656,       6656,      256,      512, 817cf55960ac090f05845e1b48ae7a74
-0,       6912,       6912,      256,      512, 48bab97504a9fccdff33f6ddf6e331f3
-0,       7168,       7168,      256,      512, d63ac4ae085ad0ca8ca0e6f6ae7fd585
-0,       7424,       7424,      256,      512, c76304152721d17537a1a50da1686dc6
-0,       7680,       7680,      256,      512, dcda5da0995a9abde300fdda19996e2b
-0,       7936,       7936,      256,      512, e27f0d778820c658e83a105b9a71aa1d
-0,       8192,       8192,      256,      512, 54edcf21f98d0318e0fb3d139b23c86f
-0,       8448,       8448,      256,      512, 35ac64f66209996ba615a139ec8dbf34
-0,       8704,       8704,      256,      512, 0eea4a904bcf284c2c93bad161dfba1e
-0,       8960,       8960,      256,      512, 19b000260730521e9e3edbabe7117388
-0,       9216,       9216,      256,      512, d4545f93f81af585500249b7608d9560
-0,       9472,       9472,      256,      512, 4e7246cff6a8d7c05d096b73ece17fb8
-0,       9728,       9728,      256,      512, 5f5308c625fee43a4a346271df5cace5
-0,       9984,       9984,      256,      512, 3c9307cbae4bf454d7f2a866cc704298
-0,      10240,      10240,      256,      512, 472f538766ce1f16b649c91739d9b5f4
-0,      10496,      10496,      256,      512, fb316c63062d7331068340b80dfba0ef
-0,      10752,      10752,      256,      512, 1be52e4f373d05b8a6bcac024dd68961
-0,      11008,      11008,      256,      512, 0bab43d1dad15b07e939a5d8de571dfa
-0,      11264,      11264,      256,      512, 7c2d1fe54d89d4fcf95757aedeb6ed44
-0,      11520,      11520,      256,      512, a5db3d10ecacceb2473c3afd99937c17
-0,      11776,      11776,      256,      512, aa0639e354801f31f36a3aeb123de459
-0,      12032,      12032,      256,      512, 7cdea6625bb01c2fa9e6e1f4016b64ea
-0,      12288,      12288,      256,      512, 5822e93fe22fd03e61588d757d6d6d6c
-0,      12544,      12544,      256,      512, 778213aaabbc3c7c5072822373828574
-0,      12800,      12800,      256,      512, e779c6183face53357152ace47663a99
-0,      13056,      13056,      256,      512, 1ca1fb8e763fdad5f7fa8d2f35f803ce
-0,      13312,      13312,      256,      512, 63c9984d4ff0cc96d7b26da7f5c939af
-0,      13568,      13568,      256,      512, 1832e7e5b011705a56bc8c29d129be72
-0,      13824,      13824,      256,      512, 46c1291bfb9d540dc8a856ee4a326135
-0,      14080,      14080,      256,      512, 336595dffbd6af4aeadacf427aa456c7
-0,      14336,      14336,      256,      512, edee4cc5b19461d49e611cc04821cdad
-0,      14592,      14592,      256,      512, e4f941624b9bec5420e61e0856f18abb
-0,      14848,      14848,      256,      512, 0e5f7aa284a215092f0c1660b4396baf
-0,      15104,      15104,      256,      512, bb5693cb98d52bb28c28cc9140800d90
-0,      15360,      15360,      256,      512, 1d67a58816c34f5e7668e3e76fd6b157
-0,      15616,      15616,      256,      512, 5de3a54e8fa0639bd82b284bf3407fbf
-0,      15872,      15872,      256,      512, e2468df2707d02912e65605e3704081f
-0,      16128,      16128,      256,      512, 6d1d16e827c6ae5b84ef4c97bc85cddf
-0,      16384,      16384,      256,      512, 06a536ffd9ad8d8fe5d344cad50626f5
-0,      16640,      16640,      256,      512, 330f03aa02c9b096a5d52e137f1e5c78
-0,      16896,      16896,      256,      512, 027c40719894b7fee39739b7a2411a0c
-0,      17152,      17152,      256,      512, 009e851e5f73457ac736b72c3723e4b1
-0,      17408,      17408,      256,      512, 6d777acc92ef2e2c36ac4d1bdcfe81b2
-0,      17664,      17664,      256,      512, bfc689b097d0d4d870dd1b643fc5ed0d
-0,      17920,      17920,      256,      512, a7c6ca3f6481a5b1a4a533dad9f6af29
-0,      18176,      18176,      256,      512, 0e7672283cc81d67e4eae1308096bccd
-0,      18432,      18432,      256,      512, 64265fa7570d99c9fee456b4e25300ac
-0,      18688,      18688,      256,      512, c4b99ac5cbdc2fa3763f1d8bbd7e4c4b
-0,      18944,      18944,      256,      512, 877437cb5c5e3e7d3ec4a76597338cbd
-0,      19200,      19200,      256,      512, b94510ee6631e0014d191e79e988e3ab
-0,      19456,      19456,      256,      512, 3f09826dd6ec49243d94ef6810c24630
-0,      19712,      19712,      256,      512, 1e7e99985ee8192ee5ed3e79e9762826
-0,      19968,      19968,      256,      512, 01ad5e1396f1c66e08b75ec4badf2e92
-0,      20224,      20224,      256,      512, 9734148ae45bc2bb277ffdb4e2befee0
-0,      20480,      20480,      256,      512, 4d7c9c7e6a181ca9e6e84d1f933117e9
-0,      20736,      20736,      256,      512, 9c5328fbeda9e6445d649e2c646ad400
-0,      20992,      20992,      256,      512, 2504f429e5da8a81568cc4966c9c761d
-0,      21248,      21248,      256,      512, 9d69c3cbeb46abfc33e33ec15ea0ca63
-0,      21504,      21504,      256,      512, bf7e9c9ab20a54dc032e7e4729dbd3dd
-0,      21760,      21760,      256,      512, ea2e8baa808b019e57bc7ee6455e654d
-0,      22016,      22016,      256,      512, 0e55fc99eb4c5b33702cfe638f7772cd
-0,      22272,      22272,      256,      512, d876800b0d50c86021722fdbd48b0c79
-0,      22528,      22528,      256,      512, 9985f8b81142841b6a6641b0ea5d63b8
-0,      22784,      22784,      256,      512, 0c2a884a002da94d3fc641eb0ce2720c
-0,      23040,      23040,      256,      512, 3e4b828369ac2787f615a463b60073f6
-0,      23296,      23296,      256,      512, 4c11b0985b7f4ce79946ce094fd17f9f
-0,      23552,      23552,      256,      512, 479b747401bab25824ee7ba4a7398d48
-0,      23808,      23808,      256,      512, d213587388c94d6be19e5f4f43951e93
-0,      24064,      24064,      256,      512, d3db67978152fb301df1ad67252e4d29
-0,      24320,      24320,      256,      512, 3fa1121a49877eda099458ed86fba884
-0,      24576,      24576,      256,      512, c68d0a6fa3464dac1e172c150fdc54d7
-0,      24832,      24832,      256,      512, 71375d62bbcdff1ffcca600820a504eb
-0,      25088,      25088,      256,      512, 512023030d922604db4a64d622447193
-0,      25344,      25344,      256,      512, c4f92fccff2c3f0decd4d19f18b76965
-0,      25600,      25600,      256,      512, 2eaa88ebe222e5a049bdcc66f046f524
-0,      25856,      25856,      256,      512, 653cbbda2dd87d4c9d06a60e84c1c1a0
-0,      26112,      26112,      256,      512, 2c1e73fd9740134713f54c98e6ad9f35
-0,      26368,      26368,      256,      512, 4c0697c97bb0333c176c344b596827ed
-0,      26624,      26624,      256,      512, e9987d211c7401b1e1ff77ead994dcf8
-0,      26880,      26880,      256,      512, d6b80c4347277cb7718189ee1e0c3147
-0,      27136,      27136,      256,      512, 0da23e3c27c092dd3766a3b9c2177501
-0,      27392,      27392,      256,      512, c1f5e0869b354e3835ecb260cab57f1c
-0,      27648,      27648,      256,      512, 57f6f7c70cc29588a0d3a3460fcbd509
-0,      27904,      27904,      256,      512, 99b9acd56dd667f8e407e1635653d4b4
-0,      28160,      28160,      256,      512, 1760f98327c9d00a9f6dce93d2b514dc
-0,      28416,      28416,      256,      512, 97a07abc22001b0b2e9c208302ba9e35
-0,      28672,      28672,      256,      512, 50e6f0c652b39f5e493dc0764ca7452d
-0,      28928,      28928,      256,      512, 07c6e099814513a0eea29afe64dd97ec
-0,      29184,      29184,      256,      512, 19b968229bd5482e6b38b07c0780ca0b
-0,      29440,      29440,      256,      512, 6fa01d4fef43ab004efc82c7ed380bc5
-0,      29696,      29696,      256,      512, 8d2ca8bfd3d263ea20f9b51f8d3477de
-0,      29952,      29952,      256,      512, 56675c745719ba059d1ae153f9e623a8
-0,      30208,      30208,      256,      512, bb2826d27b37f04f261a2a47b23104c6
-0,      30464,      30464,      256,      512, 8b15003af3297b2435394f65cbbf85e2
-0,      30720,      30720,      256,      512, d79347e1f77738e842cfa1a5088b712f
-0,      30976,      30976,      256,      512, a36e57aa1b900b4d06587068d86b0273
-0,      31232,      31232,      256,      512, 73cda2ad15faa4fa374c42c53f99c376
-0,      31488,      31488,      256,      512, d260d73f2a5856332075193a0c353f37
-0,      31744,      31744,      256,      512, c522890161fe7e1df96f94e818cee59f
-0,      32000,      32000,      256,      512, 964210c7aacafc50c06b8a424b45fe43
-0,      32256,      32256,      256,      512, 5d9e85cdf7af5549381ade067969caae
-0,      32512,      32512,      256,      512, 3a97199620d4d6bfa503dca94b63a8d6
-0,      32768,      32768,      256,      512, 98230b4bcc65283791233f3c2ffccd55
-0,      33024,      33024,      256,      512, 5a8309c49f9861924640827acd5ffb55
-0,      33280,      33280,      256,      512, 18447a5468ab8430eb1fb4820f2befe9
-0,      33536,      33536,      256,      512, 9c5a39fdd43865d2cdbed300984d5653
-0,      33792,      33792,      256,      512, 3179875a983115554ab962dbb342f9a7
-0,      34048,      34048,      256,      512, e9089435c41c80f1fe9a00044c7e6958
-0,      34304,      34304,      256,      512, e91a7f5b452774c89b6a57489cd2b1d7
-0,      34560,      34560,      256,      512, 65e43c76d2eb6263088e7ba0dba2e52f
-0,      34816,      34816,      256,      512, 95d350665ef972f758f479660b26879c
-0,      35072,      35072,      256,      512, a9f4d3f5c2df128d60414a03b7763bc6
-0,      35328,      35328,      256,      512, 9572fc0a40090d374087536bcc2aa0fc
-0,      35584,      35584,      256,      512, 1d41f66ec5f2ed30a30726a36482f1f8
-0,      35840,      35840,      256,      512, 2977fe74d746dafa4a815c84f755f198
-0,      36096,      36096,      256,      512, b86bb8f2905187242e2fb1f8ff04c707
-0,      36352,      36352,      256,      512, 1ed7ab00c7fd70aaf64435c6a3b5aa20
-0,      36608,      36608,      256,      512, fa968069c4f05732ecf6c4d6dca943f3
-0,      36864,      36864,      256,      512, a31853de44b45a2358a12ba542b6614e
-0,      37120,      37120,      256,      512, b4d1004fecd0222d9f4db556e96d65ac
-0,      37376,      37376,      256,      512, c4d50f7892b56ece9026ba4d02c4fd62
-0,      37632,      37632,      256,      512, 99b03aa35bf29545e1e3712249bf348a
-0,      37888,      37888,      256,      512, 8834d2d11bc371375400b85df2b97b67
-0,      38144,      38144,      256,      512, c9fb37b6be995882d3fbd44262b86146
-0,      38400,      38400,      256,      512, ed1dd22f383e4fb1fde7b12e6a7cdb53
-0,      38656,      38656,      256,      512, 0103ec85e8a783b33442ce9052a4c0e9
-0,      38912,      38912,      256,      512, fa6bc81c62fab64a8ceb78b456277b84
-0,      39168,      39168,      256,      512, a5c8f8e539a9867cd14cd248098fb37b
-0,      39424,      39424,      256,      512, 5cbfdf1a30c2dd661d41f34eaf8071f2
-0,      39680,      39680,      256,      512, 8f14f9fdc97ff6affefec91aa0d86afa
-0,      39936,      39936,      256,      512, 63ce4ea475c1aaf4ea13488fef2221fa
-0,      40192,      40192,      256,      512, 81494476c92360281d113b2cf5a31cf2
-0,      40448,      40448,      256,      512, 2c1e683b600b7213b173ebebdcd26648
-0,      40704,      40704,      256,      512, 71d8ee1c619d74255260a62bab31d788
-0,      40960,      40960,      256,      512, 2bb98f59e144d609ab642de3585c4453
-0,      41216,      41216,      256,      512, cc7ce26d45cf5541fd39d324df585315
-0,      41472,      41472,      256,      512, 66acfb9b1669518f6f4ad96010eda07c
-0,      41728,      41728,      256,      512, 1c7278436c1372ed2cbcc74d33b76184
-0,      41984,      41984,      256,      512, 5a01ddbe8478c98d2b9325073454b414
-0,      42240,      42240,      256,      512, 80682f9c52639c67fd960391e94ed774
-0,      42496,      42496,      256,      512, c160e399def0f766d2a4ffd0dd57b9c0
-0,      42752,      42752,      256,      512, 49545a8f3d4b06308df09031dc023532
-0,      43008,      43008,      256,      512, b6339f5d2bfa752d7330e7c1f13e60ec
-0,      43264,      43264,      256,      512, fd5040f24bdd348b18a66f118f294e1a
-0,      43520,      43520,      256,      512, f9cb1b9ae75530c7155b505742972414
-0,      43776,      43776,      256,      512, 53bc7d9157ffa3bd7ad1a4a9ce323304
-0,      44032,      44032,      256,      512, 5392675f6e7ea7adb32560f64086920a
-0,      44288,      44288,      256,      512, 5d602bfb78aaf046ad10785ef7c0e9f1
-0,      44544,      44544,      256,      512, def4937cf933716b81a5d9d6b1051bf3
-0,      44800,      44800,      256,      512, 92266671fbadab7b9129ab038bae0d40
-0,      45056,      45056,      256,      512, 82a548ccdc11a26b65ec584c6e7e4f1d
-0,      45312,      45312,      256,      512, 67515b721ef95856eb4360dff70d1423
-0,      45568,      45568,      256,      512, 524e66acdd554b5c046187d24561fdde
-0,      45824,      45824,      256,      512, 9d306aef39fd934530b0b486f109bf57
-0,      46080,      46080,      256,      512, 07fd46e926089b84cebcea265b3a088d
-0,      46336,      46336,      256,      512, e7b6a40f7eab1435dbde4ae8e42eda9a
-0,      46592,      46592,      256,      512, b4c974782a93d2ef127102c3956e89da
-0,      46848,      46848,      256,      512, 7c5a1f1119404da436f498817c794b97
-0,      47104,      47104,      256,      512, 436abf1baadbc798d2c1a3d6d7e28d8c
-0,      47360,      47360,      256,      512, 287c3b32496e2dbcefd12d5466405700
-0,      47616,      47616,      256,      512, 9de6c5094c145ff715bcd503f0b8a8e3
-0,      47872,      47872,      128,      256, 07f410f5d29697deb933cdb402936dd8
+0,          0,          0,      512,     1024, ab6267df27860c9bcdba558a50c0988d
+0,        512,        512,      512,     1024, af2196c341473db78e6c2e4cfd1a8d21
+0,       1024,       1024,      512,     1024, 53cfa8c9d8c7f2926fca43afbdc0d26c
+0,       1536,       1536,      512,     1024, 8093cdf5773b642ec1765c0aafddb051
+0,       2048,       2048,      512,     1024, 4b003dcd765d3e368f79d7e38ade32cf
+0,       2560,       2560,      512,     1024, 3a4758bce5961ff04f8c704142ebebc8
+0,       3072,       3072,      512,     1024, ee8fead2fac3d0baa79062f0a49331ca
+0,       3584,       3584,      512,     1024, b0a06d00b859880d289b3fd750c28dec
+0,       4096,       4096,      512,     1024, 7b6379c67b281a34417139fe42e226e5
+0,       4608,       4608,      512,     1024, 90f3bc217092008cea1bc551791ae700
+0,       5120,       5120,      512,     1024, 5b71772803e6986c414ce22c87e6ecf8
+0,       5632,       5632,      512,     1024, 40a5fca9babef811cf6e761afb5939e7
+0,       6144,       6144,      512,     1024, bc70f057460deb8b1a7c931f5a48992e
+0,       6656,       6656,      512,     1024, 667b1806df6b54bd0f2a31bcfab2a10d
+0,       7168,       7168,      512,     1024, 5fe10a9d1545c98d7041e399a6ef2955
+0,       7680,       7680,      512,     1024, f5d1c710dcd6a37429b0495297c28e57
+0,       8192,       8192,      512,     1024, 47a12e1ee5a8312d3678b5af6ccd518e
+0,       8704,       8704,      512,     1024, ad332bf2a088a1092768258e27d367f9
+0,       9216,       9216,      512,     1024, 83886417ff3a3824f5e2220843e32d3b
+0,       9728,       9728,      512,     1024, 7ae8647bac00538cf4236b90f1aa9366
+0,      10240,      10240,      512,     1024, cdb270595e84b90b6acdfdd9a2ba1a37
+0,      10752,      10752,      512,     1024, 04acd8f25ff949ebbf95b9615d8738b1
+0,      11264,      11264,      512,     1024, 20b70b37577405957fe12ac184321f31
+0,      11776,      11776,      512,     1024, 30565802e91d1b4aa0c81ba6e38834e2
+0,      12288,      12288,      512,     1024, 63184f854aa841f5b7e028f989dd9888
+0,      12800,      12800,      512,     1024, db99da7eea210dbe5c471769ee778243
+0,      13312,      13312,      512,     1024, 102ed94dc33336edc8e40e9f3506fb11
+0,      13824,      13824,      512,     1024, 6e235be168dda7f1040a7801ab7910e1
+0,      14336,      14336,      512,     1024, 6a312f7475a50a83770be92c77658949
+0,      14848,      14848,      512,     1024, eae205e2a7e352775df4c95dc900b6d4
+0,      15360,      15360,      512,     1024, dcc11ffc42452fb2d33ede04a19b4de3
+0,      15872,      15872,      512,     1024, eb59cbffb2a81efa5be24212a9633d6f
+0,      16384,      16384,      512,     1024, a6bb6298fa1894977477a4ebad96dd83
+0,      16896,      16896,      512,     1024, 04d1edc6b34b3ec8dadec6abe37b3c57
+0,      17408,      17408,      512,     1024, dd27a8c4f045a3b17e46d2a414d8daf7
+0,      17920,      17920,      512,     1024, 4440bf81a1c4784cdb955d47adba8583
+0,      18432,      18432,      512,     1024, 1c873e1a42fe3b977fd2d204b266b44c
+0,      18944,      18944,      512,     1024, b0a254fdd97abee541a7270e88fcbd70
+0,      19456,      19456,      512,     1024, 486f13c40e57ad2d43f5d8b41b9d0fcc
+0,      19968,      19968,      512,     1024, f42d5dd2f8c56d08b62d679b5a3b5003
+0,      20480,      20480,      512,     1024, 2c2f24321ea2f9994e1a9e6d8bf829a4
+0,      20992,      20992,      512,     1024, b960cd1c401204aef6bee12ea39f07b6
+0,      21504,      21504,      512,     1024, 99e201933f349bb938238bc59d5f88bc
+0,      22016,      22016,      512,     1024, d33a7972d71e07d3ce54c953f3956826
+0,      22528,      22528,      512,     1024, 409aee4caa8dee74583ee98019669e18
+0,      23040,      23040,      512,     1024, 766d532061eee2c6d85b2c62be171482
+0,      23552,      23552,      512,     1024, e438886eec0da85c37fbfdde5fd64967
+0,      24064,      24064,      512,     1024, 24b3eee61d48a4c39b2c2b495ed50c8a
+0,      24576,      24576,      512,     1024, 67095d3d5f7983eb63684c4f8abadac4
+0,      25088,      25088,      512,     1024, a16c1bc2fd1ba3a3197294e1d6feb2e9
+0,      25600,      25600,      512,     1024, 3d26798f81f6322d446fd2039adf4f4c
+0,      26112,      26112,      512,     1024, e3a54536687a8c5a81b1de8fa36f569d
+0,      26624,      26624,      512,     1024, 52a2cbe631fc8d80e80e485319660319
+0,      27136,      27136,      512,     1024, 01bd14c293a40fe903bf0dab4bdc1783
+0,      27648,      27648,      512,     1024, fbf3cd89b59352cc7313082e3afc2e89
+0,      28160,      28160,      512,     1024, 8d4a646a03cbb9eaf7db2507361546da
+0,      28672,      28672,      512,     1024, 5cd3b8746db5ae9b6e442638088b9284
+0,      29184,      29184,      512,     1024, 230c891c0dffc6900bbccfef4879163a
+0,      29696,      29696,      512,     1024, 34ba9ce0031b7dbf043a5e762990bcd5
+0,      30208,      30208,      512,     1024, be36f34aa9311a9877d0ea89808e6f33
+0,      30720,      30720,      512,     1024, bf9e611539fbcf5f5302da08029eed43
+0,      31232,      31232,      512,     1024, 349594372ee875423a196d9be2249eed
+0,      31744,      31744,      512,     1024, f1c2d8bb40775ddc77e87e8ceb2aa1ff
+0,      32256,      32256,      512,     1024, 7b98e1c5e7b48757f7c6a53eb018d8af
+0,      32768,      32768,      512,     1024, 8b3fe512729e3d0def32533f05444532
+0,      33280,      33280,      512,     1024, 12fa25f0a225075726f0649cff040150
+0,      33792,      33792,      512,     1024, 3cb977b01599bfda5dc1e8e810375f4b
+0,      34304,      34304,      512,     1024, 14c036df857610458f283fc520ccdc4d
+0,      34816,      34816,      512,     1024, 36cdbb7aab24e8d0240fe71a1641f1e9
+0,      35328,      35328,      512,     1024, 5908c9532e41eef90e9e585ca8bff130
+0,      35840,      35840,      512,     1024, 3f56d38a1c42513af89515f74ef7be18
+0,      36352,      36352,      512,     1024, 3fa866675b90653456acbc57202d5989
+0,      36864,      36864,      512,     1024, 5f621fbf00c7dcffc82288beb4458d71
+0,      37376,      37376,      512,     1024, 55ddf4d3bfb30a284d1f6ea6ff23833f
+0,      37888,      37888,      512,     1024, 335ee8c5e09a6d96436894a3b4591254
+0,      38400,      38400,      512,     1024, f01a522f6d001e4f99abfcfa09561075
+0,      38912,      38912,      512,     1024, a021f156f3ba7bb3f04e7f3834cbfcac
+0,      39424,      39424,      512,     1024, 4a21460b2bf78a3ebf7d156f00b0312c
+0,      39936,      39936,      512,     1024, 45dd21c73abae789e262c75844efbb70
+0,      40448,      40448,      512,     1024, 44fd9a05ea89a8d5f77ae2c90d3cd972
+0,      40960,      40960,      512,     1024, 91c873be3d92318cb6279ca7ba7e7b9c
+0,      41472,      41472,      512,     1024, 6d59162c1db29150f3dffc6a88aed17e
+0,      41984,      41984,      512,     1024, 130ac104c15837f74e9dad8fba23ca5a
+0,      42496,      42496,      512,     1024, 34e952af671ece425e1e950a83a349ee
+0,      43008,      43008,      512,     1024, f570f6338a0f6bfd43071d287f39b467
+0,      43520,      43520,      512,     1024, eb47276a97a034b32b6c65b1751e9b91
+0,      44032,      44032,      512,     1024, 86e0b5c83e9bbb1852d6e5bfacc69d47
+0,      44544,      44544,      512,     1024, 11b0ddc71548b29a3aa89e89b5ac2e28
+0,      45056,      45056,      512,     1024, bd40be07c166167d47beaa35969b08f9
+0,      45568,      45568,      512,     1024, 8649f5c492c8225fd6c028c8fb005320
+0,      46080,      46080,      512,     1024, df426ade299a220709a92d8dc1656431
+0,      46592,      46592,      512,     1024, a2d49def61a4886d703727c2a07237d0
+0,      47104,      47104,      512,     1024, fe170310e66967017683c97638f9cfde
+0,      47616,      47616,      384,      768, 853e07d9ce59336dae7d6e30f35ce09a
diff --git a/tests/ref/fate/matroska-move-cues-to-front b/tests/ref/fate/matroska-move-cues-to-front
index 30d034b8c5..1af5b1fab4 100644
--- a/tests/ref/fate/matroska-move-cues-to-front
+++ b/tests/ref/fate/matroska-move-cues-to-front
@@ -1,5 +1,5 @@ 
-c0cb74130c1a776cd076c50012572ca0 *tests/data/fate/matroska-move-cues-to-front.matroska
-23081433 tests/data/fate/matroska-move-cues-to-front.matroska
+deeb9e63e52e015e5f7f592f3417f385 *tests/data/fate/matroska-move-cues-to-front.matroska
+23056700 tests/data/fate/matroska-move-cues-to-front.matroska
 #tb 0: 1/1000
 #media_type 0: audio
 #codec_id 0: pcm_s24be
@@ -10,13 +10,7 @@  c0cb74130c1a776cd076c50012572ca0 *tests/data/fate/matroska-move-cues-to-front.ma
 #codec_id 1: pcm_s24le
 #sample_rate 1: 192000
 #channel_layout_name 1: stereo
-0,          0,          0,       21,    24576, 0xb53676cf
-1,          0,          0,       21,    24576, 0x96eb76cf
-0,         21,         21,       21,    24576, 0xf4ee36fe
-1,         21,         21,       21,    24576, 0xb35336fe
-0,         43,         43,       21,    24576, 0x58eb025c
-1,         43,         43,       21,    24576, 0x1ae9025c
-0,         64,         64,       21,    24576, 0x1a322ce1
-1,         64,         64,       21,    24576, 0xf11c2ce1
-0,         85,         85,       21,    24576, 0xfba5a91d
-1,         85,         85,       21,    24576, 0xef55a91d
+0,          0,          0,       85,    98304, 0x4acbdd0a
+1,          0,          0,       85,    98304, 0x83cddd0a
+0,         85,         85,       85,    98304, 0x8f975bc7
+1,         85,         85,       85,    98304, 0xdd315bc7
diff --git a/tests/ref/fate/mov-channel-description b/tests/ref/fate/mov-channel-description
index fc1c1509ea..d0e349ebf2 100644
--- a/tests/ref/fate/mov-channel-description
+++ b/tests/ref/fate/mov-channel-description
@@ -1,5 +1,5 @@ 
-cef306a5fa3bf45bcf174558d8ee6669 *tests/data/fate/mov-channel-description.mov
-4246172 tests/data/fate/mov-channel-description.mov
+38349ec7e5b2b440de54cfa383124359 *tests/data/fate/mov-channel-description.mov
+4239964 tests/data/fate/mov-channel-description.mov
 #tb 0: 1/44100
 #media_type 0: audio
 #codec_id 0: pcm_s16le
diff --git a/tests/ref/fate/mov-mp4-pcm b/tests/ref/fate/mov-mp4-pcm
index a40d16d3ac..6bae8f800b 100644
--- a/tests/ref/fate/mov-mp4-pcm
+++ b/tests/ref/fate/mov-mp4-pcm
@@ -1,5 +1,5 @@ 
-46624ccfca227727705222687cd90000 *tests/data/fate/mov-mp4-pcm.mp4
-10591857 tests/data/fate/mov-mp4-pcm.mp4
+99ad26b4054794e84bd962a1124cdccf *tests/data/fate/mov-mp4-pcm.mp4
+10587977 tests/data/fate/mov-mp4-pcm.mp4
 #tb 0: 1/44100
 #media_type 0: audio
 #codec_id 0: pcm_s16le
diff --git a/tests/ref/fate/mov-mp4-pcm-float b/tests/ref/fate/mov-mp4-pcm-float
index 16c51e4324..7da8fd2aba 100644
--- a/tests/ref/fate/mov-mp4-pcm-float
+++ b/tests/ref/fate/mov-mp4-pcm-float
@@ -1,4 +1,4 @@ 
-d9e7439757350ddb75d309918caf2de5 *tests/data/fate/mov-mp4-pcm-float.mp4
+7b998e652d5b7154e646a98bd2bf28a1 *tests/data/fate/mov-mp4-pcm-float.mp4
 3175929 tests/data/fate/mov-mp4-pcm-float.mp4
 #tb 0: 1/44100
 #media_type 0: audio
diff --git a/tests/ref/lavf/ast b/tests/ref/lavf/ast
index 2f2e8de46f..cf0de6d4dc 100644
--- a/tests/ref/lavf/ast
+++ b/tests/ref/lavf/ast
@@ -1,3 +1,3 @@ 
-07f5d23aa8bade984034f7005bd72947 *tests/data/lavf/lavf.ast
-177872 tests/data/lavf/lavf.ast
+2b5c8870fbf4e469e30161921d357064 *tests/data/lavf/lavf.ast
+176816 tests/data/lavf/lavf.ast
 tests/data/lavf/lavf.ast CRC=0xe61e3bd0
diff --git a/tests/ref/lavf/mov b/tests/ref/lavf/mov
index cfc64141aa..7e6a91f171 100644
--- a/tests/ref/lavf/mov
+++ b/tests/ref/lavf/mov
@@ -1,9 +1,9 @@ 
-11bd76730274924e02623172b82b5236 *tests/data/lavf/lavf.mov
-357539 tests/data/lavf/lavf.mov
+0714e32691dcf6b80c33fdfb81919c12 *tests/data/lavf/lavf.mov
+357371 tests/data/lavf/lavf.mov
 tests/data/lavf/lavf.mov CRC=0xbb2b949b
-9ed9ce9b636f85b62d3c3583ff84691e *tests/data/lavf/lavf.mov
-366793 tests/data/lavf/lavf.mov
+115919b9f9c15f6631d30a827ef10c9e *tests/data/lavf/lavf.mov
+366405 tests/data/lavf/lavf.mov
 tests/data/lavf/lavf.mov CRC=0xc75fc595
-c80c625ded376602e71d5aa6ac6fdb1c *tests/data/lavf/lavf.mov
-356921 tests/data/lavf/lavf.mov
+76729644f95883101d2134d117c1126a *tests/data/lavf/lavf.mov
+356753 tests/data/lavf/lavf.mov
 tests/data/lavf/lavf.mov CRC=0xbb2b949b
diff --git a/tests/ref/lavf/mov_rtphint b/tests/ref/lavf/mov_rtphint
index 79a760694f..1d5e720351 100644
--- a/tests/ref/lavf/mov_rtphint
+++ b/tests/ref/lavf/mov_rtphint
@@ -1,3 +1,3 @@ 
-7014419d8267c2751314303a8fb303c1 *tests/data/lavf/lavf.mov_rtphint
-366449 tests/data/lavf/lavf.mov_rtphint
+d3d0b0a15e2207e1d69b7de5c0ff845c *tests/data/lavf/lavf.mov_rtphint
+365745 tests/data/lavf/lavf.mov_rtphint
 tests/data/lavf/lavf.mov_rtphint CRC=0xbb2b949b
diff --git a/tests/ref/lavf/s16.voc b/tests/ref/lavf/s16.voc
index 9b17a4c9b9..f55bc9a23f 100644
--- a/tests/ref/lavf/s16.voc
+++ b/tests/ref/lavf/s16.voc
@@ -1,3 +1,3 @@ 
-db9fa22ff71992bd8b6cc80047223c92 *tests/data/lavf/lavf.s16.voc
-176615 tests/data/lavf/lavf.s16.voc
+1193331ea592eeae53aca59f7c95c747 *tests/data/lavf/lavf.s16.voc
+176483 tests/data/lavf/lavf.s16.voc
 tests/data/lavf/lavf.s16.voc CRC=0xe61e3bd0
diff --git a/tests/ref/lavf/smjpeg b/tests/ref/lavf/smjpeg
index 537c0847cb..7547fe34c5 100644
--- a/tests/ref/lavf/smjpeg
+++ b/tests/ref/lavf/smjpeg
@@ -1,3 +1,3 @@ 
-3fe90213ac4f5275eb85ad0a4e4bdb44 *tests/data/lavf/lavf.smjpeg
-728642 tests/data/lavf/lavf.smjpeg
-tests/data/lavf/lavf.smjpeg CRC=0x54bf6147
+f574f78207dee180a04cf7fb8c14d8ee *tests/data/lavf/lavf.smjpeg
+728246 tests/data/lavf/lavf.smjpeg
+tests/data/lavf/lavf.smjpeg CRC=0x54dd6147
diff --git a/tests/ref/lavf/voc b/tests/ref/lavf/voc
index 0ac933e2f1..ec81f76d63 100644
--- a/tests/ref/lavf/voc
+++ b/tests/ref/lavf/voc
@@ -1,3 +1,3 @@ 
-bb5ad96a5e1b35683d50bf18115db821 *tests/data/lavf/lavf.voc
-44305 tests/data/lavf/lavf.voc
+330aeb346d67d5db284d061b9d43961e *tests/data/lavf/lavf.voc
+44173 tests/data/lavf/lavf.voc
 tests/data/lavf/lavf.voc CRC=0x298fd284
diff --git a/tests/ref/seek/acodec-adpcm-ima_wav b/tests/ref/seek/acodec-adpcm-ima_wav
index 4009cb6a3f..b6517c5438 100644
--- a/tests/ref/seek/acodec-adpcm-ima_wav
+++ b/tests/ref/seek/acodec-adpcm-ima_wav
@@ -1,53 +1,53 @@ 
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     60 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     60 size:  4096
 ret: 0         st:-1 flags:0  ts:-1.000000
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     60 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     60 size:  4096
 ret: 0         st:-1 flags:1  ts: 1.894167
-ret: 0         st: 0 flags:1 dts: 1.856009 pts: 1.856009 pos:  29756 size:  1024
+ret: 0         st: 0 flags:1 dts: 1.856009 pts: 1.856009 pos:  29756 size:  4096
 ret: 0         st: 0 flags:0  ts: 0.788345
-ret: 0         st: 0 flags:1 dts: 0.831995 pts: 0.831995 pos:  13372 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.831995 pts: 0.831995 pos:  13372 size:  4096
 ret: 0         st: 0 flags:1  ts:-0.317506
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     60 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     60 size:  4096
 ret: 0         st:-1 flags:0  ts: 2.576668
-ret: 0         st: 0 flags:1 dts: 2.623991 pts: 2.623991 pos:  42044 size:  1024
+ret: 0         st: 0 flags:1 dts: 2.623991 pts: 2.623991 pos:  42044 size:  4096
 ret: 0         st:-1 flags:1  ts: 1.470835
-ret: 0         st: 0 flags:1 dts: 1.408005 pts: 1.408005 pos:  22588 size:  1024
+ret: 0         st: 0 flags:1 dts: 1.408005 pts: 1.408005 pos:  22588 size:  4096
 ret: 0         st: 0 flags:0  ts: 0.365011
-ret: 0         st: 0 flags:1 dts: 0.383991 pts: 0.383991 pos:   6204 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.383991 pts: 0.383991 pos:   6204 size:  4096
 ret: 0         st: 0 flags:1  ts:-0.740839
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     60 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     60 size:  4096
 ret: 0         st:-1 flags:0  ts: 2.153336
-ret: 0         st: 0 flags:1 dts: 2.176009 pts: 2.176009 pos:  34876 size:  1024
+ret: 0         st: 0 flags:1 dts: 2.176009 pts: 2.176009 pos:  34876 size:  4096
 ret: 0         st:-1 flags:1  ts: 1.047503
-ret: 0         st: 0 flags:1 dts: 1.023991 pts: 1.023991 pos:  16444 size:  1024
+ret: 0         st: 0 flags:1 dts: 1.023991 pts: 1.023991 pos:  16444 size:  4096
 ret: 0         st: 0 flags:0  ts:-0.058322
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     60 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     60 size:  4096
 ret: 0         st: 0 flags:1  ts: 2.835828
-ret: 0         st: 0 flags:1 dts: 2.816009 pts: 2.816009 pos:  45116 size:  1024
+ret: 0         st: 0 flags:1 dts: 2.816009 pts: 2.816009 pos:  45116 size:  4096
 ret: 0         st:-1 flags:0  ts: 1.730004
-ret: 0         st: 0 flags:1 dts: 1.791995 pts: 1.791995 pos:  28732 size:  1024
+ret: 0         st: 0 flags:1 dts: 1.791995 pts: 1.791995 pos:  28732 size:  4096
 ret: 0         st:-1 flags:1  ts: 0.624171
-ret: 0         st: 0 flags:1 dts: 0.576009 pts: 0.576009 pos:   9276 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.576009 pts: 0.576009 pos:   9276 size:  4096
 ret: 0         st: 0 flags:0  ts:-0.481655
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     60 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     60 size:  4096
 ret: 0         st: 0 flags:1  ts: 2.412494
-ret: 0         st: 0 flags:1 dts: 2.368005 pts: 2.368005 pos:  37948 size:  1024
+ret: 0         st: 0 flags:1 dts: 2.368005 pts: 2.368005 pos:  37948 size:  4096
 ret: 0         st:-1 flags:0  ts: 1.306672
-ret: 0         st: 0 flags:1 dts: 1.343991 pts: 1.343991 pos:  21564 size:  1024
+ret: 0         st: 0 flags:1 dts: 1.343991 pts: 1.343991 pos:  21564 size:  4096
 ret: 0         st:-1 flags:1  ts: 0.200839
-ret: 0         st: 0 flags:1 dts: 0.191995 pts: 0.191995 pos:   3132 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.191995 pts: 0.191995 pos:   3132 size:  4096
 ret: 0         st: 0 flags:0  ts:-0.904989
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     60 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     60 size:  4096
 ret: 0         st: 0 flags:1  ts: 1.989184
-ret: 0         st: 0 flags:1 dts: 1.983991 pts: 1.983991 pos:  31804 size:  1024
+ret: 0         st: 0 flags:1 dts: 1.983991 pts: 1.983991 pos:  31804 size:  4096
 ret: 0         st:-1 flags:0  ts: 0.883340
-ret: 0         st: 0 flags:1 dts: 0.896009 pts: 0.896009 pos:  14396 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.896009 pts: 0.896009 pos:  14396 size:  4096
 ret: 0         st:-1 flags:1  ts:-0.222493
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     60 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     60 size:  4096
 ret: 0         st: 0 flags:0  ts: 2.671678
-ret: 0         st: 0 flags:1 dts: 2.688005 pts: 2.688005 pos:  43068 size:  1024
+ret: 0         st: 0 flags:1 dts: 2.688005 pts: 2.688005 pos:  43068 size:  4096
 ret: 0         st: 0 flags:1  ts: 1.565850
-ret: 0         st: 0 flags:1 dts: 1.536009 pts: 1.536009 pos:  24636 size:  1024
+ret: 0         st: 0 flags:1 dts: 1.536009 pts: 1.536009 pos:  24636 size:  4096
 ret: 0         st:-1 flags:0  ts: 0.460008
-ret: 0         st: 0 flags:1 dts: 0.511995 pts: 0.511995 pos:   8252 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.511995 pts: 0.511995 pos:   8252 size:  4096
 ret: 0         st:-1 flags:1  ts:-0.645825
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     60 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     60 size:  4096
diff --git a/tests/ref/seek/acodec-adpcm-ima_wav-trellis b/tests/ref/seek/acodec-adpcm-ima_wav-trellis
index 4009cb6a3f..b6517c5438 100644
--- a/tests/ref/seek/acodec-adpcm-ima_wav-trellis
+++ b/tests/ref/seek/acodec-adpcm-ima_wav-trellis
@@ -1,53 +1,53 @@ 
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     60 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     60 size:  4096
 ret: 0         st:-1 flags:0  ts:-1.000000
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     60 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     60 size:  4096
 ret: 0         st:-1 flags:1  ts: 1.894167
-ret: 0         st: 0 flags:1 dts: 1.856009 pts: 1.856009 pos:  29756 size:  1024
+ret: 0         st: 0 flags:1 dts: 1.856009 pts: 1.856009 pos:  29756 size:  4096
 ret: 0         st: 0 flags:0  ts: 0.788345
-ret: 0         st: 0 flags:1 dts: 0.831995 pts: 0.831995 pos:  13372 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.831995 pts: 0.831995 pos:  13372 size:  4096
 ret: 0         st: 0 flags:1  ts:-0.317506
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     60 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     60 size:  4096
 ret: 0         st:-1 flags:0  ts: 2.576668
-ret: 0         st: 0 flags:1 dts: 2.623991 pts: 2.623991 pos:  42044 size:  1024
+ret: 0         st: 0 flags:1 dts: 2.623991 pts: 2.623991 pos:  42044 size:  4096
 ret: 0         st:-1 flags:1  ts: 1.470835
-ret: 0         st: 0 flags:1 dts: 1.408005 pts: 1.408005 pos:  22588 size:  1024
+ret: 0         st: 0 flags:1 dts: 1.408005 pts: 1.408005 pos:  22588 size:  4096
 ret: 0         st: 0 flags:0  ts: 0.365011
-ret: 0         st: 0 flags:1 dts: 0.383991 pts: 0.383991 pos:   6204 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.383991 pts: 0.383991 pos:   6204 size:  4096
 ret: 0         st: 0 flags:1  ts:-0.740839
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     60 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     60 size:  4096
 ret: 0         st:-1 flags:0  ts: 2.153336
-ret: 0         st: 0 flags:1 dts: 2.176009 pts: 2.176009 pos:  34876 size:  1024
+ret: 0         st: 0 flags:1 dts: 2.176009 pts: 2.176009 pos:  34876 size:  4096
 ret: 0         st:-1 flags:1  ts: 1.047503
-ret: 0         st: 0 flags:1 dts: 1.023991 pts: 1.023991 pos:  16444 size:  1024
+ret: 0         st: 0 flags:1 dts: 1.023991 pts: 1.023991 pos:  16444 size:  4096
 ret: 0         st: 0 flags:0  ts:-0.058322
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     60 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     60 size:  4096
 ret: 0         st: 0 flags:1  ts: 2.835828
-ret: 0         st: 0 flags:1 dts: 2.816009 pts: 2.816009 pos:  45116 size:  1024
+ret: 0         st: 0 flags:1 dts: 2.816009 pts: 2.816009 pos:  45116 size:  4096
 ret: 0         st:-1 flags:0  ts: 1.730004
-ret: 0         st: 0 flags:1 dts: 1.791995 pts: 1.791995 pos:  28732 size:  1024
+ret: 0         st: 0 flags:1 dts: 1.791995 pts: 1.791995 pos:  28732 size:  4096
 ret: 0         st:-1 flags:1  ts: 0.624171
-ret: 0         st: 0 flags:1 dts: 0.576009 pts: 0.576009 pos:   9276 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.576009 pts: 0.576009 pos:   9276 size:  4096
 ret: 0         st: 0 flags:0  ts:-0.481655
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     60 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     60 size:  4096
 ret: 0         st: 0 flags:1  ts: 2.412494
-ret: 0         st: 0 flags:1 dts: 2.368005 pts: 2.368005 pos:  37948 size:  1024
+ret: 0         st: 0 flags:1 dts: 2.368005 pts: 2.368005 pos:  37948 size:  4096
 ret: 0         st:-1 flags:0  ts: 1.306672
-ret: 0         st: 0 flags:1 dts: 1.343991 pts: 1.343991 pos:  21564 size:  1024
+ret: 0         st: 0 flags:1 dts: 1.343991 pts: 1.343991 pos:  21564 size:  4096
 ret: 0         st:-1 flags:1  ts: 0.200839
-ret: 0         st: 0 flags:1 dts: 0.191995 pts: 0.191995 pos:   3132 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.191995 pts: 0.191995 pos:   3132 size:  4096
 ret: 0         st: 0 flags:0  ts:-0.904989
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     60 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     60 size:  4096
 ret: 0         st: 0 flags:1  ts: 1.989184
-ret: 0         st: 0 flags:1 dts: 1.983991 pts: 1.983991 pos:  31804 size:  1024
+ret: 0         st: 0 flags:1 dts: 1.983991 pts: 1.983991 pos:  31804 size:  4096
 ret: 0         st:-1 flags:0  ts: 0.883340
-ret: 0         st: 0 flags:1 dts: 0.896009 pts: 0.896009 pos:  14396 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.896009 pts: 0.896009 pos:  14396 size:  4096
 ret: 0         st:-1 flags:1  ts:-0.222493
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     60 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     60 size:  4096
 ret: 0         st: 0 flags:0  ts: 2.671678
-ret: 0         st: 0 flags:1 dts: 2.688005 pts: 2.688005 pos:  43068 size:  1024
+ret: 0         st: 0 flags:1 dts: 2.688005 pts: 2.688005 pos:  43068 size:  4096
 ret: 0         st: 0 flags:1  ts: 1.565850
-ret: 0         st: 0 flags:1 dts: 1.536009 pts: 1.536009 pos:  24636 size:  1024
+ret: 0         st: 0 flags:1 dts: 1.536009 pts: 1.536009 pos:  24636 size:  4096
 ret: 0         st:-1 flags:0  ts: 0.460008
-ret: 0         st: 0 flags:1 dts: 0.511995 pts: 0.511995 pos:   8252 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.511995 pts: 0.511995 pos:   8252 size:  4096
 ret: 0         st:-1 flags:1  ts:-0.645825
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     60 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     60 size:  4096
diff --git a/tests/ref/seek/acodec-adpcm-ms b/tests/ref/seek/acodec-adpcm-ms
index e20f2a7d23..579be7f416 100644
--- a/tests/ref/seek/acodec-adpcm-ms
+++ b/tests/ref/seek/acodec-adpcm-ms
@@ -1,53 +1,53 @@ 
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     90 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     90 size:  4096
 ret: 0         st:-1 flags:0  ts:-1.000000
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     90 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     90 size:  4096
 ret: 0         st:-1 flags:1  ts: 1.894167
-ret: 0         st: 0 flags:1 dts: 1.856009 pts: 1.856009 pos:  29786 size:  1024
+ret: 0         st: 0 flags:1 dts: 1.856009 pts: 1.856009 pos:  29786 size:  4096
 ret: 0         st: 0 flags:0  ts: 0.788345
-ret: 0         st: 0 flags:1 dts: 0.831995 pts: 0.831995 pos:  13402 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.831995 pts: 0.831995 pos:  13402 size:  4096
 ret: 0         st: 0 flags:1  ts:-0.317506
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     90 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     90 size:  4096
 ret: 0         st:-1 flags:0  ts: 2.576668
-ret: 0         st: 0 flags:1 dts: 2.623991 pts: 2.623991 pos:  42074 size:  1024
+ret: 0         st: 0 flags:1 dts: 2.623991 pts: 2.623991 pos:  42074 size:  4096
 ret: 0         st:-1 flags:1  ts: 1.470835
-ret: 0         st: 0 flags:1 dts: 1.408005 pts: 1.408005 pos:  22618 size:  1024
+ret: 0         st: 0 flags:1 dts: 1.408005 pts: 1.408005 pos:  22618 size:  4096
 ret: 0         st: 0 flags:0  ts: 0.365011
-ret: 0         st: 0 flags:1 dts: 0.383991 pts: 0.383991 pos:   6234 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.383991 pts: 0.383991 pos:   6234 size:  4096
 ret: 0         st: 0 flags:1  ts:-0.740839
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     90 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     90 size:  4096
 ret: 0         st:-1 flags:0  ts: 2.153336
-ret: 0         st: 0 flags:1 dts: 2.176009 pts: 2.176009 pos:  34906 size:  1024
+ret: 0         st: 0 flags:1 dts: 2.176009 pts: 2.176009 pos:  34906 size:  4096
 ret: 0         st:-1 flags:1  ts: 1.047503
-ret: 0         st: 0 flags:1 dts: 1.023991 pts: 1.023991 pos:  16474 size:  1024
+ret: 0         st: 0 flags:1 dts: 1.023991 pts: 1.023991 pos:  16474 size:  4096
 ret: 0         st: 0 flags:0  ts:-0.058322
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     90 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     90 size:  4096
 ret: 0         st: 0 flags:1  ts: 2.835828
-ret: 0         st: 0 flags:1 dts: 2.816009 pts: 2.816009 pos:  45146 size:  1024
+ret: 0         st: 0 flags:1 dts: 2.816009 pts: 2.816009 pos:  45146 size:  4096
 ret: 0         st:-1 flags:0  ts: 1.730004
-ret: 0         st: 0 flags:1 dts: 1.791995 pts: 1.791995 pos:  28762 size:  1024
+ret: 0         st: 0 flags:1 dts: 1.791995 pts: 1.791995 pos:  28762 size:  4096
 ret: 0         st:-1 flags:1  ts: 0.624171
-ret: 0         st: 0 flags:1 dts: 0.576009 pts: 0.576009 pos:   9306 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.576009 pts: 0.576009 pos:   9306 size:  4096
 ret: 0         st: 0 flags:0  ts:-0.481655
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     90 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     90 size:  4096
 ret: 0         st: 0 flags:1  ts: 2.412494
-ret: 0         st: 0 flags:1 dts: 2.368005 pts: 2.368005 pos:  37978 size:  1024
+ret: 0         st: 0 flags:1 dts: 2.368005 pts: 2.368005 pos:  37978 size:  4096
 ret: 0         st:-1 flags:0  ts: 1.306672
-ret: 0         st: 0 flags:1 dts: 1.343991 pts: 1.343991 pos:  21594 size:  1024
+ret: 0         st: 0 flags:1 dts: 1.343991 pts: 1.343991 pos:  21594 size:  4096
 ret: 0         st:-1 flags:1  ts: 0.200839
-ret: 0         st: 0 flags:1 dts: 0.191995 pts: 0.191995 pos:   3162 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.191995 pts: 0.191995 pos:   3162 size:  4096
 ret: 0         st: 0 flags:0  ts:-0.904989
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     90 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     90 size:  4096
 ret: 0         st: 0 flags:1  ts: 1.989184
-ret: 0         st: 0 flags:1 dts: 1.983991 pts: 1.983991 pos:  31834 size:  1024
+ret: 0         st: 0 flags:1 dts: 1.983991 pts: 1.983991 pos:  31834 size:  4096
 ret: 0         st:-1 flags:0  ts: 0.883340
-ret: 0         st: 0 flags:1 dts: 0.896009 pts: 0.896009 pos:  14426 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.896009 pts: 0.896009 pos:  14426 size:  4096
 ret: 0         st:-1 flags:1  ts:-0.222493
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     90 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     90 size:  4096
 ret: 0         st: 0 flags:0  ts: 2.671678
-ret: 0         st: 0 flags:1 dts: 2.688005 pts: 2.688005 pos:  43098 size:  1024
+ret: 0         st: 0 flags:1 dts: 2.688005 pts: 2.688005 pos:  43098 size:  4096
 ret: 0         st: 0 flags:1  ts: 1.565850
-ret: 0         st: 0 flags:1 dts: 1.536009 pts: 1.536009 pos:  24666 size:  1024
+ret: 0         st: 0 flags:1 dts: 1.536009 pts: 1.536009 pos:  24666 size:  4096
 ret: 0         st:-1 flags:0  ts: 0.460008
-ret: 0         st: 0 flags:1 dts: 0.511995 pts: 0.511995 pos:   8282 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.511995 pts: 0.511995 pos:   8282 size:  4096
 ret: 0         st:-1 flags:1  ts:-0.645825
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     90 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     90 size:  4096
diff --git a/tests/ref/seek/acodec-adpcm-ms-trellis b/tests/ref/seek/acodec-adpcm-ms-trellis
index e20f2a7d23..579be7f416 100644
--- a/tests/ref/seek/acodec-adpcm-ms-trellis
+++ b/tests/ref/seek/acodec-adpcm-ms-trellis
@@ -1,53 +1,53 @@ 
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     90 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     90 size:  4096
 ret: 0         st:-1 flags:0  ts:-1.000000
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     90 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     90 size:  4096
 ret: 0         st:-1 flags:1  ts: 1.894167
-ret: 0         st: 0 flags:1 dts: 1.856009 pts: 1.856009 pos:  29786 size:  1024
+ret: 0         st: 0 flags:1 dts: 1.856009 pts: 1.856009 pos:  29786 size:  4096
 ret: 0         st: 0 flags:0  ts: 0.788345
-ret: 0         st: 0 flags:1 dts: 0.831995 pts: 0.831995 pos:  13402 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.831995 pts: 0.831995 pos:  13402 size:  4096
 ret: 0         st: 0 flags:1  ts:-0.317506
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     90 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     90 size:  4096
 ret: 0         st:-1 flags:0  ts: 2.576668
-ret: 0         st: 0 flags:1 dts: 2.623991 pts: 2.623991 pos:  42074 size:  1024
+ret: 0         st: 0 flags:1 dts: 2.623991 pts: 2.623991 pos:  42074 size:  4096
 ret: 0         st:-1 flags:1  ts: 1.470835
-ret: 0         st: 0 flags:1 dts: 1.408005 pts: 1.408005 pos:  22618 size:  1024
+ret: 0         st: 0 flags:1 dts: 1.408005 pts: 1.408005 pos:  22618 size:  4096
 ret: 0         st: 0 flags:0  ts: 0.365011
-ret: 0         st: 0 flags:1 dts: 0.383991 pts: 0.383991 pos:   6234 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.383991 pts: 0.383991 pos:   6234 size:  4096
 ret: 0         st: 0 flags:1  ts:-0.740839
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     90 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     90 size:  4096
 ret: 0         st:-1 flags:0  ts: 2.153336
-ret: 0         st: 0 flags:1 dts: 2.176009 pts: 2.176009 pos:  34906 size:  1024
+ret: 0         st: 0 flags:1 dts: 2.176009 pts: 2.176009 pos:  34906 size:  4096
 ret: 0         st:-1 flags:1  ts: 1.047503
-ret: 0         st: 0 flags:1 dts: 1.023991 pts: 1.023991 pos:  16474 size:  1024
+ret: 0         st: 0 flags:1 dts: 1.023991 pts: 1.023991 pos:  16474 size:  4096
 ret: 0         st: 0 flags:0  ts:-0.058322
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     90 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     90 size:  4096
 ret: 0         st: 0 flags:1  ts: 2.835828
-ret: 0         st: 0 flags:1 dts: 2.816009 pts: 2.816009 pos:  45146 size:  1024
+ret: 0         st: 0 flags:1 dts: 2.816009 pts: 2.816009 pos:  45146 size:  4096
 ret: 0         st:-1 flags:0  ts: 1.730004
-ret: 0         st: 0 flags:1 dts: 1.791995 pts: 1.791995 pos:  28762 size:  1024
+ret: 0         st: 0 flags:1 dts: 1.791995 pts: 1.791995 pos:  28762 size:  4096
 ret: 0         st:-1 flags:1  ts: 0.624171
-ret: 0         st: 0 flags:1 dts: 0.576009 pts: 0.576009 pos:   9306 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.576009 pts: 0.576009 pos:   9306 size:  4096
 ret: 0         st: 0 flags:0  ts:-0.481655
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     90 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     90 size:  4096
 ret: 0         st: 0 flags:1  ts: 2.412494
-ret: 0         st: 0 flags:1 dts: 2.368005 pts: 2.368005 pos:  37978 size:  1024
+ret: 0         st: 0 flags:1 dts: 2.368005 pts: 2.368005 pos:  37978 size:  4096
 ret: 0         st:-1 flags:0  ts: 1.306672
-ret: 0         st: 0 flags:1 dts: 1.343991 pts: 1.343991 pos:  21594 size:  1024
+ret: 0         st: 0 flags:1 dts: 1.343991 pts: 1.343991 pos:  21594 size:  4096
 ret: 0         st:-1 flags:1  ts: 0.200839
-ret: 0         st: 0 flags:1 dts: 0.191995 pts: 0.191995 pos:   3162 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.191995 pts: 0.191995 pos:   3162 size:  4096
 ret: 0         st: 0 flags:0  ts:-0.904989
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     90 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     90 size:  4096
 ret: 0         st: 0 flags:1  ts: 1.989184
-ret: 0         st: 0 flags:1 dts: 1.983991 pts: 1.983991 pos:  31834 size:  1024
+ret: 0         st: 0 flags:1 dts: 1.983991 pts: 1.983991 pos:  31834 size:  4096
 ret: 0         st:-1 flags:0  ts: 0.883340
-ret: 0         st: 0 flags:1 dts: 0.896009 pts: 0.896009 pos:  14426 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.896009 pts: 0.896009 pos:  14426 size:  4096
 ret: 0         st:-1 flags:1  ts:-0.222493
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     90 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     90 size:  4096
 ret: 0         st: 0 flags:0  ts: 2.671678
-ret: 0         st: 0 flags:1 dts: 2.688005 pts: 2.688005 pos:  43098 size:  1024
+ret: 0         st: 0 flags:1 dts: 2.688005 pts: 2.688005 pos:  43098 size:  4096
 ret: 0         st: 0 flags:1  ts: 1.565850
-ret: 0         st: 0 flags:1 dts: 1.536009 pts: 1.536009 pos:  24666 size:  1024
+ret: 0         st: 0 flags:1 dts: 1.536009 pts: 1.536009 pos:  24666 size:  4096
 ret: 0         st:-1 flags:0  ts: 0.460008
-ret: 0         st: 0 flags:1 dts: 0.511995 pts: 0.511995 pos:   8282 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.511995 pts: 0.511995 pos:   8282 size:  4096
 ret: 0         st:-1 flags:1  ts:-0.645825
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     90 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     90 size:  4096
diff --git a/tests/ref/seek/acodec-adpcm-yamaha b/tests/ref/seek/acodec-adpcm-yamaha
index 82bff65ee3..5cbfaed73e 100644
--- a/tests/ref/seek/acodec-adpcm-yamaha
+++ b/tests/ref/seek/acodec-adpcm-yamaha
@@ -1,53 +1,53 @@ 
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  4096
 ret: 0         st:-1 flags:0  ts:-1.000000
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  4096
 ret: 0         st:-1 flags:1  ts: 1.894167
-ret: 0         st: 0 flags:1 dts: 1.856009 pts: 1.856009 pos:  29754 size:  1024
+ret: 0         st: 0 flags:1 dts: 1.856009 pts: 1.856009 pos:  29754 size:  4096
 ret: 0         st: 0 flags:0  ts: 0.788345
-ret: 0         st: 0 flags:1 dts: 0.831995 pts: 0.831995 pos:  13370 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.831995 pts: 0.831995 pos:  13370 size:  4096
 ret: 0         st: 0 flags:1  ts:-0.317506
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  4096
 ret: 0         st:-1 flags:0  ts: 2.576668
-ret: 0         st: 0 flags:1 dts: 2.623991 pts: 2.623991 pos:  42042 size:  1024
+ret: 0         st: 0 flags:1 dts: 2.623991 pts: 2.623991 pos:  42042 size:  4096
 ret: 0         st:-1 flags:1  ts: 1.470835
-ret: 0         st: 0 flags:1 dts: 1.408005 pts: 1.408005 pos:  22586 size:  1024
+ret: 0         st: 0 flags:1 dts: 1.408005 pts: 1.408005 pos:  22586 size:  4096
 ret: 0         st: 0 flags:0  ts: 0.365011
-ret: 0         st: 0 flags:1 dts: 0.383991 pts: 0.383991 pos:   6202 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.383991 pts: 0.383991 pos:   6202 size:  4096
 ret: 0         st: 0 flags:1  ts:-0.740839
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  4096
 ret: 0         st:-1 flags:0  ts: 2.153336
-ret: 0         st: 0 flags:1 dts: 2.176009 pts: 2.176009 pos:  34874 size:  1024
+ret: 0         st: 0 flags:1 dts: 2.176009 pts: 2.176009 pos:  34874 size:  4096
 ret: 0         st:-1 flags:1  ts: 1.047503
-ret: 0         st: 0 flags:1 dts: 1.023991 pts: 1.023991 pos:  16442 size:  1024
+ret: 0         st: 0 flags:1 dts: 1.023991 pts: 1.023991 pos:  16442 size:  4096
 ret: 0         st: 0 flags:0  ts:-0.058322
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  4096
 ret: 0         st: 0 flags:1  ts: 2.835828
-ret: 0         st: 0 flags:1 dts: 2.816009 pts: 2.816009 pos:  45114 size:  1024
+ret: 0         st: 0 flags:1 dts: 2.816009 pts: 2.816009 pos:  45114 size:  4096
 ret: 0         st:-1 flags:0  ts: 1.730004
-ret: 0         st: 0 flags:1 dts: 1.791995 pts: 1.791995 pos:  28730 size:  1024
+ret: 0         st: 0 flags:1 dts: 1.791995 pts: 1.791995 pos:  28730 size:  4096
 ret: 0         st:-1 flags:1  ts: 0.624171
-ret: 0         st: 0 flags:1 dts: 0.576009 pts: 0.576009 pos:   9274 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.576009 pts: 0.576009 pos:   9274 size:  4096
 ret: 0         st: 0 flags:0  ts:-0.481655
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  4096
 ret: 0         st: 0 flags:1  ts: 2.412494
-ret: 0         st: 0 flags:1 dts: 2.368005 pts: 2.368005 pos:  37946 size:  1024
+ret: 0         st: 0 flags:1 dts: 2.368005 pts: 2.368005 pos:  37946 size:  4096
 ret: 0         st:-1 flags:0  ts: 1.306672
-ret: 0         st: 0 flags:1 dts: 1.343991 pts: 1.343991 pos:  21562 size:  1024
+ret: 0         st: 0 flags:1 dts: 1.343991 pts: 1.343991 pos:  21562 size:  4096
 ret: 0         st:-1 flags:1  ts: 0.200839
-ret: 0         st: 0 flags:1 dts: 0.191995 pts: 0.191995 pos:   3130 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.191995 pts: 0.191995 pos:   3130 size:  4096
 ret: 0         st: 0 flags:0  ts:-0.904989
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  4096
 ret: 0         st: 0 flags:1  ts: 1.989184
-ret: 0         st: 0 flags:1 dts: 1.983991 pts: 1.983991 pos:  31802 size:  1024
+ret: 0         st: 0 flags:1 dts: 1.983991 pts: 1.983991 pos:  31802 size:  4096
 ret: 0         st:-1 flags:0  ts: 0.883340
-ret: 0         st: 0 flags:1 dts: 0.896009 pts: 0.896009 pos:  14394 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.896009 pts: 0.896009 pos:  14394 size:  4096
 ret: 0         st:-1 flags:1  ts:-0.222493
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  4096
 ret: 0         st: 0 flags:0  ts: 2.671678
-ret: 0         st: 0 flags:1 dts: 2.688005 pts: 2.688005 pos:  43066 size:  1024
+ret: 0         st: 0 flags:1 dts: 2.688005 pts: 2.688005 pos:  43066 size:  4096
 ret: 0         st: 0 flags:1  ts: 1.565850
-ret: 0         st: 0 flags:1 dts: 1.536009 pts: 1.536009 pos:  24634 size:  1024
+ret: 0         st: 0 flags:1 dts: 1.536009 pts: 1.536009 pos:  24634 size:  4096
 ret: 0         st:-1 flags:0  ts: 0.460008
-ret: 0         st: 0 flags:1 dts: 0.511995 pts: 0.511995 pos:   8250 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.511995 pts: 0.511995 pos:   8250 size:  4096
 ret: 0         st:-1 flags:1  ts:-0.645825
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  4096
diff --git a/tests/ref/seek/acodec-adpcm-yamaha-trellis b/tests/ref/seek/acodec-adpcm-yamaha-trellis
index 82bff65ee3..5cbfaed73e 100644
--- a/tests/ref/seek/acodec-adpcm-yamaha-trellis
+++ b/tests/ref/seek/acodec-adpcm-yamaha-trellis
@@ -1,53 +1,53 @@ 
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  4096
 ret: 0         st:-1 flags:0  ts:-1.000000
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  4096
 ret: 0         st:-1 flags:1  ts: 1.894167
-ret: 0         st: 0 flags:1 dts: 1.856009 pts: 1.856009 pos:  29754 size:  1024
+ret: 0         st: 0 flags:1 dts: 1.856009 pts: 1.856009 pos:  29754 size:  4096
 ret: 0         st: 0 flags:0  ts: 0.788345
-ret: 0         st: 0 flags:1 dts: 0.831995 pts: 0.831995 pos:  13370 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.831995 pts: 0.831995 pos:  13370 size:  4096
 ret: 0         st: 0 flags:1  ts:-0.317506
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  4096
 ret: 0         st:-1 flags:0  ts: 2.576668
-ret: 0         st: 0 flags:1 dts: 2.623991 pts: 2.623991 pos:  42042 size:  1024
+ret: 0         st: 0 flags:1 dts: 2.623991 pts: 2.623991 pos:  42042 size:  4096
 ret: 0         st:-1 flags:1  ts: 1.470835
-ret: 0         st: 0 flags:1 dts: 1.408005 pts: 1.408005 pos:  22586 size:  1024
+ret: 0         st: 0 flags:1 dts: 1.408005 pts: 1.408005 pos:  22586 size:  4096
 ret: 0         st: 0 flags:0  ts: 0.365011
-ret: 0         st: 0 flags:1 dts: 0.383991 pts: 0.383991 pos:   6202 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.383991 pts: 0.383991 pos:   6202 size:  4096
 ret: 0         st: 0 flags:1  ts:-0.740839
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  4096
 ret: 0         st:-1 flags:0  ts: 2.153336
-ret: 0         st: 0 flags:1 dts: 2.176009 pts: 2.176009 pos:  34874 size:  1024
+ret: 0         st: 0 flags:1 dts: 2.176009 pts: 2.176009 pos:  34874 size:  4096
 ret: 0         st:-1 flags:1  ts: 1.047503
-ret: 0         st: 0 flags:1 dts: 1.023991 pts: 1.023991 pos:  16442 size:  1024
+ret: 0         st: 0 flags:1 dts: 1.023991 pts: 1.023991 pos:  16442 size:  4096
 ret: 0         st: 0 flags:0  ts:-0.058322
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  4096
 ret: 0         st: 0 flags:1  ts: 2.835828
-ret: 0         st: 0 flags:1 dts: 2.816009 pts: 2.816009 pos:  45114 size:  1024
+ret: 0         st: 0 flags:1 dts: 2.816009 pts: 2.816009 pos:  45114 size:  4096
 ret: 0         st:-1 flags:0  ts: 1.730004
-ret: 0         st: 0 flags:1 dts: 1.791995 pts: 1.791995 pos:  28730 size:  1024
+ret: 0         st: 0 flags:1 dts: 1.791995 pts: 1.791995 pos:  28730 size:  4096
 ret: 0         st:-1 flags:1  ts: 0.624171
-ret: 0         st: 0 flags:1 dts: 0.576009 pts: 0.576009 pos:   9274 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.576009 pts: 0.576009 pos:   9274 size:  4096
 ret: 0         st: 0 flags:0  ts:-0.481655
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  4096
 ret: 0         st: 0 flags:1  ts: 2.412494
-ret: 0         st: 0 flags:1 dts: 2.368005 pts: 2.368005 pos:  37946 size:  1024
+ret: 0         st: 0 flags:1 dts: 2.368005 pts: 2.368005 pos:  37946 size:  4096
 ret: 0         st:-1 flags:0  ts: 1.306672
-ret: 0         st: 0 flags:1 dts: 1.343991 pts: 1.343991 pos:  21562 size:  1024
+ret: 0         st: 0 flags:1 dts: 1.343991 pts: 1.343991 pos:  21562 size:  4096
 ret: 0         st:-1 flags:1  ts: 0.200839
-ret: 0         st: 0 flags:1 dts: 0.191995 pts: 0.191995 pos:   3130 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.191995 pts: 0.191995 pos:   3130 size:  4096
 ret: 0         st: 0 flags:0  ts:-0.904989
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  4096
 ret: 0         st: 0 flags:1  ts: 1.989184
-ret: 0         st: 0 flags:1 dts: 1.983991 pts: 1.983991 pos:  31802 size:  1024
+ret: 0         st: 0 flags:1 dts: 1.983991 pts: 1.983991 pos:  31802 size:  4096
 ret: 0         st:-1 flags:0  ts: 0.883340
-ret: 0         st: 0 flags:1 dts: 0.896009 pts: 0.896009 pos:  14394 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.896009 pts: 0.896009 pos:  14394 size:  4096
 ret: 0         st:-1 flags:1  ts:-0.222493
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  4096
 ret: 0         st: 0 flags:0  ts: 2.671678
-ret: 0         st: 0 flags:1 dts: 2.688005 pts: 2.688005 pos:  43066 size:  1024
+ret: 0         st: 0 flags:1 dts: 2.688005 pts: 2.688005 pos:  43066 size:  4096
 ret: 0         st: 0 flags:1  ts: 1.565850
-ret: 0         st: 0 flags:1 dts: 1.536009 pts: 1.536009 pos:  24634 size:  1024
+ret: 0         st: 0 flags:1 dts: 1.536009 pts: 1.536009 pos:  24634 size:  4096
 ret: 0         st:-1 flags:0  ts: 0.460008
-ret: 0         st: 0 flags:1 dts: 0.511995 pts: 0.511995 pos:   8250 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.511995 pts: 0.511995 pos:   8250 size:  4096
 ret: 0         st:-1 flags:1  ts:-0.645825
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  4096
diff --git a/tests/ref/seek/acodec-pcm-alaw b/tests/ref/seek/acodec-pcm-alaw
index 3f9e91de1e..dacf75d365 100644
--- a/tests/ref/seek/acodec-pcm-alaw
+++ b/tests/ref/seek/acodec-pcm-alaw
@@ -1,53 +1,53 @@ 
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  8192
 ret: 0         st:-1 flags:0  ts:-1.000000
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  8192
 ret: 0         st:-1 flags:1  ts: 1.894167
-ret: 0         st: 0 flags:1 dts: 1.894172 pts: 1.894172 pos: 167124 size:  2048
+ret: 0         st: 0 flags:1 dts: 1.894172 pts: 1.894172 pos: 167124 size:  8192
 ret: 0         st: 0 flags:0  ts: 0.788345
-ret: 0         st: 0 flags:1 dts: 0.788345 pts: 0.788345 pos:  69590 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.788345 pts: 0.788345 pos:  69590 size:  8192
 ret: 0         st: 0 flags:1  ts:-0.317506
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  8192
 ret: 0         st:-1 flags:0  ts: 2.576668
-ret: 0         st: 0 flags:1 dts: 2.576667 pts: 2.576667 pos: 227320 size:  2048
+ret: 0         st: 0 flags:1 dts: 2.576667 pts: 2.576667 pos: 227320 size:  8192
 ret: 0         st:-1 flags:1  ts: 1.470835
-ret: 0         st: 0 flags:1 dts: 1.470839 pts: 1.470839 pos: 129786 size:  2048
+ret: 0         st: 0 flags:1 dts: 1.470839 pts: 1.470839 pos: 129786 size:  8192
 ret: 0         st: 0 flags:0  ts: 0.365011
-ret: 0         st: 0 flags:1 dts: 0.365011 pts: 0.365011 pos:  32252 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.365011 pts: 0.365011 pos:  32252 size:  8192
 ret: 0         st: 0 flags:1  ts:-0.740839
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  8192
 ret: 0         st:-1 flags:0  ts: 2.153336
-ret: 0         st: 0 flags:1 dts: 2.153333 pts: 2.153333 pos: 189982 size:  2048
+ret: 0         st: 0 flags:1 dts: 2.153333 pts: 2.153333 pos: 189982 size:  8192
 ret: 0         st:-1 flags:1  ts: 1.047503
-ret: 0         st: 0 flags:1 dts: 1.047506 pts: 1.047506 pos:  92448 size:  2048
+ret: 0         st: 0 flags:1 dts: 1.047506 pts: 1.047506 pos:  92448 size:  8192
 ret: 0         st: 0 flags:0  ts:-0.058322
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  8192
 ret: 0         st: 0 flags:1  ts: 2.835828
-ret: 0         st: 0 flags:1 dts: 2.835828 pts: 2.835828 pos: 250178 size:  2048
+ret: 0         st: 0 flags:1 dts: 2.835828 pts: 2.835828 pos: 250178 size:  8192
 ret: 0         st:-1 flags:0  ts: 1.730004
-ret: 0         st: 0 flags:1 dts: 1.730000 pts: 1.730000 pos: 152644 size:  2048
+ret: 0         st: 0 flags:1 dts: 1.730000 pts: 1.730000 pos: 152644 size:  8192
 ret: 0         st:-1 flags:1  ts: 0.624171
-ret: 0         st: 0 flags:1 dts: 0.624172 pts: 0.624172 pos:  55110 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.624172 pts: 0.624172 pos:  55110 size:  8192
 ret: 0         st: 0 flags:0  ts:-0.481655
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  8192
 ret: 0         st: 0 flags:1  ts: 2.412494
-ret: 0         st: 0 flags:1 dts: 2.412494 pts: 2.412494 pos: 212840 size:  2048
+ret: 0         st: 0 flags:1 dts: 2.412494 pts: 2.412494 pos: 212840 size:  8192
 ret: 0         st:-1 flags:0  ts: 1.306672
-ret: 0         st: 0 flags:1 dts: 1.306667 pts: 1.306667 pos: 115306 size:  2048
+ret: 0         st: 0 flags:1 dts: 1.306667 pts: 1.306667 pos: 115306 size:  8192
 ret: 0         st:-1 flags:1  ts: 0.200839
-ret: 0         st: 0 flags:1 dts: 0.200839 pts: 0.200839 pos:  17772 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.200839 pts: 0.200839 pos:  17772 size:  8192
 ret: 0         st: 0 flags:0  ts:-0.904989
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  8192
 ret: 0         st: 0 flags:1  ts: 1.989184
-ret: 0         st: 0 flags:1 dts: 1.989184 pts: 1.989184 pos: 175504 size:  2048
+ret: 0         st: 0 flags:1 dts: 1.989184 pts: 1.989184 pos: 175504 size:  8192
 ret: 0         st:-1 flags:0  ts: 0.883340
-ret: 0         st: 0 flags:1 dts: 0.883333 pts: 0.883333 pos:  77968 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.883333 pts: 0.883333 pos:  77968 size:  8192
 ret: 0         st:-1 flags:1  ts:-0.222493
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  8192
 ret: 0         st: 0 flags:0  ts: 2.671678
-ret: 0         st: 0 flags:1 dts: 2.671678 pts: 2.671678 pos: 235700 size:  2048
+ret: 0         st: 0 flags:1 dts: 2.671678 pts: 2.671678 pos: 235700 size:  8192
 ret: 0         st: 0 flags:1  ts: 1.565850
-ret: 0         st: 0 flags:1 dts: 1.565850 pts: 1.565850 pos: 138166 size:  2048
+ret: 0         st: 0 flags:1 dts: 1.565850 pts: 1.565850 pos: 138166 size:  8192
 ret: 0         st:-1 flags:0  ts: 0.460008
-ret: 0         st: 0 flags:1 dts: 0.460000 pts: 0.460000 pos:  40630 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.460000 pts: 0.460000 pos:  40630 size:  8192
 ret: 0         st:-1 flags:1  ts:-0.645825
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  8192
diff --git a/tests/ref/seek/acodec-pcm-f32be b/tests/ref/seek/acodec-pcm-f32be
index b838262b58..0da3c89633 100644
--- a/tests/ref/seek/acodec-pcm-f32be
+++ b/tests/ref/seek/acodec-pcm-f32be
@@ -1,53 +1,53 @@ 
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     32 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     32 size: 32768
 ret: 0         st:-1 flags:0  ts:-1.000000
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     32 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     32 size: 32768
 ret: 0         st:-1 flags:1  ts: 1.894167
-ret: 0         st: 0 flags:1 dts: 1.894172 pts: 1.894172 pos: 668296 size:  8192
+ret: 0         st: 0 flags:1 dts: 1.894172 pts: 1.894172 pos: 668296 size: 32768
 ret: 0         st: 0 flags:0  ts: 0.788345
-ret: 0         st: 0 flags:1 dts: 0.788345 pts: 0.788345 pos: 278160 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.788345 pts: 0.788345 pos: 278160 size: 32768
 ret: 0         st: 0 flags:1  ts:-0.317506
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     32 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     32 size: 32768
 ret: 0         st:-1 flags:0  ts: 2.576668
-ret: 0         st: 0 flags:1 dts: 2.576667 pts: 2.576667 pos: 909080 size:  8192
+ret: 0         st: 0 flags:1 dts: 2.576667 pts: 2.576667 pos: 909080 size: 32768
 ret: 0         st:-1 flags:1  ts: 1.470835
-ret: 0         st: 0 flags:1 dts: 1.470839 pts: 1.470839 pos: 518944 size:  8192
+ret: 0         st: 0 flags:1 dts: 1.470839 pts: 1.470839 pos: 518944 size: 32768
 ret: 0         st: 0 flags:0  ts: 0.365011
-ret: 0         st: 0 flags:1 dts: 0.365011 pts: 0.365011 pos: 128808 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.365011 pts: 0.365011 pos: 128808 size: 32768
 ret: 0         st: 0 flags:1  ts:-0.740839
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     32 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     32 size: 32768
 ret: 0         st:-1 flags:0  ts: 2.153336
-ret: 0         st: 0 flags:1 dts: 2.153333 pts: 2.153333 pos: 759728 size:  8192
+ret: 0         st: 0 flags:1 dts: 2.153333 pts: 2.153333 pos: 759728 size: 32768
 ret: 0         st:-1 flags:1  ts: 1.047503
-ret: 0         st: 0 flags:1 dts: 1.047506 pts: 1.047506 pos: 369592 size:  8192
+ret: 0         st: 0 flags:1 dts: 1.047506 pts: 1.047506 pos: 369592 size: 32768
 ret: 0         st: 0 flags:0  ts:-0.058322
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     32 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     32 size: 32768
 ret: 0         st: 0 flags:1  ts: 2.835828
-ret: 0         st: 0 flags:1 dts: 2.835828 pts: 2.835828 pos:1000512 size:  8192
+ret: 0         st: 0 flags:1 dts: 2.835828 pts: 2.835828 pos:1000512 size: 32768
 ret: 0         st:-1 flags:0  ts: 1.730004
-ret: 0         st: 0 flags:1 dts: 1.730000 pts: 1.730000 pos: 610376 size:  8192
+ret: 0         st: 0 flags:1 dts: 1.730000 pts: 1.730000 pos: 610376 size: 32768
 ret: 0         st:-1 flags:1  ts: 0.624171
-ret: 0         st: 0 flags:1 dts: 0.624172 pts: 0.624172 pos: 220240 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.624172 pts: 0.624172 pos: 220240 size: 32768
 ret: 0         st: 0 flags:0  ts:-0.481655
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     32 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     32 size: 32768
 ret: 0         st: 0 flags:1  ts: 2.412494
-ret: 0         st: 0 flags:1 dts: 2.412494 pts: 2.412494 pos: 851160 size:  8192
+ret: 0         st: 0 flags:1 dts: 2.412494 pts: 2.412494 pos: 851160 size: 32768
 ret: 0         st:-1 flags:0  ts: 1.306672
-ret: 0         st: 0 flags:1 dts: 1.306667 pts: 1.306667 pos: 461024 size:  8192
+ret: 0         st: 0 flags:1 dts: 1.306667 pts: 1.306667 pos: 461024 size: 32768
 ret: 0         st:-1 flags:1  ts: 0.200839
-ret: 0         st: 0 flags:1 dts: 0.200839 pts: 0.200839 pos:  70888 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.200839 pts: 0.200839 pos:  70888 size: 32768
 ret: 0         st: 0 flags:0  ts:-0.904989
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     32 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     32 size: 32768
 ret: 0         st: 0 flags:1  ts: 1.989184
-ret: 0         st: 0 flags:1 dts: 1.989184 pts: 1.989184 pos: 701816 size:  8192
+ret: 0         st: 0 flags:1 dts: 1.989184 pts: 1.989184 pos: 701816 size: 32768
 ret: 0         st:-1 flags:0  ts: 0.883340
-ret: 0         st: 0 flags:1 dts: 0.883333 pts: 0.883333 pos: 311672 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.883333 pts: 0.883333 pos: 311672 size: 32768
 ret: 0         st:-1 flags:1  ts:-0.222493
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     32 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     32 size: 32768
 ret: 0         st: 0 flags:0  ts: 2.671678
-ret: 0         st: 0 flags:1 dts: 2.671678 pts: 2.671678 pos: 942600 size:  8192
+ret: 0         st: 0 flags:1 dts: 2.671678 pts: 2.671678 pos: 942600 size: 32768
 ret: 0         st: 0 flags:1  ts: 1.565850
-ret: 0         st: 0 flags:1 dts: 1.565850 pts: 1.565850 pos: 552464 size:  8192
+ret: 0         st: 0 flags:1 dts: 1.565850 pts: 1.565850 pos: 552464 size: 32768
 ret: 0         st:-1 flags:0  ts: 0.460008
-ret: 0         st: 0 flags:1 dts: 0.460000 pts: 0.460000 pos: 162320 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.460000 pts: 0.460000 pos: 162320 size: 32768
 ret: 0         st:-1 flags:1  ts:-0.645825
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     32 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     32 size: 32768
diff --git a/tests/ref/seek/acodec-pcm-f32le b/tests/ref/seek/acodec-pcm-f32le
index 0a16dd2fa8..145d9fc9ad 100644
--- a/tests/ref/seek/acodec-pcm-f32le
+++ b/tests/ref/seek/acodec-pcm-f32le
@@ -1,53 +1,53 @@ 
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size: 32768
 ret: 0         st:-1 flags:0  ts:-1.000000
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size: 32768
 ret: 0         st:-1 flags:1  ts: 1.894167
-ret: 0         st: 0 flags:1 dts: 1.894172 pts: 1.894172 pos: 668322 size:  8192
+ret: 0         st: 0 flags:1 dts: 1.894172 pts: 1.894172 pos: 668322 size: 32768
 ret: 0         st: 0 flags:0  ts: 0.788345
-ret: 0         st: 0 flags:1 dts: 0.788345 pts: 0.788345 pos: 278186 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.788345 pts: 0.788345 pos: 278186 size: 32768
 ret: 0         st: 0 flags:1  ts:-0.317506
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size: 32768
 ret: 0         st:-1 flags:0  ts: 2.576668
-ret: 0         st: 0 flags:1 dts: 2.576667 pts: 2.576667 pos: 909106 size:  8192
+ret: 0         st: 0 flags:1 dts: 2.576667 pts: 2.576667 pos: 909106 size: 32768
 ret: 0         st:-1 flags:1  ts: 1.470835
-ret: 0         st: 0 flags:1 dts: 1.470839 pts: 1.470839 pos: 518970 size:  8192
+ret: 0         st: 0 flags:1 dts: 1.470839 pts: 1.470839 pos: 518970 size: 32768
 ret: 0         st: 0 flags:0  ts: 0.365011
-ret: 0         st: 0 flags:1 dts: 0.365011 pts: 0.365011 pos: 128834 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.365011 pts: 0.365011 pos: 128834 size: 32768
 ret: 0         st: 0 flags:1  ts:-0.740839
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size: 32768
 ret: 0         st:-1 flags:0  ts: 2.153336
-ret: 0         st: 0 flags:1 dts: 2.153333 pts: 2.153333 pos: 759754 size:  8192
+ret: 0         st: 0 flags:1 dts: 2.153333 pts: 2.153333 pos: 759754 size: 32768
 ret: 0         st:-1 flags:1  ts: 1.047503
-ret: 0         st: 0 flags:1 dts: 1.047506 pts: 1.047506 pos: 369618 size:  8192
+ret: 0         st: 0 flags:1 dts: 1.047506 pts: 1.047506 pos: 369618 size: 32768
 ret: 0         st: 0 flags:0  ts:-0.058322
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size: 32768
 ret: 0         st: 0 flags:1  ts: 2.835828
-ret: 0         st: 0 flags:1 dts: 2.835828 pts: 2.835828 pos:1000538 size:  8192
+ret: 0         st: 0 flags:1 dts: 2.835828 pts: 2.835828 pos:1000538 size: 32768
 ret: 0         st:-1 flags:0  ts: 1.730004
-ret: 0         st: 0 flags:1 dts: 1.730000 pts: 1.730000 pos: 610402 size:  8192
+ret: 0         st: 0 flags:1 dts: 1.730000 pts: 1.730000 pos: 610402 size: 32768
 ret: 0         st:-1 flags:1  ts: 0.624171
-ret: 0         st: 0 flags:1 dts: 0.624172 pts: 0.624172 pos: 220266 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.624172 pts: 0.624172 pos: 220266 size: 32768
 ret: 0         st: 0 flags:0  ts:-0.481655
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size: 32768
 ret: 0         st: 0 flags:1  ts: 2.412494
-ret: 0         st: 0 flags:1 dts: 2.412494 pts: 2.412494 pos: 851186 size:  8192
+ret: 0         st: 0 flags:1 dts: 2.412494 pts: 2.412494 pos: 851186 size: 32768
 ret: 0         st:-1 flags:0  ts: 1.306672
-ret: 0         st: 0 flags:1 dts: 1.306667 pts: 1.306667 pos: 461050 size:  8192
+ret: 0         st: 0 flags:1 dts: 1.306667 pts: 1.306667 pos: 461050 size: 32768
 ret: 0         st:-1 flags:1  ts: 0.200839
-ret: 0         st: 0 flags:1 dts: 0.200839 pts: 0.200839 pos:  70914 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.200839 pts: 0.200839 pos:  70914 size: 32768
 ret: 0         st: 0 flags:0  ts:-0.904989
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size: 32768
 ret: 0         st: 0 flags:1  ts: 1.989184
-ret: 0         st: 0 flags:1 dts: 1.989184 pts: 1.989184 pos: 701842 size:  8192
+ret: 0         st: 0 flags:1 dts: 1.989184 pts: 1.989184 pos: 701842 size: 32768
 ret: 0         st:-1 flags:0  ts: 0.883340
-ret: 0         st: 0 flags:1 dts: 0.883333 pts: 0.883333 pos: 311698 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.883333 pts: 0.883333 pos: 311698 size: 32768
 ret: 0         st:-1 flags:1  ts:-0.222493
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size: 32768
 ret: 0         st: 0 flags:0  ts: 2.671678
-ret: 0         st: 0 flags:1 dts: 2.671678 pts: 2.671678 pos: 942626 size:  8192
+ret: 0         st: 0 flags:1 dts: 2.671678 pts: 2.671678 pos: 942626 size: 32768
 ret: 0         st: 0 flags:1  ts: 1.565850
-ret: 0         st: 0 flags:1 dts: 1.565850 pts: 1.565850 pos: 552490 size:  8192
+ret: 0         st: 0 flags:1 dts: 1.565850 pts: 1.565850 pos: 552490 size: 32768
 ret: 0         st:-1 flags:0  ts: 0.460008
-ret: 0         st: 0 flags:1 dts: 0.460000 pts: 0.460000 pos: 162346 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.460000 pts: 0.460000 pos: 162346 size: 32768
 ret: 0         st:-1 flags:1  ts:-0.645825
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size: 32768
diff --git a/tests/ref/seek/acodec-pcm-f64be b/tests/ref/seek/acodec-pcm-f64be
index 82223517d5..7698b9b35e 100644
--- a/tests/ref/seek/acodec-pcm-f64be
+++ b/tests/ref/seek/acodec-pcm-f64be
@@ -1,53 +1,53 @@ 
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     32 size: 16384
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     32 size: 65536
 ret: 0         st:-1 flags:0  ts:-1.000000
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     32 size: 16384
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     32 size: 65536
 ret: 0         st:-1 flags:1  ts: 1.894167
-ret: 0         st: 0 flags:1 dts: 1.894172 pts: 1.894172 pos:1336560 size: 16384
+ret: 0         st: 0 flags:1 dts: 1.894172 pts: 1.894172 pos:1336560 size: 65536
 ret: 0         st: 0 flags:0  ts: 0.788345
-ret: 0         st: 0 flags:1 dts: 0.788345 pts: 0.788345 pos: 556288 size: 16384
+ret: 0         st: 0 flags:1 dts: 0.788345 pts: 0.788345 pos: 556288 size: 65536
 ret: 0         st: 0 flags:1  ts:-0.317506
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     32 size: 16384
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     32 size: 65536
 ret: 0         st:-1 flags:0  ts: 2.576668
-ret: 0         st: 0 flags:1 dts: 2.576667 pts: 2.576667 pos:1818128 size: 16384
+ret: 0         st: 0 flags:1 dts: 2.576667 pts: 2.576667 pos:1818128 size: 65536
 ret: 0         st:-1 flags:1  ts: 1.470835
-ret: 0         st: 0 flags:1 dts: 1.470839 pts: 1.470839 pos:1037856 size: 16384
+ret: 0         st: 0 flags:1 dts: 1.470839 pts: 1.470839 pos:1037856 size: 65536
 ret: 0         st: 0 flags:0  ts: 0.365011
-ret: 0         st: 0 flags:1 dts: 0.365011 pts: 0.365011 pos: 257584 size: 16384
+ret: 0         st: 0 flags:1 dts: 0.365011 pts: 0.365011 pos: 257584 size: 65536
 ret: 0         st: 0 flags:1  ts:-0.740839
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     32 size: 16384
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     32 size: 65536
 ret: 0         st:-1 flags:0  ts: 2.153336
-ret: 0         st: 0 flags:1 dts: 2.153333 pts: 2.153333 pos:1519424 size: 16384
+ret: 0         st: 0 flags:1 dts: 2.153333 pts: 2.153333 pos:1519424 size: 65536
 ret: 0         st:-1 flags:1  ts: 1.047503
-ret: 0         st: 0 flags:1 dts: 1.047506 pts: 1.047506 pos: 739152 size: 16384
+ret: 0         st: 0 flags:1 dts: 1.047506 pts: 1.047506 pos: 739152 size: 65536
 ret: 0         st: 0 flags:0  ts:-0.058322
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     32 size: 16384
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     32 size: 65536
 ret: 0         st: 0 flags:1  ts: 2.835828
-ret: 0         st: 0 flags:1 dts: 2.835828 pts: 2.835828 pos:2000992 size: 16384
+ret: 0         st: 0 flags:1 dts: 2.835828 pts: 2.835828 pos:2000992 size: 65536
 ret: 0         st:-1 flags:0  ts: 1.730004
-ret: 0         st: 0 flags:1 dts: 1.730000 pts: 1.730000 pos:1220720 size: 16384
+ret: 0         st: 0 flags:1 dts: 1.730000 pts: 1.730000 pos:1220720 size: 65536
 ret: 0         st:-1 flags:1  ts: 0.624171
-ret: 0         st: 0 flags:1 dts: 0.624172 pts: 0.624172 pos: 440448 size: 16384
+ret: 0         st: 0 flags:1 dts: 0.624172 pts: 0.624172 pos: 440448 size: 65536
 ret: 0         st: 0 flags:0  ts:-0.481655
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     32 size: 16384
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     32 size: 65536
 ret: 0         st: 0 flags:1  ts: 2.412494
-ret: 0         st: 0 flags:1 dts: 2.412494 pts: 2.412494 pos:1702288 size: 16384
+ret: 0         st: 0 flags:1 dts: 2.412494 pts: 2.412494 pos:1702288 size: 65536
 ret: 0         st:-1 flags:0  ts: 1.306672
-ret: 0         st: 0 flags:1 dts: 1.306667 pts: 1.306667 pos: 922016 size: 16384
+ret: 0         st: 0 flags:1 dts: 1.306667 pts: 1.306667 pos: 922016 size: 65536
 ret: 0         st:-1 flags:1  ts: 0.200839
-ret: 0         st: 0 flags:1 dts: 0.200839 pts: 0.200839 pos: 141744 size: 16384
+ret: 0         st: 0 flags:1 dts: 0.200839 pts: 0.200839 pos: 141744 size: 65536
 ret: 0         st: 0 flags:0  ts:-0.904989
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     32 size: 16384
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     32 size: 65536
 ret: 0         st: 0 flags:1  ts: 1.989184
-ret: 0         st: 0 flags:1 dts: 1.989184 pts: 1.989184 pos:1403600 size: 16384
+ret: 0         st: 0 flags:1 dts: 1.989184 pts: 1.989184 pos:1403600 size: 65536
 ret: 0         st:-1 flags:0  ts: 0.883340
-ret: 0         st: 0 flags:1 dts: 0.883333 pts: 0.883333 pos: 623312 size: 16384
+ret: 0         st: 0 flags:1 dts: 0.883333 pts: 0.883333 pos: 623312 size: 65536
 ret: 0         st:-1 flags:1  ts:-0.222493
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     32 size: 16384
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     32 size: 65536
 ret: 0         st: 0 flags:0  ts: 2.671678
-ret: 0         st: 0 flags:1 dts: 2.671678 pts: 2.671678 pos:1885168 size: 16384
+ret: 0         st: 0 flags:1 dts: 2.671678 pts: 2.671678 pos:1885168 size: 65536
 ret: 0         st: 0 flags:1  ts: 1.565850
-ret: 0         st: 0 flags:1 dts: 1.565850 pts: 1.565850 pos:1104896 size: 16384
+ret: 0         st: 0 flags:1 dts: 1.565850 pts: 1.565850 pos:1104896 size: 65536
 ret: 0         st:-1 flags:0  ts: 0.460008
-ret: 0         st: 0 flags:1 dts: 0.460000 pts: 0.460000 pos: 324608 size: 16384
+ret: 0         st: 0 flags:1 dts: 0.460000 pts: 0.460000 pos: 324608 size: 65536
 ret: 0         st:-1 flags:1  ts:-0.645825
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     32 size: 16384
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     32 size: 65536
diff --git a/tests/ref/seek/acodec-pcm-f64le b/tests/ref/seek/acodec-pcm-f64le
index 8ec1a71c08..7d7d73dd81 100644
--- a/tests/ref/seek/acodec-pcm-f64le
+++ b/tests/ref/seek/acodec-pcm-f64le
@@ -1,53 +1,53 @@ 
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size: 16384
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size: 65536
 ret: 0         st:-1 flags:0  ts:-1.000000
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size: 16384
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size: 65536
 ret: 0         st:-1 flags:1  ts: 1.894167
-ret: 0         st: 0 flags:1 dts: 1.894172 pts: 1.894172 pos:1336586 size: 16384
+ret: 0         st: 0 flags:1 dts: 1.894172 pts: 1.894172 pos:1336586 size: 65536
 ret: 0         st: 0 flags:0  ts: 0.788345
-ret: 0         st: 0 flags:1 dts: 0.788345 pts: 0.788345 pos: 556314 size: 16384
+ret: 0         st: 0 flags:1 dts: 0.788345 pts: 0.788345 pos: 556314 size: 65536
 ret: 0         st: 0 flags:1  ts:-0.317506
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size: 16384
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size: 65536
 ret: 0         st:-1 flags:0  ts: 2.576668
-ret: 0         st: 0 flags:1 dts: 2.576667 pts: 2.576667 pos:1818154 size: 16384
+ret: 0         st: 0 flags:1 dts: 2.576667 pts: 2.576667 pos:1818154 size: 65536
 ret: 0         st:-1 flags:1  ts: 1.470835
-ret: 0         st: 0 flags:1 dts: 1.470839 pts: 1.470839 pos:1037882 size: 16384
+ret: 0         st: 0 flags:1 dts: 1.470839 pts: 1.470839 pos:1037882 size: 65536
 ret: 0         st: 0 flags:0  ts: 0.365011
-ret: 0         st: 0 flags:1 dts: 0.365011 pts: 0.365011 pos: 257610 size: 16384
+ret: 0         st: 0 flags:1 dts: 0.365011 pts: 0.365011 pos: 257610 size: 65536
 ret: 0         st: 0 flags:1  ts:-0.740839
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size: 16384
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size: 65536
 ret: 0         st:-1 flags:0  ts: 2.153336
-ret: 0         st: 0 flags:1 dts: 2.153333 pts: 2.153333 pos:1519450 size: 16384
+ret: 0         st: 0 flags:1 dts: 2.153333 pts: 2.153333 pos:1519450 size: 65536
 ret: 0         st:-1 flags:1  ts: 1.047503
-ret: 0         st: 0 flags:1 dts: 1.047506 pts: 1.047506 pos: 739178 size: 16384
+ret: 0         st: 0 flags:1 dts: 1.047506 pts: 1.047506 pos: 739178 size: 65536
 ret: 0         st: 0 flags:0  ts:-0.058322
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size: 16384
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size: 65536
 ret: 0         st: 0 flags:1  ts: 2.835828
-ret: 0         st: 0 flags:1 dts: 2.835828 pts: 2.835828 pos:2001018 size: 16384
+ret: 0         st: 0 flags:1 dts: 2.835828 pts: 2.835828 pos:2001018 size: 65536
 ret: 0         st:-1 flags:0  ts: 1.730004
-ret: 0         st: 0 flags:1 dts: 1.730000 pts: 1.730000 pos:1220746 size: 16384
+ret: 0         st: 0 flags:1 dts: 1.730000 pts: 1.730000 pos:1220746 size: 65536
 ret: 0         st:-1 flags:1  ts: 0.624171
-ret: 0         st: 0 flags:1 dts: 0.624172 pts: 0.624172 pos: 440474 size: 16384
+ret: 0         st: 0 flags:1 dts: 0.624172 pts: 0.624172 pos: 440474 size: 65536
 ret: 0         st: 0 flags:0  ts:-0.481655
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size: 16384
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size: 65536
 ret: 0         st: 0 flags:1  ts: 2.412494
-ret: 0         st: 0 flags:1 dts: 2.412494 pts: 2.412494 pos:1702314 size: 16384
+ret: 0         st: 0 flags:1 dts: 2.412494 pts: 2.412494 pos:1702314 size: 65536
 ret: 0         st:-1 flags:0  ts: 1.306672
-ret: 0         st: 0 flags:1 dts: 1.306667 pts: 1.306667 pos: 922042 size: 16384
+ret: 0         st: 0 flags:1 dts: 1.306667 pts: 1.306667 pos: 922042 size: 65536
 ret: 0         st:-1 flags:1  ts: 0.200839
-ret: 0         st: 0 flags:1 dts: 0.200839 pts: 0.200839 pos: 141770 size: 16384
+ret: 0         st: 0 flags:1 dts: 0.200839 pts: 0.200839 pos: 141770 size: 65536
 ret: 0         st: 0 flags:0  ts:-0.904989
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size: 16384
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size: 65536
 ret: 0         st: 0 flags:1  ts: 1.989184
-ret: 0         st: 0 flags:1 dts: 1.989184 pts: 1.989184 pos:1403626 size: 16384
+ret: 0         st: 0 flags:1 dts: 1.989184 pts: 1.989184 pos:1403626 size: 65536
 ret: 0         st:-1 flags:0  ts: 0.883340
-ret: 0         st: 0 flags:1 dts: 0.883333 pts: 0.883333 pos: 623338 size: 16384
+ret: 0         st: 0 flags:1 dts: 0.883333 pts: 0.883333 pos: 623338 size: 65536
 ret: 0         st:-1 flags:1  ts:-0.222493
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size: 16384
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size: 65536
 ret: 0         st: 0 flags:0  ts: 2.671678
-ret: 0         st: 0 flags:1 dts: 2.671678 pts: 2.671678 pos:1885194 size: 16384
+ret: 0         st: 0 flags:1 dts: 2.671678 pts: 2.671678 pos:1885194 size: 65536
 ret: 0         st: 0 flags:1  ts: 1.565850
-ret: 0         st: 0 flags:1 dts: 1.565850 pts: 1.565850 pos:1104922 size: 16384
+ret: 0         st: 0 flags:1 dts: 1.565850 pts: 1.565850 pos:1104922 size: 65536
 ret: 0         st:-1 flags:0  ts: 0.460008
-ret: 0         st: 0 flags:1 dts: 0.460000 pts: 0.460000 pos: 324634 size: 16384
+ret: 0         st: 0 flags:1 dts: 0.460000 pts: 0.460000 pos: 324634 size: 65536
 ret: 0         st:-1 flags:1  ts:-0.645825
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size: 16384
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size: 65536
diff --git a/tests/ref/seek/acodec-pcm-mulaw b/tests/ref/seek/acodec-pcm-mulaw
index 3f9e91de1e..dacf75d365 100644
--- a/tests/ref/seek/acodec-pcm-mulaw
+++ b/tests/ref/seek/acodec-pcm-mulaw
@@ -1,53 +1,53 @@ 
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  8192
 ret: 0         st:-1 flags:0  ts:-1.000000
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  8192
 ret: 0         st:-1 flags:1  ts: 1.894167
-ret: 0         st: 0 flags:1 dts: 1.894172 pts: 1.894172 pos: 167124 size:  2048
+ret: 0         st: 0 flags:1 dts: 1.894172 pts: 1.894172 pos: 167124 size:  8192
 ret: 0         st: 0 flags:0  ts: 0.788345
-ret: 0         st: 0 flags:1 dts: 0.788345 pts: 0.788345 pos:  69590 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.788345 pts: 0.788345 pos:  69590 size:  8192
 ret: 0         st: 0 flags:1  ts:-0.317506
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  8192
 ret: 0         st:-1 flags:0  ts: 2.576668
-ret: 0         st: 0 flags:1 dts: 2.576667 pts: 2.576667 pos: 227320 size:  2048
+ret: 0         st: 0 flags:1 dts: 2.576667 pts: 2.576667 pos: 227320 size:  8192
 ret: 0         st:-1 flags:1  ts: 1.470835
-ret: 0         st: 0 flags:1 dts: 1.470839 pts: 1.470839 pos: 129786 size:  2048
+ret: 0         st: 0 flags:1 dts: 1.470839 pts: 1.470839 pos: 129786 size:  8192
 ret: 0         st: 0 flags:0  ts: 0.365011
-ret: 0         st: 0 flags:1 dts: 0.365011 pts: 0.365011 pos:  32252 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.365011 pts: 0.365011 pos:  32252 size:  8192
 ret: 0         st: 0 flags:1  ts:-0.740839
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  8192
 ret: 0         st:-1 flags:0  ts: 2.153336
-ret: 0         st: 0 flags:1 dts: 2.153333 pts: 2.153333 pos: 189982 size:  2048
+ret: 0         st: 0 flags:1 dts: 2.153333 pts: 2.153333 pos: 189982 size:  8192
 ret: 0         st:-1 flags:1  ts: 1.047503
-ret: 0         st: 0 flags:1 dts: 1.047506 pts: 1.047506 pos:  92448 size:  2048
+ret: 0         st: 0 flags:1 dts: 1.047506 pts: 1.047506 pos:  92448 size:  8192
 ret: 0         st: 0 flags:0  ts:-0.058322
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  8192
 ret: 0         st: 0 flags:1  ts: 2.835828
-ret: 0         st: 0 flags:1 dts: 2.835828 pts: 2.835828 pos: 250178 size:  2048
+ret: 0         st: 0 flags:1 dts: 2.835828 pts: 2.835828 pos: 250178 size:  8192
 ret: 0         st:-1 flags:0  ts: 1.730004
-ret: 0         st: 0 flags:1 dts: 1.730000 pts: 1.730000 pos: 152644 size:  2048
+ret: 0         st: 0 flags:1 dts: 1.730000 pts: 1.730000 pos: 152644 size:  8192
 ret: 0         st:-1 flags:1  ts: 0.624171
-ret: 0         st: 0 flags:1 dts: 0.624172 pts: 0.624172 pos:  55110 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.624172 pts: 0.624172 pos:  55110 size:  8192
 ret: 0         st: 0 flags:0  ts:-0.481655
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  8192
 ret: 0         st: 0 flags:1  ts: 2.412494
-ret: 0         st: 0 flags:1 dts: 2.412494 pts: 2.412494 pos: 212840 size:  2048
+ret: 0         st: 0 flags:1 dts: 2.412494 pts: 2.412494 pos: 212840 size:  8192
 ret: 0         st:-1 flags:0  ts: 1.306672
-ret: 0         st: 0 flags:1 dts: 1.306667 pts: 1.306667 pos: 115306 size:  2048
+ret: 0         st: 0 flags:1 dts: 1.306667 pts: 1.306667 pos: 115306 size:  8192
 ret: 0         st:-1 flags:1  ts: 0.200839
-ret: 0         st: 0 flags:1 dts: 0.200839 pts: 0.200839 pos:  17772 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.200839 pts: 0.200839 pos:  17772 size:  8192
 ret: 0         st: 0 flags:0  ts:-0.904989
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  8192
 ret: 0         st: 0 flags:1  ts: 1.989184
-ret: 0         st: 0 flags:1 dts: 1.989184 pts: 1.989184 pos: 175504 size:  2048
+ret: 0         st: 0 flags:1 dts: 1.989184 pts: 1.989184 pos: 175504 size:  8192
 ret: 0         st:-1 flags:0  ts: 0.883340
-ret: 0         st: 0 flags:1 dts: 0.883333 pts: 0.883333 pos:  77968 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.883333 pts: 0.883333 pos:  77968 size:  8192
 ret: 0         st:-1 flags:1  ts:-0.222493
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  8192
 ret: 0         st: 0 flags:0  ts: 2.671678
-ret: 0         st: 0 flags:1 dts: 2.671678 pts: 2.671678 pos: 235700 size:  2048
+ret: 0         st: 0 flags:1 dts: 2.671678 pts: 2.671678 pos: 235700 size:  8192
 ret: 0         st: 0 flags:1  ts: 1.565850
-ret: 0         st: 0 flags:1 dts: 1.565850 pts: 1.565850 pos: 138166 size:  2048
+ret: 0         st: 0 flags:1 dts: 1.565850 pts: 1.565850 pos: 138166 size:  8192
 ret: 0         st:-1 flags:0  ts: 0.460008
-ret: 0         st: 0 flags:1 dts: 0.460000 pts: 0.460000 pos:  40630 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.460000 pts: 0.460000 pos:  40630 size:  8192
 ret: 0         st:-1 flags:1  ts:-0.645825
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     58 size:  8192
diff --git a/tests/ref/seek/acodec-pcm-s16le b/tests/ref/seek/acodec-pcm-s16le
index 41acc98d8d..c2ec8dd933 100644
--- a/tests/ref/seek/acodec-pcm-s16le
+++ b/tests/ref/seek/acodec-pcm-s16le
@@ -1,53 +1,53 @@ 
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  4096
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size: 16384
 ret: 0         st:-1 flags:0  ts:-1.000000
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  4096
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size: 16384
 ret: 0         st:-1 flags:1  ts: 1.894167
-ret: 0         st: 0 flags:1 dts: 1.894172 pts: 1.894172 pos: 334176 size:  4096
+ret: 0         st: 0 flags:1 dts: 1.894172 pts: 1.894172 pos: 334176 size: 16384
 ret: 0         st: 0 flags:0  ts: 0.788345
-ret: 0         st: 0 flags:1 dts: 0.788345 pts: 0.788345 pos: 139108 size:  4096
+ret: 0         st: 0 flags:1 dts: 0.788345 pts: 0.788345 pos: 139108 size: 16384
 ret: 0         st: 0 flags:1  ts:-0.317506
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  4096
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size: 16384
 ret: 0         st:-1 flags:0  ts: 2.576668
-ret: 0         st: 0 flags:1 dts: 2.576667 pts: 2.576667 pos: 454568 size:  4096
+ret: 0         st: 0 flags:1 dts: 2.576667 pts: 2.576667 pos: 454568 size: 16384
 ret: 0         st:-1 flags:1  ts: 1.470835
-ret: 0         st: 0 flags:1 dts: 1.470839 pts: 1.470839 pos: 259500 size:  4096
+ret: 0         st: 0 flags:1 dts: 1.470839 pts: 1.470839 pos: 259500 size: 16384
 ret: 0         st: 0 flags:0  ts: 0.365011
-ret: 0         st: 0 flags:1 dts: 0.365011 pts: 0.365011 pos:  64432 size:  4096
+ret: 0         st: 0 flags:1 dts: 0.365011 pts: 0.365011 pos:  64432 size: 16384
 ret: 0         st: 0 flags:1  ts:-0.740839
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  4096
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size: 16384
 ret: 0         st:-1 flags:0  ts: 2.153336
-ret: 0         st: 0 flags:1 dts: 2.153333 pts: 2.153333 pos: 379892 size:  4096
+ret: 0         st: 0 flags:1 dts: 2.153333 pts: 2.153333 pos: 379892 size: 16384
 ret: 0         st:-1 flags:1  ts: 1.047503
-ret: 0         st: 0 flags:1 dts: 1.047506 pts: 1.047506 pos: 184824 size:  4096
+ret: 0         st: 0 flags:1 dts: 1.047506 pts: 1.047506 pos: 184824 size: 16384
 ret: 0         st: 0 flags:0  ts:-0.058322
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  4096
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size: 16384
 ret: 0         st: 0 flags:1  ts: 2.835828
-ret: 0         st: 0 flags:1 dts: 2.835828 pts: 2.835828 pos: 500284 size:  4096
+ret: 0         st: 0 flags:1 dts: 2.835828 pts: 2.835828 pos: 500284 size: 16384
 ret: 0         st:-1 flags:0  ts: 1.730004
-ret: 0         st: 0 flags:1 dts: 1.730000 pts: 1.730000 pos: 305216 size:  4096
+ret: 0         st: 0 flags:1 dts: 1.730000 pts: 1.730000 pos: 305216 size: 16384
 ret: 0         st:-1 flags:1  ts: 0.624171
-ret: 0         st: 0 flags:1 dts: 0.624172 pts: 0.624172 pos: 110148 size:  4096
+ret: 0         st: 0 flags:1 dts: 0.624172 pts: 0.624172 pos: 110148 size: 16384
 ret: 0         st: 0 flags:0  ts:-0.481655
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  4096
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size: 16384
 ret: 0         st: 0 flags:1  ts: 2.412494
-ret: 0         st: 0 flags:1 dts: 2.412494 pts: 2.412494 pos: 425608 size:  4096
+ret: 0         st: 0 flags:1 dts: 2.412494 pts: 2.412494 pos: 425608 size: 16384
 ret: 0         st:-1 flags:0  ts: 1.306672
-ret: 0         st: 0 flags:1 dts: 1.306667 pts: 1.306667 pos: 230540 size:  4096
+ret: 0         st: 0 flags:1 dts: 1.306667 pts: 1.306667 pos: 230540 size: 16384
 ret: 0         st:-1 flags:1  ts: 0.200839
-ret: 0         st: 0 flags:1 dts: 0.200839 pts: 0.200839 pos:  35472 size:  4096
+ret: 0         st: 0 flags:1 dts: 0.200839 pts: 0.200839 pos:  35472 size: 16384
 ret: 0         st: 0 flags:0  ts:-0.904989
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  4096
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size: 16384
 ret: 0         st: 0 flags:1  ts: 1.989184
-ret: 0         st: 0 flags:1 dts: 1.989184 pts: 1.989184 pos: 350936 size:  4096
+ret: 0         st: 0 flags:1 dts: 1.989184 pts: 1.989184 pos: 350936 size: 16384
 ret: 0         st:-1 flags:0  ts: 0.883340
-ret: 0         st: 0 flags:1 dts: 0.883333 pts: 0.883333 pos: 155864 size:  4096
+ret: 0         st: 0 flags:1 dts: 0.883333 pts: 0.883333 pos: 155864 size: 16384
 ret: 0         st:-1 flags:1  ts:-0.222493
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  4096
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size: 16384
 ret: 0         st: 0 flags:0  ts: 2.671678
-ret: 0         st: 0 flags:1 dts: 2.671678 pts: 2.671678 pos: 471328 size:  4096
+ret: 0         st: 0 flags:1 dts: 2.671678 pts: 2.671678 pos: 471328 size: 16384
 ret: 0         st: 0 flags:1  ts: 1.565850
-ret: 0         st: 0 flags:1 dts: 1.565850 pts: 1.565850 pos: 276260 size:  4096
+ret: 0         st: 0 flags:1 dts: 1.565850 pts: 1.565850 pos: 276260 size: 16384
 ret: 0         st:-1 flags:0  ts: 0.460008
-ret: 0         st: 0 flags:1 dts: 0.460000 pts: 0.460000 pos:  81188 size:  4096
+ret: 0         st: 0 flags:1 dts: 0.460000 pts: 0.460000 pos:  81188 size: 16384
 ret: 0         st:-1 flags:1  ts:-0.645825
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  4096
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size: 16384
diff --git a/tests/ref/seek/acodec-pcm-s24le b/tests/ref/seek/acodec-pcm-s24le
index ab57765a69..05beb56e95 100644
--- a/tests/ref/seek/acodec-pcm-s24le
+++ b/tests/ref/seek/acodec-pcm-s24le
@@ -1,53 +1,53 @@ 
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     68 size:  6144
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     68 size: 24576
 ret: 0         st:-1 flags:0  ts:-1.000000
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     68 size:  6144
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     68 size: 24576
 ret: 0         st:-1 flags:1  ts: 1.894167
-ret: 0         st: 0 flags:1 dts: 1.894172 pts: 1.894172 pos: 501266 size:  6144
+ret: 0         st: 0 flags:1 dts: 1.894172 pts: 1.894172 pos: 501266 size: 24576
 ret: 0         st: 0 flags:0  ts: 0.788345
-ret: 0         st: 0 flags:1 dts: 0.788345 pts: 0.788345 pos: 208664 size:  6144
+ret: 0         st: 0 flags:1 dts: 0.788345 pts: 0.788345 pos: 208664 size: 24576
 ret: 0         st: 0 flags:1  ts:-0.317506
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     68 size:  6144
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     68 size: 24576
 ret: 0         st:-1 flags:0  ts: 2.576668
-ret: 0         st: 0 flags:1 dts: 2.576667 pts: 2.576667 pos: 681854 size:  6144
+ret: 0         st: 0 flags:1 dts: 2.576667 pts: 2.576667 pos: 681854 size: 24576
 ret: 0         st:-1 flags:1  ts: 1.470835
-ret: 0         st: 0 flags:1 dts: 1.470839 pts: 1.470839 pos: 389252 size:  6144
+ret: 0         st: 0 flags:1 dts: 1.470839 pts: 1.470839 pos: 389252 size: 24576
 ret: 0         st: 0 flags:0  ts: 0.365011
-ret: 0         st: 0 flags:1 dts: 0.365011 pts: 0.365011 pos:  96650 size:  6144
+ret: 0         st: 0 flags:1 dts: 0.365011 pts: 0.365011 pos:  96650 size: 24576
 ret: 0         st: 0 flags:1  ts:-0.740839
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     68 size:  6144
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     68 size: 24576
 ret: 0         st:-1 flags:0  ts: 2.153336
-ret: 0         st: 0 flags:1 dts: 2.153333 pts: 2.153333 pos: 569840 size:  6144
+ret: 0         st: 0 flags:1 dts: 2.153333 pts: 2.153333 pos: 569840 size: 24576
 ret: 0         st:-1 flags:1  ts: 1.047503
-ret: 0         st: 0 flags:1 dts: 1.047506 pts: 1.047506 pos: 277238 size:  6144
+ret: 0         st: 0 flags:1 dts: 1.047506 pts: 1.047506 pos: 277238 size: 24576
 ret: 0         st: 0 flags:0  ts:-0.058322
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     68 size:  6144
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     68 size: 24576
 ret: 0         st: 0 flags:1  ts: 2.835828
-ret: 0         st: 0 flags:1 dts: 2.835828 pts: 2.835828 pos: 750428 size:  6144
+ret: 0         st: 0 flags:1 dts: 2.835828 pts: 2.835828 pos: 750428 size: 24576
 ret: 0         st:-1 flags:0  ts: 1.730004
-ret: 0         st: 0 flags:1 dts: 1.730000 pts: 1.730000 pos: 457826 size:  6144
+ret: 0         st: 0 flags:1 dts: 1.730000 pts: 1.730000 pos: 457826 size: 24576
 ret: 0         st:-1 flags:1  ts: 0.624171
-ret: 0         st: 0 flags:1 dts: 0.624172 pts: 0.624172 pos: 165224 size:  6144
+ret: 0         st: 0 flags:1 dts: 0.624172 pts: 0.624172 pos: 165224 size: 24576
 ret: 0         st: 0 flags:0  ts:-0.481655
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     68 size:  6144
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     68 size: 24576
 ret: 0         st: 0 flags:1  ts: 2.412494
-ret: 0         st: 0 flags:1 dts: 2.412494 pts: 2.412494 pos: 638414 size:  6144
+ret: 0         st: 0 flags:1 dts: 2.412494 pts: 2.412494 pos: 638414 size: 24576
 ret: 0         st:-1 flags:0  ts: 1.306672
-ret: 0         st: 0 flags:1 dts: 1.306667 pts: 1.306667 pos: 345812 size:  6144
+ret: 0         st: 0 flags:1 dts: 1.306667 pts: 1.306667 pos: 345812 size: 24576
 ret: 0         st:-1 flags:1  ts: 0.200839
-ret: 0         st: 0 flags:1 dts: 0.200839 pts: 0.200839 pos:  53210 size:  6144
+ret: 0         st: 0 flags:1 dts: 0.200839 pts: 0.200839 pos:  53210 size: 24576
 ret: 0         st: 0 flags:0  ts:-0.904989
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     68 size:  6144
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     68 size: 24576
 ret: 0         st: 0 flags:1  ts: 1.989184
-ret: 0         st: 0 flags:1 dts: 1.989184 pts: 1.989184 pos: 526406 size:  6144
+ret: 0         st: 0 flags:1 dts: 1.989184 pts: 1.989184 pos: 526406 size: 24576
 ret: 0         st:-1 flags:0  ts: 0.883340
-ret: 0         st: 0 flags:1 dts: 0.883333 pts: 0.883333 pos: 233798 size:  6144
+ret: 0         st: 0 flags:1 dts: 0.883333 pts: 0.883333 pos: 233798 size: 24576
 ret: 0         st:-1 flags:1  ts:-0.222493
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     68 size:  6144
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     68 size: 24576
 ret: 0         st: 0 flags:0  ts: 2.671678
-ret: 0         st: 0 flags:1 dts: 2.671678 pts: 2.671678 pos: 706994 size:  6144
+ret: 0         st: 0 flags:1 dts: 2.671678 pts: 2.671678 pos: 706994 size: 24576
 ret: 0         st: 0 flags:1  ts: 1.565850
-ret: 0         st: 0 flags:1 dts: 1.565850 pts: 1.565850 pos: 414392 size:  6144
+ret: 0         st: 0 flags:1 dts: 1.565850 pts: 1.565850 pos: 414392 size: 24576
 ret: 0         st:-1 flags:0  ts: 0.460008
-ret: 0         st: 0 flags:1 dts: 0.460000 pts: 0.460000 pos: 121784 size:  6144
+ret: 0         st: 0 flags:1 dts: 0.460000 pts: 0.460000 pos: 121784 size: 24576
 ret: 0         st:-1 flags:1  ts:-0.645825
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     68 size:  6144
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     68 size: 24576
diff --git a/tests/ref/seek/acodec-pcm-s32le b/tests/ref/seek/acodec-pcm-s32le
index 66d79ca7d2..f2b15c2a68 100644
--- a/tests/ref/seek/acodec-pcm-s32le
+++ b/tests/ref/seek/acodec-pcm-s32le
@@ -1,53 +1,53 @@ 
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     68 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     68 size: 32768
 ret: 0         st:-1 flags:0  ts:-1.000000
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     68 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     68 size: 32768
 ret: 0         st:-1 flags:1  ts: 1.894167
-ret: 0         st: 0 flags:1 dts: 1.894172 pts: 1.894172 pos: 668332 size:  8192
+ret: 0         st: 0 flags:1 dts: 1.894172 pts: 1.894172 pos: 668332 size: 32768
 ret: 0         st: 0 flags:0  ts: 0.788345
-ret: 0         st: 0 flags:1 dts: 0.788345 pts: 0.788345 pos: 278196 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.788345 pts: 0.788345 pos: 278196 size: 32768
 ret: 0         st: 0 flags:1  ts:-0.317506
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     68 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     68 size: 32768
 ret: 0         st:-1 flags:0  ts: 2.576668
-ret: 0         st: 0 flags:1 dts: 2.576667 pts: 2.576667 pos: 909116 size:  8192
+ret: 0         st: 0 flags:1 dts: 2.576667 pts: 2.576667 pos: 909116 size: 32768
 ret: 0         st:-1 flags:1  ts: 1.470835
-ret: 0         st: 0 flags:1 dts: 1.470839 pts: 1.470839 pos: 518980 size:  8192
+ret: 0         st: 0 flags:1 dts: 1.470839 pts: 1.470839 pos: 518980 size: 32768
 ret: 0         st: 0 flags:0  ts: 0.365011
-ret: 0         st: 0 flags:1 dts: 0.365011 pts: 0.365011 pos: 128844 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.365011 pts: 0.365011 pos: 128844 size: 32768
 ret: 0         st: 0 flags:1  ts:-0.740839
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     68 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     68 size: 32768
 ret: 0         st:-1 flags:0  ts: 2.153336
-ret: 0         st: 0 flags:1 dts: 2.153333 pts: 2.153333 pos: 759764 size:  8192
+ret: 0         st: 0 flags:1 dts: 2.153333 pts: 2.153333 pos: 759764 size: 32768
 ret: 0         st:-1 flags:1  ts: 1.047503
-ret: 0         st: 0 flags:1 dts: 1.047506 pts: 1.047506 pos: 369628 size:  8192
+ret: 0         st: 0 flags:1 dts: 1.047506 pts: 1.047506 pos: 369628 size: 32768
 ret: 0         st: 0 flags:0  ts:-0.058322
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     68 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     68 size: 32768
 ret: 0         st: 0 flags:1  ts: 2.835828
-ret: 0         st: 0 flags:1 dts: 2.835828 pts: 2.835828 pos:1000548 size:  8192
+ret: 0         st: 0 flags:1 dts: 2.835828 pts: 2.835828 pos:1000548 size: 32768
 ret: 0         st:-1 flags:0  ts: 1.730004
-ret: 0         st: 0 flags:1 dts: 1.730000 pts: 1.730000 pos: 610412 size:  8192
+ret: 0         st: 0 flags:1 dts: 1.730000 pts: 1.730000 pos: 610412 size: 32768
 ret: 0         st:-1 flags:1  ts: 0.624171
-ret: 0         st: 0 flags:1 dts: 0.624172 pts: 0.624172 pos: 220276 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.624172 pts: 0.624172 pos: 220276 size: 32768
 ret: 0         st: 0 flags:0  ts:-0.481655
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     68 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     68 size: 32768
 ret: 0         st: 0 flags:1  ts: 2.412494
-ret: 0         st: 0 flags:1 dts: 2.412494 pts: 2.412494 pos: 851196 size:  8192
+ret: 0         st: 0 flags:1 dts: 2.412494 pts: 2.412494 pos: 851196 size: 32768
 ret: 0         st:-1 flags:0  ts: 1.306672
-ret: 0         st: 0 flags:1 dts: 1.306667 pts: 1.306667 pos: 461060 size:  8192
+ret: 0         st: 0 flags:1 dts: 1.306667 pts: 1.306667 pos: 461060 size: 32768
 ret: 0         st:-1 flags:1  ts: 0.200839
-ret: 0         st: 0 flags:1 dts: 0.200839 pts: 0.200839 pos:  70924 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.200839 pts: 0.200839 pos:  70924 size: 32768
 ret: 0         st: 0 flags:0  ts:-0.904989
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     68 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     68 size: 32768
 ret: 0         st: 0 flags:1  ts: 1.989184
-ret: 0         st: 0 flags:1 dts: 1.989184 pts: 1.989184 pos: 701852 size:  8192
+ret: 0         st: 0 flags:1 dts: 1.989184 pts: 1.989184 pos: 701852 size: 32768
 ret: 0         st:-1 flags:0  ts: 0.883340
-ret: 0         st: 0 flags:1 dts: 0.883333 pts: 0.883333 pos: 311708 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.883333 pts: 0.883333 pos: 311708 size: 32768
 ret: 0         st:-1 flags:1  ts:-0.222493
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     68 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     68 size: 32768
 ret: 0         st: 0 flags:0  ts: 2.671678
-ret: 0         st: 0 flags:1 dts: 2.671678 pts: 2.671678 pos: 942636 size:  8192
+ret: 0         st: 0 flags:1 dts: 2.671678 pts: 2.671678 pos: 942636 size: 32768
 ret: 0         st: 0 flags:1  ts: 1.565850
-ret: 0         st: 0 flags:1 dts: 1.565850 pts: 1.565850 pos: 552500 size:  8192
+ret: 0         st: 0 flags:1 dts: 1.565850 pts: 1.565850 pos: 552500 size: 32768
 ret: 0         st:-1 flags:0  ts: 0.460008
-ret: 0         st: 0 flags:1 dts: 0.460000 pts: 0.460000 pos: 162356 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.460000 pts: 0.460000 pos: 162356 size: 32768
 ret: 0         st:-1 flags:1  ts:-0.645825
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     68 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     68 size: 32768
diff --git a/tests/ref/seek/acodec-pcm-u8 b/tests/ref/seek/acodec-pcm-u8
index 7782e4a9d7..5a02f6b845 100644
--- a/tests/ref/seek/acodec-pcm-u8
+++ b/tests/ref/seek/acodec-pcm-u8
@@ -1,53 +1,53 @@ 
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  8192
 ret: 0         st:-1 flags:0  ts:-1.000000
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  8192
 ret: 0         st:-1 flags:1  ts: 1.894167
-ret: 0         st: 0 flags:1 dts: 1.894172 pts: 1.894172 pos: 167110 size:  2048
+ret: 0         st: 0 flags:1 dts: 1.894172 pts: 1.894172 pos: 167110 size:  8192
 ret: 0         st: 0 flags:0  ts: 0.788345
-ret: 0         st: 0 flags:1 dts: 0.788345 pts: 0.788345 pos:  69576 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.788345 pts: 0.788345 pos:  69576 size:  8192
 ret: 0         st: 0 flags:1  ts:-0.317506
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  8192
 ret: 0         st:-1 flags:0  ts: 2.576668
-ret: 0         st: 0 flags:1 dts: 2.576667 pts: 2.576667 pos: 227306 size:  2048
+ret: 0         st: 0 flags:1 dts: 2.576667 pts: 2.576667 pos: 227306 size:  8192
 ret: 0         st:-1 flags:1  ts: 1.470835
-ret: 0         st: 0 flags:1 dts: 1.470839 pts: 1.470839 pos: 129772 size:  2048
+ret: 0         st: 0 flags:1 dts: 1.470839 pts: 1.470839 pos: 129772 size:  8192
 ret: 0         st: 0 flags:0  ts: 0.365011
-ret: 0         st: 0 flags:1 dts: 0.365011 pts: 0.365011 pos:  32238 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.365011 pts: 0.365011 pos:  32238 size:  8192
 ret: 0         st: 0 flags:1  ts:-0.740839
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  8192
 ret: 0         st:-1 flags:0  ts: 2.153336
-ret: 0         st: 0 flags:1 dts: 2.153333 pts: 2.153333 pos: 189968 size:  2048
+ret: 0         st: 0 flags:1 dts: 2.153333 pts: 2.153333 pos: 189968 size:  8192
 ret: 0         st:-1 flags:1  ts: 1.047503
-ret: 0         st: 0 flags:1 dts: 1.047506 pts: 1.047506 pos:  92434 size:  2048
+ret: 0         st: 0 flags:1 dts: 1.047506 pts: 1.047506 pos:  92434 size:  8192
 ret: 0         st: 0 flags:0  ts:-0.058322
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  8192
 ret: 0         st: 0 flags:1  ts: 2.835828
-ret: 0         st: 0 flags:1 dts: 2.835828 pts: 2.835828 pos: 250164 size:  2048
+ret: 0         st: 0 flags:1 dts: 2.835828 pts: 2.835828 pos: 250164 size:  8192
 ret: 0         st:-1 flags:0  ts: 1.730004
-ret: 0         st: 0 flags:1 dts: 1.730000 pts: 1.730000 pos: 152630 size:  2048
+ret: 0         st: 0 flags:1 dts: 1.730000 pts: 1.730000 pos: 152630 size:  8192
 ret: 0         st:-1 flags:1  ts: 0.624171
-ret: 0         st: 0 flags:1 dts: 0.624172 pts: 0.624172 pos:  55096 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.624172 pts: 0.624172 pos:  55096 size:  8192
 ret: 0         st: 0 flags:0  ts:-0.481655
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  8192
 ret: 0         st: 0 flags:1  ts: 2.412494
-ret: 0         st: 0 flags:1 dts: 2.412494 pts: 2.412494 pos: 212826 size:  2048
+ret: 0         st: 0 flags:1 dts: 2.412494 pts: 2.412494 pos: 212826 size:  8192
 ret: 0         st:-1 flags:0  ts: 1.306672
-ret: 0         st: 0 flags:1 dts: 1.306667 pts: 1.306667 pos: 115292 size:  2048
+ret: 0         st: 0 flags:1 dts: 1.306667 pts: 1.306667 pos: 115292 size:  8192
 ret: 0         st:-1 flags:1  ts: 0.200839
-ret: 0         st: 0 flags:1 dts: 0.200839 pts: 0.200839 pos:  17758 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.200839 pts: 0.200839 pos:  17758 size:  8192
 ret: 0         st: 0 flags:0  ts:-0.904989
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  8192
 ret: 0         st: 0 flags:1  ts: 1.989184
-ret: 0         st: 0 flags:1 dts: 1.989184 pts: 1.989184 pos: 175490 size:  2048
+ret: 0         st: 0 flags:1 dts: 1.989184 pts: 1.989184 pos: 175490 size:  8192
 ret: 0         st:-1 flags:0  ts: 0.883340
-ret: 0         st: 0 flags:1 dts: 0.883333 pts: 0.883333 pos:  77954 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.883333 pts: 0.883333 pos:  77954 size:  8192
 ret: 0         st:-1 flags:1  ts:-0.222493
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  8192
 ret: 0         st: 0 flags:0  ts: 2.671678
-ret: 0         st: 0 flags:1 dts: 2.671678 pts: 2.671678 pos: 235686 size:  2048
+ret: 0         st: 0 flags:1 dts: 2.671678 pts: 2.671678 pos: 235686 size:  8192
 ret: 0         st: 0 flags:1  ts: 1.565850
-ret: 0         st: 0 flags:1 dts: 1.565850 pts: 1.565850 pos: 138152 size:  2048
+ret: 0         st: 0 flags:1 dts: 1.565850 pts: 1.565850 pos: 138152 size:  8192
 ret: 0         st:-1 flags:0  ts: 0.460008
-ret: 0         st: 0 flags:1 dts: 0.460000 pts: 0.460000 pos:  40616 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.460000 pts: 0.460000 pos:  40616 size:  8192
 ret: 0         st:-1 flags:1  ts:-0.645825
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  8192
diff --git a/tests/ref/seek/lavf-al b/tests/ref/seek/lavf-al
index ebf7993425..4cf458835a 100644
--- a/tests/ref/seek/lavf-al
+++ b/tests/ref/seek/lavf-al
@@ -1,50 +1,50 @@ 
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:      0 size:   512
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:      0 size:  2048
 ret: 0         st:-1 flags:0  ts:-1.000000
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:      0 size:   512
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:      0 size:  2048
 ret: 0         st:-1 flags:1  ts: 1.894167
-ret: 0         st: 0 flags:1 dts: 1.894150 pts: 1.894150 pos:  41766 size:   512
+ret: 0         st: 0 flags:1 dts: 1.894150 pts: 1.894150 pos:  41766 size:  2048
 ret: 0         st: 0 flags:0  ts: 0.788345
-ret: 0         st: 0 flags:1 dts: 0.788345 pts: 0.788345 pos:  17383 size:   512
+ret: 0         st: 0 flags:1 dts: 0.788345 pts: 0.788345 pos:  17383 size:  2048
 ret: 0         st: 0 flags:1  ts:-0.317506
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:      0 size:   512
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:      0 size:  2048
 ret:-1         st:-1 flags:0  ts: 2.576668
 ret: 0         st:-1 flags:1  ts: 1.470835
-ret: 0         st: 0 flags:1 dts: 1.470839 pts: 1.470839 pos:  32432 size:   512
+ret: 0         st: 0 flags:1 dts: 1.470839 pts: 1.470839 pos:  32432 size:  2048
 ret: 0         st: 0 flags:0  ts: 0.364989
-ret: 0         st: 0 flags:1 dts: 0.364989 pts: 0.364989 pos:   8048 size:   512
+ret: 0         st: 0 flags:1 dts: 0.364989 pts: 0.364989 pos:   8048 size:  2048
 ret: 0         st: 0 flags:1  ts:-0.740816
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:      0 size:   512
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:      0 size:  2048
 ret:-1         st:-1 flags:0  ts: 2.153336
 ret: 0         st:-1 flags:1  ts: 1.047503
-ret: 0         st: 0 flags:1 dts: 1.047483 pts: 1.047483 pos:  23097 size:   512
+ret: 0         st: 0 flags:1 dts: 1.047483 pts: 1.047483 pos:  23097 size:  2048
 ret: 0         st: 0 flags:0  ts:-0.058322
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:      0 size:   512
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:      0 size:  2048
 ret: 0         st: 0 flags:1  ts: 2.835828
-ret: 0         st: 0 flags:1 dts: 1.987029 pts: 1.987029 pos:  43814 size:   286
+ret: 0         st: 0 flags:1 dts: 1.950476 pts: 1.950476 pos:  43008 size:  1092
 ret: 0         st:-1 flags:0  ts: 1.730004
-ret: 0         st: 0 flags:1 dts: 1.730023 pts: 1.730023 pos:  38147 size:   512
+ret: 0         st: 0 flags:1 dts: 1.730023 pts: 1.730023 pos:  38147 size:  2048
 ret: 0         st:-1 flags:1  ts: 0.624171
-ret: 0         st: 0 flags:1 dts: 0.624172 pts: 0.624172 pos:  13763 size:   512
+ret: 0         st: 0 flags:1 dts: 0.624172 pts: 0.624172 pos:  13763 size:  2048
 ret: 0         st: 0 flags:0  ts:-0.481678
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:      0 size:   512
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:      0 size:  2048
 ret: 0         st: 0 flags:1  ts: 2.412517
-ret: 0         st: 0 flags:1 dts: 1.987029 pts: 1.987029 pos:  43814 size:   286
+ret: 0         st: 0 flags:1 dts: 1.950476 pts: 1.950476 pos:  43008 size:  1092
 ret: 0         st:-1 flags:0  ts: 1.306672
-ret: 0         st: 0 flags:1 dts: 1.306667 pts: 1.306667 pos:  28812 size:   512
+ret: 0         st: 0 flags:1 dts: 1.306667 pts: 1.306667 pos:  28812 size:  2048
 ret: 0         st:-1 flags:1  ts: 0.200839
-ret: 0         st: 0 flags:1 dts: 0.200816 pts: 0.200816 pos:   4428 size:   512
+ret: 0         st: 0 flags:1 dts: 0.200816 pts: 0.200816 pos:   4428 size:  2048
 ret: 0         st: 0 flags:0  ts:-0.904989
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:      0 size:   512
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:      0 size:  2048
 ret: 0         st: 0 flags:1  ts: 1.989161
 ret: 0         st: 0 flags:1 dts: 1.989161 pts: 1.989161 pos:  43861 size:   239
 ret: 0         st:-1 flags:0  ts: 0.883340
-ret: 0         st: 0 flags:1 dts: 0.883356 pts: 0.883356 pos:  19478 size:   512
+ret: 0         st: 0 flags:1 dts: 0.883356 pts: 0.883356 pos:  19478 size:  2048
 ret: 0         st:-1 flags:1  ts:-0.222493
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:      0 size:   512
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:      0 size:  2048
 ret:-1         st: 0 flags:0  ts: 2.671655
 ret: 0         st: 0 flags:1  ts: 1.565850
-ret: 0         st: 0 flags:1 dts: 1.565850 pts: 1.565850 pos:  34527 size:   512
+ret: 0         st: 0 flags:1 dts: 1.565850 pts: 1.565850 pos:  34527 size:  2048
 ret: 0         st:-1 flags:0  ts: 0.460008
-ret: 0         st: 0 flags:1 dts: 0.460000 pts: 0.460000 pos:  10143 size:   512
+ret: 0         st: 0 flags:1 dts: 0.460000 pts: 0.460000 pos:  10143 size:  2048
 ret: 0         st:-1 flags:1  ts:-0.645825
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:      0 size:   512
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:      0 size:  2048
diff --git a/tests/ref/seek/lavf-au b/tests/ref/seek/lavf-au
index 8edce58f65..72c8593217 100644
--- a/tests/ref/seek/lavf-au
+++ b/tests/ref/seek/lavf-au
@@ -1,53 +1,53 @@ 
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     40 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     40 size:  8192
 ret: 0         st:-1 flags:0  ts:-1.000000
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     40 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     40 size:  8192
 ret: 0         st:-1 flags:1  ts: 1.894167
 ret:-EOF
 ret: 0         st: 0 flags:0  ts: 0.788345
-ret: 0         st: 0 flags:1 dts: 0.788345 pts: 0.788345 pos:  69572 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.788345 pts: 0.788345 pos:  69572 size:  8192
 ret: 0         st: 0 flags:1  ts:-0.317506
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     40 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     40 size:  8192
 ret: 0         st:-1 flags:0  ts: 2.576668
 ret:-EOF
 ret: 0         st:-1 flags:1  ts: 1.470835
 ret:-EOF
 ret: 0         st: 0 flags:0  ts: 0.365011
-ret: 0         st: 0 flags:1 dts: 0.365011 pts: 0.365011 pos:  32234 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.365011 pts: 0.365011 pos:  32234 size:  8192
 ret: 0         st: 0 flags:1  ts:-0.740839
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     40 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     40 size:  8192
 ret: 0         st:-1 flags:0  ts: 2.153336
 ret:-EOF
 ret: 0         st:-1 flags:1  ts: 1.047503
 ret:-EOF
 ret: 0         st: 0 flags:0  ts:-0.058322
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     40 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     40 size:  8192
 ret: 0         st: 0 flags:1  ts: 2.835828
 ret:-EOF
 ret: 0         st:-1 flags:0  ts: 1.730004
 ret:-EOF
 ret: 0         st:-1 flags:1  ts: 0.624171
-ret: 0         st: 0 flags:1 dts: 0.624172 pts: 0.624172 pos:  55092 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.624172 pts: 0.624172 pos:  55092 size:  8192
 ret: 0         st: 0 flags:0  ts:-0.481655
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     40 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     40 size:  8192
 ret: 0         st: 0 flags:1  ts: 2.412494
 ret:-EOF
 ret: 0         st:-1 flags:0  ts: 1.306672
 ret:-EOF
 ret: 0         st:-1 flags:1  ts: 0.200839
-ret: 0         st: 0 flags:1 dts: 0.200839 pts: 0.200839 pos:  17754 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.200839 pts: 0.200839 pos:  17754 size:  8192
 ret: 0         st: 0 flags:0  ts:-0.904989
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     40 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     40 size:  8192
 ret: 0         st: 0 flags:1  ts: 1.989184
 ret:-EOF
 ret: 0         st:-1 flags:0  ts: 0.883340
-ret: 0         st: 0 flags:1 dts: 0.883333 pts: 0.883333 pos:  77950 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.883333 pts: 0.883333 pos:  77950 size:  8192
 ret: 0         st:-1 flags:1  ts:-0.222493
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     40 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     40 size:  8192
 ret: 0         st: 0 flags:0  ts: 2.671678
 ret:-EOF
 ret: 0         st: 0 flags:1  ts: 1.565850
 ret:-EOF
 ret: 0         st:-1 flags:0  ts: 0.460008
-ret: 0         st: 0 flags:1 dts: 0.460000 pts: 0.460000 pos:  40612 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.460000 pts: 0.460000 pos:  40612 size:  8192
 ret: 0         st:-1 flags:1  ts:-0.645825
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     40 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     40 size:  8192
diff --git a/tests/ref/seek/lavf-mov b/tests/ref/seek/lavf-mov
index 27ea7c7730..2eda1c08e0 100644
--- a/tests/ref/seek/lavf-mov
+++ b/tests/ref/seek/lavf-mov
@@ -1,48 +1,48 @@ 
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1767 size: 27837
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1599 size: 27837
 ret: 0         st:-1 flags:0  ts:-1.000000
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1767 size: 27837
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1599 size: 27837
 ret: 0         st:-1 flags:1  ts: 1.894167
-ret: 0         st: 1 flags:1 dts: 0.952018 pts: 0.952018 pos: 326971 size:  1024
+ret: 0         st: 1 flags:1 dts: 0.952018 pts: 0.952018 pos: 326803 size:  1024
 ret: 0         st: 0 flags:0  ts: 0.788359
-ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos: 327995 size: 27834
+ret: 0         st: 1 flags:1 dts: 0.975238 pts: 0.975238 pos: 327827 size:  1024
 ret: 0         st: 0 flags:1  ts:-0.317500
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1767 size: 27837
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1599 size: 27837
 ret:-1         st: 1 flags:0  ts: 2.576667
 ret: 0         st: 1 flags:1  ts: 1.470839
-ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos: 327995 size: 27834
+ret: 0         st: 1 flags:1 dts: 0.998458 pts: 0.998458 pos: 328851 size:    68
 ret: 0         st:-1 flags:0  ts: 0.365002
-ret: 0         st: 0 flags:1 dts: 0.480000 pts: 0.480000 pos: 165249 size: 27925
+ret: 0         st: 1 flags:1 dts: 0.487619 pts: 0.487619 pos: 165081 size:  1024
 ret: 0         st:-1 flags:1  ts:-0.740831
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1767 size: 27837
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1599 size: 27837
 ret:-1         st: 0 flags:0  ts: 2.153359
 ret: 0         st: 0 flags:1  ts: 1.047500
-ret: 0         st: 1 flags:1 dts: 0.952018 pts: 0.952018 pos: 326971 size:  1024
+ret: 0         st: 1 flags:1 dts: 0.952018 pts: 0.952018 pos: 326803 size:  1024
 ret: 0         st: 1 flags:0  ts:-0.058322
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1767 size: 27837
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1599 size: 27837
 ret: 0         st: 1 flags:1  ts: 2.835828
-ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos: 327995 size: 27834
+ret: 0         st: 1 flags:1 dts: 0.998458 pts: 0.998458 pos: 328851 size:    68
 ret:-1         st:-1 flags:0  ts: 1.730004
 ret: 0         st:-1 flags:1  ts: 0.624171
-ret: 0         st: 1 flags:1 dts: 0.464399 pts: 0.464399 pos: 164225 size:  1024
+ret: 0         st: 1 flags:1 dts: 0.464399 pts: 0.464399 pos: 164057 size:  1024
 ret: 0         st: 0 flags:0  ts:-0.481641
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1767 size: 27837
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1599 size: 27837
 ret: 0         st: 0 flags:1  ts: 2.412500
-ret: 0         st: 1 flags:1 dts: 0.952018 pts: 0.952018 pos: 326971 size:  1024
+ret: 0         st: 1 flags:1 dts: 0.952018 pts: 0.952018 pos: 326803 size:  1024
 ret:-1         st: 1 flags:0  ts: 1.306667
 ret: 0         st: 1 flags:1  ts: 0.200839
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1767 size: 27837
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1599 size: 27837
 ret: 0         st:-1 flags:0  ts:-0.904994
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1767 size: 27837
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1599 size: 27837
 ret: 0         st:-1 flags:1  ts: 1.989173
-ret: 0         st: 1 flags:1 dts: 0.952018 pts: 0.952018 pos: 326971 size:  1024
+ret: 0         st: 1 flags:1 dts: 0.952018 pts: 0.952018 pos: 326803 size:  1024
 ret: 0         st: 0 flags:0  ts: 0.883359
-ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos: 327995 size: 27834
+ret: 0         st: 1 flags:1 dts: 0.975238 pts: 0.975238 pos: 327827 size:  1024
 ret: 0         st: 0 flags:1  ts:-0.222500
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1767 size: 27837
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1599 size: 27837
 ret:-1         st: 1 flags:0  ts: 2.671678
 ret: 0         st: 1 flags:1  ts: 1.565850
-ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos: 327995 size: 27834
+ret: 0         st: 1 flags:1 dts: 0.998458 pts: 0.998458 pos: 328851 size:    68
 ret: 0         st:-1 flags:0  ts: 0.460008
-ret: 0         st: 0 flags:1 dts: 0.480000 pts: 0.480000 pos: 165249 size: 27925
+ret: 0         st: 1 flags:1 dts: 0.487619 pts: 0.487619 pos: 165081 size:  1024
 ret: 0         st:-1 flags:1  ts:-0.645825
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1767 size: 27837
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1599 size: 27837
diff --git a/tests/ref/seek/lavf-ul b/tests/ref/seek/lavf-ul
index ebf7993425..4cf458835a 100644
--- a/tests/ref/seek/lavf-ul
+++ b/tests/ref/seek/lavf-ul
@@ -1,50 +1,50 @@ 
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:      0 size:   512
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:      0 size:  2048
 ret: 0         st:-1 flags:0  ts:-1.000000
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:      0 size:   512
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:      0 size:  2048
 ret: 0         st:-1 flags:1  ts: 1.894167
-ret: 0         st: 0 flags:1 dts: 1.894150 pts: 1.894150 pos:  41766 size:   512
+ret: 0         st: 0 flags:1 dts: 1.894150 pts: 1.894150 pos:  41766 size:  2048
 ret: 0         st: 0 flags:0  ts: 0.788345
-ret: 0         st: 0 flags:1 dts: 0.788345 pts: 0.788345 pos:  17383 size:   512
+ret: 0         st: 0 flags:1 dts: 0.788345 pts: 0.788345 pos:  17383 size:  2048
 ret: 0         st: 0 flags:1  ts:-0.317506
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:      0 size:   512
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:      0 size:  2048
 ret:-1         st:-1 flags:0  ts: 2.576668
 ret: 0         st:-1 flags:1  ts: 1.470835
-ret: 0         st: 0 flags:1 dts: 1.470839 pts: 1.470839 pos:  32432 size:   512
+ret: 0         st: 0 flags:1 dts: 1.470839 pts: 1.470839 pos:  32432 size:  2048
 ret: 0         st: 0 flags:0  ts: 0.364989
-ret: 0         st: 0 flags:1 dts: 0.364989 pts: 0.364989 pos:   8048 size:   512
+ret: 0         st: 0 flags:1 dts: 0.364989 pts: 0.364989 pos:   8048 size:  2048
 ret: 0         st: 0 flags:1  ts:-0.740816
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:      0 size:   512
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:      0 size:  2048
 ret:-1         st:-1 flags:0  ts: 2.153336
 ret: 0         st:-1 flags:1  ts: 1.047503
-ret: 0         st: 0 flags:1 dts: 1.047483 pts: 1.047483 pos:  23097 size:   512
+ret: 0         st: 0 flags:1 dts: 1.047483 pts: 1.047483 pos:  23097 size:  2048
 ret: 0         st: 0 flags:0  ts:-0.058322
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:      0 size:   512
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:      0 size:  2048
 ret: 0         st: 0 flags:1  ts: 2.835828
-ret: 0         st: 0 flags:1 dts: 1.987029 pts: 1.987029 pos:  43814 size:   286
+ret: 0         st: 0 flags:1 dts: 1.950476 pts: 1.950476 pos:  43008 size:  1092
 ret: 0         st:-1 flags:0  ts: 1.730004
-ret: 0         st: 0 flags:1 dts: 1.730023 pts: 1.730023 pos:  38147 size:   512
+ret: 0         st: 0 flags:1 dts: 1.730023 pts: 1.730023 pos:  38147 size:  2048
 ret: 0         st:-1 flags:1  ts: 0.624171
-ret: 0         st: 0 flags:1 dts: 0.624172 pts: 0.624172 pos:  13763 size:   512
+ret: 0         st: 0 flags:1 dts: 0.624172 pts: 0.624172 pos:  13763 size:  2048
 ret: 0         st: 0 flags:0  ts:-0.481678
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:      0 size:   512
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:      0 size:  2048
 ret: 0         st: 0 flags:1  ts: 2.412517
-ret: 0         st: 0 flags:1 dts: 1.987029 pts: 1.987029 pos:  43814 size:   286
+ret: 0         st: 0 flags:1 dts: 1.950476 pts: 1.950476 pos:  43008 size:  1092
 ret: 0         st:-1 flags:0  ts: 1.306672
-ret: 0         st: 0 flags:1 dts: 1.306667 pts: 1.306667 pos:  28812 size:   512
+ret: 0         st: 0 flags:1 dts: 1.306667 pts: 1.306667 pos:  28812 size:  2048
 ret: 0         st:-1 flags:1  ts: 0.200839
-ret: 0         st: 0 flags:1 dts: 0.200816 pts: 0.200816 pos:   4428 size:   512
+ret: 0         st: 0 flags:1 dts: 0.200816 pts: 0.200816 pos:   4428 size:  2048
 ret: 0         st: 0 flags:0  ts:-0.904989
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:      0 size:   512
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:      0 size:  2048
 ret: 0         st: 0 flags:1  ts: 1.989161
 ret: 0         st: 0 flags:1 dts: 1.989161 pts: 1.989161 pos:  43861 size:   239
 ret: 0         st:-1 flags:0  ts: 0.883340
-ret: 0         st: 0 flags:1 dts: 0.883356 pts: 0.883356 pos:  19478 size:   512
+ret: 0         st: 0 flags:1 dts: 0.883356 pts: 0.883356 pos:  19478 size:  2048
 ret: 0         st:-1 flags:1  ts:-0.222493
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:      0 size:   512
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:      0 size:  2048
 ret:-1         st: 0 flags:0  ts: 2.671655
 ret: 0         st: 0 flags:1  ts: 1.565850
-ret: 0         st: 0 flags:1 dts: 1.565850 pts: 1.565850 pos:  34527 size:   512
+ret: 0         st: 0 flags:1 dts: 1.565850 pts: 1.565850 pos:  34527 size:  2048
 ret: 0         st:-1 flags:0  ts: 0.460008
-ret: 0         st: 0 flags:1 dts: 0.460000 pts: 0.460000 pos:  10143 size:   512
+ret: 0         st: 0 flags:1 dts: 0.460000 pts: 0.460000 pos:  10143 size:  2048
 ret: 0         st:-1 flags:1  ts:-0.645825
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:      0 size:   512
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:      0 size:  2048
diff --git a/tests/ref/seek/lavf-voc b/tests/ref/seek/lavf-voc
index 014c251129..55bde57c20 100644
--- a/tests/ref/seek/lavf-voc
+++ b/tests/ref/seek/lavf-voc
@@ -1,44 +1,44 @@ 
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     32 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     32 size:  2048
 ret: 0         st:-1 flags:0  ts:-1.000000
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     32 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     32 size:  2048
 ret: 0         st:-1 flags:1  ts: 1.894167
 ret:-EOF
 ret: 0         st: 0 flags:0  ts: 0.788330
-ret: 0         st: 0 flags:1 dts: 0.800773 pts: 0.800773 pos:  34984 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.800773 pts: 0.800773 pos:  34880 size:  2048
 ret:-1         st: 0 flags:1  ts:-0.317494
 ret:-1         st:-1 flags:0  ts: 2.576668
 ret: 0         st:-1 flags:1  ts: 1.470835
 ret:-EOF
 ret: 0         st: 0 flags:0  ts: 0.365012
-ret: 0         st: 0 flags:1 dts: 0.376834 pts: 0.376834 pos:  16480 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.376834 pts: 0.376834 pos:  16432 size:  2048
 ret:-1         st: 0 flags:1  ts:-0.740834
 ret:-1         st:-1 flags:0  ts: 2.153336
 ret: 0         st:-1 flags:1  ts: 1.047503
 ret:-EOF
 ret: 0         st: 0 flags:0  ts:-0.058328
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     32 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     32 size:  2048
 ret: 0         st: 0 flags:1  ts: 2.835848
 ret:-EOF
 ret:-1         st:-1 flags:0  ts: 1.730004
 ret: 0         st:-1 flags:1  ts: 0.624171
-ret: 0         st: 0 flags:1 dts: 0.612356 pts: 0.612356 pos:  26760 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.612356 pts: 0.612356 pos:  26680 size:  2048
 ret: 0         st: 0 flags:0  ts:-0.481669
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     32 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     32 size:  2048
 ret: 0         st: 0 flags:1  ts: 2.412507
 ret:-EOF
 ret:-1         st:-1 flags:0  ts: 1.306672
 ret: 0         st:-1 flags:1  ts: 0.200839
-ret: 0         st: 0 flags:1 dts: 0.188417 pts: 0.188417 pos:   8256 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.188417 pts: 0.188417 pos:   8232 size:  2048
 ret: 0         st: 0 flags:0  ts:-0.904986
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     32 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     32 size:  2048
 ret: 0         st: 0 flags:1  ts: 1.989167
 ret:-EOF
 ret: 0         st:-1 flags:0  ts: 0.883340
-ret: 0         st: 0 flags:1 dts: 0.894981 pts: 0.894981 pos:  39096 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.894981 pts: 0.894981 pos:  38980 size:  2048
 ret:-1         st:-1 flags:1  ts:-0.222493
 ret:-1         st: 0 flags:0  ts: 2.671673
 ret: 0         st: 0 flags:1  ts: 1.565849
 ret:-EOF
 ret: 0         st:-1 flags:0  ts: 0.460008
-ret: 0         st: 0 flags:1 dts: 0.471043 pts: 0.471043 pos:  20592 size:  1024
+ret: 0         st: 0 flags:1 dts: 0.471043 pts: 0.471043 pos:  20532 size:  2048
 ret:-1         st:-1 flags:1  ts:-0.645825
diff --git a/tests/ref/seek/lavf-wav b/tests/ref/seek/lavf-wav
index 0328ffc84b..c3e90b6a22 100644
--- a/tests/ref/seek/lavf-wav
+++ b/tests/ref/seek/lavf-wav
@@ -1,53 +1,53 @@ 
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     74 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     74 size:  8192
 ret: 0         st:-1 flags:0  ts:-1.000000
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     74 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     74 size:  8192
 ret: 0         st:-1 flags:1  ts: 1.894167
 ret:-EOF
 ret: 0         st: 0 flags:0  ts: 0.788345
-ret: 0         st: 0 flags:1 dts: 0.788345 pts: 0.788345 pos:  69606 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.788345 pts: 0.788345 pos:  69606 size:  8192
 ret: 0         st: 0 flags:1  ts:-0.317506
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     74 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     74 size:  8192
 ret: 0         st:-1 flags:0  ts: 2.576668
 ret:-EOF
 ret: 0         st:-1 flags:1  ts: 1.470835
 ret:-EOF
 ret: 0         st: 0 flags:0  ts: 0.365011
-ret: 0         st: 0 flags:1 dts: 0.365011 pts: 0.365011 pos:  32268 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.365011 pts: 0.365011 pos:  32268 size:  8192
 ret: 0         st: 0 flags:1  ts:-0.740839
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     74 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     74 size:  8192
 ret: 0         st:-1 flags:0  ts: 2.153336
 ret:-EOF
 ret: 0         st:-1 flags:1  ts: 1.047503
 ret:-EOF
 ret: 0         st: 0 flags:0  ts:-0.058322
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     74 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     74 size:  8192
 ret: 0         st: 0 flags:1  ts: 2.835828
 ret:-EOF
 ret: 0         st:-1 flags:0  ts: 1.730004
 ret:-EOF
 ret: 0         st:-1 flags:1  ts: 0.624171
-ret: 0         st: 0 flags:1 dts: 0.624172 pts: 0.624172 pos:  55126 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.624172 pts: 0.624172 pos:  55126 size:  8192
 ret: 0         st: 0 flags:0  ts:-0.481655
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     74 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     74 size:  8192
 ret: 0         st: 0 flags:1  ts: 2.412494
 ret:-EOF
 ret: 0         st:-1 flags:0  ts: 1.306672
 ret:-EOF
 ret: 0         st:-1 flags:1  ts: 0.200839
-ret: 0         st: 0 flags:1 dts: 0.200839 pts: 0.200839 pos:  17788 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.200839 pts: 0.200839 pos:  17788 size:  8192
 ret: 0         st: 0 flags:0  ts:-0.904989
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     74 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     74 size:  8192
 ret: 0         st: 0 flags:1  ts: 1.989184
 ret:-EOF
 ret: 0         st:-1 flags:0  ts: 0.883340
-ret: 0         st: 0 flags:1 dts: 0.883333 pts: 0.883333 pos:  77984 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.883333 pts: 0.883333 pos:  77984 size:  8192
 ret: 0         st:-1 flags:1  ts:-0.222493
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     74 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     74 size:  8192
 ret: 0         st: 0 flags:0  ts: 2.671678
 ret:-EOF
 ret: 0         st: 0 flags:1  ts: 1.565850
 ret:-EOF
 ret: 0         st:-1 flags:0  ts: 0.460008
-ret: 0         st: 0 flags:1 dts: 0.460000 pts: 0.460000 pos:  40646 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.460000 pts: 0.460000 pos:  40646 size:  8192
 ret: 0         st:-1 flags:1  ts:-0.645825
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     74 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     74 size:  8192