Jellyfin Forum
SOLVED: Jellyfin client stuttering and playing at slow speed - 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: SOLVED: Jellyfin client stuttering and playing at slow speed (/t-solved-jellyfin-client-stuttering-and-playing-at-slow-speed)



Jellyfin client stuttering and playing at slow speed - etiennec78 - 2023-10-21

Hello !
I've been using jellyfin for quite some time and this is a wonderful software !
However, I can't find a way to make the client work on my laptop.
When I try to play a video, everythings runs on low framerate and the movie is slowed down (1 sec = ~3 sec), even if I try to change the playback speed.
I noticed a lot of "[critical] unknown @ 0 - ffmpeg: NULL: non-existing PPS 0 referenced" in my client's logs so I think this could be related.
If I select a lower bitrate than the file already is, my raspberry transcodes it and everything plays well !
I thought this had a link with my HEVC files, but it does the same with AVC.
All of my other devices work fine. I also tried playng the movie on the same laptop with samba + VLC and it worked nicely.

Does anybody know what could cause this issue on my linux laptop ?
Thanks for reading !

Logs : https://pastebin.com/3eHnNmpZ

Useful information :
[CLIENT]
Player : jellyfin-media-player-1.9.1
Processor : Intel Celeron N4120
System : (Arch) Linux
Type of connection : wifi 5 (3 meters away), over LAN

[SERVER]
Hardware : Raspberry Pi 4 2GB
System : Raspberry OS
Jellyfin version : 10.8.11
Platform : debian repository
Type of connection : ethernet
File codecs : HEVC or AVC


RE: Jellyfin client stuttering and playing at slow speed - TheDreadPirate - 2023-10-21

Could you share your server logs instead of the JMP logs? And ffmpeg logs if they exist.

For record, RPi's are an unsupported platform.


RE: Jellyfin client stuttering and playing at slow speed - calebm - 2023-10-22

I have a mini pc with that exact same cpu I used for playing videos on a TV. Playing anything is a stuttering mess - without hardware decoding. I can almost guarantee that is your issue. Assuming Jellyfin and VLC are coming from the source (flatpak or repo), it sounds like hardware decode is available, but not turned on in the client. In the Jellfyin Media Player, click on the menu and open settings. Click on client settings. Scroll down until you get to the Video section. Click the drop down box under HardwareDecoding and change it from decode.copy to decode.enabled. Then see if the video plays any better.


RE: Jellyfin client stuttering and playing at slow speed - etiennec78 - 2023-10-22

(2023-10-22, 05:51 AM)calebm Wrote: I have a mini pc with that exact same cpu I used for playing videos on a TV. Playing anything is a stuttering mess - without hardware decoding. I can almost guarantee that is your issue. Assuming Jellyfin and VLC are coming from the source (flatpak or repo), it sounds like hardware decode is available, but not turned on in the client. In the Jellfyin Media Player, click on the menu and open settings. Click on client settings. Scroll down until you get to the Video section. Click the drop down box under HardwareDecoding and change it from decode.copy to decode.enabled. Then see if the video plays any better.

You were right, hardware decoding was set to copy, not enable.
Now it works as nicely as VLC. Every movie plays smoothly.
Is there a reason for this setting set to copy by default and not enable ?

Thanks for the help, I'll mark my post as solved !