Jellyfin Forum
Direct audio causing Exoplayer to crash in Android TV - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Direct audio causing Exoplayer to crash in Android TV (/t-direct-audio-causing-exoplayer-to-crash-in-android-tv)



Direct audio causing Exoplayer to crash in Android TV - Headless3953 - 2023-12-09

I've been trying to get my surround system to work with Jellyfin for two days not, it seems to work if I use the option if downmixing to stereo but that kind of misses the point. I tried using libVLC but in my experience that has caused burn in with HDR content and very poor image quality and seems like the audio is downmixed to stereo there even when not set to do so in the settings.

I tired using Kodi but while it technically worked the only way to get surround to work was using pass-though and the video stutters a lot and gets delayed even in I try to adjust it manually it does not seem to correct that. It is important to notice that not all media does that it is just the ones that have TrueHD as their default audio channel.

A list of the things I've tried.
  1. Updated the server from 10.8.10 to 10.8.13
  2. Used Kodi, also inside Kodi tried to set the audio configuration to the 4.1 just like in my receiver, same result.
  3. Uninstalled the Jellyfin app and installed the latest beta version (v0.16.0-beta.5) which seemed to work, only when using Dolby Digital or Digital+ audio channels, but at least it did not crash right away when trying to play media, worked for a while and then all of a sudden it stopped working.
  4. Cleaned the cache (app) and restarted the server and got the same result.

For reference:
  • TV: Hisense U8H, tried using both a Google Chromecast with Google TV and the built in Android TV
  • AV Receiver: Yamaha RX-V679

