Deihmos 187 Posted November 30, 2025 Posted November 30, 2025 (edited) Player version 2.0.2 (5) Server 4.91.90 I am experiencing an issue where the audio will randomly drop out momentarily on my Apple TV 4K when avkit is used as the player. It does not happen with the mpv player. The videos are remuxed to mp4 for compatibility. I know that it’s related to Emby, as the issue doesn’t occur when I play the videos using the native Apple TV player or Infuse. I am not sure if the Emby logs would pick this up. Edited November 30, 2025 by Deihmos
Luke 43745 Posted December 1, 2025 Posted December 1, 2025 Hi there, let's look at an example. Please attach the information requested in how to report a media playback issue. Thanks!
Deihmos 187 Posted December 2, 2025 Author Posted December 2, 2025 On 11/30/2025 at 9:47 PM, Luke said: Hi there, let's look at an example. Please attach the information requested in how to report a media playback issue. Thanks! I am not sure if there is anything useful in the server logs. Started playing The Lost Bus at 2025-12-01 22:55. After a few minutes sound was lost for about 30 seconds then it came back embyserver-3.txt
visproduction 381 Posted December 2, 2025 Posted December 2, 2025 Relevant? Suspect some damaged issue in the media or extreme bitrate with multiple codecs, subtitles and media size maxing out streaming thoughput? Just a guess. Logtext line 19190 Quote 2025-12-01 19:30:04.504 Info PlaystateService-0HNHH720FHT6U:00000001: http/1.1 Response 204 to host1. Time: 13ms. POST http://192.168.1.10:8096/emby/Sessions/Playing/Stopped?X-Emby-Client=Emby for Apple TV&X-Emby-Device-Name=Apple TV&X-Emby-Device-Id=21132F86-4996-4711-B6E9-F64CA1BD7D52&X-Emby-Client-Version=2.0.2 (5)&X-Emby-Token=x_secret3_x&reqformat=json. 2025-12-01 19:30:04.511 Error SessionManager: Error in event handler *** Error Report *** Version: 4.9.1.90 Command line: /opt/emby-server/system/EmbyServer.dll -programdata /home/debian/.config/Emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb Operating system: Linux version 6.12.57+deb13-amd64 (debian-kernel@lists.debian.org) (x86_64-linux-gnu-gcc-14 (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian OS/Process: x64/x64 Framework: .NET 8.0.11 Runtime: opt/emby-server/system/System.Private.CoreLib.dll Processor count: 8 Data path: /home/debian/.config/Emby Application path: /opt/emby-server/system System.InvalidOperationException: System.InvalidOperationException: Nullable object must have a value. at System.Nullable`1.get_Value() at EmbyScripterX.EventManagers.ScripterXSessionManager._sessionManager_PlaybackProgress(Object sender, PlaybackProgressEventArgs e) at MediaBrowser.Common.Events.EventHelper.TriggerAll[T](EventHandler`1 mainHandler, Object sender, T args, ILogger logger) Source: System.Private.CoreLib TargetSite: Void ThrowInvalidOperationException_InvalidOperation_NoValue() 2025-12-01 19:30:04.511 Info PlaystateService-0HNHH720FHT70:00000001: http/1.1 Response 204 to host1. Time: 10ms. POST http://192.168.1.10:8096/emby/Sessions/Playing/Progress?X-Emby-Client=Emby for Apple TV&X-Emby-Device-Name=Apple TV&X-Emby-Device-Id=21132F86-4996-4711-B6E9-F64CA1BD7D52&X-Emby-Client-Version=2.0.2 (5)&X-Emby-Token=x_secret3_x&reqformat=json. 2025-12-01 19:30:04.511 Info Trakt: Item Not fully played. Tell trakt.tv we are no longer watching but don't scrobble Related? Found with search: Debian "System.InvalidOperationException: Nullable object must have a value" https://stackoverflow.com/questions/59864065/how-to-debug-and-fix-nullable-object-must-have-a-value-within-entity-framework
Deihmos 187 Posted December 3, 2025 Author Posted December 3, 2025 (edited) Something changed in Apple TV 26 because I did not have this issue before playing mp4 files. It happens with all of them. Edited December 3, 2025 by Deihmos
Luke 43745 Posted December 3, 2025 Posted December 3, 2025 OK yes it does appear to be a problem with the player.
Deihmos 187 Posted November 14 Author Posted November 14 I continue to have this issue. Just tried 2.0.10.1 and got the same results. When AVKit is used as the player, the audio randomly drops for compatible files. The player is set to auto, and the video is an Apple-compatible format. With no way to see the Emby Apple TV logs, I don't know how this will ever get fixed.
Luke 43745 Posted November 14 Posted November 14 Can you provide a sample video for testing? Maybe it’s something that shouldn’t be played with the native player. Or maybe there’s a problem with the file.
Deihmos 187 Posted November 14 Author Posted November 14 The issue occurs randomly, with the audio cutting out and then resuming. A sample video may not reliably reproduce the problem. It isn’t related to the file itself, as it happens with every movie I’ve remuxed for Apple TV compatibility using Subler or ffmpeg. The videos play perfectly when streamed directly from my Mac to the Apple TV and work flawlessly with all other apps, including the MPV player. sample.mp4
Deihmos 187 Posted November 14 Author Posted November 14 (edited) 1 hour ago, Luke said: Can you provide a sample video for testing? Thanks. I did upload a sample. I will try again. Try this link instead. https://emby.media/community/applications/core/interface/file/attachment.php?id=256854&key=ceb338f55aecaaca619315fd10ff2b80 Edited November 14 by Deihmos
visproduction 381 Posted November 15 Posted November 15 Related? https://github.com/NuvioMedia/NuvioTV/issues/4403 === Above demo video specs.
gthrift 70 Posted November 17 Posted November 17 I have the same issue. Audio dropping out on 4k videos. Same file plays fine on rivulet and Moonfin.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now