Jellyfin Forum
SOLVED: Jellyfin Version 10.9.2: Transcoding Issues with iPhone App - 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 Version 10.9.2: Transcoding Issues with iPhone App (/t-solved-jellyfin-version-10-9-2-transcoding-issues-with-iphone-app)



Jellyfin Version 10.9.2: Transcoding Issues with iPhone App - ca2ju - 2024-05-20

Hello everyone, first of all, I want to thank you for this wonderful application, thank you very much.

Version: 10.9.2
Debian repository (same issue with Linux Docker)
My problem started occurring with this new version 10.9.2.

1- The Jellyfin app for iPhone is transcoding all videos when I use 5G. The logs indicate that the reason would be exceeding the bitrate limit (I do not have and never had any settings to limit the bitrate). However, my 5G connection from Bell in Canada averages around 220 to 300 Mbps (download) and 50 to 100 Mbps (upload). I have always used 5G to watch my content with previous versions and never had problems. The format and codec of my videos are standard or even weaker (720p or less, H264 SDR, all audio is AAC 128k). There's something incredible happening; I did not enable transcoding and yet it transcodes anyway. Currently, I use the Safari browser to watch when I'm off-network through my domain, and this does not cause transcoding (incredible). Chrome has the same problem as the app; it transcodes due to exceeding the bitrate limit. I have conducted several tests, installed Jellyfin via Docker and Debian repository, both with the same problem. One thing I noticed in my NGINX logs was info of this type: my public ip my domain - - [20/May/2024:11:32:11 -0400] "GET GET /Playback/BitrateTest?Size=500000 HTTP/2.0 HTTP/2.0" 200 524288 56 0.010 0.010 "-" "JellyfinMediaPlayer 1.10.1 (windows-x86_64 10)". I do not remember seeing these bitrate tests before with previous versions.

NOTE 1: Disregard the duplicated returns (GET GET or POST POST); this is a configuration of the logs within nginx.conf that I need to adjust.
NOTE 2: In the iPhone app, sometimes I manage direct streaming and sometimes it starts transcoding in the middle of the video.


RE: Jellyfin Version 10.9.2: Transcoding Issues with iPhone App - TheDreadPirate - 2024-05-20

You probably have HARDWARE ACCELERATION disabled. Selecting "None" from Dashboard > Playback just means that it will use the CPU for all transcoding.

On your iPhone if you have the Internet quality settings set to auto, it is probably erroneously determining your network speed is lower than it actually is. You can try manually setting a higher max Internet quality setting.


RE: Jellyfin Version 10.9.2: Transcoding Issues with iPhone App - ca2ju - 2024-05-21

Thank you for your response and for the information regarding hardware acceleration configuration. I have tried everything you can imagine, but it didn't solve the issue. I never had this problem on 10.8.13 and earlier versions. Is there any possibility to downgrade and use 10.8.13? Thank you.


RE: Jellyfin Version 10.9.2: Transcoding Issues with iPhone App - gnattu - 2024-05-21

In 10.9 the client will do a bitrate testing to automatically check your connection speed to the server, and apply this bitrate enforcement when the accessing IP is not considered a local IP.

If this testing is so buggy and you want to override the speed testing, go to settings -> Playback -> Internet Quality, and set 4K 120Mbps. This should override the bitrate testing value, and if it does not work for you then it is a bug, which you need to file an issue to the jellyfin-web github repo.


RE: Jellyfin Version 10.9.2: Transcoding Issues with iPhone App - ca2ju - 2024-05-25

Wow, I really thought this was going to work. Thank you very much for the information. I ran several tests and changed various settings, but none of them solved the issue. Sometimes it transcodes and sometimes it doesn't, but most of the time it does transcode. I think this is really a big problem because an unstable Wi-Fi connection will also have this issue. I repeat, this didn't happen before. I just want to know if it's possible to do a downgrade. I don't know much about programming and I also don't know how to open an issue on GitHub.


RE: Jellyfin Version 10.9.2: Transcoding Issues with iPhone App - gnattu - 2024-05-26

Quote:I ran several tests and changed various settings, but none of them solved the issue. Sometimes it transcodes and sometimes it doesn't, but most of the time it does transcode.


This does not sound right to me if you set the networking quality. The transcoding reason is still bitrate limit exceeded right?

Quote:I think this is really a big problem because an unstable Wi-Fi connection will also have this issue.

No it won't because unstable Wi-Fi is still considered in the local LAN.

Quote:I just want to know if it's possible to do a downgrade.

If you did not make a backup it is impossible to do a downgrade because the database is no longer compatible with the old version

Quote:I don't know much about programming and I also don't know how to open an issue on GitHub.

If you provide me enough information here I can do this for you.

For one last test, can you try set LAN networks to 0.0.0.0/0 in Dashboard->Networking, and then restart both the server and the app and try again? If this solved the issue then it is indeed the bitrate testing working abnormally. 

   


RE: Jellyfin Version 10.9.2: Transcoding Issues with iPhone App - ca2ju - 2024-06-07

I'm back to give the final report. This week, my mobile data exceeded the limit, and my internet speed and data were reduced. I took advantage of this situation to run some tests. Well, since I was using Nginx on Docker to serve my server externally from the beginning, I decided to install Apache and Nginx both outside of Docker, as I had a hunch that the problem wasn't Jellyfin but Nginx. Here are the scenarios with Bell reduced internet:

Nginx (Docker): The media wouldn't even open; they kept loading and ended up with a codec error or simply stopped.
Nginx (installed normally): Same problems as scenario 1.
Apache (outside of Docker): The movies would open but kept loading. I could see some images, but I never received a codec error or anything similar. It was clear that the issue was indeed my reduced internet speed.
In conclusion, thank you for trying to help me. From now on, I will use Apache, which has proven to be more efficient in this case.
Oh, and by the way, the Nginx and Apache configurations were basic, without security headers or anything else; they were the most basic configurations.


RE: Jellyfin Version 10.9.2: Transcoding Issues with iPhone App - TheDreadPirate - 2024-06-07

Can you share your jellyfin and ffmpeg logs from this period?


RE: Jellyfin Version 10.9.2: Transcoding Issues with iPhone App - ca2ju - 2024-08-13

Hello, I'm back to wrap up this post, lol. After all these days without giving any feedback, I discovered that Bell Canada is throttling my mobile data, meaning the problem wasn't with Nginx, Apache, Jellyfin, or anything else. How did I find out? At first, when using mobile data, all content was being transcoded. I did several tests on the smartphones of friends, my wife, and family members, and everything worked normally without transcoding. I have NordVPN, and one day I decided to turn it on and... BOOM, it worked perfectly. I tested various countries and had no transcoding issues. I want to thank TheDreadPirate for the attention, thank you very much!

If anyone knows how to bypass this, it would be great, because now the Jellyfin app on my iPhone doesn't even work when I use mobile data. I might have to file a complaint with Bell or switch carriers.


RE: Jellyfin Version 10.9.2: Transcoding Issues with iPhone App - TheDreadPirate - 2024-08-13

I'm wondering if they are traffic shaping video streams. And once you enable the VPN it can no longer see that it is a video stream.