1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00
FFmpeg/tests/ref/fate/g726-encode-2bit
Marton Balint 3a09c2122d avformat/wavdec: dynamically set max_size by default
The wav demuxer by default tried to demux 4096-byte packets which caused
packets with very few number of samples for files with high channel count.
This caused a significant overhead especially since the latest ffmpeg.c
threading changes.

So let's use a similar approach for selecting audio frame size which is already
used in the PCM demuxer, which is to read 25 times per second but at most 1024
samples.

Signed-off-by: Marton Balint <cus@passwd.hu>
2024-03-02 19:13:03 +01:00

48 lines
3.2 KiB
Plaintext

#format: frame checksums
#version: 2
#hash: MD5
#tb 0: 1/8000
#media_type 0: audio
#codec_id 0: pcm_s16le
#sample_rate 0: 8000
#channel_layout_name 0: mono
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1280, 2560, f3ab112b1b0e900f2b936da73e14a125
0, 1280, 1280, 1280, 2560, 22f2d94221d6f6ff85d50b287c0d13e9
0, 2560, 2560, 1280, 2560, 01fb01c560b59ba5921c1e839e32fa8c
0, 3840, 3840, 1280, 2560, 0385b5b73919c7184bcda319faefddde
0, 5120, 5120, 1280, 2560, 8cd9ef1018b5169619b4baf1f99ea049
0, 6400, 6400, 1280, 2560, 06a1a3e0582d03a2f32eb149855f0dd3
0, 7680, 7680, 1280, 2560, c97f0f367b7a42aa1a8b396a835d0d64
0, 8960, 8960, 1280, 2560, c02abe424728f38a4e6fe3cc42069831
0, 10240, 10240, 1280, 2560, 6fe3da1d9299b9b5395afeef048b3cbc
0, 11520, 11520, 1280, 2560, ac0971acae9ec3910c2cf39f62491466
0, 12800, 12800, 1280, 2560, 715a285c131c2252bf286d5a11af1de2
0, 14080, 14080, 1280, 2560, 3d90a8331fa11d2154195642311688ab
0, 15360, 15360, 1280, 2560, ef621ba890460fb8e526d56cfc541be5
0, 16640, 16640, 1280, 2560, 89be141dd2225e7045bc6650cbb9597e
0, 17920, 17920, 1280, 2560, c1ccfa84e1e02903c835271a58d22113
0, 19200, 19200, 1280, 2560, a47866a32feb4b6c5e372f4d0daec09a
0, 20480, 20480, 1280, 2560, eb497427f47b81f61dd1c9c0e5974bbe
0, 21760, 21760, 1280, 2560, 0c9bcf02f7519ec649216d5f2b0b5261
0, 23040, 23040, 1280, 2560, 8abbd54d9ccca6a04b68177457adc7d7
0, 24320, 24320, 1280, 2560, c5057c0d53da8623dfd0615a94dab1cf
0, 25600, 25600, 1280, 2560, d34772bf2f19f44b7ea27bab285e7f41
0, 26880, 26880, 1280, 2560, b3df3707bc95ce2f6420bcbf7603c33e
0, 28160, 28160, 1280, 2560, 797dd52a17ad5cfdc7bd098c7101f7c2
0, 29440, 29440, 1280, 2560, 86dda35ff2d5d8b8825747ac71ac1d0d
0, 30720, 30720, 1280, 2560, 1028b04c740becf23cf58114198945bf
0, 32000, 32000, 1280, 2560, bb3eb59d5af1db519b7f7fc2fc3e3b97
0, 33280, 33280, 1280, 2560, f3e8a76ba0494edad76c49239c6d79d5
0, 34560, 34560, 1280, 2560, eaf7c7daf474addfafe5ac947c729a85
0, 35840, 35840, 1280, 2560, c4020767dcd200c8d39cdee32cc15563
0, 37120, 37120, 1280, 2560, c3d5d41ae4ac67ef5d40e7c46fa980ed
0, 38400, 38400, 1280, 2560, cbd3e3f07c2a321fcdea77eb3a61c1c7
0, 39680, 39680, 1280, 2560, f7bd15761a8d1b7a045f5ffb015a5126
0, 40960, 40960, 1280, 2560, 1352b4120a5cff7daab40c850a3ad4dd
0, 42240, 42240, 1280, 2560, 1bf16db460df57dcc2a294864a8faad9
0, 43520, 43520, 1280, 2560, a5091960966a453288c01959b9ecbd00
0, 44800, 44800, 1280, 2560, 802cf1b2fd8fb9ae63edc0dbca9a72db
0, 46080, 46080, 1280, 2560, dcf838cc0400996b3cabb46dd1d78091
0, 47360, 47360, 640, 1280, 0825a77ec4cf6a812e394ddbe0cfdd00