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 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...
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 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