Jellyfin Forum
Black Screen - is it the Android TV or some configuration? - 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: Black Screen - is it the Android TV or some configuration? (/t-black-screen-is-it-the-android-tv-or-some-configuration)

Pages: 1 2


Black Screen - is it the Android TV or some configuration? - jellyfish - 2023-07-07

Hi
I am total newbie to this, so please excuse my ignorance.
I just want to confirm my suspicion on why "some" content is played on TV (Sony Android TV old one like 2015) with Jellyfin Client which I grabbed from google store, the content plays audio only and black screen.
While the same content when played on PC through Web browser its plays just fine.
if it is the TV, then anything I could do to fix it? other than getting proper external stick or apple TV device..
I checked similar issues mentioned here, I can confirm content is playing Direct, the format is HEVC. I don't see any (major) errors in logs either just noise like "WRN Slow HTTP Response from".
Server is running on Docker on DS920+, as for configuration of transcoding HW Acceleration it is Intel QuickSync (QSV) is this the right one? Also selected Enable HW Encoding, and Allow encoding in HEVC format. Anyway since as per logs the content is played Direct, then Transcoding/Encoding is irrelevant here, right ?
Any location to look for verbose errors?
Thanks.


RE: Black Screen - is it the Android TV or some configuration? - TheDreadPirate - 2023-07-07

On the TV, what happens if you change the quality from auto to the maximum bit rate available? Another user had a similar problem and selecting the highest bit rate helped.


RE: Black Screen - is it the Android TV or some configuration? - thornbill - 2023-07-07

It sounds like it is trying to direct play a format that the device doesn't actually support. Could you provide some more detailed information about the device (model, Android version, etc.) and the media details (container and codec information)?


RE: Black Screen - is it the Android TV or some configuration? - jellyfish - 2023-07-07

Here is some logs, when I tried to play the content with Exoplayer or VLC, however I don't see Errors or Major or any flag other than Info or WRN:
Note: I removed private info.

[2023-07-07 22:58:25.182 +10:00] [INF] [143] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Android TV" "0.15.11" playing "my 4k HVEC content". Stopped at "51786" ms
[2023-07-07 22:59:14.681 +10:00] [INF] [106] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "XYZUser". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2023-07-07 22:59:14.681 +10:00] [INF] [106] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile="AndroidTV-libVLC", Path="my 4k HVEC content .2160p.BluRay.REMUX.HEVC.DTS-HD.MA.TrueHD.7.1.Atmos-FGT.mkv", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=DirectPlay, TranscodeReason=0 ) "media:XYZ/stream.mkv?MediaSourceId=XYZ&Static=true&VideoCodec=hevc&AudioCodec=truehd&AudioStreamIndex=3&api_key=<token>&Tag=XYZ"
[2023-07-07 22:59:14.848 +10:00] [INF] [139] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "XYZ User". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2023-07-07 22:59:14.848 +10:00] [INF] [139] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile="AndroidTV-ExoPlayer", Path="my 4k HVEC content .2160p.BluRay.REMUX.HEVC.DTS-HD.MA.TrueHD.7.1.Atmos-FGT.mkv", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=DirectPlay, TranscodeReason=0 ) "media:XYZ/stream.mkv?MediaSourceId=XYZ&Static=true&VideoCodec=hevc&AudioCodec=truehd&AudioStreamIndex=3&api_key=<token>&Tag=XYZ"
[2023-07-07 23:00:25.024 +10:00] [INF] [98] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Android TV" "0.15.11" playing "my 4k HVEC content". Stopped at "487015" ms
[2023-07-07 23:00:25.664 +10:00] [WRN] [98] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://IPaddress:8096/Sessions/Playing/Stopped" to "IPaddress" in 0:00:00.6434309 with Status Code 204
[2023-07-07 23:01:00.528 +10:00] [INF] [63] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "XYZ User". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True

(2023-07-07, 11:50 PM)TheDreadPirate Wrote: On the TV, what happens if you change the quality from auto to the maximum bit rate available?  Another user had a similar problem and selecting the highest bit rate helped.

That is a good question!
So I play this content on 100 or 120 Mbits, when I change it to Auto this contents stops playing entirely and timer is not progressing.


RE: Black Screen - is it the Android TV or some configuration? - jellyfish - 2023-07-08

