Jellyfin Forum
Buffering - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Buffering (/t-buffering)

Pages: 1 2 3


RE: Buffering - Fate - 2024-11-20

(2024-11-20, 03:54 PM)iwishiknewmore Wrote: here are ffmpeg logs, most recent ones. https://privatebin.net/?78f167e25991f99a#8A3xHTVZ152rzGCENY88mX1nCJP55NbPnsHoYrXjSLgw
system is as follows:
OS: proxmox with 12600k cpu
virtualized on proxmox in vm's: opnsense, openm,ediavault and proxmox backup server. And then a debian lxc container with docker installed where the whole arr stack runs. this lxc has 4cpus, 8gb ram, 8gb swap and 40gb boot disk
media is stored on 1 16tb drive with all config, transcodes etc on a 2tb nvme.

ive since noticed that with no streams from jellyfin all ui's are responsive, but with even one stream they take much longer to load, i dont know why this is as this wasnt the case before

that log looks fine can you paste a few older ones?

I assume you have the igp passthrough as it is using it via quicksync, right?

Can you post a screenshot of the jellyfin ---> administrator-> dashbaord-> playback--> transcoding page?

Thanks!


RE: Buffering - TheDreadPirate - 2024-11-20

Does it buffer for all videos? Or just some? The particular log you shared is an audio only transcode.

Do you pass the GPU into the LXC and docker?


RE: Buffering - iwishiknewmore - 2024-11-20

yes igpu is passed through to lxc and then to jellyfin, indeed using quicksync.

here is older transcode log: https://privatebin.net/?18b73f37156208ee#3J6NTfj7DTARtJ5PiyWM7XwK1NPK3zQ4s49nHQD8Y5JY
and here older directstream log: https://privatebin.net/?3cbbb051d8601bb2#7fZnScxjmPzN12FJxmMb7knSHtuZeqeqEN4hd5Aywkkv
here is transcode setting: https://pasteboard.co/MWzhiaUGrlKS.png

and yes, all videos seem to buffer, it gets worse the higher the bitrate, starting around 7Mb/s but thats not even 1MB/s so really shouldnt be an issue at all. happens on desktop app and web for both transcodes and directstreams, only android app isnt affected.


RE: Buffering - TheDreadPirate - 2024-11-20

As far as transcoding, everything is happening more than fast enough. Are you able to do a speed test for the LXC? This sounds like a network issue. Either with speed or with packet loss.


RE: Buffering - iwishiknewmore - 2024-11-20

the lxc container gets max up and download speed of 200Mb/s up and down, qbit can reach this but is limited to 100 up so it doesnt take up all the bandwidth, is there a way to test for packet loss?


RE: Buffering - TheDreadPirate - 2024-11-20

If this problem happens for all clients, including a browser, we can try using the browser console to trouble shoot.

Open Jellyfin in your browser, press F12 to open the dev console, go to the "Console" tab.

Initiate playback in the main windows and monitor the console for activity when it buffers.


RE: Buffering - iwishiknewmore - 2024-11-20

