Plex analysis triggers incorrect recoding

Thank you for answering.
I have created a new instance of the library (moved /var/lib/plexmediaserver/Library to backup) and added the problematic files. They play fine using direct for both audio and video.
working.zip (2.6 KB)
Second xml is from my existing library (where they recode) and it seems the same except for id’s.
not working.zip (2.7 KB)

Another thing that I have noticed. After files start recoding, I cannot re-add them to new library on the same server. Same file in any library will fail to play normally until I delete entire Library folder on the server.
So this doesn’t look like a metadata problem. This is something different.

PS. Plex Dance doesn’t work. Only Library delete helps