Jellyfin Forum
Suddenly can't play 4k content - 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: Suddenly can't play 4k content (/t-suddenly-can-t-play-4k-content)

Pages: 1 2


Suddenly can't play 4k content - maxplosive - 2023-09-29

Haven't had any issues playing 4k content on my new server until today and now I can't play any of the old movies or shows I've already watched. Freezes after 2 seconds and then buffers, sometimes just a black screen. No issues playing HD content.
I have a Celeron N5105 that reaches 100% usage when trying to watch the content but it hasn't been any issues before. Tried watching on my 4k tv and 4k pc monitor and neither works.

FFmpeg.transcode:https://pastebin.com/9yijpwVk

log:https://pastebin.com/jcjcc7Dw

Running Jellyfin in docker on an Unraid server, haven't enabled hw acceleration cuz too dumb :P


RE: Suddenly can't play 4k content - skribe - 2023-09-29

This stream is being transcoded because of what appears to be audio and video formats unsupported by the client device. Without hardware acceleration, your server simply cannot keep up with a 4K transcode. Your ffmpeg logs show that you're getting 10-13 fps, but a movie is approximately 23 fps. So the transcode is not fast enough to support the stream.

I'm afraid your best option here is to do the work to enable hardware acceleration.

If it worked before, I'm not sure why. Your client is telling the server that it doesn't support these encodings.


RE: Suddenly can't play 4k content - maxplosive - 2023-09-29

(2023-09-29, 05:19 PM)skribe Wrote: This stream is being transcoded because of what appears to be audio and video formats unsupported by the client device. Without hardware acceleration, your server simply cannot keep up with a 4K transcode. Your ffmpeg logs show that you're getting 10-13 fps, but a movie is approximately 23 fps. So the transcode is not fast enough to support the stream.

I'm afraid your best option here is to do the work to enable hardware acceleration.

If it worked before, I'm not sure why. Your client is telling the server that it doesn't support these encodings.

That's so weird, haven't had any issues at all before but now I couldn't even play the episodes I watched yesterday. I enabled QSV and got an error every time I tried to play a video but after some trials I can now play them and enabling ASS subtitles is 100x faster than previously but 4k content still stutters every 5 seconds now. log:https://pastebin.com/K1FeJyHF


RE: Suddenly can't play 4k content - skribe - 2023-09-29

You do have QSV enabled there, but you're still only hitting 15 fps or so. That seems...a little odd to be honest. What are the details on the rest of this configuration? Perhaps this is actually a storage bottleneck or something?

If you can't get to 23+ fps it just won't be able to keep up with the stream.


RE: Suddenly can't play 4k content - maxplosive - 2023-09-29

(2023-09-29, 06:24 PM)skribe Wrote: You do have QSV enabled there, but you're still only hitting 15 fps or so. That seems...a little odd to be honest. What are the details on the rest of this configuration? Perhaps this is actually a storage bottleneck or something?

If you can't get to 23+ fps it just won't be able to keep up with the stream.

Hmmm sometimes an episode will play without any buffering but then I close it and try again and now it stutters, maybe it's something to do with my settings? All my content is on the same drive
https://imgur.com/a/LvE6ujl


RE: Suddenly can't play 4k content - maxplosive - 2023-09-30

And now it takes like 30 seconds for a 720p anime show to start playing but before they started instantly, not sure what's going on.............


RE: Suddenly can't play 4k content - Venson - 2023-09-30

With your transcode settings ffmpeg does not use HWA
-codec:v:0 libx264 <-- that is a software transcode.
Why exactly that is, i am not sure however. Best quess would be a missing driver/low power encoding issue


RE: Suddenly can't play 4k content - skribe - 2023-09-30

(2023-09-30, 12:40 PM)Venson Wrote: With your transcode settings ffmpeg does not use HWA
-codec:v:0 libx264 <-- that is a software transcode.
Why exactly that is, i am not sure however. Best quess would be a missing driver/low power encoding issue

I don't think you're looking at the right log. He has enabled QSV in the most recent log.

Code:
Stream mapping:
  Stream #0:0 -> #0:0 (hevc (native) -> h264 (h264_qsv))
  Stream #0:1 -> #0:1 (eac3 (native) -> aac (libfdk_aac))

https://pastebin.com/K1FeJyHF


RE: Suddenly can't play 4k content - maxplosive - 2023-09-30

So I don't really know what's going on Smiling-face I've tried playing one episode of a 4k show today multiple times on my Android tv through the jellyfin app and according to dashboard half the times I start the episode up it's transcoding due to unsupported audio and video codecs but then sometimes it says it's playing directly without transcoding so no fucking clue what's going on, is the transcoded version stored in memory? But now I've been able to play most shows and movies without stuttering though some episodes I can't enable ASS subtitles because it says it's burning in and I see the GPU spikes for a while and then after a minute of a black screen it's 50/50 if it crashes or it works without issues. When I got transcoding working as I mentioned above, switching to ASS subs took less than 5 seconds but now it's a minute of doubt....


RE: Suddenly can't play 4k content - Venson - 2023-10-01

Could you please provide another server log, with enabled qsv?