TRUEHD audio does not play on macOS app

Server Version#: 1.32.1.6999 (held back due to Intel transcoding issue on Synology)
Player Version#: 1.76.2.3951-15712eae

I’ve noticed that videos do not play audio when using the TRUEHD audio track on the macOS app. Switching to another track seems to work fine. I’m able to play TRUEHD audio tracks when using the web player (transcoded, I’m assuming). This seems to be happening across multiple videos, so I don’t think it’s a problem with any specific file.

I did some searching but mostly found old threads about TRUEHD. Is this a known issue with macOS? If so, is there any fix planned for it? Is there a way I can get the player to avoid TRUEHD tracks in the meantime? Videos with TRUEHD tracks tend to have that track first, so it’s a little annoying to have some of them just play silently.

Let me know if any logs are needed. I wasn’t sure which ones are relevant, and I didn’t see any particular guidelines for this subforum.

Thanks!

This will require logs to diagnose further: https://support.plex.tv/articles/windows-mac-app-logs/

Thanks for the link. I went to reproduce the issue to get some logs, but now the audio is playing correctly when TRUEHD is selected. Neither client nor server have updated since the issue occurred.

I did find what I believe to be a relevant log entry in the attached log file, however:

Aug 17, 2023 21:42:41.152 [0x1702e3000] DEBUG - [MPVEngine/mpv] vd: Trying hardware decoding via h264-videotoolbox.
Aug 17, 2023 21:42:41.152 [0x1702e3000] DEBUG - [MPVEngine/mpv] vd: Pixel formats supported by decoder: videotoolbox_vld yuv420p
Aug 17, 2023 21:42:41.152 [0x1702e3000] DEBUG - [MPVEngine/mpv] vd: Codec profile: High (0x64)
Aug 17, 2023 21:42:41.152 [0x1702e3000] DEBUG - [MPVEngine/mpv] vd: Requesting pixfmt 'videotoolbox_vld' from decoder.
Aug 17, 2023 21:42:41.168 [0x1702e3000] DEBUG - [MPVEngine/mpv] vd: Selected codec: h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10)
Aug 17, 2023 21:42:41.168 [0x1702e3000] DEBUG - [MPVEngine/mpv] vf: User filter list:
Aug 17, 2023 21:42:41.168 [0x1702e3000] DEBUG - [MPVEngine/mpv] vf:   (empty)
Aug 17, 2023 21:42:41.168 [0x1702e3000] DEBUG - [MPVEngine/mpv] ad: Codec list:
Aug 17, 2023 21:42:41.168 [0x1702e3000] DEBUG - [MPVEngine/mpv] ad:     truehd_eae (truehd) - EAE TrueHD decoder
Aug 17, 2023 21:42:41.168 [0x1702e3000] DEBUG - [MPVEngine/mpv] ad: Opening decoder truehd_eae
Aug 17, 2023 21:42:41.168 [0x1702e3000] DEBUG - [MPVEngine/mpv] ad: Requesting 1 threads for decoding.
Aug 17, 2023 21:42:41.168 [0x1702e3000] ERROR - [MPVEngine/mpv] ffmpeg/audio: truehd_eae: EAE watchfolder is not writable: /var/folders/3d/x0yvp7p16gs18ns9ghjvjjn00000gn/T/pms-61f03682-28af-46c5-a66e-c7a654bb7602/EasyAudioEncoder/Convert to WAV (to 8ch or less)/frame-4747-0-test.tmp
Aug 17, 2023 21:42:41.168 [0x1702e3000] ERROR - [MPVEngine/mpv] ad: Could not open codec.
Aug 17, 2023 21:42:41.168 [0x1702e3000] WARN - [MPVEngine/mpv] ad: Decoder init failed for truehd_eae
Aug 17, 2023 21:42:41.168 [0x1702e3000] ERROR - [MPVEngine/mpv] ad: Failed to initialize a decoder for codec 'truehd'.
Aug 17, 2023 21:42:41.168 [0x1702e3000] DEBUG - [MPVEngine/mpv] mkv: deselect track 1
Aug 17, 2023 21:42:41.168 [0x1702e3000] INFO - [MPVEngine/mpv] cplayer: Audio: no audio
Aug 17, 2023 21:42:41.168 [0x1702e3000] DEBUG - [MPVEngine/mpv] cplayer: Starting playback...

Plex.1.log (5.6 MB)

Thanks again.

You are correct in that is the relevant log entry. Specifically in that it couldn’t create/write to a temp directory /var/folders/3d/x0yvp7p16gs18ns9ghjvjjn00000gn/T/pms-61f03682-28af-46c5-a66e-c7a654bb7602/EasyAudioEncoder/…. Without this, the player cannot decode TrueHD audio. Obviously it’s not occurring now but when it does that could give a clue as to what went wrong.

I think I recall the client updating just before I used it. I obviously have no way to prove this until the next update, but I’d be curious to see if this happens consistently when the app restarts after an update, and then works again after the next restart.

I’ll keep an eye out next time I update it.

I just noticed this as well. Yesterday I watched part of a movie with TrueHD on the Mac App, no problem.
Today I wanted to continue but the App updated itself to 1.77.3.3966 and TrueHD audio did not work. It didn’t work in any movie. Restarting the App did not help. After a restart of the Mac it worked again. I am on Ventura 13.4.1

