2023-08-20, 03:50 AM
Those settings were already turned on. Here is a recent log the jellyfin_log file.
I have spent a bit more time testing various files I have and it looks like any file that has Dolby TrueHD audio doesn't work. If it's just AAC 7.1 channel it still plays fine.
This is an issue when I select exoplayer. If I change the player to an external and select MX Player, then it gives me an error that aTrueHD audio is not supported and allows me to select another audio stream.
Shouldn't it just transcode the audio file if it's not supported by exoplayer?
As mentioned in the web browser, all files play correctly.
I have spent a bit more time testing various files I have and it looks like any file that has Dolby TrueHD audio doesn't work. If it's just AAC 7.1 channel it still plays fine.
This is an issue when I select exoplayer. If I change the player to an external and select MX Player, then it gives me an error that aTrueHD audio is not supported and allows me to select another audio stream.
Shouldn't it just transcode the audio file if it's not supported by exoplayer?
As mentioned in the web browser, all files play correctly.
Code:
[2023-08-20 03:31:31.036 +00:00] [INF] User policy for "nihalvm". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2023-08-20 03:31:31.036 +00:00] [INF] StreamBuilder.BuildVideoItem( Profile="AndroidTV-ExoPlayer", Path="/mnt/truenas/media/Movies/Shazam! Fury of the Gods (2023)/Shazam! Fury of the Gods (2023) Bluray-2160p.mkv", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=Transcode, TranscodeReason=SubtitleCodecNotSupported ) "media:/videos/6cb14c97-3a21-9533-e1d9-9655f44e53ef/master.m3u8?MediaSourceId=6cb14c973a219533e1d99655f44e53ef&VideoCodec=hevc,h264,hevc&AudioCodec=aac&AudioStreamIndex=1&SubtitleStreamIndex=3&VideoBitrate=99234351&AudioBitrate=765649&AudioSampleRate=48000&MaxFramerate=23.976025&api_key=<token>&SubtitleMethod=Encode&RequireAvc=false&Tag=351743fbbff44666319705eb460958ad&SegmentContainer=ts&BreakOnNonKeyFrames=False&hevc-level=150&hevc-videobitdepth=10&hevc-profile=main10&hevc-audiochannels=8&aac-profile=lc&aac-audiochannels=8&TranscodeReasons=SubtitleCodecNotSupported"
[2023-08-20 03:31:31.077 +00:00] [INF] Adding playback tracker : a57b74ea95bf392d6e519c98b1bfb67d6845b322-4c5511d06e57405086f96eef381565bb-6cb14c973a219533e1d99655f44e53ef
[2023-08-20 03:31:31.077 +00:00] [INF] PlaybackTracker : Adding Start Event : 08/20/2023 03:31:31
[2023-08-20 03:31:31.078 +00:00] [INF] Creating StartPlaybackTimer Task
[2023-08-20 03:31:31.079 +00:00] [INF] StartPlaybackTimer : Entered
[2023-08-20 03:31:31.219 +00:00] [INF] FFmpeg exited with code 0
[2023-08-20 03:31:31.219 +00:00] [INF] Deleting partial stream file(s) "/var/lib/jellyfin/transcodes/dda87d95477938051e141387a07f823b.m3u8"
[2023-08-20 03:31:31.221 +00:00] [WRN] Slow HTTP Response from "http://10.0.0.108:8096/videos/6cb14c97-3a21-9533-e1d9-9655f44e53ef/hls1/main/1.ts?DeviceId=a57b74ea95bf392d6e519c98b1bfb67d6845b322&MediaSourceId=6cb14c973a219533e1d99655f44e53ef&VideoCodec=hevc,h264,hevc&AudioCodec=aac&AudioStreamIndex=1&SubtitleStreamIndex=3&VideoBitrate=99234351&AudioBitrate=765649&AudioSampleRate=48000&MaxFramerate=23.976025&PlaySessionId=8eee53c47f9a4b868755ece5af12511d&api_key=f14d8cfa66e84cec902b32a7f9b6c477&SubtitleMethod=Encode&RequireAvc=false&Tag=351743fbbff44666319705eb460958ad&SegmentContainer=ts&BreakOnNonKeyFrames=False&hevc-level=150&hevc-videobitdepth=10&hevc-profile=main10&hevc-audiochannels=8&aac-profile=lc&aac-audiochannels=8&TranscodeReasons=SubtitleCodecNotSupported&runtimeTicks=30000000&actualSegmentLengthTicks=30000000" to "10.0.0.207" in 0:00:00.5036401 with Status Code 200
[2023-08-20 03:31:31.520 +00:00] [INF] "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -init_hw_device vaapi=va:/dev/dri/renderD128 -filter_hw_device va -hwaccel vaapi -hwaccel_output_format vaapi -autorotate 0 -i file:\"/mnt/truenas/media/Movies/Shazam! Fury of the Gods (2023)/Shazam! Fury of the Gods (2023) Bluray-2160p.mkv\" -autoscale 0 -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:0 -codec:v:0 hevc_vaapi -tag:v:0 hvc1 -rc_mode VBR -b:v 13700908 -maxrate 13700908 -bufsize 27401816 -profile:v:0 main -force_key_frames:0 \"expr:gte(t,0+n_forced*3)\" -filter_complex \"[0:3]scale=s=3840x1608:flags=fast_bilinear[sub];[0:0]setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale_vaapi=format=nv12:extra_hw_frames=24,hwdownload,format=nv12[main];[main][sub]overlay=eof_action=pass:shortest=1:repeatlast=0,hwupload_vaapi\" -start_at_zero -codec:a:0 copy -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 \"/var/lib/jellyfin/transcodes/224b2323d3071ec21cb744c152c05549%d.ts\" -hls_playlist_type vod -hls_list_size 0 -y \"/var/lib/jellyfin/transcodes/224b2323d3071ec21cb744c152c05549.m3u8\""
[2023-08-20 03:31:31.577 +00:00] [INF] Started user data sync
[2023-08-20 03:31:31.581 +00:00] [INF] User Data Sync: User "nihalvm" ("4c5511d06e57405086f96eef381565bb") posted 2 updates
[2023-08-20 03:31:31.581 +00:00] [INF] Finished user data sync, taking "00:00:00.0039730"
[2023-08-20 03:31:32.068 +00:00] [INF] Processing playback tracker : "a57b74ea95bf392d6e519c98b1bfb67d6845b322-4c5511d06e57405086f96eef381565bb-6cb14c973a219533e1d99655f44e53ef"
[2023-08-20 03:31:32.719 +00:00] [INF] Playback stopped reported by app "Android TV" "0.15.11" playing "Shazam! Fury of the Gods". Stopped at "0" ms
[2023-08-20 03:31:32.725 +00:00] [INF] Playback stop tracker found, processing stop : "a57b74ea95bf392d6e519c98b1bfb67d6845b322-4c5511d06e57405086f96eef381565bb-6cb14c973a219533e1d99655f44e53ef"
[2023-08-20 03:31:32.725 +00:00] [INF] PlaybackTracker : Adding Stop Event : 08/20/2023 03:31:32
[2023-08-20 03:31:32.725 +00:00] [WRN] Slow HTTP Response from "http://10.0.0.108:8096/Sessions/Playing/Stopped" to "10.0.0.207" in 0:00:01.7148351 with Status Code 204
[2023-08-20 03:31:32.725 +00:00] [INF] Playback stop but TrackedPlaybackInfo not found! not storing activity in DB
[2023-08-20 03:31:33.224 +00:00] [INF] Started user data sync
[2023-08-20 03:31:33.226 +00:00] [INF] User Data Sync: User "nihalvm" ("4c5511d06e57405086f96eef381565bb") posted 2 updates
[2023-08-20 03:31:33.226 +00:00] [INF] Finished user data sync, taking "00:00:00.0019131"
[2023-08-20 03:31:36.131 +00:00] [WRN] Slow HTTP Response from "http://10.0.0.108:8096/videos/6cb14c97-3a21-9533-e1d9-9655f44e53ef/hls1/main/0.ts?DeviceId=a57b74ea95bf392d6e519c98b1bfb67d6845b322&MediaSourceId=6cb14c973a219533e1d99655f44e53ef&VideoCodec=hevc,h264,hevc&AudioCodec=aac&AudioStreamIndex=1&SubtitleStreamIndex=3&VideoBitrate=99234351&AudioBitrate=765649&AudioSampleRate=48000&MaxFramerate=23.976025&PlaySessionId=813709ce55e94bffbb202c951dcd50f8&api_key=f14d8cfa66e84cec902b32a7f9b6c477&SubtitleMethod=Encode&RequireAvc=false&Tag=351743fbbff44666319705eb460958ad&SegmentContainer=ts&BreakOnNonKeyFrames=False&hevc-level=150&hevc-videobitdepth=10&hevc-profile=main10&hevc-audiochannels=8&aac-profile=lc&aac-audiochannels=8&TranscodeReasons=SubtitleCodecNotSupported&runtimeTicks=0&actualSegmentLengthTicks=30000000" to "10.0.0.207" in 0:00:04.614434 with Status Code 200
[2023-08-20 03:31:37.007 +00:00] [INF] Stopping ffmpeg process with q command for "/var/lib/jellyfin/transcodes/224b2323d3071ec21cb744c152c05549.m3u8"
[2023-08-20 03:31:37.143 +00:00] [WRN] Slow HTTP Response from "http://10.0.0.108:8096/videos/6cb14c97-3a21-9533-e1d9-9655f44e53ef/hls1/main/1.ts?DeviceId=a57b74ea95bf392d6e519c98b1bfb67d6845b322&MediaSourceId=6cb14c973a219533e1d99655f44e53ef&VideoCodec=hevc,h264,hevc&AudioCodec=aac&AudioStreamIndex=1&SubtitleStreamIndex=3&VideoBitrate=99234351&AudioBitrate=765649&AudioSampleRate=48000&MaxFramerate=23.976025&PlaySessionId=813709ce55e94bffbb202c951dcd50f8&api_key=f14d8cfa66e84cec902b32a7f9b6c477&SubtitleMethod=Encode&RequireAvc=false&Tag=351743fbbff44666319705eb460958ad&SegmentContainer=ts&BreakOnNonKeyFrames=False&hevc-level=150&hevc-videobitdepth=10&hevc-profile=main10&hevc-audiochannels=8&aac-profile=lc&aac-audiochannels=8&TranscodeReasons=SubtitleCodecNotSupported&runtimeTicks=30000000&actualSegmentLengthTicks=30000000" to "10.0.0.207" in 0:00:01.0019703 with Status Code 200
[2023-08-20 03:31:37.162 +00:00] [INF] FFmpeg exited with code 0
[2023-08-20 03:31:37.162 +00:00] [INF] Deleting partial stream file(s) "/var/lib/jellyfin/transcodes/224b2323d3071ec21cb744c152c05549.m3u8"
[2023-08-20 03:31:38.664 +00:00] [INF] Playback stopped reported by app "Android TV" "0.15.11" playing "Shazam! Fury of the Gods". Stopped at "0" ms
[2023-08-20 03:31:38.670 +00:00] [INF] Playback stop did not have a tracker : "a57b74ea95bf392d6e519c98b1bfb67d6845b322-4c5511d06e57405086f96eef381565bb-6cb14c973a219533e1d99655f44e53ef"
[2023-08-20 03:31:38.670 +00:00] [WRN] Slow HTTP Response from "http://10.0.0.108:8096/Sessions/Playing/Stopped" to "10.0.0.207" in 0:00:01.6642971 with Status Code 204
[2023-08-20 03:31:39.169 +00:00] [INF] Started user data sync
[2023-08-20 03:31:39.208 +00:00] [INF] User Data Sync: User "nihalvm" ("4c5511d06e57405086f96eef381565bb") posted 2 updates
[2023-08-20 03:31:39.208 +00:00] [INF] Finished user data sync, taking "00:00:00.0392318"
[2023-08-20 03:31:40.086 +00:00] [INF] session.RemoteEndPoint : "10.0.0.207"
[2023-08-20 03:31:40.086 +00:00] [INF] StartPlaybackTimer : event_playing_id = "6cb14c973a219533e1d99655f44e53ef"
[2023-08-20 03:31:40.086 +00:00] [INF] StartPlaybackTimer : event_user_id = "4c5511d06e57405086f96eef381565bb"
[2023-08-20 03:31:40.086 +00:00] [INF] StartPlaybackTimer : event_user_id_int = 1
[2023-08-20 03:31:40.086 +00:00] [INF] StartPlaybackTimer : session_playing_id = ""
[2023-08-20 03:31:40.086 +00:00] [INF] StartPlaybackTimer : session_user_id = "4c5511d06e57405086f96eef381565bb"
[2023-08-20 03:31:40.086 +00:00] [INF] StartPlaybackTimer : play_method = "na"
[2023-08-20 03:31:40.086 +00:00] [INF] StartPlaybackTimer : e.ClientName = "Android TV"
[2023-08-20 03:31:40.086 +00:00] [INF] StartPlaybackTimer : e.DeviceName = "Living room TV"
[2023-08-20 03:31:40.086 +00:00] [INF] StartPlaybackTimer : ItemName = "Shazam! Fury of the Gods"
[2023-08-20 03:31:40.086 +00:00] [INF] StartPlaybackTimer : ItemId = "6cb14c973a219533e1d99655f44e53ef"
[2023-08-20 03:31:40.086 +00:00] [INF] StartPlaybackTimer : ItemType = "Movie"
[2023-08-20 03:31:40.086 +00:00] [INF] StartPlaybackTimer : Details do not match for play item
[2023-08-20 03:31:40.086 +00:00] [INF] StartPlaybackTimer : Exited
[2023-08-20 03:31:45.733 +00:00] [INF] session.RemoteEndPoint : "10.0.0.207"
[2023-08-20 03:31:45.733 +00:00] [INF] StartPlaybackTimer : event_playing_id = "6cb14c973a219533e1d99655f44e53ef"
[2023-08-20 03:31:45.733 +00:00] [INF] StartPlaybackTimer : event_user_id = "4c5511d06e57405086f96eef381565bb"
[2023-08-20 03:31:45.733 +00:00] [INF] StartPlaybackTimer : event_user_id_int = 1
[2023-08-20 03:31:45.733 +00:00] [INF] StartPlaybackTimer : session_playing_id = ""
[2023-08-20 03:31:45.733 +00:00] [INF] StartPlaybackTimer : session_user_id = "4c5511d06e57405086f96eef381565bb"
[2023-08-20 03:31:45.733 +00:00] [INF] StartPlaybackTimer : play_method = "na"
[2023-08-20 03:31:45.733 +00:00] [INF] StartPlaybackTimer : e.ClientName = "Android TV"
[2023-08-20 03:31:45.733 +00:00] [INF] StartPlaybackTimer : e.DeviceName = "Living room TV"
[2023-08-20 03:31:45.733 +00:00] [INF] StartPlaybackTimer : ItemName = "Shazam! Fury of the Gods"
[2023-08-20 03:31:45.733 +00:00] [INF] StartPlaybackTimer : ItemId = "6cb14c973a219533e1d99655f44e53ef"
[2023-08-20 03:31:45.733 +00:00] [INF] StartPlaybackTimer : ItemType = "Movie"
[2023-08-20 03:31:45.733 +00:00] [INF] StartPlaybackTimer : Details do not match for play item
[2023-08-20 03:31:45.733 +00:00] [INF] StartPlaybackTimer : Exited
[2023-08-20 03:31:51.079 +00:00] [INF] session.RemoteEndPoint : "10.0.0.207"
[2023-08-20 03:31:51.079 +00:00] [INF] StartPlaybackTimer : event_playing_id = "6cb14c973a219533e1d99655f44e53ef"
[2023-08-20 03:31:51.079 +00:00] [INF] StartPlaybackTimer : event_user_id = "4c5511d06e57405086f96eef381565bb"
[2023-08-20 03:31:51.079 +00:00] [INF] StartPlaybackTimer : event_user_id_int = 1
[2023-08-20 03:31:51.079 +00:00] [INF] StartPlaybackTimer : session_playing_id = ""
[2023-08-20 03:31:51.079 +00:00] [INF] StartPlaybackTimer : session_user_id = "4c5511d06e57405086f96eef381565bb"
[2023-08-20 03:31:51.079 +00:00] [INF] StartPlaybackTimer : play_method = "na"
[2023-08-20 03:31:51.079 +00:00] [INF] StartPlaybackTimer : e.ClientName = "Android TV"
[2023-08-20 03:31:51.080 +00:00] [INF] StartPlaybackTimer : e.DeviceName = "Living room TV"
[2023-08-20 03:31:51.080 +00:00] [INF] StartPlaybackTimer : ItemName = "Shazam! Fury of the Gods"
[2023-08-20 03:31:51.080 +00:00] [INF] StartPlaybackTimer : ItemId = "6cb14c973a219533e1d99655f44e53ef"
[2023-08-20 03:31:51.080 +00:00] [INF] StartPlaybackTimer : ItemType = "Movie"
[2023-08-20 03:31:51.080 +00:00] [INF] StartPlaybackTimer : Details do not match for play item
[2023-08-20 03:31:51.080 +00:00] [INF] StartPlaybackTimer : Exited