Jellyfin Forum
SOLVED: Android mobile app errors when transcoding - 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: Android mobile app errors when transcoding (/t-solved-android-mobile-app-errors-when-transcoding)



Android mobile app errors when transcoding - Tremmert - 2024-08-23

Hi all,
I have a weird type of an issue.
I'm using Jellyfin which is hosted on an Unraid server.
On PC, I am using a Jellyfin Desktop App to watch my media.
Watching media using a web browser works as well.

However, when I attempt to use my Android phone, with the latest Jellyfin from the Apps Store, the media doesn't run unless it's DirectStream.
Since most of the media has to be transcoded onto my phone, the mobile app just throws a Fatal Error on it.
However, if I use the same phone and open a web browser (in this case, Brave), then the same media works just fine and transcoding works without an issue.

I'll provide debug logs of both working and non-working scenarios. I anonymized my server and IP details, everything else has been left untouched.

Working logs using mobile web browser:
-snip-
-snip-

Non-working logs using mobile Jellyfin app:
-snip-
-snip-


Jellyfin mobile app is connected to the same domain as the one I type into the web browser.
I've tried uninstalling, clearing all data and cache and reinstalling - however, no success.
Any ideas as to why this occurs?
Thank you in advance.

Edit: Forgot to mention, using Jellyfin server version 10.9.8


RE: Android mobile app errors when transcoding - TheDreadPirate - 2024-08-23

The one that is working is only transcoding the audio. The one that isn't working is attempting to transcode the video, but no GPU was available.

What are your hardware specs, did you pass the GPU into the container, can you share screenshots of Dashboard > Playback in the Jellyfin UI.


RE: Android mobile app errors when transcoding - Tremmert - 2024-08-23

Thanks for responding,
My mistake for not providing more hardware information originally.
I do not have a GPU, it's a dedicated server with a ton of RAM & storage, and I'm utilizing QSV;
CPU: 13th Gen Intel® Core™ i5-13500 - specifically picked a stronger CPU so it should have no issues with transcoding using Intel QuickSync

Dashboard pics below:
                       


I've mostly left everything default except for the first part.


RE: Android mobile app errors when transcoding - TheDreadPirate - 2024-08-23

The iGPU on the CPU is the part with Intel Quick Sync and that still requires you to pass that GPU into the container.

Stop the container in unRAID. Open the docker config for the container. Go to the bottom and click on "Add path, port, variable, label, or device". Add a device and in the box enter "/dev/dri/renderD128". Save. Start the container.

In Jellyfin, go back to Dashboard > Playback. You can check "Enable encoding in HEVC format" as well as both tone mapping check boxes. I'd also recommend checking "Throttle transcodes" and "Delete segments".


RE: Android mobile app errors when transcoding - Tremmert - 2024-08-23

That works perfectly, thank you!
Had absolutely no idea I also had to pass renderD128 as a Device as well.
Checked all of the boxes per your recommendation as well.

This can be closed, thank you again!