@gbooker02 I was able to reproduce this after the client auto-updated today. I launched the app, it ran the updater before updating, and then ran the updated version. I was not able to play TRUEHD audio.

After quitting the app and starting it again, the audio is working

Sep 09, 2023 21:54:47.358 [0x16e11b000] DEBUG - [MPVEngine/mpv] vd: Container reported FPS: 23.976024
Sep 09, 2023 21:54:47.358 [0x16e11b000] DEBUG - [MPVEngine/mpv] vd: Codec list:
Sep 09, 2023 21:54:47.358 [0x16e11b000] DEBUG - [MPVEngine/mpv] vd:     h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
Sep 09, 2023 21:54:47.358 [0x16e11b000] DEBUG - [MPVEngine/mpv] vd: Opening decoder h264
Sep 09, 2023 21:54:47.358 [0x16e11b000] DEBUG - [MPVEngine/mpv] vd: Looking at hwdec h264-videotoolbox...
Sep 09, 2023 21:54:47.358 [0x16e11b000] DEBUG - [MPVEngine/mpv] vo/gpu: Loading hwdec drivers for format: 'videotoolbox'
Sep 09, 2023 21:54:47.358 [0x16e11b000] DEBUG - [MPVEngine/mpv] vo/gpu: Loading hwdec driver 'videotoolbox'
Sep 09, 2023 21:54:47.358 [0x16e11b000] DEBUG - [MPVEngine/mpv] vd: Trying hardware decoding via h264-videotoolbox.
Sep 09, 2023 21:54:47.358 [0x16e11b000] DEBUG - [MPVEngine/mpv] vd: Pixel formats supported by decoder: videotoolbox_vld yuv420p
Sep 09, 2023 21:54:47.358 [0x16e11b000] DEBUG - [MPVEngine/mpv] vd: Codec profile: High (0x64)
Sep 09, 2023 21:54:47.358 [0x16e11b000] DEBUG - [MPVEngine/mpv] vd: Requesting pixfmt 'videotoolbox_vld' from decoder.
Sep 09, 2023 21:54:47.378 [0x16e11b000] DEBUG - [MPVEngine/mpv] vd: Selected codec: h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10)
Sep 09, 2023 21:54:47.378 [0x16e11b000] DEBUG - [MPVEngine/mpv] vf: User filter list:
Sep 09, 2023 21:54:47.378 [0x16e11b000] DEBUG - [MPVEngine/mpv] vf:   (empty)
Sep 09, 2023 21:54:47.378 [0x16e11b000] DEBUG - [MPVEngine/mpv] ad: Codec list:
Sep 09, 2023 21:54:47.378 [0x16e11b000] DEBUG - [MPVEngine/mpv] ad:     truehd_eae (truehd) - EAE TrueHD decoder
Sep 09, 2023 21:54:47.378 [0x16e11b000] DEBUG - [MPVEngine/mpv] ad: Opening decoder truehd_eae
Sep 09, 2023 21:54:47.378 [0x16e11b000] DEBUG - [MPVEngine/mpv] ad: Requesting 1 threads for decoding.
Sep 09, 2023 21:54:47.378 [0x16e11b000] ERROR - [MPVEngine/mpv] ffmpeg/audio: truehd_eae: EAE watchfolder is not writable: /var/folders/3d/x0yvp7p16gs18ns9ghjvjjn00000gn/T/pms-dc4165c2-58cd-49ce-816d-312079d92c48/EasyAudioEncoder/Convert to WAV (to 8ch or less)/frame-15544-0-test.tmp
Sep 09, 2023 21:54:47.378 [0x16e11b000] ERROR - [MPVEngine/mpv] ad: Could not open codec.
Sep 09, 2023 21:54:47.378 [0x16e11b000] WARN - [MPVEngine/mpv] ad: Decoder init failed for truehd_eae
Sep 09, 2023 21:54:47.378 [0x16e11b000] ERROR - [MPVEngine/mpv] ad: Failed to initialize a decoder for codec 'truehd'.
Sep 09, 2023 21:54:47.378 [0x16e11b000] DEBUG - [MPVEngine/mpv] mkv: deselect track 1
Sep 09, 2023 21:54:47.378 [0x16e11b000] INFO - [MPVEngine/mpv] cplayer: Audio: no audio
Sep 09, 2023 21:54:47.378 [0x16e11b000] DEBUG - [MPVEngine/mpv] cplayer: Starting playback...
Sep 09, 2023 21:54:47.378 [0x16e11b000] DEBUG - [MPVEngine/mpv] mkv: queuing seek to 0.000000
Sep 09, 2023 21:54:47.378 [0x16e11b000] DEBUG - [MPVEngine/mpv] cplayer: hr-seek, skipping to 0.000000
Sep 09, 2023 21:54:47.378 [0x16e11b000] DEBUG - [MPVEngine/mpv] mkv: execute seek (to 0.000000 flags 32)
Sep 09, 2023 21:54:47.378 [0x16e11b000] DEBUG - [MPVEngine/mpv] mkv: Seeking to 47890954 to read header element 0x1c53bb6b.
Sep 09, 2023 21:54:47.378 [0x16e11b000] DEBUG - [MPVEngine/mpv] ffmpeg: stream level seek from 16384 to 47890954

Noting that the issue still occurs after update to 1.79.1.3984-879339ed

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.