2023-09-12, 10:16 AM
(This post was last modified: 2023-09-12, 10:42 AM by ohshitgorillas. Edited 1 time in total.)
I am a recently Jellyfin convert after discovering that both Plex and Emby want money to enable hardware transcoding.
I am running Jellyfin inside Docker on an Ubuntu Server, with an Intel i5-10600KF CPU and Nvidia GTX 1660 Ti GPU... plenty of power to go around for a media server. The endpoints are a Google Chromecast 4K and my <1yr old Samsung tablet.
I am currently traveling in a country with restricted internet, so everything goes through my WireGuard VPN, the server for which is located on the same machine as Jellyfin. I have never had any problems streaming content from Netflix, Hulu, etc. so it's not a hotel bandwidth problem or a VPN limitation. My home internet has gigabit speeds and I am the only person streaming from this server; there are other processes on the server but none that would consume significant bandwidth (i.e. only very minor BitTorrent traffic).
The problem I'm having is very inconsistent performance. I have gotten 4K videos to stream perfectly smoothly (with hardware transcoding), while others stutter so badly it becomes unwatchable (same source, same format, also with hw transcoding). I have even seen SD videos stutter. I have also been watching seasons of a show and had the first two episodes work without issue and without transcoding whereas the third one stutters frequently (all downloaded from the same source and in the same format). This appears to happen on an episode-by-episode basis since I haven't seen the problem start mid-episode (yet).
I assume the problem is related to transcoding since all other variables suggest that this isn't a bandwidth problem, however, I'm open to the idea that I'm wrong.
Since I'm new to this kind of troubleshooting, please let me know what kind of logs or data you all want to see. I'm hesitant to dump a bunch of info into the first post since a) I don't know what is useful and what isn't, and b) I don't want the first post to become an unreadable labyrinth of logs that may not even be relevant.
I will say that I have Nvidia NVENC enabled for all formats, including enhanced decoding. When the GPU does kick in, it rarely goes above 20% total power. I use a Grafana dashboard to check on the GPU when watching videos.
What's even stranger is that hardware transcoding seems to be enabled inconsistently as well, as I'm trying to stream a 4K video right now that isn't using the GPU... when another video from the same website, in the same format, does use the GPU. Both stuttered.
I am running Jellyfin inside Docker on an Ubuntu Server, with an Intel i5-10600KF CPU and Nvidia GTX 1660 Ti GPU... plenty of power to go around for a media server. The endpoints are a Google Chromecast 4K and my <1yr old Samsung tablet.
I am currently traveling in a country with restricted internet, so everything goes through my WireGuard VPN, the server for which is located on the same machine as Jellyfin. I have never had any problems streaming content from Netflix, Hulu, etc. so it's not a hotel bandwidth problem or a VPN limitation. My home internet has gigabit speeds and I am the only person streaming from this server; there are other processes on the server but none that would consume significant bandwidth (i.e. only very minor BitTorrent traffic).
The problem I'm having is very inconsistent performance. I have gotten 4K videos to stream perfectly smoothly (with hardware transcoding), while others stutter so badly it becomes unwatchable (same source, same format, also with hw transcoding). I have even seen SD videos stutter. I have also been watching seasons of a show and had the first two episodes work without issue and without transcoding whereas the third one stutters frequently (all downloaded from the same source and in the same format). This appears to happen on an episode-by-episode basis since I haven't seen the problem start mid-episode (yet).
I assume the problem is related to transcoding since all other variables suggest that this isn't a bandwidth problem, however, I'm open to the idea that I'm wrong.
Since I'm new to this kind of troubleshooting, please let me know what kind of logs or data you all want to see. I'm hesitant to dump a bunch of info into the first post since a) I don't know what is useful and what isn't, and b) I don't want the first post to become an unreadable labyrinth of logs that may not even be relevant.
I will say that I have Nvidia NVENC enabled for all formats, including enhanced decoding. When the GPU does kick in, it rarely goes above 20% total power. I use a Grafana dashboard to check on the GPU when watching videos.
What's even stranger is that hardware transcoding seems to be enabled inconsistently as well, as I'm trying to stream a 4K video right now that isn't using the GPU... when another video from the same website, in the same format, does use the GPU. Both stuttered.