Problem with Jellyfin playback on web client

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
gabboman
Posts: 5
Joined: Fri Dec 27, 2019 1:27 pm

Problem with Jellyfin playback on web client

Post by gabboman »

Hi,
I installed Jellyfin using dietpi-software but I can't get it to work. When I play a movie I get only an infinite loading wheel. Reproducing same movie in an external player with stream URL works regularly. My SBC is ASUS Tinker Board (armv7l) and HW accelleration is disabled in Jellyfin.

LOGS
jellyfin.log
https://pastebin.com/raw/H8F0nHud
ffmpeg-transcode.txt
https://pastebin.com/raw/ktkrwXs1

Any help would be greatly appreciated!

DietPi version: 6.33.3
User avatar
Joulinar
Posts: 2566
Joined: Sat Nov 16, 2019 12:49 am

Re: Problem with Jellyfin playback on web client

Post by Joulinar »

Hi,

many thanks for your message. I found an issue fitting your error messages you shared on your log files

https://github.com/jellyfin/jellyfin-ffmpeg/issues/32

But they have it on Odroid XU4 running Ubuntu 18.04.4 LTS. Maybe it would be needed to check with Jellyfin?

Could you check on your system if you have libmmal_core.so present?

Code: Select all

ls -la /opt/vc/lib |grep libmmal_core.so
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
gabboman
Posts: 5
Joined: Fri Dec 27, 2019 1:27 pm

Re: Problem with Jellyfin playback on web client

Post by gabboman »

Thanks for your reply,
I'll report this to Jellyfin too. Unlike that issue I get the error also with videos that doesn't require transcoding.
Anyway the library seems not to be present. The command returns

Code: Select all

ls: cannot access '/opt/vc/lib': No such file or directory
User avatar
Joulinar
Posts: 2566
Joined: Sat Nov 16, 2019 12:49 am

Re: Problem with Jellyfin playback on web client

Post by Joulinar »

well I checked it on Raspberry Pi as I don't have a ASUS Tinker Board. Will have a look on a VM later. Probably some packages missing??

EDIT: ok the file is missing on my VM as well. Probably the file is something special on RPi. Anyway I played around with some mp4 files on my VM and all are working fine on web client. Unfortunately I don't have anything to trans-code :?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
gabboman
Posts: 5
Joined: Fri Dec 27, 2019 1:27 pm

Re: Problem with Jellyfin playback on web client

Post by gabboman »

@Joulinar you should be able to force a transcoding by choosing a lower definition while playing (gear icon->Quality). However is strange that transcode for me is triggered also for files that, basing on logs, should be eligible for DirectPlay

Code: Select all

[INF] Profile: "Unknown Profile", Path: "/mnt/4fb3620b-432a-42ad-9416-d863962eea40/Video/Film/7 Days in Havana (2012).mkv", isEligibleForDirectPlay: True, isEligibleForDirectStream: True
User avatar
Joulinar
Posts: 2566
Joined: Sat Nov 16, 2019 12:49 am

Re: Problem with Jellyfin playback on web client

Post by Joulinar »

thx for the hint with lowering the quality to force trans-coding. But for me this all is working fine. I could play the mp4 file with the lowest quality available
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
User avatar
MichaIng
Site Admin
Posts: 2421
Joined: Sat Nov 18, 2017 6:21 pm

Re: Problem with Jellyfin playback on web client

Post by MichaIng »

/opt/vc/lib is the Raspberry Pi only location for it's Video Core libraries/drivers, so this is not present on any other SBC ;).

I think we'll have more success on the Jellyfin forum: https://forum.jellyfin.org/t/playback-p ... lient/3200
Or: https://github.com/jellyfin/jellyfin-ffmpeg/issues/32

Okay makes sense if the implemented FFmpeg assumes the RPi library being available on all armhf devices. That is bad of course. I hope they solve it soon, else we can implement a workaround with next DietPi release to install standalone FFmpeg instead of the jellyfin-ffmpeg package. Should be possible to make Jellyfin using the external ffmpeg binary via config file edit.
Post Reply