How to reduce lag during remote access?
from Neon_Shadow@lemmy.world to jellyfin@lemmy.ml on 04 Jun 10:57
https://lemmy.world/post/47744484

I have Jellyfin installed on my DS923+ with Tailscale. However, it’s impossible to watch videos remotely due to the constant lag. I never had this problem with Plex, so I’m unsure if this is due to user error or not. All of my videos are 1080p. I’m not attempting to transcode a 4K behemoth or anything. Is there any way to increase the stream quality or reduce the lag?

Would enabling hardware acceleration make a difference? Despite my NAS having no gpu. Would using a reverse proxy improve the connection? If you have any ideas or advice I’d love to know. Thank you ❤️

#jellyfin

threaded - newest

anon5621@lemmy.ml on 04 Jun 11:09 next collapse

That weird I am streaming videos no problem, check ur cpu usage while streaming on server

bjoern_tantau@swg-empire.de on 04 Jun 11:14 next collapse

What if you deactivate transcoding?

Neon_Shadow@lemmy.world on 04 Jun 11:22 collapse

It still lags :(

antrosapien@lemmy.ml on 04 Jun 12:08 next collapse

I know this, have been prepping for system design interview for some time. One word: CDN A strategically placed geographically distributed group of servers that speeds up the delivery of web content by caching it closer to users

WhyAUsername_1@lemmy.world on 04 Jun 13:42 collapse

What?

Konraddo@lemmy.world on 04 Jun 12:10 next collapse

Whether your video is 1080p isn’t the concern, since it’s the video codec that determines if your client device can play the file directly. If not, it may require Jellyfin to transcode it using software capability only (as you did not enable hardware acceleration).

For hardware acceleration, you should read the official documentation. Say, some Intel CPU supports Intel Quick Sync so you don’t necessarily need a GPU.

obelisk_complex@piefed.ca on 04 Jun 12:30 next collapse

What device are you watching on, and is it happening to all videos equally or does an MKV lag more than an MP4 for example? Are there any errors showing in the jellyfin logs?

paf@jlai.lu on 04 Jun 15:02 next collapse

I would suspect something with tailscale, maybe double check settings or try wireguard

UnpledgedCatnapTipper@piefed.blahaj.zone on 04 Jun 17:18 next collapse

Does streaming work if your on your LAN?

Do you have a bandwidth limit set for remote connections in Jellyfin? It’s on a per user setting and labeled “Internet streaming bitrate limit).

What sort of bandwidth are you able to get through Tailscale?

QueenMidna@lemmy.ca on 04 Jun 18:01 next collapse

I love my Synology but it really doesn’t have enough CPU to run Jellyfin

Lem453@lemmy.ca on 05 Jun 01:50 next collapse

Check the admin jellyfin dashboard on your phone while you are streaming, does it say the audio or video is transcoding?

yuman@programming.dev on 05 Jun 08:01 collapse

can’t be bothered to look up what kinda hardware that thing has, but I’d venture a guess it’s hella faster than my server - a core2 duo from 2007. that thing has no issues streaming 1080p between continents with months long uptime and zero hitches, over wireguard. the only thing I changed from the default is turn off transcoding.