Audio stuttering (not video) when using hardware encoding

Server Version#: 1.42.2.10156
Player Version#: 2025.27.0 (Android app to Chromcast Gen 1)

I’m running plex on the following setup: NUC8i7HNK (intel i7 8705G) running Proxmox. I pass the iGPU to a VM using PCI passtrough and then run Plex in docker and passing /dev/dri as a volume.

Hardware transcoding seems to work fine (I see the `hw` when a stream is transcoded). But on some specific client device + media combo, I get audio stuttering while video is running smooth. Especially when the image does not vary much on the video (during a fade to black for credits, anime with low frame / per sec / …)

I notice that disabling hardware accelerated encoding (but keeping hardware acceleration for decoding) fixes the issues, at the price of worse transcoding performance.

I think that in all the instances of the issue, the audio is transcoded to “OPUS”.

Anyone got a similar issue ?