1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-12 19:18:44 +02:00
FFmpeg/tests/ref/fate/g726-encode-3bit
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

29 lines
1.7 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, 2560, 5120, 541f86e88472104206b1fb48f337ff0a
0, 2560, 2560, 2560, 5120, 5303a5e8e41a62a3193993cecd018875
0, 5120, 5120, 2560, 5120, aa67abf20d31b1725a42c0fc646ed227
0, 7680, 7680, 2560, 5120, 01c71275d7ad24250b4800709a6a9783
0, 10240, 10240, 2560, 5120, c60745f2287bacb562c6ce7e92cc7498
0, 12800, 12800, 2560, 5120, 5242ce9464420f0c7ce9ab8c7e63bdc8
0, 15360, 15360, 2560, 5120, 8f8c9b0e06ed45f6f08b11e3f70a34ad
0, 17920, 17920, 2560, 5120, 37fe7307137fcf760752d5fd65a446a0
0, 20480, 20480, 2560, 5120, a2683017632e2fd5efb64cb3d2da3884
0, 23040, 23040, 2560, 5120, 512b3e9a543b2d9002386187050c7f7e
0, 25600, 25600, 2560, 5120, c630e8df0e006390a22cc3593d7c7c37
0, 28160, 28160, 2560, 5120, e08e2ebdfe6f1a581b77247e76035117
0, 30720, 30720, 2560, 5120, 1a25f9d9eeac8243b14410b7eaedd47b
0, 33280, 33280, 2560, 5120, c3f8b4075f9b85df505e1ce7afaa34c0
0, 35840, 35840, 2560, 5120, 93af21d167e70b2d8a218db530572439
0, 38400, 38400, 2560, 5120, 7cc3c8338cafbbe2941f330dfda46d73
0, 40960, 40960, 2560, 5120, 36015b4be5eaaf57f27d0258b43b0156
0, 43520, 43520, 2560, 5120, 0b46668539b430dbf1f185e2bba5fc99
0, 46080, 46080, 1920, 3840, 239f80bfdafac8eccdcfc378b65379f5