Flickering (?) every 5-10 minutes (direct playback)
from fatcat@discuss.tchncs.de to jellyfin@lemmy.ml on 05 Apr 16:12
https://discuss.tchncs.de/post/57899832

Hi!

Small disclaimer/warning about the video: Attached video snipped contains the problem (when he bends down), 10 seconds Battlestar Galactica and a bloody face. Sorry, it’s really annoying to capture.

Maybe someone can help me figure out what causes my problem.

Problem:

I’m not sure what I actually could change to be honest. Could this some kind of Jellyfin bug? Any ideas?

Thanks!

#jellyfin

threaded - newest

ZonenRanslite@feddit.org on 05 Apr 17:23 next collapse

Maybe some bottleneck, connection, cpu or hdd.

fatcat@discuss.tchncs.de on 05 Apr 17:37 collapse

I think I can rule out CPU (not transcoding) and HDD (the file is really small in this case). Connection is a bit harder to judge, but I see the buffered amount in the play window. If that is accurate I have always at least 10 minutes of video buffered.

sgh@lemmy.ml on 05 Apr 17:30 collapse

Can you verify if Jellyfin is remuxing without transcoding? I.e. changing container but without touching the frame/audio data.

I believe while you playback it should say in the administration panel, in the card that represents the active session you have this issue in.

Remux and transcode happen on disk, unless you manually set the temporary path to a decently sized tmpfs partition.

I solved a similar issue doing exactly what I just wrote: tmpfs (can’t recall what its name is under Docker) and set the transcoding path accordingly. I also had to tweak the transcode files’ lifetime:

  • Limit trancode checked
  • Remove segments checked
  • Limit after: 30
  • Segment lifetime: 1800

This has done wonders for me for both on-the-fly remux and transcodes, but I had to reserve a beefy tmpfs (I think I have like 8GB set right now).

fatcat@discuss.tchncs.de on 05 Apr 17:35 collapse

I checked also in Admin panel and it says there:

Direct playing The source file is entirely compatible with this client and the session is receiving the file without modifications.

So I guess nothing is done to the file? I hope? :D

sgh@lemmy.ml on 05 Apr 17:50 collapse

Yeah, I don’t think what I suggested should do anything at all in this specific case…