Log that I get when the player crashes:
Code:
[2023-12-09 23:43:39.456 +00:00] [INF] [32] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "byjosue". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2023-12-09 23:43:39.457 +00:00] [INF] [32] Jellyfin.Api.Helpers.MediaInfoHelper: RemoteClientBitrateLimit: 5000000, RemoteIp: "192.168.86.24", IsInLocalNetwork: True
[2023-12-09 23:43:39.534 +00:00] [INF] [32] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile="AndroidTV-libVLC", Path="/media/Movies/Mad Max Fury Road (2015)/Mad Max Fury Road (2015) Unknown.mkv", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=Transcode, TranscodeReason=ContainerBitrateExceedsLimit ) "media:/videos/02d4a102-da8f-3bc8-c493-80318f59f417/stream.mkv?MediaSourceId=02d4a102da8f3bc8c49380318f59f417&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=3&VideoBitrate=14423878&AudioBitrate=3584000&MaxFramerate=23.976025&api_key=<token>&CopyTimestamps=true&RequireAvc=false&Tag=0674dcad6831481ae88319218194e009&hevc-level=153&hevc-videobitdepth=10&hevc-profile=main10&aac-audiochannels=8&TranscodeReasons=ContainerBitrateExceedsLimit"
[2023-12-09 23:43:39.578 +00:00] [INF] [26] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "byjosue". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2023-12-09 23:43:39.578 +00:00] [INF] [26] Jellyfin.Api.Helpers.MediaInfoHelper: RemoteClientBitrateLimit: 5000000, RemoteIp: "192.168.86.24", IsInLocalNetwork: True
[2023-12-09 23:43:39.584 +00:00] [INF] [26] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile="AndroidTV-ExoPlayer", Path="/media/Movies/Mad Max Fury Road (2015)/Mad Max Fury Road (2015) Unknown.mkv", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=Transcode, TranscodeReason=ContainerBitrateExceedsLimit ) "media:/videos/02d4a102-da8f-3bc8-c493-80318f59f417/master.m3u8?MediaSourceId=02d4a102da8f3bc8c49380318f59f417&VideoCodec=hevc,h264,hevc&AudioCodec=aac,mp3,ac3,eac3&AudioStreamIndex=3&VideoBitrate=14423878&AudioBitrate=3584000&MaxFramerate=23.976025&api_key=<token>&RequireAvc=false&Tag=0674dcad6831481ae88319218194e009&SegmentContainer=ts&BreakOnNonKeyFrames=False&hevc-level=153&hevc-videobitdepth=10&hevc-profile=main10&aac-audiochannels=8&TranscodeReasons=ContainerBitrateExceedsLimit"
[2023-12-09 23:43:39.793 +00:00] [INF] [32] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Adding playback tracker : 9cab257a486862f5e2ed4dde1f904b2b5a6515cb-c0f831d206ff4554972f72fdc85bde20-02d4a102da8f3bc8c49380318f59f417
[2023-12-09 23:43:39.795 +00:00] [INF] [32] Jellyfin.Plugin.PlaybackReporting.Data.PlaybackTracker: PlaybackTracker : Adding Start Event : 12/09/2023 23:43:39
[2023-12-09 23:43:39.796 +00:00] [INF] [32] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Creating StartPlaybackTimer Task
[2023-12-09 23:43:39.799 +00:00] [INF] [26] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : Entered
[2023-12-09 23:43:40.156 +00:00] [INF] [32] Jellyfin.Api.Helpers.TranscodingJobHelper: "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -init_hw_device vaapi=va:,kernel_driver=i915,driver=iHD -init_hw_device qsv=qs@va -init_hw_device opencl=ocl@va -filter_hw_device qs -hwaccel qsv -hwaccel_output_format qsv -c:v hevc_qsv -autorotate 0 -i file:\"/media/Movies/Mad Max Fury Road (2015)/Mad Max Fury Road (2015) Unknown.mkv\" -autoscale 0 -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 hevc_qsv -tag:v:0 hvc1 -preset 7 -b:v 14423878 -maxrate 14423878 -bufsize 28847756 -profile:v:0 main -level 50 -g:v:0 72 -keyint_min:v:0 72 -vf \"setparams=color_primaries=bt2020:color_trc=smpte2084:colorspace=bt2020nc,scale_qsv=w=1920:h=1080,hwmap=derive_device=vaapi,procamp_vaapi=b=16:c=1,tonemap_vaapi=format=nv12:p=bt709:t=bt709:m=bt709:extra_hw_frames=32,hwmap=derive_device=qsv\" -codec:a:0 libfdk_aac -ac 8 -ab 640000 -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type mpegts -start_number 0 -hls_segment_filename \"/config/transcodes/807e20b4579d0f2c47b51a1566a8b5b0%d.ts\" -hls_playlist_type vod -hls_list_size 0 -y \"/config/transcodes/807e20b4579d0f2c47b51a1566a8b5b0.m3u8\""
[2023-12-09 23:43:40.766 +00:00] [INF] [8] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Processing playback tracker : "9cab257a486862f5e2ed4dde1f904b2b5a6515cb-c0f831d206ff4554972f72fdc85bde20-02d4a102da8f3bc8c49380318f59f417"
[2023-12-09 23:43:44.254 +00:00] [WRN] [26] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.86.189:8096/videos/02d4a102-da8f-3bc8-c493-80318f59f417/hls1/main/0.ts?DeviceId=9cab257a486862f5e2ed4dde1f904b2b5a6515cb&MediaSourceId=02d4a102da8f3bc8c49380318f59f417&VideoCodec=hevc,h264,hevc&AudioCodec=aac,mp3,ac3,eac3&AudioStreamIndex=3&VideoBitrate=14423878&AudioBitrate=3584000&MaxFramerate=23.976025&PlaySessionId=b08719c163fe496da0588b7f5188a371&api_key=8e62b09666974bb9a9f1952d294da833&RequireAvc=false&Tag=0674dcad6831481ae88319218194e009&SegmentContainer=ts&BreakOnNonKeyFrames=False&hevc-level=153&hevc-videobitdepth=10&hevc-profile=main10&aac-audiochannels=8&TranscodeReasons=ContainerBitrateExceedsLimit&runtimeTicks=0&actualSegmentLengthTicks=30000000" to "192.168.86.24" in 0:00:04.1690467 with Status Code 200
[2023-12-09 23:43:44.537 +00:00] [INF] [26] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "byjosue". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2023-12-09 23:43:44.538 +00:00] [INF] [26] Jellyfin.Api.Helpers.MediaInfoHelper: RemoteClientBitrateLimit: 5000000, RemoteIp: "192.168.86.24", IsInLocalNetwork: True
[2023-12-09 23:43:44.538 +00:00] [INF] [26] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile="AndroidTV-libVLC", Path="/media/Movies/Mad Max Fury Road (2015)/Mad Max Fury Road (2015) Unknown.mkv", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=Transcode, TranscodeReason=ContainerBitrateExceedsLimit ) "media:/videos/02d4a102-da8f-3bc8-c493-80318f59f417/stream.mkv?MediaSourceId=02d4a102da8f3bc8c49380318f59f417&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=3&VideoBitrate=14423878&AudioBitrate=3584000&MaxFramerate=23.976025&api_key=<token>&CopyTimestamps=true&RequireAvc=false&Tag=0674dcad6831481ae88319218194e009&hevc-level=153&hevc-videobitdepth=10&hevc-profile=main10&aac-audiochannels=8&TranscodeReasons=ContainerBitrateExceedsLimit"
[2023-12-09 23:43:44.560 +00:00] [INF] [26] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "byjosue". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2023-12-09 23:43:44.561 +00:00] [INF] [26] Jellyfin.Api.Helpers.MediaInfoHelper: RemoteClientBitrateLimit: 5000000, RemoteIp: "192.168.86.24", IsInLocalNetwork: True
[2023-12-09 23:43:44.563 +00:00] [INF] [26] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile="AndroidTV-ExoPlayer", Path="/media/Movies/Mad Max Fury Road (2015)/Mad Max Fury Road (2015) Unknown.mkv", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=Transcode, TranscodeReason=ContainerBitrateExceedsLimit ) "media:/videos/02d4a102-da8f-3bc8-c493-80318f59f417/master.m3u8?MediaSourceId=02d4a102da8f3bc8c49380318f59f417&VideoCodec=hevc,h264,hevc&AudioCodec=aac,mp3,ac3,eac3&AudioStreamIndex=3&VideoBitrate=14423878&AudioBitrate=3584000&MaxFramerate=23.976025&api_key=<token>&RequireAvc=false&Tag=0674dcad6831481ae88319218194e009&SegmentContainer=ts&BreakOnNonKeyFrames=False&hevc-level=153&hevc-videobitdepth=10&hevc-profile=main10&aac-audiochannels=8&TranscodeReasons=ContainerBitrateExceedsLimit"
[2023-12-09 23:43:44.572 +00:00] [INF] [11] Jellyfin.Api.Helpers.TranscodingJobHelper: Stopping ffmpeg process with q command for "/config/transcodes/807e20b4579d0f2c47b51a1566a8b5b0.m3u8"
[2023-12-09 23:43:44.649 +00:00] [INF] [26] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Existing tracker found! : 9cab257a486862f5e2ed4dde1f904b2b5a6515cb-c0f831d206ff4554972f72fdc85bde20-02d4a102da8f3bc8c49380318f59f417
[2023-12-09 23:43:44.649 +00:00] [INF] [26] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Removing existing tracker : 9cab257a486862f5e2ed4dde1f904b2b5a6515cb-c0f831d206ff4554972f72fdc85bde20-02d4a102da8f3bc8c49380318f59f417
[2023-12-09 23:43:44.650 +00:00] [INF] [26] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Adding playback tracker : 9cab257a486862f5e2ed4dde1f904b2b5a6515cb-c0f831d206ff4554972f72fdc85bde20-02d4a102da8f3bc8c49380318f59f417
[2023-12-09 23:43:44.650 +00:00] [INF] [26] Jellyfin.Plugin.PlaybackReporting.Data.PlaybackTracker: PlaybackTracker : Adding Start Event : 12/09/2023 23:43:44
[2023-12-09 23:43:44.650 +00:00] [INF] [26] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Creating StartPlaybackTimer Task
[2023-12-09 23:43:44.650 +00:00] [INF] [8] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : Entered
[2023-12-09 23:43:44.749 +00:00] [INF] [11] Jellyfin.Api.Helpers.TranscodingJobHelper: FFmpeg exited with code 0
[2023-12-09 23:43:44.750 +00:00] [INF] [11] Jellyfin.Api.Helpers.TranscodingJobHelper: Deleting partial stream file(s) "/config/transcodes/807e20b4579d0f2c47b51a1566a8b5b0.m3u8"
[2023-12-09 23:43:44.921 +00:00] [INF] [33] Jellyfin.Api.Helpers.TranscodingJobHelper: "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -init_hw_device vaapi=va:,kernel_driver=i915,driver=iHD -init_hw_device qsv=qs@va -init_hw_device opencl=ocl@va -filter_hw_device qs -hwaccel qsv -hwaccel_output_format qsv -c:v hevc_qsv -autorotate 0 -i file:\"/media/Movies/Mad Max Fury Road (2015)/Mad Max Fury Road (2015) Unknown.mkv\" -autoscale 0 -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 hevc_qsv -tag:v:0 hvc1 -preset 7 -b:v 14423878 -maxrate 14423878 -bufsize 28847756 -profile:v:0 main -level 50 -g:v:0 72 -keyint_min:v:0 72 -vf \"setparams=color_primaries=bt2020:color_trc=smpte2084:colorspace=bt2020nc,scale_qsv=w=1920:h=1080,hwmap=derive_device=vaapi,procamp_vaapi=b=16:c=1,tonemap_vaapi=format=nv12:p=bt709:t=bt709:m=bt709:extra_hw_frames=32,hwmap=derive_device=qsv\" -codec:a:0 libfdk_aac -ac 8 -ab 640000 -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type mpegts -start_number 0 -hls_segment_filename \"/config/transcodes/f283704a68282141ec12858b7ca9a275%d.ts\" -hls_playlist_type vod -hls_list_size 0 -y \"/config/transcodes/f283704a68282141ec12858b7ca9a275.m3u8\""
[2023-12-09 23:43:45.623 +00:00] [INF] [24] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Processing playback tracker : "9cab257a486862f5e2ed4dde1f904b2b5a6515cb-c0f831d206ff4554972f72fdc85bde20-02d4a102da8f3bc8c49380318f59f417"
[2023-12-09 23:43:46.286 +00:00] [INF] [24] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Android TV" "0.16.0-beta.5" playing "Mad Max: Fury Road". Stopped at "0" ms
[2023-12-09 23:43:46.328 +00:00] [WRN] [24] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.86.189:8096/Sessions/Playing/Stopped" to "192.168.86.24" in 0:00:01.8139244 with Status Code 204
[2023-12-09 23:43:46.330 +00:00] [INF] [8] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Playback stop tracker found, processing stop : "9cab257a486862f5e2ed4dde1f904b2b5a6515cb-c0f831d206ff4554972f72fdc85bde20-02d4a102da8f3bc8c49380318f59f417"
[2023-12-09 23:43:46.332 +00:00] [INF] [8] Jellyfin.Plugin.PlaybackReporting.Data.PlaybackTracker: PlaybackTracker : Adding Stop Event : 12/09/2023 23:43:46
[2023-12-09 23:43:46.332 +00:00] [INF] [8] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Playback stop but TrackedPlaybackInfo not found! not storing activity in DB
[2023-12-09 23:43:48.277 +00:00] [WRN] [32] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.86.189:8096/videos/02d4a102-da8f-3bc8-c493-80318f59f417/hls1/main/0.ts?DeviceId=9cab257a486862f5e2ed4dde1f904b2b5a6515cb&MediaSourceId=02d4a102da8f3bc8c49380318f59f417&VideoCodec=hevc,h264,hevc&AudioCodec=aac,mp3,ac3,eac3&AudioStreamIndex=3&VideoBitrate=14423878&AudioBitrate=3584000&MaxFramerate=23.976025&PlaySessionId=7cd0764ac29442b89cd322e8da65891e&api_key=8e62b09666974bb9a9f1952d294da833&RequireAvc=false&Tag=0674dcad6831481ae88319218194e009&SegmentContainer=ts&BreakOnNonKeyFrames=False&hevc-level=153&hevc-videobitdepth=10&hevc-profile=main10&aac-audiochannels=8&TranscodeReasons=ContainerBitrateExceedsLimit&runtimeTicks=0&actualSegmentLengthTicks=30000000" to "192.168.86.24" in 0:00:03.382562 with Status Code 200
[2023-12-09 23:43:48.459 +00:00] [INF] [13] Jellyfin.Api.Helpers.TranscodingJobHelper: Stopping ffmpeg process with q command for "/config/transcodes/f283704a68282141ec12858b7ca9a275.m3u8"
[2023-12-09 23:43:48.483 +00:00] [INF] [23] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "byjosue". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2023-12-09 23:43:48.483 +00:00] [INF] [23] Jellyfin.Api.Helpers.MediaInfoHelper: RemoteClientBitrateLimit: 5000000, RemoteIp: "192.168.86.24", IsInLocalNetwork: True
[2023-12-09 23:43:48.483 +00:00] [INF] [23] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile="AndroidTV-libVLC", Path="/media/Movies/Mad Max Fury Road (2015)/Mad Max Fury Road (2015) Unknown.mkv", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=Transcode, TranscodeReason=ContainerBitrateExceedsLimit ) "media:/videos/02d4a102-da8f-3bc8-c493-80318f59f417/stream.mkv?MediaSourceId=02d4a102da8f3bc8c49380318f59f417&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=3&VideoBitrate=14423878&AudioBitrate=3584000&MaxFramerate=23.976025&api_key=<token>&CopyTimestamps=true&RequireAvc=false&Tag=0674dcad6831481ae88319218194e009&hevc-level=153&hevc-videobitdepth=10&hevc-profile=main10&aac-audiochannels=8&TranscodeReasons=ContainerBitrateExceedsLimit"
[2023-12-09 23:43:48.507 +00:00] [INF] [24] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "byjosue". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2023-12-09 23:43:48.507 +00:00] [INF] [24] Jellyfin.Api.Helpers.MediaInfoHelper: RemoteClientBitrateLimit: 5000000, RemoteIp: "192.168.86.24", IsInLocalNetwork: True
[2023-12-09 23:43:48.507 +00:00] [INF] [24] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile="AndroidTV-ExoPlayer", Path="/media/Movies/Mad Max Fury Road (2015)/Mad Max Fury Road (2015) Unknown.mkv", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=Transcode, TranscodeReason=ContainerBitrateExceedsLimit ) "media:/videos/02d4a102-da8f-3bc8-c493-80318f59f417/master.m3u8?MediaSourceId=02d4a102da8f3bc8c49380318f59f417&VideoCodec=hevc,h264,hevc&AudioCodec=aac,mp3,ac3,eac3&AudioStreamIndex=3&VideoBitrate=14423878&AudioBitrate=3584000&MaxFramerate=23.976025&api_key=<token>&RequireAvc=false&Tag=0674dcad6831481ae88319218194e009&SegmentContainer=ts&BreakOnNonKeyFrames=False&hevc-level=153&hevc-videobitdepth=10&hevc-profile=main10&aac-audiochannels=8&TranscodeReasons=ContainerBitrateExceedsLimit"
[2023-12-09 23:43:48.565 +00:00] [INF] [24] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Adding playback tracker : 9cab257a486862f5e2ed4dde1f904b2b5a6515cb-c0f831d206ff4554972f72fdc85bde20-02d4a102da8f3bc8c49380318f59f417
[2023-12-09 23:43:48.565 +00:00] [INF] [24] Jellyfin.Plugin.PlaybackReporting.Data.PlaybackTracker: PlaybackTracker : Adding Start Event : 12/09/2023 23:43:48
[2023-12-09 23:43:48.566 +00:00] [INF] [24] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Creating StartPlaybackTimer Task
[2023-12-09 23:43:48.566 +00:00] [INF] [24] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : Entered
[2023-12-09 23:43:48.629 +00:00] [INF] [27] Jellyfin.Api.Helpers.TranscodingJobHelper: FFmpeg exited with code 0
[2023-12-09 23:43:48.630 +00:00] [INF] [13] Jellyfin.Api.Helpers.TranscodingJobHelper: Deleting partial stream file(s) "/config/transcodes/f283704a68282141ec12858b7ca9a275.m3u8"
[2023-12-09 23:43:48.846 +00:00] [INF] [24] Jellyfin.Api.Helpers.TranscodingJobHelper: "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -init_hw_device vaapi=va:,kernel_driver=i915,driver=iHD -init_hw_device qsv=qs@va -init_hw_device opencl=ocl@va -filter_hw_device qs -hwaccel qsv -hwaccel_output_format qsv -c:v hevc_qsv -autorotate 0 -i file:\"/media/Movies/Mad Max Fury Road (2015)/Mad Max Fury Road (2015) Unknown.mkv\" -autoscale 0 -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 hevc_qsv -tag:v:0 hvc1 -preset 7 -b:v 14423878 -maxrate 14423878 -bufsize 28847756 -profile:v:0 main -level 50 -g:v:0 72 -keyint_min:v:0 72 -vf \"setparams=color_primaries=bt2020:color_trc=smpte2084:colorspace=bt2020nc,scale_qsv=w=1920:h=1080,hwmap=derive_device=vaapi,procamp_vaapi=b=16:c=1,tonemap_vaapi=format=nv12:p=bt709:t=bt709:m=bt709:extra_hw_frames=32,hwmap=derive_device=qsv\" -codec:a:0 libfdk_aac -ac 8 -ab 640000 -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type mpegts -start_number 0 -hls_segment_filename \"/config/transcodes/ca5ebc58a709a963459028b4f7fad8e8%d.ts\" -hls_playlist_type vod -hls_list_size 0 -y \"/config/transcodes/ca5ebc58a709a963459028b4f7fad8e8.m3u8\""
[2023-12-09 23:43:49.544 +00:00] [INF] [11] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Processing playback tracker : "9cab257a486862f5e2ed4dde1f904b2b5a6515cb-c0f831d206ff4554972f72fdc85bde20-02d4a102da8f3bc8c49380318f59f417"
[2023-12-09 23:43:50.139 +00:00] [INF] [34] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Android TV" "0.16.0-beta.5" playing "Mad Max: Fury Road". Stopped at "0" ms
[2023-12-09 23:43:50.173 +00:00] [INF] [33] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Playback stop tracker found, processing stop : "9cab257a486862f5e2ed4dde1f904b2b5a6515cb-c0f831d206ff4554972f72fdc85bde20-02d4a102da8f3bc8c49380318f59f417"
[2023-12-09 23:43:50.173 +00:00] [WRN] [34] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.86.189:8096/Sessions/Playing/Stopped" to "192.168.86.24" in 0:00:01.7182856 with Status Code 204
[2023-12-09 23:43:50.174 +00:00] [INF] [33] Jellyfin.Plugin.PlaybackReporting.Data.PlaybackTracker: PlaybackTracker : Adding Stop Event : 12/09/2023 23:43:50
[2023-12-09 23:43:50.174 +00:00] [INF] [33] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Playback stop but TrackedPlaybackInfo not found! not storing activity in DB
[2023-12-09 23:43:52.215 +00:00] [WRN] [23] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.86.189:8096/videos/02d4a102-da8f-3bc8-c493-80318f59f417/hls1/main/0.ts?DeviceId=9cab257a486862f5e2ed4dde1f904b2b5a6515cb&MediaSourceId=02d4a102da8f3bc8c49380318f59f417&VideoCodec=hevc,h264,hevc&AudioCodec=aac,mp3,ac3,eac3&AudioStreamIndex=3&VideoBitrate=14423878&AudioBitrate=3584000&MaxFramerate=23.976025&PlaySessionId=c4ec75b04b2f44bd89db0a9d0e63f816&api_key=8e62b09666974bb9a9f1952d294da833&RequireAvc=false&Tag=0674dcad6831481ae88319218194e009&SegmentContainer=ts&BreakOnNonKeyFrames=False&hevc-level=153&hevc-videobitdepth=10&hevc-profile=main10&aac-audiochannels=8&TranscodeReasons=ContainerBitrateExceedsLimit&runtimeTicks=0&actualSegmentLengthTicks=30000000" to "192.168.86.24" in 0:00:03.3848678 with Status Code 200
[2023-12-09 23:43:52.426 +00:00] [INF] [32] Jellyfin.Api.Helpers.TranscodingJobHelper: Stopping ffmpeg process with q command for "/config/transcodes/ca5ebc58a709a963459028b4f7fad8e8.m3u8"
[2023-12-09 23:43:52.651 +00:00] [INF] [32] Jellyfin.Api.Helpers.TranscodingJobHelper: FFmpeg exited with code 0
[2023-12-09 23:43:52.651 +00:00] [INF] [32] Jellyfin.Api.Helpers.TranscodingJobHelper: Deleting partial stream file(s) "/config/transcodes/ca5ebc58a709a963459028b4f7fad8e8.m3u8"
[2023-12-09 23:43:54.169 +00:00] [INF] [18] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Android TV" "0.16.0-beta.5" playing "Mad Max: Fury Road". Stopped at "0" ms
[2023-12-09 23:43:54.205 +00:00] [INF] [32] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Playback stop did not have a tracker : "9cab257a486862f5e2ed4dde1f904b2b5a6515cb-c0f831d206ff4554972f72fdc85bde20-02d4a102da8f3bc8c49380318f59f417"
[2023-12-09 23:43:54.205 +00:00] [WRN] [18] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.86.189:8096/Sessions/Playing/Stopped" to "192.168.86.24" in 0:00:01.781686 with Status Code 204
[2023-12-09 23:43:59.801 +00:00] [INF] [33] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: session.RemoteEndPoint : "192.168.86.24"
[2023-12-09 23:43:59.803 +00:00] [INF] [33] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : event_playing_id    = "02d4a102da8f3bc8c49380318f59f417"
[2023-12-09 23:43:59.804 +00:00] [INF] [33] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : event_user_id        = "c0f831d206ff4554972f72fdc85bde20"
[2023-12-09 23:43:59.804 +00:00] [INF] [33] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : event_user_id_int    = 1
[2023-12-09 23:43:59.804 +00:00] [INF] [33] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : session_playing_id  = ""
[2023-12-09 23:43:59.804 +00:00] [INF] [33] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : session_user_id      = "c0f831d206ff4554972f72fdc85bde20"
[2023-12-09 23:43:59.804 +00:00] [INF] [33] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : play_method          = "na"
[2023-12-09 23:43:59.804 +00:00] [INF] [33] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : e.ClientName        = "Android TV"
[2023-12-09 23:43:59.804 +00:00] [INF] [33] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : e.DeviceName        = "TV"
[2023-12-09 23:43:59.804 +00:00] [INF] [33] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : ItemName            = "Mad Max: Fury Road"
[2023-12-09 23:43:59.804 +00:00] [INF] [33] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : ItemId              = "02d4a102da8f3bc8c49380318f59f417"
[2023-12-09 23:43:59.804 +00:00] [INF] [33] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : ItemType            = "Movie"
[2023-12-09 23:43:59.804 +00:00] [INF] [33] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : Details do not match for play item
[2023-12-09 23:43:59.804 +00:00] [INF] [33] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : Exited
[2023-12-09 23:44:04.647 +00:00] [INF] [31] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: session.RemoteEndPoint : "192.168.86.24"
[2023-12-09 23:44:04.647 +00:00] [INF] [31] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : event_playing_id    = "02d4a102da8f3bc8c49380318f59f417"
[2023-12-09 23:44:04.647 +00:00] [INF] [31] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : event_user_id        = "c0f831d206ff4554972f72fdc85bde20"
[2023-12-09 23:44:04.648 +00:00] [INF] [31] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : event_user_id_int    = 1
[2023-12-09 23:44:04.648 +00:00] [INF] [31] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : session_playing_id  = ""
[2023-12-09 23:44:04.648 +00:00] [INF] [31] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : session_user_id      = "c0f831d206ff4554972f72fdc85bde20"
[2023-12-09 23:44:04.648 +00:00] [INF] [31] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : play_method          = "na"
[2023-12-09 23:44:04.648 +00:00] [INF] [31] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : e.ClientName        = "Android TV"
[2023-12-09 23:44:04.648 +00:00] [INF] [31] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : e.DeviceName        = "TV"
[2023-12-09 23:44:04.648 +00:00] [INF] [31] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : ItemName            = "Mad Max: Fury Road"
[2023-12-09 23:44:04.649 +00:00] [INF] [31] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : ItemId              = "02d4a102da8f3bc8c49380318f59f417"
[2023-12-09 23:44:04.649 +00:00] [INF] [31] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : ItemType            = "Movie"
[2023-12-09 23:44:04.649 +00:00] [INF] [31] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : Details do not match for play item
[2023-12-09 23:44:04.649 +00:00] [INF] [31] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : Exited
[2023-12-09 23:44:08.565 +00:00] [INF] [33] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: session.RemoteEndPoint : "192.168.86.24"
[2023-12-09 23:44:08.565 +00:00] [INF] [33] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : event_playing_id    = "02d4a102da8f3bc8c49380318f59f417"
[2023-12-09 23:44:08.565 +00:00] [INF] [33] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : event_user_id        = "c0f831d206ff4554972f72fdc85bde20"
[2023-12-09 23:44:08.566 +00:00] [INF] [33] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : event_user_id_int    = 1
[2023-12-09 23:44:08.566 +00:00] [INF] [33] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : session_playing_id  = ""
[2023-12-09 23:44:08.566 +00:00] [INF] [33] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : session_user_id      = "c0f831d206ff4554972f72fdc85bde20"
[2023-12-09 23:44:08.566 +00:00] [INF] [33] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : play_method          = "na"
[2023-12-09 23:44:08.566 +00:00] [INF] [33] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : e.ClientName        = "Android TV"
[2023-12-09 23:44:08.567 +00:00] [INF] [33] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : e.DeviceName        = "TV"
[2023-12-09 23:44:08.567 +00:00] [INF] [33] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : ItemName            = "Mad Max: Fury Road"
[2023-12-09 23:44:08.567 +00:00] [INF] [33] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : ItemId              = "02d4a102da8f3bc8c49380318f59f417"
[2023-12-09 23:44:08.567 +00:00] [INF] [33] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : ItemType            = "Movie"
[2023-12-09 23:44:08.567 +00:00] [INF] [33] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : Details do not match for play item
[2023-12-09 23:44:08.567 +00:00] [INF] [33] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : Exited
[2023-12-09 23:44:37.562 +00:00] [INF] [33] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.86.31" closed
[2023-12-09 23:44:38.078 +00:00] [INF] [36] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.86.31" request