when it buffers i see the "HLS Error: Type: mediaError Details: bufferStalledError Fatal: false" message, which is in red with an exclamation mark. i can expand it which shows the following:
k http://10.108.50.10:8096/web/main.jellyfin.bundle.js?22b44eb501cfeefd535d:2
emit http://10.108.50.10:8096/web/node_modules.hls.js.77523d1926bb7c38f494.chunk.js:1
emit http://10.108.50.10:8096/web/node_modules.hls.js.77523d1926bb7c38f494.chunk.js:1
trigger http://10.108.50.10:8096/web/node_modules.hls.js.77523d1926bb7c38f494.chunk.js:1
_reportStall http://10.108.50.10:8096/web/node_modules.hls.js.77523d1926bb7c38f494.chunk.js:1
poll http://10.108.50.10:8096/web/node_modules.hls.js.77523d1926bb7c38f494.chunk.js:1
checkBuffer http://10.108.50.10:8096/web/node_modules.hls.js.77523d1926bb7c38f494.chunk.js:1
onTickEnd http://10.108.50.10:8096/web/node_modules.hls.js.77523d1926bb7c38f494.chunk.js:1
doTick http://10.108.50.10:8096/web/node_modules.hls.js.77523d1926bb7c38f494.chunk.js:1
tick http://10.108.50.10:8096/web/node_modules.hls.js.77523d1926bb7c38f494.chunk.js:1
(Async: setInterval handler)
setInterval http://10.108.50.10:8096/web/node_modules.hls.js.77523d1926bb7c38f494.chunk.js:1
startLoad http://10.108.50.10:8096/web/node_modules.hls.js.77523d1926bb7c38f494.chunk.js:1
startLoad http://10.108.50.10:8096/web/node_modules.hls.js.77523d1926bb7c38f494.chunk.js:1
startLoad http://10.108.50.10:8096/web/node_modules.hls.js.77523d1926bb7c38f494.chunk.js:1
filterAndSortMediaOptions http://10.108.50.10:8096/web/node_modules.hls.js.77523d1926bb7c38f494.chunk.js:1
onManifestLoaded http://10.108.50.10:8096/web/node_modules.hls.js.77523d1926bb7c38f494.chunk.js:1
emit http://10.108.50.10:8096/web/node_modules.hls.js.77523d1926bb7c38f494.chunk.js:1
emit http://10.108.50.10:8096/web/node_modules.hls.js.77523d1926bb7c38f494.chunk.js:1
trigger http://10.108.50.10:8096/web/node_modules.hls.js.77523d1926bb7c38f494.chunk.js:1
handleMasterPlaylist http://10.108.50.10:8096/web/node_modules.hls.js.77523d1926bb7c38f494.chunk.js:1
onSuccess http://10.108.50.10:8096/web/node_modules.hls.js.77523d1926bb7c38f494.chunk.js:1
readystatechange http://10.108.50.10:8096/web/node_modules.hls.js.77523d1926bb7c38f494.chunk.js:1
(Async: EventHandlerNonNull)
openAndSendXhr http://10.108.50.10:8096/web/node_modules.hls.js.77523d1926bb7c38f494.chunk.js:1
loadInternal http://10.108.50.10:8096/web/node_modules.hls.js.77523d1926bb7c38f494.chunk.js:1
(Async: promise callback)
loadInternal http://10.108.50.10:8096/web/node_modules.hls.js.77523d1926bb7c38f494.chunk.js:1
load http://10.108.50.10:8096/web/node_modules.hls.js.77523d1926bb7c38f494.chunk.js:1
load http://10.108.50.10:8096/web/node_modules.hls.js.77523d1926bb7c38f494.chunk.js:1
onManifestLoading http://10.108.50.10:8096/web/node_modules.hls.js.77523d1926bb7c38f494.chunk.js:1
emit http://10.108.50.10:8096/web/node_modules.hls.js.77523d1926bb7c38f494.chunk.js:1
emit http://10.108.50.10:8096/web/node_modules.hls.js.77523d1926bb7c38f494.chunk.js:1
trigger http://10.108.50.10:8096/web/node_modules.hls.js.77523d1926bb7c38f494.chunk.js:1
loadSource http://10.108.50.10:8096/web/node_modules.hls.js.77523d1926bb7c38f494.chunk.js:1
r http://10.108.50.10:8096/web/htmlVideoPlayer-plugin.4d904314506086bbd680.chunk.js:2
d http://10.108.50.10:8096/web/htmlVideoPlayer-plugin.4d904314506086bbd680.chunk.js:2
C http://10.108.50.10:8096/web/htmlVideoPlayer-plugin.4d904314506086bbd680.chunk.js:2
A http://10.108.50.10:8096/web/htmlVideoPlayer-plugin.4d904314506086bbd680.chunk.js:2
I http://10.108.50.10:8096/web/htmlVideoPlayer-plugin.4d904314506086bbd680.chunk.js:2
o http://10.108.50.10:8096/web/htmlVideoPlayer-plugin.4d904314506086bbd680.chunk.js:2
(Async: promise callback)
I http://10.108.50.10:8096/web/htmlVideoPlayer-plugin.4d904314506086bbd680.chunk.js:2
o http://10.108.50.10:8096/web/htmlVideoPlayer-plugin.4d904314506086bbd680.chunk.js:2
F http://10.108.50.10:8096/web/htmlVideoPlayer-plugin.4d904314506086bbd680.chunk.js:2
F http://10.108.50.10:8096/web/htmlVideoPlayer-plugin.4d904314506086bbd680.chunk.js:2
ve http://10.108.50.10:8096/web/htmlVideoPlayer-plugin.4d904314506086bbd680.chunk.js:2
(Async: promise callback)
ve http://10.108.50.10:8096/web/htmlVideoPlayer-plugin.4d904314506086bbd680.chunk.js:2
value http://10.108.50.10:8096/web/htmlVideoPlayer-plugin.4d904314506086bbd680.chunk.js:2
e http://10.108.50.10:8096/web/htmlVideoPlayer-plugin.4d904314506086bbd680.chunk.js:2
d http://10.108.50.10:8096/web/htmlVideoPlayer-plugin.4d904314506086bbd680.chunk.js:2
C http://10.108.50.10:8096/web/htmlVideoPlayer-plugin.4d904314506086bbd680.chunk.js:2
A http://10.108.50.10:8096/web/htmlVideoPlayer-plugin.4d904314506086bbd680.chunk.js:2
I http://10.108.50.10:8096/web/htmlVideoPlayer-plugin.4d904314506086bbd680.chunk.js:2
o http://10.108.50.10:8096/web/htmlVideoPlayer-plugin.4d904314506086bbd680.chunk.js:2
F http://10.108.50.10:8096/web/htmlVideoPlayer-plugin.4d904314506086bbd680.chunk.js:2
F http://10.108.50.10:8096/web/htmlVideoPlayer-plugin.4d904314506086bbd680.chunk.js:2
value http://10.108.50.10:8096/web/htmlVideoPlayer-plugin.4d904314506086bbd680.chunk.js:2


RE: Buffering - iwishiknewmore - 2024-11-21

i think it has to be a network issue then right? i just have no idea what or why as everything worked flawlessly before


RE: Buffering - TheDreadPirate - 2024-11-21

Did you install a VPN? Change routers?


RE: Buffering - iwishiknewmore - 2024-11-21

i have my isp router and then a router in front of homelab, as mentioned opnsense, both havnt changed since the start. jellyfin is exposed through the same vpn qbit is, and has been since the start, ive changed this to see if it fixes stuff but it hasnt. services are accessed through tailscale, which is the only thing i can think of that could be the issue