FLAC decoder testbench: Difference between revisions

From Hydrogenaudio Knowledgebase
(Created page with "To further the use and development of FLAC, a testbench containing files with different parameters was constructed. The testbench consists of 46 ...")
 
(Autocollapse remarks so table doesn't bloat)
Line 13: Line 13:
|-
|-
!'''Decoder'''
!'''Decoder'''
! Blocksize
! Block­size
! Features
! Features
! Sample­rates
! Sample­rates
! Bitdepths
! Bit­depths
! Variable blocksize
! Variable blocksize
! General
! General
! Blocksize
! Block­size
! Features
! Features
! Sample­rates
! Sample­rates
! Bitdepths
! Bit­depths
! Channel lay-outs
! Channel lay-outs
! Features
! Features
Line 53: Line 53:
| -
| -
| style="background: orange;" colspan="2" | NOK
| style="background: orange;" colspan="2" | 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
| class="mw-collapsible mw-collapsed" | 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
! Onkyo TX-NR686
Line 67: Line 67:
| style="background: lime;"  | OK
| style="background: lime;"  | OK
| style="background: orange;" colspan="2" | NOK
| style="background: orange;" colspan="2" | 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.
| class="mw-collapsible mw-collapsed" | 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
! Panasonic TX-60CX750E
Line 82: Line 82:
| style="background: lime;"  | OK
| style="background: lime;"  | OK
| style="background: lime;"  | OK
| style="background: lime;"  | OK
| Based on libFLAC 1.2.1. Stretches non-standard samplerates. Does not output more than 2 channels over HDMI
| class="mw-collapsible mw-collapsed" | Based on libFLAC 1.2.1. Stretches non-standard samplerates. Does not output more than 2 channels over HDMI
|-
|-
! Pioneer BDP-150
! Pioneer BDP-150
Line 96: Line 96:
| style="background: lime;"  | OK
| style="background: lime;"  | OK
| style="background: red;" colspan="2" | Freezes
| style="background: red;" colspan="2" | 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
| 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
|}
|}

Revision as of 18:15, 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