RE: Direct audio causing Exoplayer to crash in Android TV - TheDreadPirate - 2023-12-10

Did you enabled DTS passthrough in the Android TV app? IIRC, it is not enabled by default for some reason.


RE: Direct audio causing Exoplayer to crash in Android TV - Headless3953 - 2023-12-10

I did, I tried with it enabled, and also disabled and got the same result. The strangest part to me is that it worked just fine for about a day or so and the all of a sudden it just stopped working.

I think it may have something to do with transcoding, because it was working fine until I tried to transcode something while testing and then it stopped working completely regardless of the settings I was using. I'll try to reinstall the app and see if I can replicate that behavior.

---

Tried it, here's what I found.

If I uninstall the app and transcode it actually still plays fine, it stops working after I enable DTS Direct Play in the options it does not work again, even if I disable it again, I have to uninstall the app and reinstall it, I guess I could also try to delete data rather than uninstalling, but I have not tried it. I also found that it does not have to do with the version as I could replicate the behavior with both the latest stable version and the latest beta version that I mentioned on the original post.


RE: Direct audio causing Exoplayer to crash in Android TV - zkhcohen - 2023-12-13

Please see this thread and my latest update: https://github.com/jellyfin/jellyfin-androidtv/issues/1753#issuecomment-1853148550

If your files don't match one of the formats that work on Exoplayer or LibVLC, you'll need to enable "Downmix to Stereo" and switch to LibVLC if using AAC.