(2023-07-07, 11:51 PM)thornbill Wrote: It sounds like it is trying to direct play a format that the device doesn't actually support. Could you provide some more detailed information about the device (model, Android version, etc.) and the media details (container and codec information)?

TV details: Sony BRAVIA 4k 2014, Andriod TV 0.15.11. I don't know how to figure out what formats are supported on this TV.

Here is what I found in Logs about media details:
[2023-07-08 10:15:33.039 +10:00] [WRN] [145] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://IP Address:8096/videos/XYZ/hls1/main/0.ts?DeviceId=XYZ&MediaSourceId=my 4k content &VideoCodec=hevc,h264,hevc&AudioCodec=aac,mp3,ac3,eac3&AudioStreamIndex=3&VideoBitrate=7884076&AudioBitrate=1536000&MaxFramerate=23.976025&PlaySessionId=XYZ&api_key=XYZ&RequireAvc=false&Tag=10fa9bfdb2ef5c048a40aa0fcf24e05b&SegmentContainer=ts&BreakOnNonKeyFrames=False&hevc-level=153&hevc-videobitdepth=10&hevc-profile=main10&aac-audiochannels=8&TranscodeReasons=ContainerBitrateExceedsLimit&runtimeTicks=0&actualSegmentLengthTicks=30000000" to "IP address" in 0:00:10.4956054 with Status Code 200


RE: Black Screen - is it the Android TV or some configuration? - TheDreadPirate - 2023-07-08

What happens when you turn down the bit rate to force it to transcode?


RE: Black Screen - is it the Android TV or some configuration? - jellyfish - 2023-07-08

Here is what happened when I changed "Max streaming Bitrate" to Auto, I can see it starts to Transcode!

[2023-07-08 10:15:21.204 +10:00] [INF] [4] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile="AndroidTV-ExoPlayer", Path="/data/media/movies/My 4k content .2160p.BluRay.REMUX.HEVC.DTS-HD.MA.TrueHD.7.1.Atmos-FGT.mkv", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=Transcode, TranscodeReason=ContainerBitrateExceedsLimit ) "mediaConfused-facevideos/XYZ/master.m3u8?MediaSourceId=XYZ&VideoCodec=hevc,h264,hevc&AudioCodec=aac,mp3,ac3,eac3&AudioStreamIndex=3&VideoBitrate=7884076&AudioBitrate=1536000&MaxFramerate=23.976025&api_key=<token>&RequireAvc=false&Tag=XYZ&SegmentContainer=ts&BreakOnNonKeyFrames=False&hevc-level=153&hevc-videobitdepth=10&hevc-profile=main10&aac-audiochannels=8&TranscodeReasons=ContainerBitrateExceedsLimit"
[2023-07-08 10:15:22.663 +10:00] [INF] [92] Jellyfin.Api.Helpers.TranscodingJobHelper: Killing FFmpeg process for "/config/data/transcodes/XYZ.m3u8"
[2023-07-08 10:15:22.685 +10:00] [INF] [92] Jellyfin.Api.Helpers.TranscodingJobHelper: Deleting partial stream file(s) "/config/data/transcodes/XYZ.m3u8"
[2023-07-08 10:15:22.827 +10:00] [ERR] [92] Jellyfin.Api.Helpers.TranscodingJobHelper: FFmpeg exited with code 137
[2023-07-08 10:15:24.298 +10:00] [WRN] [145] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://IP Address:8096/Sessions/Playing" to "IP Address" in 0:00:03.001336 with Status Code 204
[2023-07-08 10:15:24.351 +10:00] [INF] [92] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Android TV" "0.15.11" playing "my 4k content". Stopped at "54822" ms


RE: Black Screen - is it the Android TV or some configuration? - TheDreadPirate - 2023-07-08

Was there any video the screen when it was transcoding?


RE: Black Screen - is it the Android TV or some configuration? - TheDreadPirate - 2023-07-08

Also, what is your specific Sony TV model?

https://www.sony.com/electronics/support/televisions-projectors-lcd-tvs-android-/kdl-55w800c/specifications

Is that it? I'm trying to figure out what SOC it has.


RE: Black Screen - is it the Android TV or some configuration? - jellyfish - 2023-07-08

The TV should be this one:
https://www.sony-asia.com/electronics/support/televisions-projectors-lcd-tvs-android-/kd-65x8500d/specifications