LE developers don't add patches to FFMPEG. So the patch from post #7 has to be submitted to FFMPEG folks directly:
This patch is a pure hack. Not meant to be submitted.
LE developers don't add patches to FFMPEG. So the patch from post #7 has to be submitted to FFMPEG folks directly:
This patch is a pure hack. Not meant to be submitted.
Display MoreThanks iucoen!
I'll take a look at the patches and see if I understand them.
Ideally, I wouldn't be using DoP though as that's limited to DSD64 because DSD128 (and 256 and 512) would need to be converted to something that's higher than 384khz to be passed "over PCM"
truly native DSD up to DSD512 should be possible, as volumio can accomplish this for dacs that support it (eg the amanero USB to I2S board, which is in the quirks.c list)
Most USB DACs made in the last 3 years should be able to handle up to DSD256 with DoP, transported over 705.6kHz PCM. (Most DAC chips can only handle 384kHz like you said, but the USB 705.6 kHZ PCM mode is there just for DoP.)
I have some ffmpeg patches which change the DSD -> PCM "conversion" routines to convert to DoP instead. Then a USB DAC would be able to get the RAW DSD bits. I can share those patches with you and maybe you can roll your own build?
Patch is attached. Assuming the SACD add-on uses libavcodec to do the decoding, it should just work.
I have some ffmpeg patches which change the DSD -> PCM "conversion" routines to convert to DoP instead. Then a USB DAC would be able to get the RAW DSD bits. I can share those patches with you and maybe you can roll your own build?
I can't test the older version (11.x) on the Pi5, so I don't know if this is a LibreElec bug or a pi5 incompatibility with my TV.
Any insights?
Yes you can. Download it here: https://test.libreelec.tv/11.0/RPi/RPi5/
My experience with RPi5 is that it's picky about the cable. I had an HDMI 1.4 dongle it didn't like. Replaced with a micro-cable w/o the dongle and everything works.
A new HDMI 2.0 cable fixed all my problems, including CEC!
try to start your TV and then start the RPi
I have to use a generated edid then everything works (at all my LG TVs) https://wiki.libreelec.tv/configuration/edid#raspberry-pi including CEC
Yeah the TV did start first. Also changing resolution to 1080p got rid of of the flickering. (11 also flickers, FYI, just not as bad as 12). I think I may just have HDMI cable/dongle. I'll go out today and buy a micro-hdmi cable that's 4K/60 capable. Maybe my CEC problem is due to the cable as well...
Also I tried both 11 nightly (1104) and 12 nightly (1103). 12 boots up and the screen flickers. 11 seems to be more stable. In any case, I didn't get very far without the TV remote working. Back to Pi3 for now...
Please let me know if you want me to collect anything to debug the CEC issue.
Does HDMI CEC work on your Pi5? I can't seem to get mine working with CEC.