FLAC decoder testbench: Difference between revisions

From Hydrogenaudio Knowledgebase
(Autocollapse remarks so table doesn't bloat)
(Add rockbox tested on current git build on a Clip Zip and the Win32 UI simulator)
Line 97: Line 97:
| style="background: red;" colspan="2" | Freezes
| style="background: red;" colspan="2" | Freezes
| class="mw-collapsible mw-collapsed" | Stretches non-standard samplerates to 44.1kHz. Freezes on any non-standard blocksize, on variable blocksize streams and files more than 6 channels. Incorrect decoding (short noisy bursts) of RICE2 partitions with escape codes. Incorrect decoding (garbled audio) of LPC with qlp precision of 2. Stutters on 192kHz with 32th order predictors
| class="mw-collapsible mw-collapsed" | Stretches non-standard samplerates to 44.1kHz. Freezes on any non-standard blocksize, on variable blocksize streams and files more than 6 channels. Incorrect decoding (short noisy bursts) of RICE2 partitions with escape codes. Incorrect decoding (garbled audio) of LPC with qlp precision of 2. Stutters on 192kHz with 32th order predictors
|}
|-
! Rockbox
| style="background: lime;"  | OK
| style="background: lime;"  | OK
| style="background: lime;"  | OK
| style="background: lime;"  | OK
| style="background: lime;"  | OK
| style="background: lime;"  | OK
| style="background: yellow;"| Limited
| style="background: yellow;"| Limited
| style="background: lime;"  | OK
| style="background: lime;"  | OK
| style="background: red;" colspan="2" | Freezes
| class="mw-collapsible mw-collapsed" |  6.1 and higher multichannel files freeze the player.
}

Revision as of 19:34, 28 August 2021

To further the use and development of FLAC, a testbench containing files with different parameters was constructed. The testbench consists of 46 files, each one having a different combination of characteristics (like samplerate, bitdepth and number of channels) and FLAC features (like blocksize, maximum partition order, maximum predictor order, maximum predictor precision etc.) However, all combinations fall within the so called subset: a limited set of FLAC parameters that fit in the frame header and are supposed to be 'streamable'. Please be aware that certain tested features (such as blocksize 16 or a samplerate of 38457Hz) are pretty much useless in day-to-day usage, and that failure to properly decode such a file is mostly of interest to developers than to users.

For more information on which file tests what characteristics and features, please refer to the readme.txt file that is included in the testbench. All files are licensed under a Creative Commons license, but please refer to the readme.txt file to see which file is licensed under which Creative Commons license and for 'attribution' as to who is the original author.

The testbench can be downloaded here

CDDA (44.1kHz/16-bit and less) High-res (96kHz/24-bit and more) Multichannel
Decoder Block­size Features Sample­rates Bit­depths Variable blocksize General Block­size Features Sample­rates Bit­depths Channel lay-outs Features Remarks
Files in test set 1-10 11-18 19-21 22-23 24-27 28 29-30 31-32, 34 33-36 37 38-43 44-46
JVC KD-R871BT Limited OK Limited OK NOK OK Freezes - NOK - NOK Heavy stutter with blocksize 16. Stretches non-standard samplerates. Samplerates above 96kHz, variable blocksize files and multichannel files 'not supported'. Freezes on blocksize 16384
Onkyo TX-NR686 Limited OK Limited OK NOK OK OK OK Limited OK NOK Heavy stutter with blocksize 16. Does not play non-standard samplerates. Does not play current format variable blocksize files but does play 'pre-2007 format' variable blocksize files. Does not play 4.0, 5.1 and 7.1 files but does play 5.0 and 6.1 as stereo and 3.0 as 3.1.
Panasonic TX-60CX750E OK OK Limited OK OK OK OK OK Limited OK OK OK Based on libFLAC 1.2.1. Stretches non-standard samplerates. Does not output more than 2 channels over HDMI
Pioneer BDP-150 Freezes Limited Limited OK Freezes OK Freezes Limited Limited OK Freezes Stretches non-standard samplerates to 44.1kHz. Freezes on any non-standard blocksize, on variable blocksize streams and files more than 6 channels. Incorrect decoding (short noisy bursts) of RICE2 partitions with escape codes. Incorrect decoding (garbled audio) of LPC with qlp precision of 2. Stutters on 192kHz with 32th order predictors
Rockbox OK OK OK OK OK OK Limited Limited OK OK Freezes 6.1 and higher multichannel files freeze the player.

}