jellyfin / jellyfin-expo

Jellyfin Mobile for iOS
https://jellyfin.org
Mozilla Public License 2.0
292 stars 63 forks source link

Jellyfin is not working on iOS device. #400

Closed joe-zhang3 closed 10 months ago

joe-zhang3 commented 1 year ago

Describe the bug

First, please allow me to express my appreciation regarding your hard work.

I can use my iphone to browse the library, however, when I try to watch a movie, it keeps spinning and end up with a "disable" icon.

image image

I tried to turn on "Use Native Video Player", a more weird scenario happens, that I can "hear" it is playing, but no visual stuff show off.

Anything I can do regarding this? BTW, the Jellyfin client of macOS works fine, and VLC on my iPhone works fine too.

System (please complete the following information):

Arthedian commented 1 year ago

I have the samé Issue on ipados 16.1. I notice, that the issue is only on h265, with h264 it's working without a problem. The server is running on RPI4 4GB

Arthedian commented 1 year ago

Probably this is duplicate of this https://github.com/jellyfin/jellyfin-expo/issues/344

thornbill commented 1 year ago

Is transcoding disabled?

Arthedian commented 1 year ago

Where I can check this? I was reading again through the second thread and I have these additional information: 1) I was trying Swiftfin too and inside Swiftfin it is working 2) Native player doesn't help.

thornbill commented 1 year ago

Admin Dashboard > Users > Your User > Media Playback

Swiftfin can play more media formats directly, so that doesn't mean a whole lot.

Arthedian commented 1 year ago

Both settings doesn't work.

607E7D7A-4FAB-48B1-B17F-9B56A496FE0C 8136B031-41E8-424F-AB9B-A6669DF95D11

adamzvolanek commented 1 year ago

Adding a data point but happy to compare settings. My JellyFin works/playback on my iPhone running 16.1.2, Jellyfin Server version 10.8.8, and iOS app 1.5.0 (5.5.0.0)

I noticed with the latest update using the beta native video player gives an error of trying to transcode. Else works so far.

redvegas commented 1 year ago

I am having this issue as well. How is this fixed? Video does not playback on my iPhone. I am connecting from outside the house but running into the same issue where the video player just blacks out, keeps loading forever, or will freeze completely. I have gotten it to go 4s into the movie then it freezes and stops loading and doesn’t play anymore. This only happens on my iPhone tho. I just tried it with a work computer and everything is working fine. Also tested on an android device and it doesn’t work,same issue as iOS.

nothing2obvi commented 1 year ago

I am running Jellyfin 10.8.9 via Docker.

I am having this issue as well on an iPad mini 4 // iOS 15.7.5 // Jellyfin 1.5.0. Similar to @Arthedian, the issue is only for videos with H265 and VP9 codec. I understand that Jellyfin iOS cannot play H265 in .mkv containers and that it cannot play VP9, but I have transcoding enabled so I am surprised this is an issue. Transcoding works when using my other iOS devices (described below).

Using the Beta "Native Video Player" doesn't work and causes this error:

The media cannot be used on this device. - The AVPlayerItem instance has failed with the error code -11848 and domain "AVFoundationErrorDomain".

I don't have this problem on my iPhone 11 // iOS 16.3.1 // Jellyfin 1.5.0, or on my iPad (5th gen.) // iOS 15.5 // Jellyfin 1.5.0.

I will point out that on Swiftfin 1.0.1 on the iPad mini 4, no videos play at all. However, on my iPhone 11 and iPad (5th gen.), Swiftfin 1.0.1 works great.

Perhaps this is just a limitation of an older iPad?

nothing2obvi commented 1 year ago

After updating to Jellyfin 10.8.10, I don't seem to have this problem anymore :)

jellyfin-bot commented 11 months ago

This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.

If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.

This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.