Transcode buffering while scanning

So I just noticed that when Plex is doing a full library scan, if I’m watching something and it’s transcoding, the pre-buffer would stop, i.e., it grinds transcoding to a halt. When the scan is complete transcoding returns back to normal. I’ve been reading the forum posts related to this and can’t really find anything that fixed my problem.

I’m on Debian 12, latest plex beta version 1.40.2.8312. Using HW transcoding with RTX 4070 TI. I also have a large music library. The transcode is 1080p 24mbps. The media drives are running ZFS with SSD metadata special devices.

I’ve looked at the plex logs, the debian syslogs, and monitored disk and system activity whenever it happens and as it happens. But don’t see anything out of the ordinary. I’ve tried disabling HW transcoding, and also tried using different drives as the plex temp transcode directory. It’s still consistently reproducible. I’ve also tried setting scanner tasks to lower priority.

This problem probably isn’t noticeable for small libraries because a full scan may only take a few seconds. But I have a large library, and a full scan can take 2-5 minutes. That may not seem like a long time, but when you’re watching something and it pauses to buffer for 2-5 minutes, that’s a long time.

Any suggestions? I’ve reduced the full disk scan to once a day and turned on Automatically Scan (partial changes) for now.

Why are you doing a Full Scan? Partial scan is all you should need .

What is the CPU being used ?

Seeing your DEBUG server logs zip, capturing this, would be helpful.

Maybe you want to set all those analysis jobs to be performed only during server maintenance and not during library scans. Should help with system load – (at least if the library scan actually found new media)
https://support.plex.tv/articles/200289526-library/

Seems like I figured out something new. This problem is related to HW encoding. When it was happening due to Plex scanning (or generating things), I switched to CPU encoding, and the buffering went away.

Not sure if this is related to my RTX 4070 or my platform X399 or CPU AMD 3960X. Just posting this in case someone searches having the same problem.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.