this post was submitted on 05 Feb 2025
8 points (90.0% liked)

Jellyfin: The Free Software Media System

5895 readers
15 users here now

Current stable release: 10.10.5

Community Standards

Website

Forum

GitHub

Documentation

Feature Requests

Matrix (General Information & Help)

Matrix (Announcements)

Matrix (General Development)

Matrix (Off-Topic) - Come get to know the team and blow off steam!

Matrix Space - List of all the available rooms on Matrix.

Discord - Bridged to our Matrix rooms

founded 4 years ago
MODERATORS
 

I've had my server running for over a year and it's been fantastic until last week. Suddenly, I'm having a lot of issues playing certain titles on certain devices, but none of it really makes sense to me. Here's what I know: I have two Roku TVs in separate rooms. Both are nearly identical models (and support the same codecs). One is directly connected to the server and the other uses a power line adapter or WiFi. The direct connection does not stutter when playing anything so far. The other tv is nearly unplayable with stuttering. My first thought was a network issue, but other apps (Netflix, etc) play just fine. I then thought it was transcoding ( I use QSV), but it doesn't make sense that the DC tv doesn't have the same issue. Other devices which connect over WiFi also have the same issue. Is there some way to tell through the logs if jellyfin is actively transcoding or failing to serve media in real-time? Or any other steps I could take to troubleshoot the root cause of my issues. Thanks in advance!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 7 points 8 hours ago (2 children)

The OTHER thing that could cause stuttering is if it needs to be transcoding and that transcode is happening slower than realtime (unlikely to be happening here).

You'd look in the logs for a transcode log for this sort of thing:

frame=  408 fps= 82 q=37.0 size=N/A time=00:00:15.51 bitrate=N/A speed= 3.1x  
[hls @ 0x5c9ae0dde940] Opening '/config/transcoding-temp/transcodes/2d181c04b2b6d7ab2bdc2405c6ae5c875.mp4' for writing  
[hls @ 0x5c9ae0dde940] Opening '/config/transcoding-temp/transcodes/2d181c04b2b6d7ab2bdc2405c6ae5c876.mp4' for writing  
[hls @ 0x5c9ae0dde940] Opening '/config/transcoding-temp/transcodes/2d181c04b2b6d7ab2bdc2405c6ae5c877.mp4' for writing  
[hls @ 0x5c9ae0dde940] Opening '/config/transcoding-temp/transcodes/2d181c04b2b6d7ab2bdc2405c6ae5c878.mp4' for writing  
[hls @ 0x5c9ae0dde940] Opening '/config/transcoding-temp/transcodes/2d181c04b2b6d7ab2bdc2405c6ae5c879.mp4' for writing  
[hls @ 0x5c9ae0dde940] Opening '/config/transcoding-temp/transcodes/2d181c04b2b6d7ab2bdc2405c6ae5c8710.mp4' for writing  
frame=  796 fps=145 q=30.0 size=N/A time=00:00:31.65 bitrate=N/A speed=5.75x  
[hls @ 0x5c9ae0dde940] Opening '/config/transcoding-temp/transcodes/2d181c04b2b6d7ab2bdc2405c6ae5c8711.mp4' for writing  
[hls @ 0x5c9ae0dde940] Opening '/config/transcoding-temp/transcodes/2d181c04b2b6d7ab2bdc2405c6ae5c8712.mp4' for writing  
[hls @ 0x5c9ae0dde940] Opening '/config/transcoding-temp/transcodes/2d181c04b2b6d7ab2bdc2405c6ae5c8713.mp4' for writing  
[hls @ 0x5c9ae0dde940] Opening '/config/transcoding-temp/transcodes/2d181c04b2b6d7ab2bdc2405c6ae5c8714.mp4' for writing  
[hls @ 0x5c9ae0dde940] Opening '/config/transcoding-temp/transcodes/2d181c04b2b6d7ab2bdc2405c6ae5c8715.mp4' for writing  
frame= 1189 fps=198 q=20.0 size=N/A time=00:00:48.04 bitrate=N/A speed=8.01x

if the speed drops below 1.0x, you'll stutter.

[–] Holomew 2 points 1 hour ago

That's exactly what I was wondering. I will start digging through the logs. Thank you!

[–] [email protected] 2 points 5 hours ago* (last edited 5 hours ago)

This should be in the stuttering faq in the doc 😁

Also if your CPU maxes out, a GPU would do a better job