ALAC -> OPUS Download Transcode Errors

Server Version#: 1.43.3.10896
Player Version#: PlexAmp 4.50.3 (152)
<If providing server logs please do NOT turn on verbose logging, only debug logging should be enabled>

I am running into an error when attempting to download music on PlexAmp. I am running the new beta version, but I think this has been an error for a long time. When I try to download ALAC files (Apple Lossless, file extension .m4a) as Opus, the download never finishes.

Looking at the logs (attached), the transcoder appears to be trying to convert them as AAC, which has the same file extension. I use ALAC files as they work with other Apple applications. Is there any way to fix this behavior? I’m happy to test/provide further logs if needed!

Plex Media Server.log (2.2 MB)

my alac files are recognized as alac by the server … opus conversion and download to plexamp completes successfully (using latest plexamp and same server version that you listed)

in a (mac) terminal what does afinfo filename.m4a show for one of the affected alac files ?

Most of my ALAC files seem to encode fine too, but I am seeing about 10 files that seem to have errors (across multiple albums). I tried re-downloading/encoding, but that didn’t seem to work either. This is what I got from afinfo on one of the problem files, it seems to recognize it as an alac which is even stranger:

➜  ~ afinfo "/Volumes/Music/iTunes/iTunes Media/Music/Phoebe Bridgers/Punisher/05 Halloween.m4a"

File:           /Volumes/Music/iTunes/iTunes Media/Music/Phoebe Bridgers/Punisher/05 Halloween.m4a

File type ID:   m4af

Num Tracks:     1

----

Data format:     2 ch,  44100 Hz, alac (0x00000001) from 16-bit source, 4096 frames/packet

                no channel layout.

estimated duration: 271.266667 sec

audio bytes: 22961874

audio packets: 2921

bit rate: 677086 bits per second

packet size upper bound: 12023

maximum packet size: 12023

audio data file offset: 20480

optimized

audio 11962860 valid frames + 0 priming + 1556 remainder = 11964416

source bit depth: I16

----

not an expert on the server side of things, but after re-encoding affected files as ALAC, you might need to manually tell plex to re-analyze the updated tracks ?

app.plex.tv web interface … browse to album with an affected track … click vertical dots for options … ‘analyze’ shows there as an option, and ‘get info’ shows media info with a ‘view xml’ link for more details … if re-encoding and re-analyzing doesn’t help, not sure what else to try without having an affected file to look at