With recent builds of sox the 'pipe' input FAIL:
flac -d --force-rf64-format -c src.flac | sox -V -V -t wav - -b16 -c2 -r44.1k out8.wav
flac git-cfe3afca 20240516...
sox: SoX v14.4.2
time: May 26 2024 14:37:10
compiler: gcc 14.1.0
arch: 1248 48 88 L OMP
sox DBUG wav: Found RF64 header
sox DBUG wav: Found chunk 'ds64', size 28
sox FAIL formats: can't open input `-': invalid chunk ID found
src.flac: ERROR, decoded number of samples is smaller than the total number of samples set in the STREAMINFO
This happen with any source or also using eac3to 'pipe'
Work fine with the official release from 2015 and others buils from 2017 and 2020 from https://audiodigitale.eu/repo/sox/
Other info here: https://forum.doom9.org/showthread.php?p=2002181#post2002181